{
  "match_info": {
    "home_team": "Real Madrid",
    "away_team": "Villarreal",
    "tournament": "LaLiga",
    "date": "20261010",
    "timezone": "America/New_York",
    "home_formation": "4-2-3-1",
    "away_formation": "4-4-2",
    "lineup_status": "unconfirmed_official",
    "lineup_source": "/matches/get-lineups",
    "lineup_confirmed": false,
    "lineup_confidence": 0.75
  },
  "prediction": {
    "most_likely_score": "3-1",
    "home_goals": 3,
    "away_goals": 1,
    "most_likely_score_probability": 0.0669,
    "match_resolution": "regulation",
    "predicted_winner": "Real Madrid",
    "tiebreaker": {
      "applies": false,
      "method": "none",
      "regulation_draw_probability": 0.1426,
      "shootout_home_win_probability": null,
      "shootout_away_win_probability": null,
      "penalty_home_goals": null,
      "penalty_away_goals": null,
      "penalty_score": null,
      "penalty_winner": null,
      "penalty_winner_goals": null,
      "penalty_loser_goals": null,
      "penalty_result": null,
      "home_advance_probability": null,
      "away_advance_probability": null,
      "projected_winner": null,
      "projected_winner_probability": null,
      "final_score_after_penalties": null,
      "reason": "Tie-breaker not required for this match context."
    },
    "top_5_scorelines": [
      {
        "score": "3-1",
        "probability": 0.0669
      },
      {
        "score": "2-1",
        "probability": 0.0591
      },
      {
        "score": "3-2",
        "probability": 0.0583
      },
      {
        "score": "4-1",
        "probability": 0.0567
      },
      {
        "score": "2-2",
        "probability": 0.0515
      }
    ],
    "scoreline_probabilities": {
      "0-0": 0.0061,
      "0-1": 0.0101,
      "0-2": 0.009,
      "0-3": 0.0052,
      "0-4": 0.0023,
      "0-5": 0.0008,
      "1-0": 0.0198,
      "1-1": 0.035,
      "1-2": 0.0304,
      "1-3": 0.0177,
      "1-4": 0.0077,
      "1-5": 0.0027,
      "1-6": 0.0008,
      "2-0": 0.0339,
      "2-1": 0.0591,
      "2-2": 0.0515,
      "2-3": 0.03,
      "2-4": 0.0131,
      "2-5": 0.0046,
      "2-6": 0.0013,
      "3-0": 0.0383,
      "3-1": 0.0669,
      "3-2": 0.0583,
      "3-3": 0.0339,
      "3-4": 0.0148,
      "3-5": 0.0052,
      "3-6": 0.0015,
      "4-0": 0.0325,
      "4-1": 0.0567,
      "4-2": 0.0495,
      "4-3": 0.0288,
      "4-4": 0.0125,
      "4-5": 0.0044,
      "4-6": 0.0013,
      "5-0": 0.0221,
      "5-1": 0.0385,
      "5-2": 0.0336,
      "5-3": 0.0195,
      "5-4": 0.0085,
      "5-5": 0.003,
      "5-6": 0.0009,
      "6-0": 0.0125,
      "6-1": 0.0218,
      "6-2": 0.019,
      "6-3": 0.011,
      "6-4": 0.0048,
      "6-5": 0.0017,
      "7-0": 0.0061,
      "7-1": 0.0106,
      "7-2": 0.0092,
      "7-3": 0.0054,
      "7-4": 0.0023,
      "7-5": 0.0008,
      "8-0": 0.0026,
      "8-1": 0.0045,
      "8-2": 0.0039,
      "8-3": 0.0023,
      "8-4": 0.001,
      "9-0": 0.001,
      "9-1": 0.0017,
      "9-2": 0.0015,
      "9-3": 0.0009
    },
    "outcome": {
      "home_win": 0.6918,
      "draw": 0.1426,
      "away_win": 0.1656
    },
    "markets": {
      "over_2_5_goals": 0.8862,
      "under_2_5_goals": 0.1138,
      "btts_yes": 0.7976,
      "btts_no": 0.2024,
      "home_clean_sheet": 0.1748,
      "away_clean_sheet": 0.0337
    },
    "home_ratings": {
      "DR": 6.9,
      "MCR": 6.99,
      "ATR": 7.56,
      "GK": 7.0
    },
    "away_ratings": {
      "DR": 6.9,
      "MCR": 7.01,
      "ATR": 7.06,
      "GK": 6.93
    },
    "insights": {
      "summary": "Antagonist matchup analysis for Real Madrid vs Villarreal. Most likely scoreline: 3-1. Lambdas derived from 7 home and 6 away individual player duels.",
      "key_player": "Projected scorer(s): Kylian Mbappé (2), Vinícius Júnior, Alberto Moleiro",
      "tactical_analysis": "4-2-3-1 creates structural superiority against 4-4-2. Home team should exploit wider spaces and numerical advantages in transition. Home midfield dominates with ~52% possession expected (Jude Bellingham vs Pape Gueye). Total antagonist xG — Home: 1.72, Away: 1.04. 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.79,
    "home_lambda": 3.394,
    "away_lambda": 1.744,
    "h2h": {
      "available": false,
      "meetings": 0,
      "home_wins": 0,
      "away_wins": 0,
      "draws": 0,
      "home_multiplier": 1.0,
      "away_multiplier": 1.0
    },
    "modal_scoreline": null,
    "modal_scoreline_probability": null,
    "headline_policy": null
  },
  "pregame_baseline": {
    "fair_win_probability": {
      "home_win": 0.6918,
      "draw": 0.1426,
      "away_win": 0.1656
    },
    "favorite": "Real Madrid",
    "favorite_win_probability": 0.6918,
    "fair_spread": 1.65,
    "fair_total": 5.138,
    "prop_estimates": [
      {
        "market": "team_total_goals",
        "selection": "Real Madrid",
        "estimate": 3.394,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "team_total_goals",
        "selection": "Villarreal",
        "estimate": 1.744,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "over_2_5_goals",
        "selection": "yes",
        "estimate": 2.5,
        "probability": 0.8862,
        "unit": "probability"
      },
      {
        "market": "both_teams_to_score",
        "selection": "yes",
        "estimate": 1.0,
        "probability": 0.7976,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Real Madrid",
        "estimate": 1.0,
        "probability": 0.1748,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Villarreal",
        "estimate": 1.0,
        "probability": 0.0337,
        "unit": "probability"
      },
      {
        "market": "anytime_goal",
        "selection": "Kylian Mbappé (Real Madrid)",
        "estimate": 1.2926,
        "probability": 0.7254,
        "unit": "xG"
      },
      {
        "market": "anytime_goal",
        "selection": "Alberto Moleiro (Villarreal)",
        "estimate": 0.4186,
        "probability": 0.342,
        "unit": "xG"
      },
      {
        "market": "assist",
        "selection": "Arda Güler (Real Madrid)",
        "estimate": 0.4331,
        "probability": 0.3515,
        "unit": "xA"
      },
      {
        "market": "assist",
        "selection": "Alberto Moleiro (Villarreal)",
        "estimate": 0.2584,
        "probability": 0.2277,
        "unit": "xA"
      }
    ],
    "expected_pace": {
      "tempo": "high",
      "expected_total_goals": 5.138,
      "expected_total_shots": 33,
      "expected_total_passes": 1055,
      "expected_pressing_actions_per_90": 15.0,
      "possession_home_pct": 51.8,
      "possession_away_pct": 48.2,
      "notes": "possession projects near even"
    },
    "expected_game_script": {
      "favorite": "Real Madrid",
      "favorite_win_probability": 0.6918,
      "script": "Real Madrid is the fair winner side, but the baseline remains favorite-led: fair spread +1.65 goals and fair total 5.14.",
      "first_half": "Expect high tempo while both sides test the matchup thesis; shot baseline is about 16 first-half attempts.",
      "second_half": "If level after halftime, midfield control and bench quality should decide territory; Villarreal must keep the match inside one goal.",
      "late_game": "A Real Madrid 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 Renato Veiga, Pau Navarro in Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle; possession projects near even.",
    "expected_rotation_usage_behavior": [
      "Real Madrid: starters carry the main goal usage through Kylian Mbappé (2), Vinícius Júnior; bench watchlist: Yan Diomande, Rodrygo.",
      "Villarreal: starters carry the main goal usage through Alberto Moleiro; bench watchlist: Tajon Buchanan, Nathan-Dylan Saliba, Manor Solomon.",
      "Assist usage should flow through Kylian Mbappé, Vinícius Júnior, Ilias Akhomach; late lineup changes should re-score these allocations."
    ],
    "pregame_play_by_play": [
      "0-15: Real Madrid tries to establish the projected edge; track possession and first-shot share.",
      "15-45: Baseline expects high tempo, about 16 total first-half shots, and 2.57 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 Villarreal 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 Real Madrid.",
      "Villarreal 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": {
    "Real Madrid": {
      "formation": "4-2-3-1",
      "players": {
        "Kylian Mbappé": {
          "player_id": 826643,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 10,
          "height": 180,
          "market_value": 212000000,
          "stats": {
            "expected_goals": 1.2926,
            "goal_rate": 0.8214,
            "goals": 2,
            "shots_on_target": 2,
            "total_shots": 5,
            "expected_assists": 0.3371,
            "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": 1,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 1,
            "xgot": 1.6143,
            "offsides": 1,
            "ball_carries": 21,
            "total_progression": 126,
            "progressive_carries": 5,
            "shots_off_target": 3,
            "duel_xg_multiplier": 1.0884,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.5,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.26,
            "pressing_faced": "MEDIUM",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Renato Veiga, Pau Navarro",
            "opponent_faced": "Renato Veiga, Pau Navarro",
            "antagonist_source": "attacking_duel",
            "projected_goals": 2,
            "goal_probability": 0.7254,
            "projected_assists": 1,
            "assist_probability": 0.2862,
            "finishing_factor": 1.0675,
            "creation_factor": 1.25,
            "fifa_overall": 91.0
          },
          "latest_10_games": [
            {
              "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"
            },
            {
              "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": 5.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5088,
                "expected_assists": 0.0226,
                "total_shots": 5,
                "shots_off_target": 3,
                "total_pass": 31,
                "accurate_pass": 27,
                "key_pass": 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": 14083649,
              "match_date": "2026-05-14",
              "home_team": "Real Madrid",
              "away_team": "Real Oviedo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 21,
                "rating": 6.7,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.1734,
                "expected_assists": 0.0071,
                "total_shots": 4,
                "shots_off_target": 2,
                "total_pass": 11,
                "accurate_pass": 10,
                "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": 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-10T10:06:30.670657+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.7663,
                "goals": 0.8214,
                "goal_rate": 0.8214,
                "shots_on_target": 2.4428,
                "total_shots": 5.3222,
                "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.1233,
                "xgot": 0.957,
                "offsides": 1.41,
                "ball_carries": 21.2171,
                "total_progression": 125.885,
                "progressive_carries": 5.4226,
                "shots_off_target": 2.8685,
                "duel_xg_multiplier": 1.0884,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.26,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Renato Veiga, Pau Navarro",
                "opponent_faced": "Renato Veiga, Pau Navarro",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Renato Veiga, Pau Navarro",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.26,
                  "pressing_faced": "MEDIUM",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 1.0884,
                  "skill_edge": 0.0901,
                  "height_edge": -0.03,
                  "attacker_skill": 0.9,
                  "defender_skill": 0.6997,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Renato Veiga",
                      "market_value": 29000000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.7736
                    },
                    {
                      "player": "Pau Navarro",
                      "market_value": 14600000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.6258
                    }
                  ],
                  "xg_override": 0.7663
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 4.8899,
                  "after": 5.3222
                },
                {
                  "stat": "shotOffTarget",
                  "before": 2.6355,
                  "after": 2.8685
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 2.2444,
                  "after": 2.4428
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 1.0321,
                  "after": 1.1233
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.8793,
                  "after": 0.957
                },
                {
                  "stat": "goals",
                  "before": 0.7547,
                  "after": 0.8214
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.7041,
                  "after": 0.7663
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 3.39 (squad xG sum 2.0121, xG scale 1.6868, xA scale 1.9624, team xA 2.21 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 1.2926,
                "goal_rate": 0.8214,
                "goals": 0,
                "shots_on_target": 2.4428,
                "total_shots": 5.3222,
                "expected_assists": 0.3371,
                "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.1233,
                "xgot": 1.6143,
                "offsides": 1.41,
                "ball_carries": 21.2171,
                "total_progression": 125.885,
                "progressive_carries": 5.4226,
                "shots_off_target": 2.8685,
                "duel_xg_multiplier": 1.0884,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.26,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Renato Veiga, Pau Navarro",
                "opponent_faced": "Renato Veiga, Pau Navarro",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0675,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 3.394,
                "squad_xg_sum": 2.0121,
                "squad_xa_sum": 1.1242,
                "team_expected_assists": 2.2061,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.6868,
                "xa_scale": 1.9624,
                "opponent_lambda": 1.744,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.7663,
                  "after": 1.2926
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1718,
                  "after": 0.3371
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 1 by projected rating, fifa_overall 91.0; not used by the projection)",
              "stats": {
                "expected_goals": 1.2926,
                "goal_rate": 0.8214,
                "goals": 0,
                "shots_on_target": 2.4428,
                "total_shots": 5.3222,
                "expected_assists": 0.3371,
                "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.1233,
                "xgot": 1.6143,
                "offsides": 1.41,
                "ball_carries": 21.2171,
                "total_progression": 125.885,
                "progressive_carries": 5.4226,
                "shots_off_target": 2.8685,
                "duel_xg_multiplier": 1.0884,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.26,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Renato Veiga, Pau Navarro",
                "opponent_faced": "Renato Veiga, Pau Navarro",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0675,
                "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: 3 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 1.2926,
                "goal_rate": 0.8214,
                "goals": 2,
                "shots_on_target": 2.4428,
                "total_shots": 5.3222,
                "expected_assists": 0.3371,
                "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.1233,
                "xgot": 1.6143,
                "offsides": 1.41,
                "ball_carries": 21.2171,
                "total_progression": 125.885,
                "progressive_carries": 5.4226,
                "shots_off_target": 2.8685,
                "duel_xg_multiplier": 1.0884,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.26,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Renato Veiga, Pau Navarro",
                "opponent_faced": "Renato Veiga, Pau Navarro",
                "antagonist_source": "attacking_duel",
                "projected_goals": 2,
                "goal_probability": 0.7254,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0675,
                "creation_factor": 1.25,
                "fifa_overall": 91.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 3,
                "goals_allocated": 2,
                "goal_probability": 0.7254,
                "scorer_weight": 1.3799,
                "squad_weight_total": 3.3755,
                "weight_share": 0.4088,
                "finishing_factor": 1.0675,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Kylian Mbappé",
                    "weight": 1.3799,
                    "already": 0,
                    "effective_weight": 1.3799,
                    "runner_up": "Vinícius Júnior",
                    "runner_up_effective_weight": 0.4922
                  },
                  {
                    "n": 2,
                    "player": "Kylian Mbappé",
                    "weight": 1.3799,
                    "already": 1,
                    "effective_weight": 0.5872,
                    "runner_up": "Vinícius Júnior",
                    "runner_up_effective_weight": 0.4922
                  },
                  {
                    "n": 3,
                    "player": "Vinícius Júnior",
                    "weight": 0.4922,
                    "already": 0,
                    "effective_weight": 0.4922,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.3951
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 2 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "expected_goals": 1.2926,
                "goal_rate": 0.8214,
                "goals": 2,
                "shots_on_target": 2.4428,
                "total_shots": 5.3222,
                "expected_assists": 0.3371,
                "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": 1,
                "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.1233,
                "xgot": 1.6143,
                "offsides": 1.41,
                "ball_carries": 21.2171,
                "total_progression": 125.885,
                "progressive_carries": 5.4226,
                "shots_off_target": 2.8685,
                "duel_xg_multiplier": 1.0884,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.26,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Renato Veiga, Pau Navarro",
                "opponent_faced": "Renato Veiga, Pau Navarro",
                "antagonist_source": "attacking_duel",
                "projected_goals": 2,
                "goal_probability": 0.7254,
                "projected_assists": 1,
                "assist_probability": 0.2862,
                "finishing_factor": 1.0675,
                "creation_factor": 1.25,
                "fifa_overall": 91.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 2,
                "assists_allocated": 1,
                "assist_probability": 0.2862,
                "provider_weight": 0.4214,
                "squad_weight_total": 2.3369,
                "weight_share": 0.1803,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Vinícius Júnior",
                    "weight": 0.431,
                    "already": 0,
                    "effective_weight": 0.431,
                    "runner_up": "Kylian Mbappé",
                    "runner_up_effective_weight": 0.4214
                  },
                  {
                    "n": 2,
                    "player": "Kylian Mbappé",
                    "weight": 0.4214,
                    "already": 0,
                    "effective_weight": 0.4214,
                    "runner_up": "Arda Güler",
                    "runner_up_effective_weight": 0.4024
                  }
                ]
              }
            }
          ]
        },
        "Vinícius Júnior": {
          "player_id": 868812,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 7,
          "height": 176,
          "market_value": 146000000,
          "stats": {
            "expected_goals": 0.5477,
            "goal_rate": 0.2867,
            "goals": 1,
            "shots_on_target": 1,
            "total_shots": 3,
            "expected_assists": 0.3448,
            "key_pass": 2,
            "rating": 7.229,
            "minutes": 80,
            "total_pass": 27,
            "accurate_pass": 22,
            "duels_won": 5,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 23,
            "accurate_opp_half_passes": 18,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 45,
            "possession_lost": 12.7674,
            "dispossessed": 0.8451,
            "duels_lost": 5,
            "aerial_lost": 0,
            "total_contest": 4,
            "won_contest": 2,
            "ball_recovery": 3,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 3,
            "assist_rate": 0.2659,
            "assists": 1,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 1,
            "xgot": 0.554,
            "offsides": 0,
            "ball_carries": 20,
            "total_progression": 136,
            "progressive_carries": 7,
            "shots_off_target": 2,
            "duel_xg_multiplier": 1.0644,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.4,
            "aerial_won": 1,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.244,
            "pressing_faced": "MEDIUM",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Renato Veiga, Pau Navarro",
            "opponent_faced": "Renato Veiga, Pau Navarro",
            "antagonist_source": "attacking_duel",
            "projected_goals": 1,
            "goal_probability": 0.4217,
            "projected_assists": 1,
            "assist_probability": 0.2916,
            "finishing_factor": 0.8986,
            "creation_factor": 1.25,
            "fifa_overall": 86.0
          },
          "latest_10_games": [
            {
              "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"
            },
            {
              "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.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0259,
                "expected_assists": 0.045,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 15,
                "accurate_pass": 8,
                "key_pass": 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": 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": 2,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.229,
            "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"
            ],
            "market_value_adjustment": 1.0123,
            "fbref_prior_metrics": {
              "squad": "Real Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 263.0,
              "goals_per90": 0.3448275862068966,
              "assists_per90": 0.6896551724137931,
              "shots_per90": 2.4,
              "shots_on_target_pct": 28.6,
              "prior_reliability": 0.1933
            },
            "rationale": "XGBoost regressor (F_service) evaluated 43 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Real Madrid, rel: 0.19, gls/90: 0.3448275862068966, ast/90: 0.6896551724137931)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.3014,
                "goals": 0.2657,
                "goal_rate": 0.2657,
                "shots_on_target": 1.0028,
                "total_shots": 2.9921,
                "expected_assists": 0.1736,
                "key_pass": 1.7352,
                "rating": 7.229,
                "minutes": 79.86,
                "total_pass": 26.7208,
                "accurate_pass": 21.5693,
                "duels_won": 5.1118,
                "total_long_balls": 1.1206,
                "accurate_long_balls": 0.7644,
                "total_opp_half_passes": 22.5039,
                "accurate_opp_half_passes": 17.8347,
                "crosses_total": 2.0899,
                "crosses_accurate": 0.0961,
                "touches": 44.3308,
                "possession_lost": 12.6123,
                "dispossessed": 0.8348,
                "duels_lost": 4.762,
                "aerial_lost": 0.0619,
                "total_contest": 3.7644,
                "won_contest": 1.6279,
                "ball_recovery": 2.6361,
                "challenges_lost": 0.7756,
                "fouls": 1.0328,
                "fouls_drawn": 2.6648,
                "assists": 0.2581,
                "assist_rate": 0.2581,
                "interceptions": 0.0116,
                "tackles_won": 0.4914,
                "tackles": 0.819,
                "clearances": 0.0013,
                "blocks": 0.0,
                "big_chances_created": 0.2933,
                "big_chances_missed": 0.5941,
                "xgot": 0.3048,
                "offsides": 0.3655,
                "ball_carries": 20.1375,
                "total_progression": 134.018,
                "progressive_carries": 7.1384,
                "shots_off_target": 1.9893
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-10T10:06:30.670657+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": 1.0,
                  "expectedGoals": 0.3882,
                  "totalOppositionHalfPasses": 22.2012,
                  "accurateOppositionHalfPasses": 17.5534,
                  "accuratePass": 21.2228,
                  "totalShots": 3.0566
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.30142343044281006,
                    "model_output": 0.3014,
                    "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.059
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0531
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0333
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0208
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0154
                        }
                      ],
                      "others": 0.029,
                      "total": 0.3014,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.259762
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.187216
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.113101
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.07793
                        },
                        {
                          "name": "goals",
                          "margin": 0.058177
                        }
                      ],
                      "others_margin": 0.101316
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.2656804621219635,
                    "model_output": 0.2657,
                    "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.0687
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0401
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0392
                        },
                        {
                          "name": "goals",
                          "contribution": 0.028
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0159
                        }
                      ],
                      "others": -0.0179,
                      "total": 0.2657,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.290707
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.159192
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.156062
                        },
                        {
                          "name": "goals",
                          "margin": 0.098006
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.054426
                        }
                      ],
                      "others_margin": -0.065753
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 1.0027920007705688,
                    "model_output": 1.0028,
                    "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.2056
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0736
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0682
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0671
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0403
                        }
                      ],
                      "others": 0.1582,
                      "total": 1.0028,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.324161
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.104375
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.097084
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.087126
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.048883
                        }
                      ],
                      "others_margin": 0.171705
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 2.9920969009399414,
                    "model_output": 2.9921,
                    "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.58
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.3685
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.1993
                        },
                        {
                          "name": "aerialLost",
                          "contribution": 0.1331
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0798
                        }
                      ],
                      "others": 0.2527,
                      "total": 2.9921,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.579984
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.368514
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.199323
                        },
                        {
                          "name": "aerialLost",
                          "margin": 0.133125
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.079832
                        }
                      ],
                      "others_margin": 0.252612
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.17357763648033142,
                    "model_output": 0.1736,
                    "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.0135
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0159
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0134
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0084
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0082
                        }
                      ],
                      "others": 0.0499,
                      "total": 0.1736,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.191153
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.186243
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.133999
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.075393
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.068789
                        }
                      ],
                      "others_margin": 0.337747
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 1.7352495193481445,
                    "model_output": 1.7352,
                    "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.2347
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.1701
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0959
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0853
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0773
                        }
                      ],
                      "others": 0.3979,
                      "total": 1.7352,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.298819
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.171635
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.08512
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.070062
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.059531
                        }
                      ],
                      "others_margin": 0.260544
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.228986740112305,
                    "model_output": 7.229,
                    "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": "totalOppositionHalfPasses",
                          "contribution": 0.0936
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0626
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0602
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0468
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0454
                        }
                      ],
                      "others": 0.1582,
                      "total": 7.229,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.093575
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.062606
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.060237
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.046754
                        },
                        {
                          "name": "rating",
                          "margin": 0.045396
                        }
                      ],
                      "others_margin": 0.158258
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 43,
                  "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.0123, quality 0.899)",
              "stats": {
                "expected_goals": 0.3051,
                "goals": 0.2689,
                "goal_rate": 0.2689,
                "shots_on_target": 1.0151,
                "total_shots": 3.0289,
                "expected_assists": 0.1757,
                "key_pass": 1.7566,
                "rating": 7.229,
                "minutes": 79.86,
                "total_pass": 27.0495,
                "accurate_pass": 21.8346,
                "duels_won": 5.1747,
                "total_long_balls": 1.1344,
                "accurate_long_balls": 0.7738,
                "total_opp_half_passes": 22.7807,
                "accurate_opp_half_passes": 18.0541,
                "crosses_total": 2.1156,
                "crosses_accurate": 0.0973,
                "touches": 44.8761,
                "possession_lost": 12.7674,
                "dispossessed": 0.8451,
                "duels_lost": 4.8206,
                "aerial_lost": 0.0627,
                "total_contest": 3.8107,
                "won_contest": 1.6479,
                "ball_recovery": 2.6685,
                "challenges_lost": 0.7851,
                "fouls": 1.0455,
                "fouls_drawn": 2.6976,
                "assists": 0.2613,
                "assist_rate": 0.2613,
                "interceptions": 0.0117,
                "tackles_won": 0.4974,
                "tackles": 0.8291,
                "clearances": 0.0013,
                "blocks": 0.0,
                "big_chances_created": 0.2969,
                "big_chances_missed": 0.6014,
                "xgot": 0.3085,
                "offsides": 0.37,
                "ball_carries": 20.3852,
                "total_progression": 135.6664,
                "progressive_carries": 7.2262,
                "shots_off_target": 2.0138
              },
              "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.3051,
                "goals": 0.2694,
                "goal_rate": 0.2694,
                "shots_on_target": 1.0097,
                "total_shots": 3.0171,
                "expected_assists": 0.1757,
                "key_pass": 1.7566,
                "rating": 7.229,
                "minutes": 79.86,
                "total_pass": 27.0495,
                "accurate_pass": 21.8346,
                "duels_won": 5.1747,
                "total_long_balls": 1.1344,
                "accurate_long_balls": 0.7738,
                "total_opp_half_passes": 22.7807,
                "accurate_opp_half_passes": 18.0541,
                "crosses_total": 2.1159,
                "crosses_accurate": 0.0973,
                "touches": 44.8761,
                "possession_lost": 12.7674,
                "dispossessed": 0.8451,
                "duels_lost": 4.8206,
                "aerial_lost": 0.0627,
                "total_contest": 3.8107,
                "won_contest": 1.6479,
                "ball_recovery": 2.6685,
                "challenges_lost": 0.7851,
                "fouls": 1.0438,
                "fouls_drawn": 2.7144,
                "assists": 0.2659,
                "assist_rate": 0.2659,
                "interceptions": 0.0115,
                "tackles_won": 0.4949,
                "tackles": 0.8291,
                "clearances": 0.0013,
                "blocks": 0.0,
                "big_chances_created": 0.2969,
                "big_chances_missed": 0.6014,
                "xgot": 0.3085,
                "offsides": 0.3652,
                "ball_carries": 20.3852,
                "total_progression": 135.6664,
                "progressive_carries": 7.2262,
                "shots_off_target": 2.0138
              },
              "params": {
                "blend_weight": 0.0131,
                "history_matches": 43,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8873,
                "prior_reliability": 0.1933,
                "competition": "La Liga",
                "squad": "Real Madrid"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 2.6976,
                  "after": 2.7144
                },
                {
                  "stat": "totalShots",
                  "before": 3.0289,
                  "after": 3.0171
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 1.0151,
                  "after": 1.0097
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.3051,
                "goals": 0.2694,
                "goal_rate": 0.2694,
                "shots_on_target": 1.0097,
                "total_shots": 3.0235,
                "expected_assists": 0.1757,
                "key_pass": 1.7566,
                "rating": 7.229,
                "minutes": 79.86,
                "total_pass": 27.0495,
                "accurate_pass": 21.8346,
                "duels_won": 5.1747,
                "total_long_balls": 1.1344,
                "accurate_long_balls": 0.7738,
                "total_opp_half_passes": 22.7807,
                "accurate_opp_half_passes": 18.0541,
                "crosses_total": 2.1159,
                "crosses_accurate": 0.0973,
                "touches": 44.8761,
                "possession_lost": 12.7674,
                "dispossessed": 0.8451,
                "duels_lost": 4.8206,
                "aerial_lost": 0.0627,
                "total_contest": 3.8107,
                "won_contest": 1.6479,
                "ball_recovery": 2.6685,
                "challenges_lost": 0.7851,
                "fouls": 1.0438,
                "fouls_drawn": 2.7144,
                "assists": 0.2659,
                "assist_rate": 0.2659,
                "interceptions": 0.0115,
                "tackles_won": 0.4949,
                "tackles": 0.8291,
                "clearances": 0.0013,
                "blocks": 0.0,
                "big_chances_created": 0.2969,
                "big_chances_missed": 0.6014,
                "xgot": 0.3085,
                "offsides": 0.3652,
                "ball_carries": 20.3852,
                "total_progression": 135.6664,
                "progressive_carries": 7.2262,
                "shots_off_target": 2.0138
              },
              "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.3247,
                "goals": 0.2867,
                "goal_rate": 0.2867,
                "shots_on_target": 1.0747,
                "total_shots": 3.2182,
                "expected_assists": 0.1757,
                "key_pass": 1.7566,
                "rating": 7.229,
                "minutes": 79.86,
                "total_pass": 27.0495,
                "accurate_pass": 21.8346,
                "duels_won": 5.1747,
                "total_long_balls": 1.1344,
                "accurate_long_balls": 0.7738,
                "total_opp_half_passes": 22.7807,
                "accurate_opp_half_passes": 18.0541,
                "crosses_total": 2.1159,
                "crosses_accurate": 0.0973,
                "touches": 44.8761,
                "possession_lost": 12.7674,
                "dispossessed": 0.8451,
                "duels_lost": 4.8206,
                "aerial_lost": 0.0627,
                "total_contest": 3.8107,
                "won_contest": 1.6479,
                "ball_recovery": 2.6685,
                "challenges_lost": 0.7851,
                "fouls": 1.0438,
                "fouls_drawn": 2.7144,
                "assists": 0.2659,
                "assist_rate": 0.2659,
                "interceptions": 0.0115,
                "tackles_won": 0.4949,
                "tackles": 0.8291,
                "clearances": 0.0013,
                "blocks": 0.0,
                "big_chances_created": 0.2969,
                "big_chances_missed": 0.6401,
                "xgot": 0.3284,
                "offsides": 0.3652,
                "ball_carries": 20.3852,
                "total_progression": 135.6664,
                "progressive_carries": 7.2262,
                "shots_off_target": 2.1435,
                "duel_xg_multiplier": 1.0644,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.244,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Renato Veiga, Pau Navarro",
                "opponent_faced": "Renato Veiga, Pau Navarro",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Renato Veiga, Pau Navarro",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.244,
                  "pressing_faced": "MEDIUM",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 1.0644,
                  "skill_edge": 0.0898,
                  "height_edge": -0.046,
                  "attacker_skill": 0.8993,
                  "defender_skill": 0.6997,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Renato Veiga",
                      "market_value": 29000000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.7736
                    },
                    {
                      "player": "Pau Navarro",
                      "market_value": 14600000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.6258
                    }
                  ],
                  "xg_override": 0.3247
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 3.0235,
                  "after": 3.2182
                },
                {
                  "stat": "shotOffTarget",
                  "before": 2.0138,
                  "after": 2.1435
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 1.0097,
                  "after": 1.0747
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.6014,
                  "after": 0.6401
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.3085,
                  "after": 0.3284
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.3051,
                  "after": 0.3247
                },
                {
                  "stat": "goals",
                  "before": 0.2694,
                  "after": 0.2867
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 3.39 (squad xG sum 2.0121, xG scale 1.6868, xA scale 1.9624, team xA 2.21 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.5477,
                "goal_rate": 0.2867,
                "goals": 0,
                "shots_on_target": 1.0747,
                "total_shots": 3.2182,
                "expected_assists": 0.3448,
                "key_pass": 1.7566,
                "rating": 7.229,
                "minutes": 79.86,
                "total_pass": 27.0495,
                "accurate_pass": 21.8346,
                "duels_won": 5.1747,
                "total_long_balls": 1.1344,
                "accurate_long_balls": 0.7738,
                "total_opp_half_passes": 22.7807,
                "accurate_opp_half_passes": 18.0541,
                "crosses_total": 2.1159,
                "crosses_accurate": 0.0973,
                "touches": 44.8761,
                "possession_lost": 12.7674,
                "dispossessed": 0.8451,
                "duels_lost": 4.8206,
                "aerial_lost": 0.0627,
                "total_contest": 3.8107,
                "won_contest": 1.6479,
                "ball_recovery": 2.6685,
                "challenges_lost": 0.7851,
                "fouls": 1.0438,
                "fouls_drawn": 2.7144,
                "assist_rate": 0.2659,
                "assists": 0,
                "interceptions": 0.0115,
                "tackles_won": 0.4949,
                "tackles": 0.8291,
                "clearances": 0.0013,
                "blocks": 0.0,
                "big_chances_created": 0.2969,
                "big_chances_missed": 0.6401,
                "xgot": 0.554,
                "offsides": 0.3652,
                "ball_carries": 20.3852,
                "total_progression": 135.6664,
                "progressive_carries": 7.2262,
                "shots_off_target": 2.1435,
                "duel_xg_multiplier": 1.0644,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.244,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Renato Veiga, Pau Navarro",
                "opponent_faced": "Renato Veiga, Pau Navarro",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8986,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 3.394,
                "squad_xg_sum": 2.0121,
                "squad_xa_sum": 1.1242,
                "team_expected_assists": 2.2061,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.6868,
                "xa_scale": 1.9624,
                "opponent_lambda": 1.744,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.3247,
                  "after": 0.5477
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1757,
                  "after": 0.3448
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 2 by projected rating, fifa_overall 86.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.5477,
                "goal_rate": 0.2867,
                "goals": 0,
                "shots_on_target": 1.0747,
                "total_shots": 3.2182,
                "expected_assists": 0.3448,
                "key_pass": 1.7566,
                "rating": 7.229,
                "minutes": 79.86,
                "total_pass": 27.0495,
                "accurate_pass": 21.8346,
                "duels_won": 5.1747,
                "total_long_balls": 1.1344,
                "accurate_long_balls": 0.7738,
                "total_opp_half_passes": 22.7807,
                "accurate_opp_half_passes": 18.0541,
                "crosses_total": 2.1159,
                "crosses_accurate": 0.0973,
                "touches": 44.8761,
                "possession_lost": 12.7674,
                "dispossessed": 0.8451,
                "duels_lost": 4.8206,
                "aerial_lost": 0.0627,
                "total_contest": 3.8107,
                "won_contest": 1.6479,
                "ball_recovery": 2.6685,
                "challenges_lost": 0.7851,
                "fouls": 1.0438,
                "fouls_drawn": 2.7144,
                "assist_rate": 0.2659,
                "assists": 0,
                "interceptions": 0.0115,
                "tackles_won": 0.4949,
                "tackles": 0.8291,
                "clearances": 0.0013,
                "blocks": 0.0,
                "big_chances_created": 0.2969,
                "big_chances_missed": 0.6401,
                "xgot": 0.554,
                "offsides": 0.3652,
                "ball_carries": 20.3852,
                "total_progression": 135.6664,
                "progressive_carries": 7.2262,
                "shots_off_target": 2.1435,
                "duel_xg_multiplier": 1.0644,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.244,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Renato Veiga, Pau Navarro",
                "opponent_faced": "Renato Veiga, Pau Navarro",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8986,
                "creation_factor": 1.25,
                "fifa_overall": 86.0
              },
              "params": {
                "match_squad_rank": 2,
                "squad_role": "starter",
                "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
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 3 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.5477,
                "goal_rate": 0.2867,
                "goals": 1,
                "shots_on_target": 1.0747,
                "total_shots": 3.2182,
                "expected_assists": 0.3448,
                "key_pass": 1.7566,
                "rating": 7.229,
                "minutes": 79.86,
                "total_pass": 27.0495,
                "accurate_pass": 21.8346,
                "duels_won": 5.1747,
                "total_long_balls": 1.1344,
                "accurate_long_balls": 0.7738,
                "total_opp_half_passes": 22.7807,
                "accurate_opp_half_passes": 18.0541,
                "crosses_total": 2.1159,
                "crosses_accurate": 0.0973,
                "touches": 44.8761,
                "possession_lost": 12.7674,
                "dispossessed": 0.8451,
                "duels_lost": 4.8206,
                "aerial_lost": 0.0627,
                "total_contest": 3.8107,
                "won_contest": 1.6479,
                "ball_recovery": 2.6685,
                "challenges_lost": 0.7851,
                "fouls": 1.0438,
                "fouls_drawn": 2.7144,
                "assist_rate": 0.2659,
                "assists": 0,
                "interceptions": 0.0115,
                "tackles_won": 0.4949,
                "tackles": 0.8291,
                "clearances": 0.0013,
                "blocks": 0.0,
                "big_chances_created": 0.2969,
                "big_chances_missed": 0.6401,
                "xgot": 0.554,
                "offsides": 0.3652,
                "ball_carries": 20.3852,
                "total_progression": 135.6664,
                "progressive_carries": 7.2262,
                "shots_off_target": 2.1435,
                "duel_xg_multiplier": 1.0644,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.244,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Renato Veiga, Pau Navarro",
                "opponent_faced": "Renato Veiga, Pau Navarro",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.4217,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8986,
                "creation_factor": 1.25,
                "fifa_overall": 86.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 3,
                "goals_allocated": 1,
                "goal_probability": 0.4217,
                "scorer_weight": 0.4922,
                "squad_weight_total": 3.3755,
                "weight_share": 0.1458,
                "finishing_factor": 0.8986,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Kylian Mbappé",
                    "weight": 1.3799,
                    "already": 0,
                    "effective_weight": 1.3799,
                    "runner_up": "Vinícius Júnior",
                    "runner_up_effective_weight": 0.4922
                  },
                  {
                    "n": 2,
                    "player": "Kylian Mbappé",
                    "weight": 1.3799,
                    "already": 1,
                    "effective_weight": 0.5872,
                    "runner_up": "Vinícius Júnior",
                    "runner_up_effective_weight": 0.4922
                  },
                  {
                    "n": 3,
                    "player": "Vinícius Júnior",
                    "weight": 0.4922,
                    "already": 0,
                    "effective_weight": 0.4922,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.3951
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 2 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "expected_goals": 0.5477,
                "goal_rate": 0.2867,
                "goals": 1,
                "shots_on_target": 1.0747,
                "total_shots": 3.2182,
                "expected_assists": 0.3448,
                "key_pass": 1.7566,
                "rating": 7.229,
                "minutes": 79.86,
                "total_pass": 27.0495,
                "accurate_pass": 21.8346,
                "duels_won": 5.1747,
                "total_long_balls": 1.1344,
                "accurate_long_balls": 0.7738,
                "total_opp_half_passes": 22.7807,
                "accurate_opp_half_passes": 18.0541,
                "crosses_total": 2.1159,
                "crosses_accurate": 0.0973,
                "touches": 44.8761,
                "possession_lost": 12.7674,
                "dispossessed": 0.8451,
                "duels_lost": 4.8206,
                "aerial_lost": 0.0627,
                "total_contest": 3.8107,
                "won_contest": 1.6479,
                "ball_recovery": 2.6685,
                "challenges_lost": 0.7851,
                "fouls": 1.0438,
                "fouls_drawn": 2.7144,
                "assist_rate": 0.2659,
                "assists": 1,
                "interceptions": 0.0115,
                "tackles_won": 0.4949,
                "tackles": 0.8291,
                "clearances": 0.0013,
                "blocks": 0.0,
                "big_chances_created": 0.2969,
                "big_chances_missed": 0.6401,
                "xgot": 0.554,
                "offsides": 0.3652,
                "ball_carries": 20.3852,
                "total_progression": 135.6664,
                "progressive_carries": 7.2262,
                "shots_off_target": 2.1435,
                "duel_xg_multiplier": 1.0644,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.244,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Renato Veiga, Pau Navarro",
                "opponent_faced": "Renato Veiga, Pau Navarro",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.4217,
                "projected_assists": 1,
                "assist_probability": 0.2916,
                "finishing_factor": 0.8986,
                "creation_factor": 1.25,
                "fifa_overall": 86.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 2,
                "assists_allocated": 1,
                "assist_probability": 0.2916,
                "provider_weight": 0.431,
                "squad_weight_total": 2.3369,
                "weight_share": 0.1844,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Vinícius Júnior",
                    "weight": 0.431,
                    "already": 0,
                    "effective_weight": 0.431,
                    "runner_up": "Kylian Mbappé",
                    "runner_up_effective_weight": 0.4214
                  },
                  {
                    "n": 2,
                    "player": "Kylian Mbappé",
                    "weight": 0.4214,
                    "already": 0,
                    "effective_weight": 0.4214,
                    "runner_up": "Arda Güler",
                    "runner_up_effective_weight": 0.4024
                  }
                ]
              }
            }
          ]
        },
        "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.2851,
            "assist_rate": 0.1477,
            "assists": 0,
            "expected_goals": 0.349,
            "goal_rate": 0.2408,
            "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.574,
            "ball_carries": 23,
            "total_progression": 64,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.0736,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.47,
            "pressing_faced": "HIGH",
            "matchup_zone": "CAM vs CM",
            "numerical_situation": "1v1",
            "opponent_defenders": "Pape Gueye",
            "opponent_faced": "Pape Gueye",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.2946,
            "projected_assists": 0,
            "assist_probability": 0.2481,
            "finishing_factor": 1.132,
            "creation_factor": 1.0123,
            "fifa_overall": 90.0
          },
          "latest_10_games": [
            {
              "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"
            },
            {
              "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": 87,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0155,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 28,
                "tackles": 5,
                "tackles_won": 3,
                "aerial_won": 3,
                "duels_won": 13,
                "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": 14083649,
              "match_date": "2026-05-14",
              "home_team": "Real Madrid",
              "away_team": "Real Oviedo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 26,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1435,
                "expected_assists": 0.0069,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 28,
                "accurate_pass": 24,
                "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"
            }
          ],
          "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": 3,
            "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-10T10:05:58.420391+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.2069,
                "goals": 0.2408,
                "goal_rate": 0.2408,
                "shots_on_target": 0.8673,
                "total_shots": 2.1904,
                "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.1965,
                "xgot": 0.3403,
                "ball_carries": 22.598,
                "total_progression": 64.4598,
                "progressive_carries": 2.3393,
                "shots_off_target": 1.3206,
                "duel_xg_multiplier": 1.0736,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.47,
                "pressing_faced": "HIGH",
                "matchup_zone": "CAM vs CM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pape Gueye",
                "opponent_faced": "Pape Gueye",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pape Gueye",
                  "matchup_zone": "CAM vs CM",
                  "duel_win_rate": 0.47,
                  "pressing_faced": "HIGH",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.0736,
                  "skill_edge": 0.0461,
                  "height_edge": 0.004,
                  "attacker_skill": 0.8996,
                  "defender_skill": 0.7972,
                  "attacker_role": "CAM",
                  "attacker_mv_price_index": 0.95,
                  "defender_adjusted_parts": [
                    {
                      "player": "Pape Gueye",
                      "market_value": 39000000,
                      "role": "CM",
                      "price_index": 0.9,
                      "adjusted_quality": 0.7972
                    }
                  ],
                  "xg_override": 0.2069
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.7921,
                  "after": 1.2
                },
                {
                  "stat": "totalShots",
                  "before": 2.0402,
                  "after": 2.1904
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.2301,
                  "after": 1.3206
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.8078,
                  "after": 0.8673
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.317,
                  "after": 0.3403
                },
                {
                  "stat": "goals",
                  "before": 0.2243,
                  "after": 0.2408
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1927,
                  "after": 0.2069
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.183,
                  "after": 0.1965
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 3.39 (squad xG sum 2.0121, xG scale 1.6868, xA scale 1.9624, team xA 2.21 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1.7512,
                "expected_assists": 0.2851,
                "assist_rate": 0.1477,
                "assists": 0,
                "expected_goals": 0.349,
                "goal_rate": 0.2408,
                "goals": 0,
                "shots_on_target": 0.8673,
                "total_shots": 2.1904,
                "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.1965,
                "xgot": 0.574,
                "ball_carries": 22.598,
                "total_progression": 64.4598,
                "progressive_carries": 2.3393,
                "shots_off_target": 1.3206,
                "duel_xg_multiplier": 1.0736,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.47,
                "pressing_faced": "HIGH",
                "matchup_zone": "CAM vs CM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pape Gueye",
                "opponent_faced": "Pape Gueye",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.132,
                "creation_factor": 1.0123
              },
              "params": {
                "team_lambda": 3.394,
                "squad_xg_sum": 2.0121,
                "squad_xa_sum": 1.1242,
                "team_expected_assists": 2.2061,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.6868,
                "xa_scale": 1.9624,
                "opponent_lambda": 1.744,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2069,
                  "after": 0.349
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1453,
                  "after": 0.2851
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 3 by projected rating, fifa_overall 90.0; not used by the projection)",
              "stats": {
                "key_pass": 1.7512,
                "expected_assists": 0.2851,
                "assist_rate": 0.1477,
                "assists": 0,
                "expected_goals": 0.349,
                "goal_rate": 0.2408,
                "goals": 0,
                "shots_on_target": 0.8673,
                "total_shots": 2.1904,
                "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.1965,
                "xgot": 0.574,
                "ball_carries": 22.598,
                "total_progression": 64.4598,
                "progressive_carries": 2.3393,
                "shots_off_target": 1.3206,
                "duel_xg_multiplier": 1.0736,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.47,
                "pressing_faced": "HIGH",
                "matchup_zone": "CAM vs CM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pape Gueye",
                "opponent_faced": "Pape Gueye",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.132,
                "creation_factor": 1.0123,
                "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": 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: 3 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1.7512,
                "expected_assists": 0.2851,
                "assist_rate": 0.1477,
                "assists": 0,
                "expected_goals": 0.349,
                "goal_rate": 0.2408,
                "goals": 0,
                "shots_on_target": 0.8673,
                "total_shots": 2.1904,
                "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.1965,
                "xgot": 0.574,
                "ball_carries": 22.598,
                "total_progression": 64.4598,
                "progressive_carries": 2.3393,
                "shots_off_target": 1.3206,
                "duel_xg_multiplier": 1.0736,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.47,
                "pressing_faced": "HIGH",
                "matchup_zone": "CAM vs CM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pape Gueye",
                "opponent_faced": "Pape Gueye",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.2946,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.132,
                "creation_factor": 1.0123,
                "fifa_overall": 90.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 3,
                "goals_allocated": 0,
                "goal_probability": 0.2946,
                "scorer_weight": 0.3951,
                "squad_weight_total": 3.3755,
                "weight_share": 0.117,
                "finishing_factor": 1.132,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Kylian Mbappé",
                    "weight": 1.3799,
                    "already": 0,
                    "effective_weight": 1.3799,
                    "runner_up": "Vinícius Júnior",
                    "runner_up_effective_weight": 0.4922
                  },
                  {
                    "n": 2,
                    "player": "Kylian Mbappé",
                    "weight": 1.3799,
                    "already": 1,
                    "effective_weight": 0.5872,
                    "runner_up": "Vinícius Júnior",
                    "runner_up_effective_weight": 0.4922
                  },
                  {
                    "n": 3,
                    "player": "Vinícius Júnior",
                    "weight": 0.4922,
                    "already": 0,
                    "effective_weight": 0.4922,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.3951
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 2 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 1.7512,
                "expected_assists": 0.2851,
                "assist_rate": 0.1477,
                "assists": 0,
                "expected_goals": 0.349,
                "goal_rate": 0.2408,
                "goals": 0,
                "shots_on_target": 0.8673,
                "total_shots": 2.1904,
                "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.1965,
                "xgot": 0.574,
                "ball_carries": 22.598,
                "total_progression": 64.4598,
                "progressive_carries": 2.3393,
                "shots_off_target": 1.3206,
                "duel_xg_multiplier": 1.0736,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.47,
                "pressing_faced": "HIGH",
                "matchup_zone": "CAM vs CM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pape Gueye",
                "opponent_faced": "Pape Gueye",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.2946,
                "projected_assists": 0,
                "assist_probability": 0.2481,
                "finishing_factor": 1.132,
                "creation_factor": 1.0123,
                "fifa_overall": 90.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 2,
                "assists_allocated": 0,
                "assist_probability": 0.2481,
                "provider_weight": 0.2886,
                "squad_weight_total": 2.3369,
                "weight_share": 0.1235,
                "creation_factor": 1.0123,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Vinícius Júnior",
                    "weight": 0.431,
                    "already": 0,
                    "effective_weight": 0.431,
                    "runner_up": "Kylian Mbappé",
                    "runner_up_effective_weight": 0.4214
                  },
                  {
                    "n": 2,
                    "player": "Kylian Mbappé",
                    "weight": 0.4214,
                    "already": 0,
                    "effective_weight": 0.4214,
                    "runner_up": "Arda Güler",
                    "runner_up_effective_weight": 0.4024
                  }
                ]
              }
            }
          ]
        },
        "Arda Güler": {
          "player_id": 1091116,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 15,
          "height": 176,
          "market_value": 87000000,
          "stats": {
            "key_pass": 2,
            "expected_assists": 0.4331,
            "assist_rate": 0.2015,
            "assists": 0,
            "expected_goals": 0.3654,
            "goal_rate": 0.1745,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "rating": 7.0883,
            "minutes": 69,
            "total_pass": 40,
            "accurate_pass": 36,
            "duels_won": 4,
            "total_long_balls": 4,
            "accurate_long_balls": 3,
            "total_own_half_passes": 11,
            "accurate_own_half_passes": 11,
            "total_opp_half_passes": 29,
            "accurate_opp_half_passes": 25,
            "crosses_total": 4,
            "crosses_accurate": 2,
            "touches": 57,
            "possession_lost": 10.8751,
            "dispossessed": 1.1388,
            "duels_lost": 3,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "total_contest": 2,
            "won_contest": 1,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 2,
            "blocks": 0,
            "big_chances_created": 1,
            "big_chances_missed": 0,
            "xgot": 0.0988,
            "ball_carries": 17,
            "total_progression": 48,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.165,
            "dribbles_attempted": 4,
            "dribbles_successful": 2.1,
            "crosses_attempted": 2.7,
            "duel_win_rate": 0.592,
            "pressing_faced": "LOW",
            "matchup_zone": "Left Wing vs Right Back — Flank Battle",
            "numerical_situation": "1v1",
            "opponent_defenders": "Sergi Cardona",
            "opponent_faced": "Sergi Cardona",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.3061,
            "projected_assists": 0,
            "assist_probability": 0.3515,
            "finishing_factor": 0.8421,
            "creation_factor": 0.9291,
            "fifa_overall": 83.0
          },
          "latest_10_games": [
            {
              "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"
            },
            {
              "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": 58,
                "rating": 7.6,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.013,
                "expected_assists": 0.2146,
                "total_shots": 1,
                "total_pass": 51,
                "accurate_pass": 47,
                "key_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 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": 14083191,
              "match_date": "2026-04-10",
              "home_team": "Real Madrid",
              "away_team": "Girona FC",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 26,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0145,
                "expected_assists": 0.0193,
                "total_shots": 1,
                "total_pass": 32,
                "accurate_pass": 29,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 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": 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": 5,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0883,
            "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"
            ],
            "market_value_adjustment": 1.0127,
            "fbref_prior_metrics": {
              "squad": "Real Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 144.0,
              "goals_per90": 0.625,
              "assists_per90": 0.625,
              "shots_per90": 2.5,
              "shots_on_target_pct": 50.0,
              "prior_reliability": 0.1067
            },
            "rationale": "XGBoost regressor (M_service) evaluated 40 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Real Madrid, rel: 0.11, gls/90: 0.625, ast/90: 0.625)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1.8365,
                "expected_assists": 0.218,
                "assists": 0.1969,
                "assist_rate": 0.1969,
                "expected_goals": 0.1835,
                "goals": 0.1454,
                "goal_rate": 0.1454,
                "shots_on_target": 0.6347,
                "total_shots": 1.8246,
                "rating": 7.0883,
                "minutes": 68.72,
                "total_pass": 39.4168,
                "accurate_pass": 35.0652,
                "duels_won": 4.2406,
                "total_long_balls": 4.0368,
                "accurate_long_balls": 3.2211,
                "total_own_half_passes": 10.8452,
                "accurate_own_half_passes": 10.4692,
                "total_opp_half_passes": 28.5716,
                "accurate_opp_half_passes": 24.5959,
                "crosses_total": 4.405,
                "crosses_accurate": 2.0637,
                "touches": 56.2038,
                "possession_lost": 10.7387,
                "dispossessed": 1.1245,
                "duels_lost": 3.3136,
                "aerial_won": 0.2391,
                "aerial_lost": 0.0886,
                "interceptions": 0.2686,
                "tackles_won": 0.5972,
                "tackles": 0.9682,
                "clearances": 0.2439,
                "total_contest": 1.9799,
                "won_contest": 1.0548,
                "challenges_lost": 0.5697,
                "fouls": 0.6076,
                "fouls_drawn": 1.9784,
                "blocks": 0.2432,
                "big_chances_created": 0.8887,
                "big_chances_missed": 0.151,
                "xgot": 0.0497,
                "ball_carries": 17.0546,
                "total_progression": 47.8102,
                "progressive_carries": 1.5765,
                "shots_off_target": 1.1899
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-10T10:05:58.420391+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": 1.0,
                  "totalShots": 1.4706,
                  "creative_index": 1.3958,
                  "expectedGoals": 0.2224,
                  "expectedAssists": 0.3266,
                  "onTargetScoringAttempt": 0.5351
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.8364825248718262,
                    "model_output": 1.8365,
                    "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.1889
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.1209
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.126
                        },
                        {
                          "name": "cross_accuracy",
                          "contribution": -0.1039
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0875
                        }
                      ],
                      "others": 0.5309,
                      "total": 1.8365,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": 0.193257
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.106541
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.100178
                        },
                        {
                          "name": "cross_accuracy",
                          "margin": -0.081887
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.069374
                        }
                      ],
                      "others_margin": 0.341204
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.21795377135276794,
                    "model_output": 0.218,
                    "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.0173
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.017
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0123
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0078
                        },
                        {
                          "name": "goalAssist",
                          "contribution": 0.0082
                        }
                      ],
                      "others": 0.0696,
                      "total": 0.218,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": 0.18376
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.152876
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.097149
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.057554
                        },
                        {
                          "name": "goalAssist",
                          "margin": 0.056577
                        }
                      ],
                      "others_margin": 0.384659
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.19685818254947662,
                    "model_output": 0.1969,
                    "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.0121
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0112
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0112
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0119
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0127
                        }
                      ],
                      "others": 0.0526,
                      "total": 0.1969,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "keyPass",
                          "margin": 0.13266
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.109186
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.098239
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.094655
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.091856
                        }
                      ],
                      "others_margin": 0.31054
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.18352019786834717,
                    "model_output": 0.1835,
                    "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.0253
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0119
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.012
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0131
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0125
                        }
                      ],
                      "others": 0.0143,
                      "total": 0.1835,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": 0.23758
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.094463
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.08751
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.087227
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.076889
                        }
                      ],
                      "others_margin": 0.080818
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.14541716873645782,
                    "model_output": 0.1454,
                    "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.0216
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0168
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0154
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0118
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0084
                        }
                      ],
                      "others": 0.0282,
                      "total": 0.1454,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.199808
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.1317
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.120539
                        },
                        {
                          "name": "duelLost",
                          "margin": -0.103366
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.074581
                        }
                      ],
                      "others_margin": 0.216083
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.6347424387931824,
                    "model_output": 0.6347,
                    "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.0912
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.057
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0472
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0388
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0349
                        }
                      ],
                      "others": 0.0416,
                      "total": 0.6347,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.248044
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.128745
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.095234
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.072028
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.060683
                        }
                      ],
                      "others_margin": 0.06777
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.8246139287948608,
                    "model_output": 1.8246,
                    "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.279
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1601
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.1177
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0606
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0594
                        }
                      ],
                      "others": 0.1573,
                      "total": 1.8246,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.278954
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.160079
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.117707
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.060553
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.059372
                        }
                      ],
                      "others_margin": 0.157486
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.088347434997559,
                    "model_output": 7.0883,
                    "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.1266
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.03
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0199
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0176
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0173
                        }
                      ],
                      "others": 0.028,
                      "total": 7.0883,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.126579
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.029953
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.019878
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.01755
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.017345
                        }
                      ],
                      "others_margin": 0.028172
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 40,
                  "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.0127, quality 0.887)",
              "stats": {
                "key_pass": 1.8598,
                "expected_assists": 0.2207,
                "assists": 0.1994,
                "assist_rate": 0.1994,
                "expected_goals": 0.1859,
                "goals": 0.1473,
                "goal_rate": 0.1473,
                "shots_on_target": 0.6428,
                "total_shots": 1.8478,
                "rating": 7.0883,
                "minutes": 68.72,
                "total_pass": 39.9174,
                "accurate_pass": 35.5105,
                "duels_won": 4.2945,
                "total_long_balls": 4.0881,
                "accurate_long_balls": 3.262,
                "total_own_half_passes": 10.9829,
                "accurate_own_half_passes": 10.6022,
                "total_opp_half_passes": 28.9345,
                "accurate_opp_half_passes": 24.9083,
                "crosses_total": 4.4609,
                "crosses_accurate": 2.0899,
                "touches": 56.9176,
                "possession_lost": 10.8751,
                "dispossessed": 1.1388,
                "duels_lost": 3.3557,
                "aerial_won": 0.2421,
                "aerial_lost": 0.0897,
                "interceptions": 0.272,
                "tackles_won": 0.6048,
                "tackles": 0.9805,
                "clearances": 0.247,
                "total_contest": 2.005,
                "won_contest": 1.0682,
                "challenges_lost": 0.5769,
                "fouls": 0.6153,
                "fouls_drawn": 2.0035,
                "blocks": 0.2463,
                "big_chances_created": 0.9,
                "big_chances_missed": 0.1529,
                "xgot": 0.0503,
                "ball_carries": 17.2712,
                "total_progression": 48.4174,
                "progressive_carries": 1.5965,
                "shots_off_target": 1.205
              },
              "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.0077)",
              "stats": {
                "key_pass": 1.8598,
                "expected_assists": 0.2207,
                "assists": 0.2015,
                "assist_rate": 0.2015,
                "expected_goals": 0.1859,
                "goals": 0.1498,
                "goal_rate": 0.1498,
                "shots_on_target": 0.6452,
                "total_shots": 1.8483,
                "rating": 7.0883,
                "minutes": 68.72,
                "total_pass": 39.9174,
                "accurate_pass": 35.5105,
                "duels_won": 4.2945,
                "total_long_balls": 4.0881,
                "accurate_long_balls": 3.262,
                "total_own_half_passes": 10.9829,
                "accurate_own_half_passes": 10.6022,
                "total_opp_half_passes": 28.9345,
                "accurate_opp_half_passes": 24.9083,
                "crosses_total": 4.4596,
                "crosses_accurate": 2.0899,
                "touches": 56.9176,
                "possession_lost": 10.8751,
                "dispossessed": 1.1388,
                "duels_lost": 3.3557,
                "aerial_won": 0.2421,
                "aerial_lost": 0.0897,
                "interceptions": 0.2699,
                "tackles_won": 0.6112,
                "tackles": 0.9805,
                "clearances": 0.247,
                "total_contest": 2.005,
                "won_contest": 1.0682,
                "challenges_lost": 0.5769,
                "fouls": 0.6106,
                "fouls_drawn": 1.9954,
                "blocks": 0.2463,
                "big_chances_created": 0.9,
                "big_chances_missed": 0.1529,
                "xgot": 0.0503,
                "ball_carries": 17.2712,
                "total_progression": 48.4174,
                "progressive_carries": 1.5965,
                "shots_off_target": 1.205
              },
              "params": {
                "blend_weight": 0.0077,
                "history_matches": 40,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.7636,
                "prior_reliability": 0.1067,
                "competition": "La Liga",
                "squad": "Real Madrid"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 2.0035,
                  "after": 1.9954
                },
                {
                  "stat": "wonTackle",
                  "before": 0.6048,
                  "after": 0.6112
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.8598,
                "expected_assists": 0.2207,
                "assists": 0.2015,
                "assist_rate": 0.2015,
                "expected_goals": 0.1859,
                "goals": 0.1498,
                "goal_rate": 0.1498,
                "shots_on_target": 0.6452,
                "total_shots": 1.8502,
                "rating": 7.0883,
                "minutes": 68.72,
                "total_pass": 39.9174,
                "accurate_pass": 35.5105,
                "duels_won": 4.2945,
                "total_long_balls": 4.0881,
                "accurate_long_balls": 3.262,
                "total_own_half_passes": 10.9829,
                "accurate_own_half_passes": 10.6022,
                "total_opp_half_passes": 28.9345,
                "accurate_opp_half_passes": 24.9083,
                "crosses_total": 4.4596,
                "crosses_accurate": 2.0899,
                "touches": 56.9176,
                "possession_lost": 10.8751,
                "dispossessed": 1.1388,
                "duels_lost": 3.3557,
                "aerial_won": 0.2421,
                "aerial_lost": 0.0897,
                "interceptions": 0.2699,
                "tackles_won": 0.6112,
                "tackles": 0.9805,
                "clearances": 0.247,
                "total_contest": 2.005,
                "won_contest": 1.0682,
                "challenges_lost": 0.5769,
                "fouls": 0.6106,
                "fouls_drawn": 1.9954,
                "blocks": 0.2463,
                "big_chances_created": 0.9,
                "big_chances_missed": 0.1529,
                "xgot": 0.0503,
                "ball_carries": 17.2712,
                "total_progression": 48.4174,
                "progressive_carries": 1.5965,
                "shots_off_target": 1.205
              },
              "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.8598,
                "expected_assists": 0.2207,
                "assists": 0.2015,
                "assist_rate": 0.2015,
                "expected_goals": 0.2166,
                "goals": 0.1745,
                "goal_rate": 0.1745,
                "shots_on_target": 0.7517,
                "total_shots": 2.1555,
                "rating": 7.0883,
                "minutes": 68.72,
                "total_pass": 39.9174,
                "accurate_pass": 35.5105,
                "duels_won": 4.2945,
                "total_long_balls": 4.0881,
                "accurate_long_balls": 3.262,
                "total_own_half_passes": 10.9829,
                "accurate_own_half_passes": 10.6022,
                "total_opp_half_passes": 28.9345,
                "accurate_opp_half_passes": 24.9083,
                "crosses_total": 4.4596,
                "crosses_accurate": 2.0899,
                "touches": 56.9176,
                "possession_lost": 10.8751,
                "dispossessed": 1.1388,
                "duels_lost": 3.3557,
                "aerial_won": 0.9,
                "aerial_lost": 0.0897,
                "interceptions": 0.2699,
                "tackles_won": 0.6112,
                "tackles": 0.9805,
                "clearances": 0.247,
                "total_contest": 2.005,
                "won_contest": 1.0682,
                "challenges_lost": 0.5769,
                "fouls": 0.6106,
                "fouls_drawn": 1.9954,
                "blocks": 0.2463,
                "big_chances_created": 0.9,
                "big_chances_missed": 0.1781,
                "xgot": 0.0586,
                "ball_carries": 17.2712,
                "total_progression": 48.4174,
                "progressive_carries": 1.5965,
                "shots_off_target": 1.4038,
                "duel_xg_multiplier": 1.165,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 2.1,
                "crosses_attempted": 2.7,
                "duel_win_rate": 0.592,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Sergi Cardona",
                "opponent_faced": "Sergi Cardona",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Sergi Cardona",
                  "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                  "duel_win_rate": 0.592,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.165,
                  "skill_edge": 0.1523,
                  "height_edge": -0.04,
                  "attacker_skill": 0.8873,
                  "defender_skill": 0.5489,
                  "attacker_role": "LW",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Sergi Cardona",
                      "market_value": 8600000,
                      "role": "RB",
                      "price_index": 0.7,
                      "adjusted_quality": 0.5489
                    }
                  ],
                  "xg_override": 0.2166
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.2421,
                  "after": 0.9
                },
                {
                  "stat": "totalShots",
                  "before": 1.8502,
                  "after": 2.1555
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.205,
                  "after": 1.4038
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.6452,
                  "after": 0.7517
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1859,
                  "after": 0.2166
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.1529,
                  "after": 0.1781
                },
                {
                  "stat": "goals",
                  "before": 0.1498,
                  "after": 0.1745
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.0503,
                  "after": 0.0586
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 3.39 (squad xG sum 2.0121, xG scale 1.6868, xA scale 1.9624, team xA 2.21 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1.8598,
                "expected_assists": 0.4331,
                "assist_rate": 0.2015,
                "assists": 0,
                "expected_goals": 0.3654,
                "goal_rate": 0.1745,
                "goals": 0,
                "shots_on_target": 0.7517,
                "total_shots": 2.1555,
                "rating": 7.0883,
                "minutes": 68.72,
                "total_pass": 39.9174,
                "accurate_pass": 35.5105,
                "duels_won": 4.2945,
                "total_long_balls": 4.0881,
                "accurate_long_balls": 3.262,
                "total_own_half_passes": 10.9829,
                "accurate_own_half_passes": 10.6022,
                "total_opp_half_passes": 28.9345,
                "accurate_opp_half_passes": 24.9083,
                "crosses_total": 4.4596,
                "crosses_accurate": 2.0899,
                "touches": 56.9176,
                "possession_lost": 10.8751,
                "dispossessed": 1.1388,
                "duels_lost": 3.3557,
                "aerial_won": 0.9,
                "aerial_lost": 0.0897,
                "interceptions": 0.2699,
                "tackles_won": 0.6112,
                "tackles": 0.9805,
                "clearances": 0.247,
                "total_contest": 2.005,
                "won_contest": 1.0682,
                "challenges_lost": 0.5769,
                "fouls": 0.6106,
                "fouls_drawn": 1.9954,
                "blocks": 0.2463,
                "big_chances_created": 0.9,
                "big_chances_missed": 0.1781,
                "xgot": 0.0988,
                "ball_carries": 17.2712,
                "total_progression": 48.4174,
                "progressive_carries": 1.5965,
                "shots_off_target": 1.4038,
                "duel_xg_multiplier": 1.165,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 2.1,
                "crosses_attempted": 2.7,
                "duel_win_rate": 0.592,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Sergi Cardona",
                "opponent_faced": "Sergi Cardona",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8421,
                "creation_factor": 0.9291
              },
              "params": {
                "team_lambda": 3.394,
                "squad_xg_sum": 2.0121,
                "squad_xa_sum": 1.1242,
                "team_expected_assists": 2.2061,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.6868,
                "xa_scale": 1.9624,
                "opponent_lambda": 1.744,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2166,
                  "after": 0.3654
                },
                {
                  "stat": "expected_assists",
                  "before": 0.2207,
                  "after": 0.4331
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 5 by projected rating, fifa_overall 83.0; not used by the projection)",
              "stats": {
                "key_pass": 1.8598,
                "expected_assists": 0.4331,
                "assist_rate": 0.2015,
                "assists": 0,
                "expected_goals": 0.3654,
                "goal_rate": 0.1745,
                "goals": 0,
                "shots_on_target": 0.7517,
                "total_shots": 2.1555,
                "rating": 7.0883,
                "minutes": 68.72,
                "total_pass": 39.9174,
                "accurate_pass": 35.5105,
                "duels_won": 4.2945,
                "total_long_balls": 4.0881,
                "accurate_long_balls": 3.262,
                "total_own_half_passes": 10.9829,
                "accurate_own_half_passes": 10.6022,
                "total_opp_half_passes": 28.9345,
                "accurate_opp_half_passes": 24.9083,
                "crosses_total": 4.4596,
                "crosses_accurate": 2.0899,
                "touches": 56.9176,
                "possession_lost": 10.8751,
                "dispossessed": 1.1388,
                "duels_lost": 3.3557,
                "aerial_won": 0.9,
                "aerial_lost": 0.0897,
                "interceptions": 0.2699,
                "tackles_won": 0.6112,
                "tackles": 0.9805,
                "clearances": 0.247,
                "total_contest": 2.005,
                "won_contest": 1.0682,
                "challenges_lost": 0.5769,
                "fouls": 0.6106,
                "fouls_drawn": 1.9954,
                "blocks": 0.2463,
                "big_chances_created": 0.9,
                "big_chances_missed": 0.1781,
                "xgot": 0.0988,
                "ball_carries": 17.2712,
                "total_progression": 48.4174,
                "progressive_carries": 1.5965,
                "shots_off_target": 1.4038,
                "duel_xg_multiplier": 1.165,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 2.1,
                "crosses_attempted": 2.7,
                "duel_win_rate": 0.592,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Sergi Cardona",
                "opponent_faced": "Sergi Cardona",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8421,
                "creation_factor": 0.9291,
                "fifa_overall": 83.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": 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: 3 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1.8598,
                "expected_assists": 0.4331,
                "assist_rate": 0.2015,
                "assists": 0,
                "expected_goals": 0.3654,
                "goal_rate": 0.1745,
                "goals": 0,
                "shots_on_target": 0.7517,
                "total_shots": 2.1555,
                "rating": 7.0883,
                "minutes": 68.72,
                "total_pass": 39.9174,
                "accurate_pass": 35.5105,
                "duels_won": 4.2945,
                "total_long_balls": 4.0881,
                "accurate_long_balls": 3.262,
                "total_own_half_passes": 10.9829,
                "accurate_own_half_passes": 10.6022,
                "total_opp_half_passes": 28.9345,
                "accurate_opp_half_passes": 24.9083,
                "crosses_total": 4.4596,
                "crosses_accurate": 2.0899,
                "touches": 56.9176,
                "possession_lost": 10.8751,
                "dispossessed": 1.1388,
                "duels_lost": 3.3557,
                "aerial_won": 0.9,
                "aerial_lost": 0.0897,
                "interceptions": 0.2699,
                "tackles_won": 0.6112,
                "tackles": 0.9805,
                "clearances": 0.247,
                "total_contest": 2.005,
                "won_contest": 1.0682,
                "challenges_lost": 0.5769,
                "fouls": 0.6106,
                "fouls_drawn": 1.9954,
                "blocks": 0.2463,
                "big_chances_created": 0.9,
                "big_chances_missed": 0.1781,
                "xgot": 0.0988,
                "ball_carries": 17.2712,
                "total_progression": 48.4174,
                "progressive_carries": 1.5965,
                "shots_off_target": 1.4038,
                "duel_xg_multiplier": 1.165,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 2.1,
                "crosses_attempted": 2.7,
                "duel_win_rate": 0.592,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Sergi Cardona",
                "opponent_faced": "Sergi Cardona",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.3061,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8421,
                "creation_factor": 0.9291,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 3,
                "goals_allocated": 0,
                "goal_probability": 0.3061,
                "scorer_weight": 0.3077,
                "squad_weight_total": 3.3755,
                "weight_share": 0.0912,
                "finishing_factor": 0.8421,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Kylian Mbappé",
                    "weight": 1.3799,
                    "already": 0,
                    "effective_weight": 1.3799,
                    "runner_up": "Vinícius Júnior",
                    "runner_up_effective_weight": 0.4922
                  },
                  {
                    "n": 2,
                    "player": "Kylian Mbappé",
                    "weight": 1.3799,
                    "already": 1,
                    "effective_weight": 0.5872,
                    "runner_up": "Vinícius Júnior",
                    "runner_up_effective_weight": 0.4922
                  },
                  {
                    "n": 3,
                    "player": "Vinícius Júnior",
                    "weight": 0.4922,
                    "already": 0,
                    "effective_weight": 0.4922,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.3951
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 2 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 1.8598,
                "expected_assists": 0.4331,
                "assist_rate": 0.2015,
                "assists": 0,
                "expected_goals": 0.3654,
                "goal_rate": 0.1745,
                "goals": 0,
                "shots_on_target": 0.7517,
                "total_shots": 2.1555,
                "rating": 7.0883,
                "minutes": 68.72,
                "total_pass": 39.9174,
                "accurate_pass": 35.5105,
                "duels_won": 4.2945,
                "total_long_balls": 4.0881,
                "accurate_long_balls": 3.262,
                "total_own_half_passes": 10.9829,
                "accurate_own_half_passes": 10.6022,
                "total_opp_half_passes": 28.9345,
                "accurate_opp_half_passes": 24.9083,
                "crosses_total": 4.4596,
                "crosses_accurate": 2.0899,
                "touches": 56.9176,
                "possession_lost": 10.8751,
                "dispossessed": 1.1388,
                "duels_lost": 3.3557,
                "aerial_won": 0.9,
                "aerial_lost": 0.0897,
                "interceptions": 0.2699,
                "tackles_won": 0.6112,
                "tackles": 0.9805,
                "clearances": 0.247,
                "total_contest": 2.005,
                "won_contest": 1.0682,
                "challenges_lost": 0.5769,
                "fouls": 0.6106,
                "fouls_drawn": 1.9954,
                "blocks": 0.2463,
                "big_chances_created": 0.9,
                "big_chances_missed": 0.1781,
                "xgot": 0.0988,
                "ball_carries": 17.2712,
                "total_progression": 48.4174,
                "progressive_carries": 1.5965,
                "shots_off_target": 1.4038,
                "duel_xg_multiplier": 1.165,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 2.1,
                "crosses_attempted": 2.7,
                "duel_win_rate": 0.592,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Sergi Cardona",
                "opponent_faced": "Sergi Cardona",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.3061,
                "projected_assists": 0,
                "assist_probability": 0.3515,
                "finishing_factor": 0.8421,
                "creation_factor": 0.9291,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 2,
                "assists_allocated": 0,
                "assist_probability": 0.3515,
                "provider_weight": 0.4024,
                "squad_weight_total": 2.3369,
                "weight_share": 0.1722,
                "creation_factor": 0.9291,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Vinícius Júnior",
                    "weight": 0.431,
                    "already": 0,
                    "effective_weight": 0.431,
                    "runner_up": "Kylian Mbappé",
                    "runner_up_effective_weight": 0.4214
                  },
                  {
                    "n": 2,
                    "player": "Kylian Mbappé",
                    "weight": 0.4214,
                    "already": 0,
                    "effective_weight": 0.4214,
                    "runner_up": "Arda Güler",
                    "runner_up_effective_weight": 0.4024
                  }
                ]
              }
            }
          ]
        },
        "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.1077,
            "assist_rate": 0.0571,
            "assists": 0,
            "expected_goals": 0.0897,
            "goal_rate": 0.0546,
            "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.0884,
            "ball_carries": 15,
            "total_progression": 43,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.065,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.8,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.444,
            "pressing_faced": "HIGH",
            "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Pape Gueye",
            "opponent_faced": "Pape Gueye",
            "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0858,
            "projected_assists": 0,
            "assist_probability": 0.1021,
            "finishing_factor": 1.0136,
            "creation_factor": 1.021,
            "fifa_overall": 84.0
          },
          "latest_10_games": [
            {
              "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"
            },
            {
              "match_id": 14083191,
              "match_date": "2026-04-10",
              "home_team": "Real Madrid",
              "away_team": "Girona FC",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Madrid",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 11,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.007,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 18,
                "tackles": 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": 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": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0986,
                "expected_assists": 0.0327,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 50,
                "accurate_pass": 46,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 4,
                "aerial_won": 2,
                "duels_won": 6,
                "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-10T10:05:58.420391+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.0532,
                "goals": 0.0546,
                "goal_rate": 0.0546,
                "shots_on_target": 0.2261,
                "total_shots": 1.0644,
                "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.0612,
                "xgot": 0.0524,
                "ball_carries": 15.1631,
                "total_progression": 42.6031,
                "progressive_carries": 0.5466,
                "shots_off_target": 0.8383,
                "duel_xg_multiplier": 1.065,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.444,
                "pressing_faced": "HIGH",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pape Gueye",
                "opponent_faced": "Pape Gueye",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pape Gueye",
                  "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                  "duel_win_rate": 0.444,
                  "pressing_faced": "HIGH",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.065,
                  "skill_edge": 0.0402,
                  "height_edge": 0.004,
                  "attacker_skill": 0.8865,
                  "defender_skill": 0.7972,
                  "attacker_role": "CDM",
                  "attacker_mv_price_index": 0.85,
                  "defender_adjusted_parts": [
                    {
                      "player": "Pape Gueye",
                      "market_value": 39000000,
                      "role": "CM",
                      "price_index": 0.9,
                      "adjusted_quality": 0.7972
                    }
                  ],
                  "xg_override": 0.0532
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 1.4642,
                  "after": 1.2
                },
                {
                  "stat": "totalShots",
                  "before": 0.9994,
                  "after": 1.0644
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.7871,
                  "after": 0.8383
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.2123,
                  "after": 0.2261
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 3.39 (squad xG sum 2.0121, xG scale 1.6868, xA scale 1.9624, team xA 2.21 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0.6468,
                "expected_assists": 0.1077,
                "assist_rate": 0.0571,
                "assists": 0,
                "expected_goals": 0.0897,
                "goal_rate": 0.0546,
                "goals": 0,
                "shots_on_target": 0.2261,
                "total_shots": 1.0644,
                "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.0612,
                "xgot": 0.0884,
                "ball_carries": 15.1631,
                "total_progression": 42.6031,
                "progressive_carries": 0.5466,
                "shots_off_target": 0.8383,
                "duel_xg_multiplier": 1.065,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.444,
                "pressing_faced": "HIGH",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pape Gueye",
                "opponent_faced": "Pape Gueye",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0136,
                "creation_factor": 1.021
              },
              "params": {
                "team_lambda": 3.394,
                "squad_xg_sum": 2.0121,
                "squad_xa_sum": 1.1242,
                "team_expected_assists": 2.2061,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.6868,
                "xa_scale": 1.9624,
                "opponent_lambda": 1.744,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0532,
                  "after": 0.0897
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0549,
                  "after": 0.1077
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 6 by projected rating, fifa_overall 84.0; not used by the projection)",
              "stats": {
                "key_pass": 0.6468,
                "expected_assists": 0.1077,
                "assist_rate": 0.0571,
                "assists": 0,
                "expected_goals": 0.0897,
                "goal_rate": 0.0546,
                "goals": 0,
                "shots_on_target": 0.2261,
                "total_shots": 1.0644,
                "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.0612,
                "xgot": 0.0884,
                "ball_carries": 15.1631,
                "total_progression": 42.6031,
                "progressive_carries": 0.5466,
                "shots_off_target": 0.8383,
                "duel_xg_multiplier": 1.065,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.444,
                "pressing_faced": "HIGH",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pape Gueye",
                "opponent_faced": "Pape Gueye",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0136,
                "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: 3 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0.6468,
                "expected_assists": 0.1077,
                "assist_rate": 0.0571,
                "assists": 0,
                "expected_goals": 0.0897,
                "goal_rate": 0.0546,
                "goals": 0,
                "shots_on_target": 0.2261,
                "total_shots": 1.0644,
                "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.0612,
                "xgot": 0.0884,
                "ball_carries": 15.1631,
                "total_progression": 42.6031,
                "progressive_carries": 0.5466,
                "shots_off_target": 0.8383,
                "duel_xg_multiplier": 1.065,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.444,
                "pressing_faced": "HIGH",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pape Gueye",
                "opponent_faced": "Pape Gueye",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0858,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0136,
                "creation_factor": 1.021,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 3,
                "goals_allocated": 0,
                "goal_probability": 0.0858,
                "scorer_weight": 0.0909,
                "squad_weight_total": 3.3755,
                "weight_share": 0.0269,
                "finishing_factor": 1.0136,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Kylian Mbappé",
                    "weight": 1.3799,
                    "already": 0,
                    "effective_weight": 1.3799,
                    "runner_up": "Vinícius Júnior",
                    "runner_up_effective_weight": 0.4922
                  },
                  {
                    "n": 2,
                    "player": "Kylian Mbappé",
                    "weight": 1.3799,
                    "already": 1,
                    "effective_weight": 0.5872,
                    "runner_up": "Vinícius Júnior",
                    "runner_up_effective_weight": 0.4922
                  },
                  {
                    "n": 3,
                    "player": "Vinícius Júnior",
                    "weight": 0.4922,
                    "already": 0,
                    "effective_weight": 0.4922,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.3951
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 2 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 0.6468,
                "expected_assists": 0.1077,
                "assist_rate": 0.0571,
                "assists": 0,
                "expected_goals": 0.0897,
                "goal_rate": 0.0546,
                "goals": 0,
                "shots_on_target": 0.2261,
                "total_shots": 1.0644,
                "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.0612,
                "xgot": 0.0884,
                "ball_carries": 15.1631,
                "total_progression": 42.6031,
                "progressive_carries": 0.5466,
                "shots_off_target": 0.8383,
                "duel_xg_multiplier": 1.065,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.444,
                "pressing_faced": "HIGH",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pape Gueye",
                "opponent_faced": "Pape Gueye",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0858,
                "projected_assists": 0,
                "assist_probability": 0.1021,
                "finishing_factor": 1.0136,
                "creation_factor": 1.021,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 2,
                "assists_allocated": 0,
                "assist_probability": 0.1021,
                "provider_weight": 0.11,
                "squad_weight_total": 2.3369,
                "weight_share": 0.0471,
                "creation_factor": 1.021,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Vinícius Júnior",
                    "weight": 0.431,
                    "already": 0,
                    "effective_weight": 0.431,
                    "runner_up": "Kylian Mbappé",
                    "runner_up_effective_weight": 0.4214
                  },
                  {
                    "n": 2,
                    "player": "Kylian Mbappé",
                    "weight": 0.4214,
                    "already": 0,
                    "effective_weight": 0.4214,
                    "runner_up": "Arda Güler",
                    "runner_up_effective_weight": 0.4024
                  }
                ]
              }
            }
          ]
        },
        "Bernardo Silva": {
          "player_id": 331209,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 20,
          "height": 173,
          "market_value": 21000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.2094,
            "assist_rate": 0.1022,
            "assists": 0,
            "expected_goals": 0.1066,
            "goal_rate": 0.0504,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.9968,
            "minutes": 78,
            "total_pass": 66,
            "accurate_pass": 60,
            "duels_won": 3,
            "total_long_balls": 4,
            "accurate_long_balls": 2,
            "total_own_half_passes": 29,
            "accurate_own_half_passes": 27,
            "total_opp_half_passes": 37,
            "accurate_opp_half_passes": 33,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 79,
            "possession_lost": 10.2346,
            "dispossessed": 0.7674,
            "duels_lost": 3,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 2,
            "clearances": 1,
            "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.0865,
            "ball_carries": 26,
            "total_progression": 106,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.8844,
            "dribbles_attempted": 4,
            "dribbles_successful": 1.4,
            "crosses_attempted": 2.2,
            "duel_win_rate": 0.401,
            "pressing_faced": "MEDIUM",
            "matchup_zone": "Right Wing vs Left Back — Flank Battle",
            "numerical_situation": "1v1",
            "opponent_defenders": "Santiago Mouriño",
            "opponent_faced": "Santiago Mouriño",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1011,
            "projected_assists": 0,
            "assist_probability": 0.1889,
            "finishing_factor": 0.8869,
            "creation_factor": 0.9713,
            "fifa_overall": 84.0
          },
          "latest_10_games": [
            {
              "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": 8,
                "rating": 7.1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.1635,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 20,
                "key_pass": 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": 69,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1385,
                "expected_assists": 0.0399,
                "total_shots": 1,
                "total_pass": 59,
                "accurate_pass": 54,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 1,
                "aerial_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": "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.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0192,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 21,
                "key_pass": 1,
                "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": 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": 13,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0074,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 9,
                "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": 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": 86,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1378,
                "total_shots": 0,
                "total_pass": 71,
                "accurate_pass": 63,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 2,
                "interceptions": 3,
                "clearances": 1,
                "duels_won": 5,
                "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": 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": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0284,
                "total_shots": 0,
                "total_pass": 55,
                "accurate_pass": 52,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 1,
                "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": 14023961,
              "match_date": "2026-05-24",
              "home_team": "Manchester City",
              "away_team": "Aston Villa",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Manchester City",
              "opponent": "Aston Villa",
              "stats": {
                "minutes": 59,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1818,
                "expected_assists": 0.0368,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 26,
                "accurate_pass": 24,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 4,
                "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": 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": 56,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0787,
                "expected_assists": 0.0794,
                "total_shots": 1,
                "total_pass": 47,
                "accurate_pass": 41,
                "key_pass": 1,
                "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": 15999228,
              "match_date": "2026-05-13",
              "home_team": "Manchester City",
              "away_team": "Crystal Palace",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Manchester City",
              "opponent": "Crystal Palace",
              "stats": {
                "minutes": 79,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1037,
                "expected_assists": 0.0422,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 94,
                "accurate_pass": 85,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 1,
                "duels_won": 1,
                "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"
            },
            {
              "match_id": 14023946,
              "match_date": "2026-05-09",
              "home_team": "Manchester City",
              "away_team": "Brentford",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Manchester City",
              "opponent": "Brentford",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0854,
                "expected_assists": 0.0754,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 78,
                "accurate_pass": 73,
                "key_pass": 1,
                "tackles": 6,
                "tackles_won": 4,
                "interceptions": 1,
                "duels_won": 8,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 757,
            "combined_rank_score": 366.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 511.0,
            "sofascore_rating": 6.85,
            "sofascore_appearances": 38.0,
            "fifa_rank": 222.0,
            "fifa_overall": 84.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9968,
            "source_file": "data/player_rankings.csv",
            "player_name": "Bernardo Silva",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Cristian Martínez",
                  "ranking": 752
                },
                {
                  "player_name": "Nicolás L'Huiller",
                  "ranking": 753
                },
                {
                  "player_name": "Bryan Ogaz",
                  "ranking": 754
                },
                {
                  "player_name": "Agustin Nadruz",
                  "ranking": 755
                },
                {
                  "player_name": "Julian Brandt",
                  "ranking": 756
                }
              ],
              "lower": [
                {
                  "player_name": "Neco Williams",
                  "ranking": 758
                },
                {
                  "player_name": "Jay O'Shea",
                  "ranking": 759
                },
                {
                  "player_name": "Chan-hee Han",
                  "ranking": 760
                },
                {
                  "player_name": "Abdullokh Yuldashev",
                  "ranking": 761
                },
                {
                  "player_name": "Min-woo Kim",
                  "ranking": 762
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.77,
          "history_matches": 44,
          "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": 44,
            "data_confidence": 0.77,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0042,
            "fbref_prior_metrics": {
              "squad": "Real Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 178.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.1333
            },
            "rationale": "XGBoost regressor (M_service) evaluated 44 historical appearances across 8 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 M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1.3767,
                "expected_assists": 0.1063,
                "assists": 0.1027,
                "assist_rate": 0.1027,
                "expected_goals": 0.0712,
                "goals": 0.0572,
                "goal_rate": 0.0572,
                "shots_on_target": 0.209,
                "total_shots": 0.8079,
                "rating": 6.9968,
                "minutes": 77.99,
                "total_pass": 65.4145,
                "accurate_pass": 59.2902,
                "duels_won": 3.391,
                "total_long_balls": 3.8078,
                "accurate_long_balls": 1.8701,
                "total_own_half_passes": 28.9246,
                "accurate_own_half_passes": 26.8961,
                "total_opp_half_passes": 36.4899,
                "accurate_opp_half_passes": 32.3941,
                "crosses_total": 2.0481,
                "crosses_accurate": 0.3628,
                "touches": 78.8887,
                "possession_lost": 10.1918,
                "dispossessed": 0.7642,
                "duels_lost": 3.4579,
                "aerial_won": 0.1943,
                "aerial_lost": 0.2116,
                "interceptions": 1.0529,
                "tackles_won": 1.0895,
                "tackles": 2.1184,
                "clearances": 0.8392,
                "total_contest": 1.1009,
                "won_contest": 0.4389,
                "challenges_lost": 1.1683,
                "fouls": 0.6782,
                "fouls_drawn": 0.6394,
                "blocks": 0.1869,
                "big_chances_created": 0.0324,
                "big_chances_missed": 0.0063,
                "xgot": 0.0578,
                "ball_carries": 26.1239,
                "total_progression": 105.2882,
                "progressive_carries": 1.8987,
                "shots_off_target": 0.5989
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-10T10:05:58.420391+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Atlético Madrid",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.1501,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Rayo Vallecano",
                    "minutes": 69.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Betis",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.1085,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Málaga CF",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.0922,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Sociedad",
                    "minutes": 86.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Espanyol",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-24",
                    "opponent": "Aston Villa",
                    "minutes": 59.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-19",
                    "opponent": "Bournemouth",
                    "minutes": 56.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Crystal Palace",
                    "minutes": 79.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Brentford",
                    "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.6699,
                  "creative_index": 0.4708,
                  "expectedGoals": 0.0624,
                  "expectedAssists": 0.0833,
                  "onTargetScoringAttempt": 0.1268
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.3767197132110596,
                    "model_output": 1.3767,
                    "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.1245
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0804
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0686
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.054
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0536
                        }
                      ],
                      "others": 0.1094,
                      "total": 1.3767,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.131445
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.07652
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.06096
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.04553
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": 0.043213
                        }
                      ],
                      "others_margin": 0.082852
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.10627492517232895,
                    "model_output": 0.1063,
                    "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.0089
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0087
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0056
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0045
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.002
                        }
                      ],
                      "others": 0.011,
                      "total": 0.1063,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.098947
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.087577
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.055301
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.047148
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.021163
                        }
                      ],
                      "others_margin": 0.109083
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.10266946256160736,
                    "model_output": 0.1027,
                    "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": "opp_half_pass_pct",
                          "contribution": -0.0113
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.006
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0053
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0052
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0047
                        }
                      ],
                      "others": 0.0076,
                      "total": 0.1027,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.142047
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.077677
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.064336
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.059335
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.050832
                        }
                      ],
                      "others_margin": 0.076032
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.07122521102428436,
                    "model_output": 0.0712,
                    "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.0136
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0077
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0067
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0064
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0054
                        }
                      ],
                      "others": -0.024,
                      "total": 0.0712,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.134148
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.073867
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.064413
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.062089
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.055497
                        }
                      ],
                      "others_margin": -0.289099
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.05723803862929344,
                    "model_output": 0.0572,
                    "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.0112
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0094
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0079
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0071
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0064
                        }
                      ],
                      "others": -0.0126,
                      "total": 0.0572,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.12151
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.114698
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.108652
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.097252
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.087584
                        }
                      ],
                      "others_margin": -0.198931
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.20895397663116455,
                    "model_output": 0.209,
                    "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.046
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0455
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0196
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0175
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0158
                        }
                      ],
                      "others": -0.0626,
                      "total": 0.209,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.132656
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.131147
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.062426
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.059052
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.056386
                        }
                      ],
                      "others_margin": -0.262247
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.8078482747077942,
                    "model_output": 0.8078,
                    "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.1406
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1242
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0361
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.031
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0269
                        }
                      ],
                      "others": -0.1051,
                      "total": 0.8078,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.140581
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.124242
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.036058
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.03101
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.026921
                        }
                      ],
                      "others_margin": -0.104967
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.996760368347168,
                    "model_output": 6.9968,
                    "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": "totalOppositionHalfPasses",
                          "contribution": 0.0989
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0319
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0319
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0306
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0201
                        }
                      ],
                      "others": -0.0017,
                      "total": 6.9968,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.098898
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.031911
                        },
                        {
                          "name": "rating",
                          "margin": -0.03185
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.030586
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.020094
                        }
                      ],
                      "others_margin": -0.001749
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 44,
                  "role_matches": 37,
                  "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.0042, quality 0.641)",
              "stats": {
                "key_pass": 1.3825,
                "expected_assists": 0.1067,
                "assists": 0.1031,
                "assist_rate": 0.1031,
                "expected_goals": 0.0715,
                "goals": 0.0575,
                "goal_rate": 0.0575,
                "shots_on_target": 0.2098,
                "total_shots": 0.8112,
                "rating": 6.9968,
                "minutes": 77.99,
                "total_pass": 65.6892,
                "accurate_pass": 59.5392,
                "duels_won": 3.4052,
                "total_long_balls": 3.8238,
                "accurate_long_balls": 1.878,
                "total_own_half_passes": 29.0461,
                "accurate_own_half_passes": 27.0091,
                "total_opp_half_passes": 36.6432,
                "accurate_opp_half_passes": 32.5302,
                "crosses_total": 2.0567,
                "crosses_accurate": 0.3643,
                "touches": 79.22,
                "possession_lost": 10.2346,
                "dispossessed": 0.7674,
                "duels_lost": 3.4724,
                "aerial_won": 0.1951,
                "aerial_lost": 0.2125,
                "interceptions": 1.0573,
                "tackles_won": 1.0941,
                "tackles": 2.1273,
                "clearances": 0.8427,
                "total_contest": 1.1055,
                "won_contest": 0.4407,
                "challenges_lost": 1.1732,
                "fouls": 0.681,
                "fouls_drawn": 0.6421,
                "blocks": 0.1877,
                "big_chances_created": 0.0325,
                "big_chances_missed": 0.0063,
                "xgot": 0.058,
                "ball_carries": 26.2336,
                "total_progression": 105.7304,
                "progressive_carries": 1.9067,
                "shots_off_target": 0.6014
              },
              "params": {
                "market_value_eur": 21000000,
                "quality_factor": 0.6408,
                "boost_factor": 1.0042,
                "reference_quality": 0.505,
                "history_matches": 44,
                "history_shrink": 0.102,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0088)",
              "stats": {
                "key_pass": 1.3825,
                "expected_assists": 0.1067,
                "assists": 0.1022,
                "assist_rate": 0.1022,
                "expected_goals": 0.0715,
                "goals": 0.057,
                "goal_rate": 0.057,
                "shots_on_target": 0.2079,
                "total_shots": 0.804,
                "rating": 6.9968,
                "minutes": 77.99,
                "total_pass": 65.6892,
                "accurate_pass": 59.5392,
                "duels_won": 3.4052,
                "total_long_balls": 3.8238,
                "accurate_long_balls": 1.878,
                "total_own_half_passes": 29.0461,
                "accurate_own_half_passes": 27.0091,
                "total_opp_half_passes": 36.6432,
                "accurate_opp_half_passes": 32.5302,
                "crosses_total": 2.05,
                "crosses_accurate": 0.3643,
                "touches": 79.22,
                "possession_lost": 10.2346,
                "dispossessed": 0.7674,
                "duels_lost": 3.4724,
                "aerial_won": 0.1951,
                "aerial_lost": 0.2125,
                "interceptions": 1.0633,
                "tackles_won": 1.0921,
                "tackles": 2.1273,
                "clearances": 0.8427,
                "total_contest": 1.1055,
                "won_contest": 0.4407,
                "challenges_lost": 1.1732,
                "fouls": 0.6903,
                "fouls_drawn": 0.6403,
                "blocks": 0.1877,
                "big_chances_created": 0.0325,
                "big_chances_missed": 0.0063,
                "xgot": 0.058,
                "ball_carries": 26.2336,
                "total_progression": 105.7304,
                "progressive_carries": 1.9067,
                "shots_off_target": 0.6014
              },
              "params": {
                "blend_weight": 0.0088,
                "history_matches": 44,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8666,
                "prior_reliability": 0.1333,
                "competition": "La Liga",
                "squad": "Real Madrid"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.681,
                  "after": 0.6903
                },
                {
                  "stat": "totalShots",
                  "before": 0.8112,
                  "after": 0.804
                },
                {
                  "stat": "totalCross",
                  "before": 2.0567,
                  "after": 2.05
                },
                {
                  "stat": "interceptionWon",
                  "before": 1.0573,
                  "after": 1.0633
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.3825,
                "expected_assists": 0.1067,
                "assists": 0.1022,
                "assist_rate": 0.1022,
                "expected_goals": 0.0715,
                "goals": 0.057,
                "goal_rate": 0.057,
                "shots_on_target": 0.2079,
                "total_shots": 0.8093,
                "rating": 6.9968,
                "minutes": 77.99,
                "total_pass": 65.6892,
                "accurate_pass": 59.5392,
                "duels_won": 3.4052,
                "total_long_balls": 3.8238,
                "accurate_long_balls": 1.878,
                "total_own_half_passes": 29.0461,
                "accurate_own_half_passes": 27.0091,
                "total_opp_half_passes": 36.6432,
                "accurate_opp_half_passes": 32.5302,
                "crosses_total": 2.05,
                "crosses_accurate": 0.3643,
                "touches": 79.22,
                "possession_lost": 10.2346,
                "dispossessed": 0.7674,
                "duels_lost": 3.4724,
                "aerial_won": 0.1951,
                "aerial_lost": 0.2125,
                "interceptions": 1.0633,
                "tackles_won": 1.0921,
                "tackles": 2.1273,
                "clearances": 0.8427,
                "total_contest": 1.1055,
                "won_contest": 0.4407,
                "challenges_lost": 1.1732,
                "fouls": 0.6903,
                "fouls_drawn": 0.6403,
                "blocks": 0.1877,
                "big_chances_created": 0.0325,
                "big_chances_missed": 0.0063,
                "xgot": 0.058,
                "ball_carries": 26.2336,
                "total_progression": 105.7304,
                "progressive_carries": 1.9067,
                "shots_off_target": 0.6014
              },
              "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.3825,
                "expected_assists": 0.1067,
                "assists": 0.1022,
                "assist_rate": 0.1022,
                "expected_goals": 0.0632,
                "goals": 0.0504,
                "goal_rate": 0.0504,
                "shots_on_target": 0.1839,
                "total_shots": 0.7158,
                "rating": 6.9968,
                "minutes": 77.99,
                "total_pass": 65.6892,
                "accurate_pass": 59.5392,
                "duels_won": 3.4052,
                "total_long_balls": 3.8238,
                "accurate_long_balls": 1.878,
                "total_own_half_passes": 29.0461,
                "accurate_own_half_passes": 27.0091,
                "total_opp_half_passes": 36.6432,
                "accurate_opp_half_passes": 32.5302,
                "crosses_total": 2.05,
                "crosses_accurate": 0.3643,
                "touches": 79.22,
                "possession_lost": 10.2346,
                "dispossessed": 0.7674,
                "duels_lost": 3.4724,
                "aerial_won": 0.9,
                "aerial_lost": 0.2125,
                "interceptions": 1.0633,
                "tackles_won": 1.0921,
                "tackles": 2.1273,
                "clearances": 0.8427,
                "total_contest": 1.1055,
                "won_contest": 0.4407,
                "challenges_lost": 1.1732,
                "fouls": 0.6903,
                "fouls_drawn": 0.6403,
                "blocks": 0.1877,
                "big_chances_created": 0.0325,
                "big_chances_missed": 0.0056,
                "xgot": 0.0513,
                "ball_carries": 26.2336,
                "total_progression": 105.7304,
                "progressive_carries": 1.9067,
                "shots_off_target": 0.5319,
                "duel_xg_multiplier": 0.8844,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 1.4,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.401,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Santiago Mouriño",
                "opponent_faced": "Santiago Mouriño",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Santiago Mouriño",
                  "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                  "duel_win_rate": 0.401,
                  "pressing_faced": "MEDIUM",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.8844,
                  "skill_edge": -0.0266,
                  "height_edge": -0.052,
                  "attacker_skill": 0.6408,
                  "defender_skill": 0.6999,
                  "attacker_role": "RW",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Santiago Mouriño",
                      "market_value": 19400000,
                      "role": "LB",
                      "price_index": 0.7,
                      "adjusted_quality": 0.6999
                    }
                  ],
                  "xg_override": 0.0632
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.1951,
                  "after": 0.9
                },
                {
                  "stat": "totalShots",
                  "before": 0.8093,
                  "after": 0.7158
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.6014,
                  "after": 0.5319
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.2079,
                  "after": 0.1839
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.0715,
                  "after": 0.0632
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.058,
                  "after": 0.0513
                },
                {
                  "stat": "goals",
                  "before": 0.057,
                  "after": 0.0504
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 3.39 (squad xG sum 2.0121, xG scale 1.6868, xA scale 1.9624, team xA 2.21 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1.3825,
                "expected_assists": 0.2094,
                "assist_rate": 0.1022,
                "assists": 0,
                "expected_goals": 0.1066,
                "goal_rate": 0.0504,
                "goals": 0,
                "shots_on_target": 0.1839,
                "total_shots": 0.7158,
                "rating": 6.9968,
                "minutes": 77.99,
                "total_pass": 65.6892,
                "accurate_pass": 59.5392,
                "duels_won": 3.4052,
                "total_long_balls": 3.8238,
                "accurate_long_balls": 1.878,
                "total_own_half_passes": 29.0461,
                "accurate_own_half_passes": 27.0091,
                "total_opp_half_passes": 36.6432,
                "accurate_opp_half_passes": 32.5302,
                "crosses_total": 2.05,
                "crosses_accurate": 0.3643,
                "touches": 79.22,
                "possession_lost": 10.2346,
                "dispossessed": 0.7674,
                "duels_lost": 3.4724,
                "aerial_won": 0.9,
                "aerial_lost": 0.2125,
                "interceptions": 1.0633,
                "tackles_won": 1.0921,
                "tackles": 2.1273,
                "clearances": 0.8427,
                "total_contest": 1.1055,
                "won_contest": 0.4407,
                "challenges_lost": 1.1732,
                "fouls": 0.6903,
                "fouls_drawn": 0.6403,
                "blocks": 0.1877,
                "big_chances_created": 0.0325,
                "big_chances_missed": 0.0056,
                "xgot": 0.0865,
                "ball_carries": 26.2336,
                "total_progression": 105.7304,
                "progressive_carries": 1.9067,
                "shots_off_target": 0.5319,
                "duel_xg_multiplier": 0.8844,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 1.4,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.401,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Santiago Mouriño",
                "opponent_faced": "Santiago Mouriño",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8869,
                "creation_factor": 0.9713
              },
              "params": {
                "team_lambda": 3.394,
                "squad_xg_sum": 2.0121,
                "squad_xa_sum": 1.1242,
                "team_expected_assists": 2.2061,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.6868,
                "xa_scale": 1.9624,
                "opponent_lambda": 1.744,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0632,
                  "after": 0.1066
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1067,
                  "after": 0.2094
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 8 by projected rating, fifa_overall 84.0; not used by the projection)",
              "stats": {
                "key_pass": 1.3825,
                "expected_assists": 0.2094,
                "assist_rate": 0.1022,
                "assists": 0,
                "expected_goals": 0.1066,
                "goal_rate": 0.0504,
                "goals": 0,
                "shots_on_target": 0.1839,
                "total_shots": 0.7158,
                "rating": 6.9968,
                "minutes": 77.99,
                "total_pass": 65.6892,
                "accurate_pass": 59.5392,
                "duels_won": 3.4052,
                "total_long_balls": 3.8238,
                "accurate_long_balls": 1.878,
                "total_own_half_passes": 29.0461,
                "accurate_own_half_passes": 27.0091,
                "total_opp_half_passes": 36.6432,
                "accurate_opp_half_passes": 32.5302,
                "crosses_total": 2.05,
                "crosses_accurate": 0.3643,
                "touches": 79.22,
                "possession_lost": 10.2346,
                "dispossessed": 0.7674,
                "duels_lost": 3.4724,
                "aerial_won": 0.9,
                "aerial_lost": 0.2125,
                "interceptions": 1.0633,
                "tackles_won": 1.0921,
                "tackles": 2.1273,
                "clearances": 0.8427,
                "total_contest": 1.1055,
                "won_contest": 0.4407,
                "challenges_lost": 1.1732,
                "fouls": 0.6903,
                "fouls_drawn": 0.6403,
                "blocks": 0.1877,
                "big_chances_created": 0.0325,
                "big_chances_missed": 0.0056,
                "xgot": 0.0865,
                "ball_carries": 26.2336,
                "total_progression": 105.7304,
                "progressive_carries": 1.9067,
                "shots_off_target": 0.5319,
                "duel_xg_multiplier": 0.8844,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 1.4,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.401,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Santiago Mouriño",
                "opponent_faced": "Santiago Mouriño",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8869,
                "creation_factor": 0.9713,
                "fifa_overall": 84.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": 757,
                "fifa_rank": 222.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 84.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 3 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1.3825,
                "expected_assists": 0.2094,
                "assist_rate": 0.1022,
                "assists": 0,
                "expected_goals": 0.1066,
                "goal_rate": 0.0504,
                "goals": 0,
                "shots_on_target": 0.1839,
                "total_shots": 0.7158,
                "rating": 6.9968,
                "minutes": 77.99,
                "total_pass": 65.6892,
                "accurate_pass": 59.5392,
                "duels_won": 3.4052,
                "total_long_balls": 3.8238,
                "accurate_long_balls": 1.878,
                "total_own_half_passes": 29.0461,
                "accurate_own_half_passes": 27.0091,
                "total_opp_half_passes": 36.6432,
                "accurate_opp_half_passes": 32.5302,
                "crosses_total": 2.05,
                "crosses_accurate": 0.3643,
                "touches": 79.22,
                "possession_lost": 10.2346,
                "dispossessed": 0.7674,
                "duels_lost": 3.4724,
                "aerial_won": 0.9,
                "aerial_lost": 0.2125,
                "interceptions": 1.0633,
                "tackles_won": 1.0921,
                "tackles": 2.1273,
                "clearances": 0.8427,
                "total_contest": 1.1055,
                "won_contest": 0.4407,
                "challenges_lost": 1.1732,
                "fouls": 0.6903,
                "fouls_drawn": 0.6403,
                "blocks": 0.1877,
                "big_chances_created": 0.0325,
                "big_chances_missed": 0.0056,
                "xgot": 0.0865,
                "ball_carries": 26.2336,
                "total_progression": 105.7304,
                "progressive_carries": 1.9067,
                "shots_off_target": 0.5319,
                "duel_xg_multiplier": 0.8844,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 1.4,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.401,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Santiago Mouriño",
                "opponent_faced": "Santiago Mouriño",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1011,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8869,
                "creation_factor": 0.9713,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 3,
                "goals_allocated": 0,
                "goal_probability": 0.1011,
                "scorer_weight": 0.0945,
                "squad_weight_total": 3.3755,
                "weight_share": 0.028,
                "finishing_factor": 0.8869,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Kylian Mbappé",
                    "weight": 1.3799,
                    "already": 0,
                    "effective_weight": 1.3799,
                    "runner_up": "Vinícius Júnior",
                    "runner_up_effective_weight": 0.4922
                  },
                  {
                    "n": 2,
                    "player": "Kylian Mbappé",
                    "weight": 1.3799,
                    "already": 1,
                    "effective_weight": 0.5872,
                    "runner_up": "Vinícius Júnior",
                    "runner_up_effective_weight": 0.4922
                  },
                  {
                    "n": 3,
                    "player": "Vinícius Júnior",
                    "weight": 0.4922,
                    "already": 0,
                    "effective_weight": 0.4922,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.3951
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 2 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 1.3825,
                "expected_assists": 0.2094,
                "assist_rate": 0.1022,
                "assists": 0,
                "expected_goals": 0.1066,
                "goal_rate": 0.0504,
                "goals": 0,
                "shots_on_target": 0.1839,
                "total_shots": 0.7158,
                "rating": 6.9968,
                "minutes": 77.99,
                "total_pass": 65.6892,
                "accurate_pass": 59.5392,
                "duels_won": 3.4052,
                "total_long_balls": 3.8238,
                "accurate_long_balls": 1.878,
                "total_own_half_passes": 29.0461,
                "accurate_own_half_passes": 27.0091,
                "total_opp_half_passes": 36.6432,
                "accurate_opp_half_passes": 32.5302,
                "crosses_total": 2.05,
                "crosses_accurate": 0.3643,
                "touches": 79.22,
                "possession_lost": 10.2346,
                "dispossessed": 0.7674,
                "duels_lost": 3.4724,
                "aerial_won": 0.9,
                "aerial_lost": 0.2125,
                "interceptions": 1.0633,
                "tackles_won": 1.0921,
                "tackles": 2.1273,
                "clearances": 0.8427,
                "total_contest": 1.1055,
                "won_contest": 0.4407,
                "challenges_lost": 1.1732,
                "fouls": 0.6903,
                "fouls_drawn": 0.6403,
                "blocks": 0.1877,
                "big_chances_created": 0.0325,
                "big_chances_missed": 0.0056,
                "xgot": 0.0865,
                "ball_carries": 26.2336,
                "total_progression": 105.7304,
                "progressive_carries": 1.9067,
                "shots_off_target": 0.5319,
                "duel_xg_multiplier": 0.8844,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 1.4,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.401,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Santiago Mouriño",
                "opponent_faced": "Santiago Mouriño",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1011,
                "projected_assists": 0,
                "assist_probability": 0.1889,
                "finishing_factor": 0.8869,
                "creation_factor": 0.9713,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 2,
                "assists_allocated": 0,
                "assist_probability": 0.1889,
                "provider_weight": 0.2034,
                "squad_weight_total": 2.3369,
                "weight_share": 0.087,
                "creation_factor": 0.9713,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Vinícius Júnior",
                    "weight": 0.431,
                    "already": 0,
                    "effective_weight": 0.431,
                    "runner_up": "Kylian Mbappé",
                    "runner_up_effective_weight": 0.4214
                  },
                  {
                    "n": 2,
                    "player": "Kylian Mbappé",
                    "weight": 0.4214,
                    "already": 0,
                    "effective_weight": 0.4214,
                    "runner_up": "Arda Güler",
                    "runner_up_effective_weight": 0.4024
                  }
                ]
              }
            }
          ]
        },
        "Álvaro Carreras": {
          "player_id": 1085081,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 18,
          "height": 186,
          "market_value": 53000000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.9396,
            "minutes": 82,
            "total_pass": 60,
            "accurate_pass": 55,
            "duels_won": 5,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 26,
            "accurate_own_half_passes": 23,
            "total_opp_half_passes": 35,
            "accurate_opp_half_passes": 31,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 80,
            "possession_lost": 9.2261,
            "dispossessed": 0.7544,
            "duels_lost": 3,
            "aerial_lost": 0,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 5,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.1922,
            "goals": 0,
            "assist_rate": 0.1421,
            "assists": 0,
            "expected_goals": 0.0771,
            "expected_assists": 0.1199,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.2382,
            "ball_carries": 18,
            "total_progression": 67,
            "progressive_carries": 1,
            "key_pass": 1,
            "shots_off_target": 0,
            "opponent_faced": "Alberto Moleiro",
            "matchup_zone": "Shape fallback",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0742,
            "projected_assists": 0,
            "assist_probability": 0.113,
            "finishing_factor": 1.25,
            "creation_factor": 1.25,
            "fifa_overall": 81.0
          },
          "latest_10_games": [
            {
              "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"
            },
            {
              "match_id": 14081798,
              "match_date": "2026-03-02",
              "home_team": "Real Madrid",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0584,
                "total_shots": 0,
                "total_pass": 66,
                "accurate_pass": 61,
                "key_pass": 1,
                "tackles": 2,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 3,
                "duels_won": 6,
                "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": 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": 10,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9396,
            "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"
            ],
            "market_value_adjustment": 1.0133,
            "fbref_prior_metrics": {
              "squad": "Real Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "minutes": 108.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.08
            },
            "rationale": "XGBoost regressor (D_service) evaluated 32 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Real Madrid, rel: 0.08, 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.9086,
                "tackles": 1.6703,
                "tackles_won": 0.9847,
                "clearances": 2.0819,
                "aerial_won": 0.7955,
                "total_shots": 0.494,
                "rating": 6.9396,
                "minutes": 81.88,
                "total_pass": 59.69,
                "accurate_pass": 54.2027,
                "duels_won": 4.5982,
                "total_long_balls": 1.915,
                "accurate_long_balls": 0.6915,
                "total_own_half_passes": 25.3858,
                "accurate_own_half_passes": 23.134,
                "total_opp_half_passes": 34.3042,
                "accurate_opp_half_passes": 31.0687,
                "crosses_total": 0.9901,
                "crosses_accurate": 0.1992,
                "touches": 78.9416,
                "possession_lost": 9.105,
                "dispossessed": 0.7445,
                "duels_lost": 2.8181,
                "aerial_lost": 0.4658,
                "total_contest": 1.1596,
                "won_contest": 0.9531,
                "ball_recovery": 4.4547,
                "challenges_lost": 0.5596,
                "fouls": 0.8417,
                "fouls_drawn": 1.0247,
                "blocks": 0.1759,
                "goals": 0.1911,
                "goal_rate": 0.1911,
                "assists": 0.1412,
                "assist_rate": 0.1412,
                "expected_goals": 0.0451,
                "expected_assists": 0.0603,
                "shots_on_target": 0.2683,
                "big_chances_created": 0.1131,
                "xgot": 0.1393,
                "ball_carries": 17.8753,
                "total_progression": 66.1871,
                "progressive_carries": 0.974,
                "key_pass": 1.4459,
                "shots_off_target": 0.2257
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-10T10:05:07.485697+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": 1.0,
                  "totalClearance": 1.3578,
                  "aerialWon": 0.8455,
                  "totalClearance_p90": 1.3963,
                  "totalTackle": 1.2879,
                  "totalPass": 49.9077
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.9085795283317566,
                    "model_output": 0.9086,
                    "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.1208
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0371
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.036
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0349
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0234
                        }
                      ],
                      "others": -0.0101,
                      "total": 0.9086,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.131863
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.03864
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.037503
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.036406
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.025182
                        }
                      ],
                      "others_margin": -0.011012
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.670325756072998,
                    "model_output": 1.6703,
                    "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.179
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0703
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0694
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0519
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0455
                        }
                      ],
                      "others": -0.0487,
                      "total": 1.6703,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.120817
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.043697
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.041387
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.029871
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.026103
                        }
                      ],
                      "others_margin": -0.028742
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.9847480058670044,
                    "model_output": 0.9847,
                    "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.1018
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0364
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0338
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0307
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0265
                        }
                      ],
                      "others": 0.0155,
                      "total": 0.9847,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.112523
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.037346
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.033528
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.030362
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.027009
                        }
                      ],
                      "others_margin": 0.016017
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.081880569458008,
                    "model_output": 2.0819,
                    "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.7156
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.3612
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.3197
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.2668
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.1976
                        }
                      ],
                      "others": -0.231,
                      "total": 2.0819,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.232352
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.124019
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.108937
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.101011
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.081967
                        }
                      ],
                      "others_margin": -0.105263
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.7954643368721008,
                    "model_output": 0.7955,
                    "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.2837
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.1426
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1265
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.1136
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0597
                        }
                      ],
                      "others": -0.1134,
                      "total": 0.7955,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.229792
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.139105
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.12432
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.110952
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.0636
                        }
                      ],
                      "others_margin": -0.133253
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4939720928668976,
                    "model_output": 0.494,
                    "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.0922
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0607
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0374
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0119
                        },
                        {
                          "name": "aerialLost",
                          "contribution": 0.0082
                        }
                      ],
                      "others": -0.0031,
                      "total": 0.494,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.092198
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.060711
                        },
                        {
                          "name": "rating",
                          "margin": 0.03739
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.01187
                        },
                        {
                          "name": "aerialLost",
                          "margin": 0.008239
                        }
                      ],
                      "others_margin": -0.003172
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.939600944519043,
                    "model_output": 6.9396,
                    "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.0687
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0408
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0329
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.024
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0118
                        }
                      ],
                      "others": -0.0237,
                      "total": 6.9396,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.068685
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.04083
                        },
                        {
                          "name": "rating",
                          "margin": 0.032886
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": 0.024036
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.011787
                        }
                      ],
                      "others_margin": -0.023753
                    }
                  }
                ],
                "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.0133, quality 0.834)",
              "stats": {
                "interceptions": 0.9207,
                "tackles": 1.6925,
                "tackles_won": 0.9978,
                "clearances": 2.1096,
                "aerial_won": 0.806,
                "total_shots": 0.5006,
                "rating": 6.9396,
                "minutes": 81.88,
                "total_pass": 60.4839,
                "accurate_pass": 54.9236,
                "duels_won": 4.6594,
                "total_long_balls": 1.9405,
                "accurate_long_balls": 0.7007,
                "total_own_half_passes": 25.7234,
                "accurate_own_half_passes": 23.4417,
                "total_opp_half_passes": 34.7604,
                "accurate_opp_half_passes": 31.4819,
                "crosses_total": 1.0033,
                "crosses_accurate": 0.2018,
                "touches": 79.9915,
                "possession_lost": 9.2261,
                "dispossessed": 0.7544,
                "duels_lost": 2.8556,
                "aerial_lost": 0.472,
                "total_contest": 1.175,
                "won_contest": 0.9658,
                "ball_recovery": 4.5139,
                "challenges_lost": 0.567,
                "fouls": 0.8529,
                "fouls_drawn": 1.0383,
                "blocks": 0.1782,
                "goals": 0.1936,
                "goal_rate": 0.1936,
                "assists": 0.1431,
                "assist_rate": 0.1431,
                "expected_goals": 0.0457,
                "expected_assists": 0.0611,
                "shots_on_target": 0.2719,
                "big_chances_created": 0.1146,
                "xgot": 0.1412,
                "ball_carries": 18.113,
                "total_progression": 67.0674,
                "progressive_carries": 0.987,
                "key_pass": 1.4651,
                "shots_off_target": 0.2287
              },
              "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.9249,
                "tackles": 1.6925,
                "tackles_won": 1.0014,
                "clearances": 2.1096,
                "aerial_won": 0.806,
                "total_shots": 0.4971,
                "rating": 6.9396,
                "minutes": 81.88,
                "total_pass": 60.4839,
                "accurate_pass": 54.9236,
                "duels_won": 4.6594,
                "total_long_balls": 1.9405,
                "accurate_long_balls": 0.7007,
                "total_own_half_passes": 25.7234,
                "accurate_own_half_passes": 23.4417,
                "total_opp_half_passes": 34.7604,
                "accurate_opp_half_passes": 31.4819,
                "crosses_total": 1.0069,
                "crosses_accurate": 0.2018,
                "touches": 79.9915,
                "possession_lost": 9.2261,
                "dispossessed": 0.7544,
                "duels_lost": 2.8556,
                "aerial_lost": 0.472,
                "total_contest": 1.175,
                "won_contest": 0.9658,
                "ball_recovery": 4.5139,
                "challenges_lost": 0.567,
                "fouls": 0.8522,
                "fouls_drawn": 1.0363,
                "blocks": 0.1782,
                "goals": 0.1922,
                "goal_rate": 0.1922,
                "assists": 0.1421,
                "assist_rate": 0.1421,
                "expected_goals": 0.0457,
                "expected_assists": 0.0611,
                "shots_on_target": 0.27,
                "big_chances_created": 0.1146,
                "xgot": 0.1412,
                "ball_carries": 18.113,
                "total_progression": 67.0674,
                "progressive_carries": 0.987,
                "key_pass": 1.4651,
                "shots_off_target": 0.2287
              },
              "params": {
                "blend_weight": 0.007,
                "history_matches": 32,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9098,
                "prior_reliability": 0.08,
                "competition": "La Liga",
                "squad": "Real Madrid"
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.9249,
                "tackles": 1.6925,
                "tackles_won": 1.0014,
                "clearances": 2.1096,
                "aerial_won": 0.806,
                "total_shots": 0.4987,
                "rating": 6.9396,
                "minutes": 81.88,
                "total_pass": 60.4839,
                "accurate_pass": 54.9236,
                "duels_won": 4.6594,
                "total_long_balls": 1.9405,
                "accurate_long_balls": 0.7007,
                "total_own_half_passes": 25.7234,
                "accurate_own_half_passes": 23.4417,
                "total_opp_half_passes": 34.7604,
                "accurate_opp_half_passes": 31.4819,
                "crosses_total": 1.0069,
                "crosses_accurate": 0.2018,
                "touches": 79.9915,
                "possession_lost": 9.2261,
                "dispossessed": 0.7544,
                "duels_lost": 2.8556,
                "aerial_lost": 0.472,
                "total_contest": 1.175,
                "won_contest": 0.9658,
                "ball_recovery": 4.5139,
                "challenges_lost": 0.567,
                "fouls": 0.8522,
                "fouls_drawn": 1.0363,
                "blocks": 0.1782,
                "goals": 0.1922,
                "goal_rate": 0.1922,
                "assists": 0.1421,
                "assist_rate": 0.1421,
                "expected_goals": 0.0457,
                "expected_assists": 0.0611,
                "shots_on_target": 0.27,
                "big_chances_created": 0.1146,
                "xgot": 0.1412,
                "ball_carries": 18.113,
                "total_progression": 67.0674,
                "progressive_carries": 0.987,
                "key_pass": 1.4651,
                "shots_off_target": 0.2287
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": true
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "interceptions": 0.9249,
                "tackles": 1.6925,
                "tackles_won": 1.0014,
                "clearances": 2.1096,
                "aerial_won": 0.806,
                "total_shots": 0.4987,
                "rating": 6.9396,
                "minutes": 81.88,
                "total_pass": 60.4839,
                "accurate_pass": 54.9236,
                "duels_won": 4.6594,
                "total_long_balls": 1.9405,
                "accurate_long_balls": 0.7007,
                "total_own_half_passes": 25.7234,
                "accurate_own_half_passes": 23.4417,
                "total_opp_half_passes": 34.7604,
                "accurate_opp_half_passes": 31.4819,
                "crosses_total": 1.0069,
                "crosses_accurate": 0.2018,
                "touches": 79.9915,
                "possession_lost": 9.2261,
                "dispossessed": 0.7544,
                "duels_lost": 2.8556,
                "aerial_lost": 0.472,
                "total_contest": 1.175,
                "won_contest": 0.9658,
                "ball_recovery": 4.5139,
                "challenges_lost": 0.567,
                "fouls": 0.8522,
                "fouls_drawn": 1.0363,
                "blocks": 0.1782,
                "goals": 0.1922,
                "goal_rate": 0.1922,
                "assists": 0.1421,
                "assist_rate": 0.1421,
                "expected_goals": 0.0457,
                "expected_assists": 0.0611,
                "shots_on_target": 0.27,
                "big_chances_created": 0.1146,
                "xgot": 0.1412,
                "ball_carries": 18.113,
                "total_progression": 67.0674,
                "progressive_carries": 0.987,
                "key_pass": 1.4651,
                "shots_off_target": 0.2287,
                "opponent_faced": "Alberto Moleiro",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Alberto Moleiro",
                  "matchup_zone": "Shape fallback"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 3.39 (squad xG sum 2.0121, xG scale 1.6868, xA scale 1.9624, team xA 2.21 = 0.65 x lambda)",
              "stats": {
                "interceptions": 0.9249,
                "tackles": 1.6925,
                "tackles_won": 1.0014,
                "clearances": 2.1096,
                "aerial_won": 0.806,
                "total_shots": 0.4987,
                "rating": 6.9396,
                "minutes": 81.88,
                "total_pass": 60.4839,
                "accurate_pass": 54.9236,
                "duels_won": 4.6594,
                "total_long_balls": 1.9405,
                "accurate_long_balls": 0.7007,
                "total_own_half_passes": 25.7234,
                "accurate_own_half_passes": 23.4417,
                "total_opp_half_passes": 34.7604,
                "accurate_opp_half_passes": 31.4819,
                "crosses_total": 1.0069,
                "crosses_accurate": 0.2018,
                "touches": 79.9915,
                "possession_lost": 9.2261,
                "dispossessed": 0.7544,
                "duels_lost": 2.8556,
                "aerial_lost": 0.472,
                "total_contest": 1.175,
                "won_contest": 0.9658,
                "ball_recovery": 4.5139,
                "challenges_lost": 0.567,
                "fouls": 0.8522,
                "fouls_drawn": 1.0363,
                "blocks": 0.1782,
                "goal_rate": 0.1922,
                "goals": 0,
                "assist_rate": 0.1421,
                "assists": 0,
                "expected_goals": 0.0771,
                "expected_assists": 0.1199,
                "shots_on_target": 0.27,
                "big_chances_created": 0.1146,
                "xgot": 0.2382,
                "ball_carries": 18.113,
                "total_progression": 67.0674,
                "progressive_carries": 0.987,
                "key_pass": 1.4651,
                "shots_off_target": 0.2287,
                "opponent_faced": "Alberto Moleiro",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 3.394,
                "squad_xg_sum": 2.0121,
                "squad_xa_sum": 1.1242,
                "team_expected_assists": 2.2061,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.6868,
                "xa_scale": 1.9624,
                "opponent_lambda": 1.744,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0457,
                  "after": 0.0771
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0611,
                  "after": 0.1199
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 10 by projected rating, fifa_overall 81.0; not used by the projection)",
              "stats": {
                "interceptions": 0.9249,
                "tackles": 1.6925,
                "tackles_won": 1.0014,
                "clearances": 2.1096,
                "aerial_won": 0.806,
                "total_shots": 0.4987,
                "rating": 6.9396,
                "minutes": 81.88,
                "total_pass": 60.4839,
                "accurate_pass": 54.9236,
                "duels_won": 4.6594,
                "total_long_balls": 1.9405,
                "accurate_long_balls": 0.7007,
                "total_own_half_passes": 25.7234,
                "accurate_own_half_passes": 23.4417,
                "total_opp_half_passes": 34.7604,
                "accurate_opp_half_passes": 31.4819,
                "crosses_total": 1.0069,
                "crosses_accurate": 0.2018,
                "touches": 79.9915,
                "possession_lost": 9.2261,
                "dispossessed": 0.7544,
                "duels_lost": 2.8556,
                "aerial_lost": 0.472,
                "total_contest": 1.175,
                "won_contest": 0.9658,
                "ball_recovery": 4.5139,
                "challenges_lost": 0.567,
                "fouls": 0.8522,
                "fouls_drawn": 1.0363,
                "blocks": 0.1782,
                "goal_rate": 0.1922,
                "goals": 0,
                "assist_rate": 0.1421,
                "assists": 0,
                "expected_goals": 0.0771,
                "expected_assists": 0.1199,
                "shots_on_target": 0.27,
                "big_chances_created": 0.1146,
                "xgot": 0.2382,
                "ball_carries": 18.113,
                "total_progression": 67.0674,
                "progressive_carries": 0.987,
                "key_pass": 1.4651,
                "shots_off_target": 0.2287,
                "opponent_faced": "Alberto Moleiro",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 81.0
              },
              "params": {
                "match_squad_rank": 10,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1026,
                "fifa_rank": 582.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 81.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 3 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 0.9249,
                "tackles": 1.6925,
                "tackles_won": 1.0014,
                "clearances": 2.1096,
                "aerial_won": 0.806,
                "total_shots": 0.4987,
                "rating": 6.9396,
                "minutes": 81.88,
                "total_pass": 60.4839,
                "accurate_pass": 54.9236,
                "duels_won": 4.6594,
                "total_long_balls": 1.9405,
                "accurate_long_balls": 0.7007,
                "total_own_half_passes": 25.7234,
                "accurate_own_half_passes": 23.4417,
                "total_opp_half_passes": 34.7604,
                "accurate_opp_half_passes": 31.4819,
                "crosses_total": 1.0069,
                "crosses_accurate": 0.2018,
                "touches": 79.9915,
                "possession_lost": 9.2261,
                "dispossessed": 0.7544,
                "duels_lost": 2.8556,
                "aerial_lost": 0.472,
                "total_contest": 1.175,
                "won_contest": 0.9658,
                "ball_recovery": 4.5139,
                "challenges_lost": 0.567,
                "fouls": 0.8522,
                "fouls_drawn": 1.0363,
                "blocks": 0.1782,
                "goal_rate": 0.1922,
                "goals": 0,
                "assist_rate": 0.1421,
                "assists": 0,
                "expected_goals": 0.0771,
                "expected_assists": 0.1199,
                "shots_on_target": 0.27,
                "big_chances_created": 0.1146,
                "xgot": 0.2382,
                "ball_carries": 18.113,
                "total_progression": 67.0674,
                "progressive_carries": 0.987,
                "key_pass": 1.4651,
                "shots_off_target": 0.2287,
                "opponent_faced": "Alberto Moleiro",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0742,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 3,
                "goals_allocated": 0,
                "goal_probability": 0.0742,
                "scorer_weight": 0.0964,
                "squad_weight_total": 3.3755,
                "weight_share": 0.0286,
                "finishing_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Kylian Mbappé",
                    "weight": 1.3799,
                    "already": 0,
                    "effective_weight": 1.3799,
                    "runner_up": "Vinícius Júnior",
                    "runner_up_effective_weight": 0.4922
                  },
                  {
                    "n": 2,
                    "player": "Kylian Mbappé",
                    "weight": 1.3799,
                    "already": 1,
                    "effective_weight": 0.5872,
                    "runner_up": "Vinícius Júnior",
                    "runner_up_effective_weight": 0.4922
                  },
                  {
                    "n": 3,
                    "player": "Vinícius Júnior",
                    "weight": 0.4922,
                    "already": 0,
                    "effective_weight": 0.4922,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.3951
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 2 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "interceptions": 0.9249,
                "tackles": 1.6925,
                "tackles_won": 1.0014,
                "clearances": 2.1096,
                "aerial_won": 0.806,
                "total_shots": 0.4987,
                "rating": 6.9396,
                "minutes": 81.88,
                "total_pass": 60.4839,
                "accurate_pass": 54.9236,
                "duels_won": 4.6594,
                "total_long_balls": 1.9405,
                "accurate_long_balls": 0.7007,
                "total_own_half_passes": 25.7234,
                "accurate_own_half_passes": 23.4417,
                "total_opp_half_passes": 34.7604,
                "accurate_opp_half_passes": 31.4819,
                "crosses_total": 1.0069,
                "crosses_accurate": 0.2018,
                "touches": 79.9915,
                "possession_lost": 9.2261,
                "dispossessed": 0.7544,
                "duels_lost": 2.8556,
                "aerial_lost": 0.472,
                "total_contest": 1.175,
                "won_contest": 0.9658,
                "ball_recovery": 4.5139,
                "challenges_lost": 0.567,
                "fouls": 0.8522,
                "fouls_drawn": 1.0363,
                "blocks": 0.1782,
                "goal_rate": 0.1922,
                "goals": 0,
                "assist_rate": 0.1421,
                "assists": 0,
                "expected_goals": 0.0771,
                "expected_assists": 0.1199,
                "shots_on_target": 0.27,
                "big_chances_created": 0.1146,
                "xgot": 0.2382,
                "ball_carries": 18.113,
                "total_progression": 67.0674,
                "progressive_carries": 0.987,
                "key_pass": 1.4651,
                "shots_off_target": 0.2287,
                "opponent_faced": "Alberto Moleiro",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0742,
                "projected_assists": 0,
                "assist_probability": 0.113,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 2,
                "assists_allocated": 0,
                "assist_probability": 0.113,
                "provider_weight": 0.1499,
                "squad_weight_total": 2.3369,
                "weight_share": 0.0641,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Vinícius Júnior",
                    "weight": 0.431,
                    "already": 0,
                    "effective_weight": 0.431,
                    "runner_up": "Kylian Mbappé",
                    "runner_up_effective_weight": 0.4214
                  },
                  {
                    "n": 2,
                    "player": "Kylian Mbappé",
                    "weight": 0.4214,
                    "already": 0,
                    "effective_weight": 0.4214,
                    "runner_up": "Arda Güler",
                    "runner_up_effective_weight": 0.4024
                  }
                ]
              }
            }
          ]
        },
        "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.0848,
            "expected_assists": 0.0243,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0295,
            "ball_carries": 19,
            "total_progression": 74,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.1,
            "tackles_won_in_zone": 1.0,
            "interceptions_in_zone": 1.3,
            "clearances_in_zone": 1.1,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.82,
            "opponent_faced": "Ayoze Pérez",
            "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.0813,
            "projected_assists": 0,
            "assist_probability": 0.024,
            "finishing_factor": 0.8,
            "creation_factor": 0.8013,
            "fifa_overall": 84.0
          },
          "latest_10_games": [
            {
              "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"
            },
            {
              "match_id": 14024024,
              "match_date": "2026-05-09",
              "home_team": "Liverpool FC",
              "away_team": "Chelsea",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Liverpool FC",
              "opponent": "Chelsea",
              "stats": {
                "minutes": 77,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.003,
                "total_shots": 0,
                "total_pass": 57,
                "accurate_pass": 50,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 4,
                "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": 14023939,
              "match_date": "2026-05-03",
              "home_team": "Manchester United",
              "away_team": "Liverpool FC",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Liverpool FC",
              "opponent": "Manchester United",
              "stats": {
                "minutes": 87,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.013,
                "total_shots": 0,
                "total_pass": 62,
                "accurate_pass": 59,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "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"
            }
          ],
          "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": 15,
            "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-10T10:05:07.485697+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,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.3,
                "clearances_in_zone": 1.1,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Ayoze Pérez",
                "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": "Ayoze Pérez",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 3.39 (squad xG sum 2.0121, xG scale 1.6868, xA scale 1.9624, team xA 2.21 = 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.0848,
                "expected_assists": 0.0243,
                "shots_on_target": 0.1382,
                "big_chances_created": 0.001,
                "xgot": 0.0295,
                "ball_carries": 18.9801,
                "total_progression": 73.5382,
                "progressive_carries": 0.4821,
                "key_pass": 0.2691,
                "shots_off_target": 0.4276,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.3,
                "clearances_in_zone": 1.1,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Ayoze Pérez",
                "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.8013
              },
              "params": {
                "team_lambda": 3.394,
                "squad_xg_sum": 2.0121,
                "squad_xa_sum": 1.1242,
                "team_expected_assists": 2.2061,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.6868,
                "xa_scale": 1.9624,
                "opponent_lambda": 1.744,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0503,
                  "after": 0.0848
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0124,
                  "after": 0.0243
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 15 by projected rating, fifa_overall 84.0; not used by the 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.0848,
                "expected_assists": 0.0243,
                "shots_on_target": 0.1382,
                "big_chances_created": 0.001,
                "xgot": 0.0295,
                "ball_carries": 18.9801,
                "total_progression": 73.5382,
                "progressive_carries": 0.4821,
                "key_pass": 0.2691,
                "shots_off_target": 0.4276,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.3,
                "clearances_in_zone": 1.1,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Ayoze Pérez",
                "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.8013,
                "fifa_overall": 84.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": 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: 3 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.0848,
                "expected_assists": 0.0243,
                "shots_on_target": 0.1382,
                "big_chances_created": 0.001,
                "xgot": 0.0295,
                "ball_carries": 18.9801,
                "total_progression": 73.5382,
                "progressive_carries": 0.4821,
                "key_pass": 0.2691,
                "shots_off_target": 0.4276,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.3,
                "clearances_in_zone": 1.1,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Ayoze Pérez",
                "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.0813,
                "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": 3,
                "goals_allocated": 0,
                "goal_probability": 0.0813,
                "scorer_weight": 0.0678,
                "squad_weight_total": 3.3755,
                "weight_share": 0.0201,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 11,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Kylian Mbappé",
                    "weight": 1.3799,
                    "already": 0,
                    "effective_weight": 1.3799,
                    "runner_up": "Vinícius Júnior",
                    "runner_up_effective_weight": 0.4922
                  },
                  {
                    "n": 2,
                    "player": "Kylian Mbappé",
                    "weight": 1.3799,
                    "already": 1,
                    "effective_weight": 0.5872,
                    "runner_up": "Vinícius Júnior",
                    "runner_up_effective_weight": 0.4922
                  },
                  {
                    "n": 3,
                    "player": "Vinícius Júnior",
                    "weight": 0.4922,
                    "already": 0,
                    "effective_weight": 0.4922,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.3951
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 2 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.0848,
                "expected_assists": 0.0243,
                "shots_on_target": 0.1382,
                "big_chances_created": 0.001,
                "xgot": 0.0295,
                "ball_carries": 18.9801,
                "total_progression": 73.5382,
                "progressive_carries": 0.4821,
                "key_pass": 0.2691,
                "shots_off_target": 0.4276,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.3,
                "clearances_in_zone": 1.1,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Ayoze Pérez",
                "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.0813,
                "projected_assists": 0,
                "assist_probability": 0.024,
                "finishing_factor": 0.8,
                "creation_factor": 0.8013,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 2,
                "assists_allocated": 0,
                "assist_probability": 0.024,
                "provider_weight": 0.0195,
                "squad_weight_total": 2.3369,
                "weight_share": 0.0083,
                "creation_factor": 0.8013,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Vinícius Júnior",
                    "weight": 0.431,
                    "already": 0,
                    "effective_weight": 0.431,
                    "runner_up": "Kylian Mbappé",
                    "runner_up_effective_weight": 0.4214
                  },
                  {
                    "n": 2,
                    "player": "Kylian Mbappé",
                    "weight": 0.4214,
                    "already": 0,
                    "effective_weight": 0.4214,
                    "runner_up": "Arda Güler",
                    "runner_up_effective_weight": 0.4024
                  }
                ]
              }
            }
          ]
        },
        "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.0864,
            "expected_assists": 0.0253,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0661,
            "ball_carries": 21,
            "total_progression": 55,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 0.9,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.82,
            "opponent_faced": "Ayoze Pérez",
            "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.0828,
            "projected_assists": 0,
            "assist_probability": 0.025,
            "finishing_factor": 0.916,
            "creation_factor": 0.8,
            "fifa_overall": 83.0
          },
          "latest_10_games": [
            {
              "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"
            },
            {
              "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": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1203,
                "expected_assists": 0.028,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 75,
                "accurate_pass": 73,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "duels_won": 1,
                "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": 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": 13,
            "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-10T10:05:07.485697+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,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Ayoze Pérez",
                "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": "Ayoze Pérez",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 3.39 (squad xG sum 2.0121, xG scale 1.6868, xA scale 1.9624, team xA 2.21 = 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.0864,
                "expected_assists": 0.0253,
                "shots_on_target": 0.1997,
                "big_chances_created": 0.0138,
                "xgot": 0.0661,
                "ball_carries": 20.5632,
                "total_progression": 55.4519,
                "progressive_carries": 0.0144,
                "key_pass": 0.2305,
                "shots_off_target": 0.4389,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Ayoze Pérez",
                "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.916,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 3.394,
                "squad_xg_sum": 2.0121,
                "squad_xa_sum": 1.1242,
                "team_expected_assists": 2.2061,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.6868,
                "xa_scale": 1.9624,
                "opponent_lambda": 1.744,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0512,
                  "after": 0.0864
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0129,
                  "after": 0.0253
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 13 by projected rating, fifa_overall 83.0; not used by the 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.0864,
                "expected_assists": 0.0253,
                "shots_on_target": 0.1997,
                "big_chances_created": 0.0138,
                "xgot": 0.0661,
                "ball_carries": 20.5632,
                "total_progression": 55.4519,
                "progressive_carries": 0.0144,
                "key_pass": 0.2305,
                "shots_off_target": 0.4389,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Ayoze Pérez",
                "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.916,
                "creation_factor": 0.8,
                "fifa_overall": 83.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": 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: 3 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.0864,
                "expected_assists": 0.0253,
                "shots_on_target": 0.1997,
                "big_chances_created": 0.0138,
                "xgot": 0.0661,
                "ball_carries": 20.5632,
                "total_progression": 55.4519,
                "progressive_carries": 0.0144,
                "key_pass": 0.2305,
                "shots_off_target": 0.4389,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Ayoze Pérez",
                "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.0828,
                "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": 3,
                "goals_allocated": 0,
                "goal_probability": 0.0828,
                "scorer_weight": 0.0791,
                "squad_weight_total": 3.3755,
                "weight_share": 0.0234,
                "finishing_factor": 0.916,
                "appearance_weight": 1.0,
                "weight_rank": 10,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Kylian Mbappé",
                    "weight": 1.3799,
                    "already": 0,
                    "effective_weight": 1.3799,
                    "runner_up": "Vinícius Júnior",
                    "runner_up_effective_weight": 0.4922
                  },
                  {
                    "n": 2,
                    "player": "Kylian Mbappé",
                    "weight": 1.3799,
                    "already": 1,
                    "effective_weight": 0.5872,
                    "runner_up": "Vinícius Júnior",
                    "runner_up_effective_weight": 0.4922
                  },
                  {
                    "n": 3,
                    "player": "Vinícius Júnior",
                    "weight": 0.4922,
                    "already": 0,
                    "effective_weight": 0.4922,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.3951
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 2 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.0864,
                "expected_assists": 0.0253,
                "shots_on_target": 0.1997,
                "big_chances_created": 0.0138,
                "xgot": 0.0661,
                "ball_carries": 20.5632,
                "total_progression": 55.4519,
                "progressive_carries": 0.0144,
                "key_pass": 0.2305,
                "shots_off_target": 0.4389,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Ayoze Pérez",
                "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.0828,
                "projected_assists": 0,
                "assist_probability": 0.025,
                "finishing_factor": 0.916,
                "creation_factor": 0.8,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 2,
                "assists_allocated": 0,
                "assist_probability": 0.025,
                "provider_weight": 0.0202,
                "squad_weight_total": 2.3369,
                "weight_share": 0.0087,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 11,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Vinícius Júnior",
                    "weight": 0.431,
                    "already": 0,
                    "effective_weight": 0.431,
                    "runner_up": "Kylian Mbappé",
                    "runner_up_effective_weight": 0.4214
                  },
                  {
                    "n": 2,
                    "player": "Kylian Mbappé",
                    "weight": 0.4214,
                    "already": 0,
                    "effective_weight": 0.4214,
                    "runner_up": "Arda Güler",
                    "runner_up_effective_weight": 0.4024
                  }
                ]
              }
            }
          ]
        },
        "Denzel Dumfries": {
          "player_id": 759520,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 24,
          "height": 188,
          "market_value": 26000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0781,
            "assist_rate": 0.0775,
            "assists": 0,
            "expected_goals": 0.1417,
            "goal_rate": 0.0751,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.7175,
            "minutes": 84,
            "total_pass": 29,
            "accurate_pass": 26,
            "duels_won": 4,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_own_half_passes": 13,
            "accurate_own_half_passes": 12,
            "total_opp_half_passes": 16,
            "accurate_opp_half_passes": 14,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 45,
            "possession_lost": 8.4322,
            "dispossessed": 0.9572,
            "duels_lost": 2,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 2,
            "clearances": 1,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 1,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1054,
            "ball_carries": 8,
            "total_progression": 19,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.9561,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.7,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.37,
            "pressing_faced": "HIGH",
            "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Pape Gueye",
            "opponent_faced": "Pape Gueye",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1321,
            "projected_assists": 0,
            "assist_probability": 0.0751,
            "finishing_factor": 0.9336,
            "creation_factor": 1.25,
            "fifa_overall": 83.0
          },
          "latest_10_games": [
            {
              "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.0035,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 16,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 2,
                "aerial_won": 3,
                "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": 0,
              "team": "Real Madrid",
              "opponent": "Elche",
              "stats": {
                "minutes": 1,
                "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": "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.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1322,
                "expected_assists": 0.014,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 28,
                "accurate_pass": 27,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "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.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1079,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 20,
                "key_pass": 2,
                "clearances": 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": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0543,
                "expected_assists": 0.0318,
                "total_shots": 1,
                "total_pass": 44,
                "accurate_pass": 42,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 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": 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": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1675,
                "expected_assists": 0.0093,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 31,
                "accurate_pass": 27,
                "tackles": 4,
                "tackles_won": 3,
                "clearances": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 245,
            "combined_rank_score": 183.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 57.0,
            "sofascore_rating": 7.6833,
            "sofascore_appearances": 6.0,
            "fifa_rank": 309.0,
            "fifa_overall": 83.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7175,
            "source_file": "data/player_rankings.csv",
            "player_name": "Denzel Dumfries",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jeisson Vargas",
                  "ranking": 240
                },
                {
                  "player_name": "Léo Pereira",
                  "ranking": 241
                },
                {
                  "player_name": "Andrei Cojuhar",
                  "ranking": 242
                },
                {
                  "player_name": "Willian Pacho",
                  "ranking": 243
                },
                {
                  "player_name": "Alex Baena",
                  "ranking": 244
                }
              ],
              "lower": [
                {
                  "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
                },
                {
                  "player_name": "Arda Güler",
                  "ranking": 250
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.644,
          "history_matches": 6,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "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": 6,
            "data_confidence": 0.644,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0247,
            "fbref_prior_metrics": {
              "squad": "Real Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "minutes": 169.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 2.66,
              "shots_on_target_pct": 20.0,
              "prior_reliability": 0.1267
            },
            "rationale": "XGBoost regressor (M_service) evaluated 6 historical appearances across 8 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 M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.5981,
                "expected_assists": 0.0388,
                "assists": 0.0786,
                "assist_rate": 0.0786,
                "expected_goals": 0.0858,
                "goals": 0.0798,
                "goal_rate": 0.0798,
                "shots_on_target": 0.3036,
                "total_shots": 0.9892,
                "rating": 6.7175,
                "minutes": 84.23,
                "total_pass": 28.6295,
                "accurate_pass": 25.1542,
                "duels_won": 3.5291,
                "total_long_balls": 1.0884,
                "accurate_long_balls": 0.6644,
                "total_own_half_passes": 12.5285,
                "accurate_own_half_passes": 11.9525,
                "total_opp_half_passes": 16.101,
                "accurate_opp_half_passes": 13.2016,
                "crosses_total": 0.7552,
                "crosses_accurate": 0.0,
                "touches": 43.585,
                "possession_lost": 8.2289,
                "dispossessed": 0.9341,
                "duels_lost": 2.3581,
                "aerial_won": 1.0381,
                "aerial_lost": 0.6937,
                "interceptions": 0.5604,
                "tackles_won": 1.3564,
                "tackles": 2.1211,
                "clearances": 1.3332,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.424,
                "fouls": 0.3063,
                "fouls_drawn": 0.3699,
                "blocks": 0.5393,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2292,
                "xgot": 0.0638,
                "ball_carries": 7.8471,
                "total_progression": 18.7227,
                "progressive_carries": 0.5648,
                "shots_off_target": 0.6856
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-10T10:05:58.420391+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.2408,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Elche",
                    "minutes": 1.0,
                    "is_starting": false,
                    "weight": 0.2047,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.174,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Betis",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.1479,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-26",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1257,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Espanyol",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.1069,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.7271,
                  "creative_index": 0.2988,
                  "expectedGoals": 0.0477,
                  "expectedAssists": 0.0242,
                  "onTargetScoringAttempt": 0.2809
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.5980641841888428,
                    "model_output": 0.5981,
                    "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.1274
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.1009
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0907
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0644
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0397
                        }
                      ],
                      "others": -0.1198,
                      "total": 0.5981,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.134335
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.104868
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.104614
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.08158
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.053801
                        }
                      ],
                      "others_margin": -0.182714
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.038813117891550064,
                    "model_output": 0.0388,
                    "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.0157
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0098
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.007
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.007
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0032
                        }
                      ],
                      "others": -0.0183,
                      "total": 0.0388,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.202412
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.150018
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.123682
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.12363
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.053711
                        }
                      ],
                      "others_margin": -0.386757
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.07855647802352905,
                    "model_output": 0.0786,
                    "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.0108
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0074
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0077
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0071
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0067
                        }
                      ],
                      "others": -0.0113,
                      "total": 0.0786,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.13593
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.094633
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.089433
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.076541
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.071793
                        }
                      ],
                      "others_margin": -0.134414
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.08581826090812683,
                    "model_output": 0.0858,
                    "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": "opp_half_pass_pct",
                          "contribution": -0.0156
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0115
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0059
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0043
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0037
                        }
                      ],
                      "others": 0.002,
                      "total": 0.0858,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.180811
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.136076
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.067627
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.052914
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": 0.045647
                        }
                      ],
                      "others_margin": 0.024023
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.07977545261383057,
                    "model_output": 0.0798,
                    "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.0111
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0107
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0084
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0043
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0038
                        }
                      ],
                      "others": -0.0017,
                      "total": 0.0798,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.107321
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.103358
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.089507
                        },
                        {
                          "name": "goals",
                          "margin": -0.048777
                        },
                        {
                          "name": "duelLost",
                          "margin": -0.045893
                        }
                      ],
                      "others_margin": -0.021911
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.30360227823257446,
                    "model_output": 0.3036,
                    "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": "opp_half_pass_pct",
                          "contribution": -0.0724
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0329
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0112
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0109
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0109
                        }
                      ],
                      "others": 0.0079,
                      "total": 0.3036,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.252803
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.122915
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.038522
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.037666
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.037607
                        }
                      ],
                      "others_margin": 0.026428
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.9891830682754517,
                    "model_output": 0.9892,
                    "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.1426
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.067
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0659
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0223
                        },
                        {
                          "name": "goalAssist",
                          "contribution": -0.0187
                        }
                      ],
                      "others": -0.0146,
                      "total": 0.9892,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.142623
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.067005
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.065923
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.022265
                        },
                        {
                          "name": "goalAssist",
                          "margin": -0.018713
                        }
                      ],
                      "others_margin": -0.014528
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.7175469398498535,
                    "model_output": 6.7175,
                    "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.0463
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0269
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0263
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0257
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0076
                        }
                      ],
                      "others": -0.05,
                      "total": 6.7175,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.046281
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.026949
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.026318
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.025671
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.007626
                        }
                      ],
                      "others_margin": -0.04982
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 6,
                  "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.0247, quality 0.686)",
              "stats": {
                "key_pass": 0.6128,
                "expected_assists": 0.0398,
                "assists": 0.0805,
                "assist_rate": 0.0805,
                "expected_goals": 0.0879,
                "goals": 0.0817,
                "goal_rate": 0.0817,
                "shots_on_target": 0.3111,
                "total_shots": 1.0136,
                "rating": 6.7175,
                "minutes": 84.23,
                "total_pass": 29.3366,
                "accurate_pass": 25.7755,
                "duels_won": 3.6163,
                "total_long_balls": 1.1153,
                "accurate_long_balls": 0.6808,
                "total_own_half_passes": 12.838,
                "accurate_own_half_passes": 12.2477,
                "total_opp_half_passes": 16.4987,
                "accurate_opp_half_passes": 13.5277,
                "crosses_total": 0.7739,
                "crosses_accurate": 0.0,
                "touches": 44.6615,
                "possession_lost": 8.4322,
                "dispossessed": 0.9572,
                "duels_lost": 2.4163,
                "aerial_won": 1.0637,
                "aerial_lost": 0.7108,
                "interceptions": 0.5742,
                "tackles_won": 1.3899,
                "tackles": 2.1735,
                "clearances": 1.3661,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.4345,
                "fouls": 0.3139,
                "fouls_drawn": 0.379,
                "blocks": 0.5526,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2349,
                "xgot": 0.0654,
                "ball_carries": 8.0409,
                "total_progression": 19.1852,
                "progressive_carries": 0.5788,
                "shots_off_target": 0.7025
              },
              "params": {
                "market_value_eur": 26000000,
                "quality_factor": 0.6858,
                "boost_factor": 1.0247,
                "reference_quality": 0.505,
                "history_matches": 6,
                "history_shrink": 0.4545,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0374)",
              "stats": {
                "key_pass": 0.6128,
                "expected_assists": 0.0398,
                "assists": 0.0775,
                "assist_rate": 0.0775,
                "expected_goals": 0.0879,
                "goals": 0.0786,
                "goal_rate": 0.0786,
                "shots_on_target": 0.318,
                "total_shots": 1.0688,
                "rating": 6.7175,
                "minutes": 84.23,
                "total_pass": 29.3366,
                "accurate_pass": 25.7755,
                "duels_won": 3.6163,
                "total_long_balls": 1.1153,
                "accurate_long_balls": 0.6808,
                "total_own_half_passes": 12.838,
                "accurate_own_half_passes": 12.2477,
                "total_opp_half_passes": 16.4987,
                "accurate_opp_half_passes": 13.5277,
                "crosses_total": 0.7818,
                "crosses_accurate": 0.0,
                "touches": 44.6615,
                "possession_lost": 8.4322,
                "dispossessed": 0.9572,
                "duels_lost": 2.4163,
                "aerial_won": 1.0637,
                "aerial_lost": 0.7108,
                "interceptions": 0.5896,
                "tackles_won": 1.4116,
                "tackles": 2.1735,
                "clearances": 1.3661,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.4345,
                "fouls": 0.339,
                "fouls_drawn": 0.3833,
                "blocks": 0.5526,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2349,
                "xgot": 0.0654,
                "ball_carries": 8.0409,
                "total_progression": 19.1852,
                "progressive_carries": 0.5788,
                "shots_off_target": 0.7025
              },
              "params": {
                "blend_weight": 0.0374,
                "history_matches": 6,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9359,
                "prior_reliability": 0.1267,
                "competition": "La Liga",
                "squad": "Real Madrid"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.0136,
                  "after": 1.0688
                },
                {
                  "stat": "fouls",
                  "before": 0.3139,
                  "after": 0.339
                },
                {
                  "stat": "wonTackle",
                  "before": 1.3899,
                  "after": 1.4116
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.5742,
                  "after": 0.5896
                },
                {
                  "stat": "totalCross",
                  "before": 0.7739,
                  "after": 0.7818
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.3111,
                  "after": 0.318
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.6128,
                "expected_assists": 0.0398,
                "assists": 0.0775,
                "assist_rate": 0.0775,
                "expected_goals": 0.0879,
                "goals": 0.0786,
                "goal_rate": 0.0786,
                "shots_on_target": 0.318,
                "total_shots": 1.0688,
                "rating": 6.7175,
                "minutes": 84.23,
                "total_pass": 29.3366,
                "accurate_pass": 25.7755,
                "duels_won": 3.6163,
                "total_long_balls": 1.1153,
                "accurate_long_balls": 0.6808,
                "total_own_half_passes": 12.838,
                "accurate_own_half_passes": 12.2477,
                "total_opp_half_passes": 16.4987,
                "accurate_opp_half_passes": 13.5277,
                "crosses_total": 0.7818,
                "crosses_accurate": 0.0,
                "touches": 44.6615,
                "possession_lost": 8.4322,
                "dispossessed": 0.9572,
                "duels_lost": 2.4163,
                "aerial_won": 1.0637,
                "aerial_lost": 0.7108,
                "interceptions": 0.5896,
                "tackles_won": 1.4116,
                "tackles": 2.1735,
                "clearances": 1.3661,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.4345,
                "fouls": 0.339,
                "fouls_drawn": 0.3833,
                "blocks": 0.5526,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2349,
                "xgot": 0.0654,
                "ball_carries": 8.0409,
                "total_progression": 19.1852,
                "progressive_carries": 0.5788,
                "shots_off_target": 0.7025
              },
              "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.6128,
                "expected_assists": 0.0398,
                "assists": 0.0775,
                "assist_rate": 0.0775,
                "expected_goals": 0.084,
                "goals": 0.0751,
                "goal_rate": 0.0751,
                "shots_on_target": 0.304,
                "total_shots": 1.0219,
                "rating": 6.7175,
                "minutes": 84.23,
                "total_pass": 29.3366,
                "accurate_pass": 25.7755,
                "duels_won": 3.6163,
                "total_long_balls": 1.1153,
                "accurate_long_balls": 0.6808,
                "total_own_half_passes": 12.838,
                "accurate_own_half_passes": 12.2477,
                "total_opp_half_passes": 16.4987,
                "accurate_opp_half_passes": 13.5277,
                "crosses_total": 0.7818,
                "crosses_accurate": 0.0,
                "touches": 44.6615,
                "possession_lost": 8.4322,
                "dispossessed": 0.9572,
                "duels_lost": 2.4163,
                "aerial_won": 1.2,
                "aerial_lost": 0.7108,
                "interceptions": 0.5896,
                "tackles_won": 1.4116,
                "tackles": 2.1735,
                "clearances": 1.3661,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.4345,
                "fouls": 0.339,
                "fouls_drawn": 0.3833,
                "blocks": 0.5526,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2246,
                "xgot": 0.0625,
                "ball_carries": 8.0409,
                "total_progression": 19.1852,
                "progressive_carries": 0.5788,
                "shots_off_target": 0.6717,
                "duel_xg_multiplier": 0.9561,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.37,
                "pressing_faced": "HIGH",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pape Gueye",
                "opponent_faced": "Pape Gueye",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pape Gueye",
                  "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                  "duel_win_rate": 0.37,
                  "pressing_faced": "HIGH",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.9561,
                  "skill_edge": -0.0339,
                  "height_edge": 0.004,
                  "attacker_skill": 0.7219,
                  "defender_skill": 0.7972,
                  "attacker_role": "CDM",
                  "attacker_mv_price_index": 0.85,
                  "defender_adjusted_parts": [
                    {
                      "player": "Pape Gueye",
                      "market_value": 39000000,
                      "role": "CM",
                      "price_index": 0.9,
                      "adjusted_quality": 0.7972
                    }
                  ],
                  "xg_override": 0.084
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 1.0637,
                  "after": 1.2
                },
                {
                  "stat": "totalShots",
                  "before": 1.0688,
                  "after": 1.0219
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.7025,
                  "after": 0.6717
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.318,
                  "after": 0.304
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.2349,
                  "after": 0.2246
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 3.39 (squad xG sum 2.0121, xG scale 1.6868, xA scale 1.9624, team xA 2.21 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0.6128,
                "expected_assists": 0.0781,
                "assist_rate": 0.0775,
                "assists": 0,
                "expected_goals": 0.1417,
                "goal_rate": 0.0751,
                "goals": 0,
                "shots_on_target": 0.304,
                "total_shots": 1.0219,
                "rating": 6.7175,
                "minutes": 84.23,
                "total_pass": 29.3366,
                "accurate_pass": 25.7755,
                "duels_won": 3.6163,
                "total_long_balls": 1.1153,
                "accurate_long_balls": 0.6808,
                "total_own_half_passes": 12.838,
                "accurate_own_half_passes": 12.2477,
                "total_opp_half_passes": 16.4987,
                "accurate_opp_half_passes": 13.5277,
                "crosses_total": 0.7818,
                "crosses_accurate": 0.0,
                "touches": 44.6615,
                "possession_lost": 8.4322,
                "dispossessed": 0.9572,
                "duels_lost": 2.4163,
                "aerial_won": 1.2,
                "aerial_lost": 0.7108,
                "interceptions": 0.5896,
                "tackles_won": 1.4116,
                "tackles": 2.1735,
                "clearances": 1.3661,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.4345,
                "fouls": 0.339,
                "fouls_drawn": 0.3833,
                "blocks": 0.5526,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2246,
                "xgot": 0.1054,
                "ball_carries": 8.0409,
                "total_progression": 19.1852,
                "progressive_carries": 0.5788,
                "shots_off_target": 0.6717,
                "duel_xg_multiplier": 0.9561,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.37,
                "pressing_faced": "HIGH",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pape Gueye",
                "opponent_faced": "Pape Gueye",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9336,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 3.394,
                "squad_xg_sum": 2.0121,
                "squad_xa_sum": 1.1242,
                "team_expected_assists": 2.2061,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.6868,
                "xa_scale": 1.9624,
                "opponent_lambda": 1.744,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.084,
                  "after": 0.1417
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0398,
                  "after": 0.0781
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 18 by projected rating, fifa_overall 83.0; not used by the projection)",
              "stats": {
                "key_pass": 0.6128,
                "expected_assists": 0.0781,
                "assist_rate": 0.0775,
                "assists": 0,
                "expected_goals": 0.1417,
                "goal_rate": 0.0751,
                "goals": 0,
                "shots_on_target": 0.304,
                "total_shots": 1.0219,
                "rating": 6.7175,
                "minutes": 84.23,
                "total_pass": 29.3366,
                "accurate_pass": 25.7755,
                "duels_won": 3.6163,
                "total_long_balls": 1.1153,
                "accurate_long_balls": 0.6808,
                "total_own_half_passes": 12.838,
                "accurate_own_half_passes": 12.2477,
                "total_opp_half_passes": 16.4987,
                "accurate_opp_half_passes": 13.5277,
                "crosses_total": 0.7818,
                "crosses_accurate": 0.0,
                "touches": 44.6615,
                "possession_lost": 8.4322,
                "dispossessed": 0.9572,
                "duels_lost": 2.4163,
                "aerial_won": 1.2,
                "aerial_lost": 0.7108,
                "interceptions": 0.5896,
                "tackles_won": 1.4116,
                "tackles": 2.1735,
                "clearances": 1.3661,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.4345,
                "fouls": 0.339,
                "fouls_drawn": 0.3833,
                "blocks": 0.5526,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2246,
                "xgot": 0.1054,
                "ball_carries": 8.0409,
                "total_progression": 19.1852,
                "progressive_carries": 0.5788,
                "shots_off_target": 0.6717,
                "duel_xg_multiplier": 0.9561,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.37,
                "pressing_faced": "HIGH",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pape Gueye",
                "opponent_faced": "Pape Gueye",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9336,
                "creation_factor": 1.25,
                "fifa_overall": 83.0
              },
              "params": {
                "match_squad_rank": 18,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 245,
                "fifa_rank": 309.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 83.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 3 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0.6128,
                "expected_assists": 0.0781,
                "assist_rate": 0.0775,
                "assists": 0,
                "expected_goals": 0.1417,
                "goal_rate": 0.0751,
                "goals": 0,
                "shots_on_target": 0.304,
                "total_shots": 1.0219,
                "rating": 6.7175,
                "minutes": 84.23,
                "total_pass": 29.3366,
                "accurate_pass": 25.7755,
                "duels_won": 3.6163,
                "total_long_balls": 1.1153,
                "accurate_long_balls": 0.6808,
                "total_own_half_passes": 12.838,
                "accurate_own_half_passes": 12.2477,
                "total_opp_half_passes": 16.4987,
                "accurate_opp_half_passes": 13.5277,
                "crosses_total": 0.7818,
                "crosses_accurate": 0.0,
                "touches": 44.6615,
                "possession_lost": 8.4322,
                "dispossessed": 0.9572,
                "duels_lost": 2.4163,
                "aerial_won": 1.2,
                "aerial_lost": 0.7108,
                "interceptions": 0.5896,
                "tackles_won": 1.4116,
                "tackles": 2.1735,
                "clearances": 1.3661,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.4345,
                "fouls": 0.339,
                "fouls_drawn": 0.3833,
                "blocks": 0.5526,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2246,
                "xgot": 0.1054,
                "ball_carries": 8.0409,
                "total_progression": 19.1852,
                "progressive_carries": 0.5788,
                "shots_off_target": 0.6717,
                "duel_xg_multiplier": 0.9561,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.37,
                "pressing_faced": "HIGH",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pape Gueye",
                "opponent_faced": "Pape Gueye",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1321,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9336,
                "creation_factor": 1.25,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 3,
                "goals_allocated": 0,
                "goal_probability": 0.1321,
                "scorer_weight": 0.1323,
                "squad_weight_total": 3.3755,
                "weight_share": 0.0392,
                "finishing_factor": 0.9336,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Kylian Mbappé",
                    "weight": 1.3799,
                    "already": 0,
                    "effective_weight": 1.3799,
                    "runner_up": "Vinícius Júnior",
                    "runner_up_effective_weight": 0.4922
                  },
                  {
                    "n": 2,
                    "player": "Kylian Mbappé",
                    "weight": 1.3799,
                    "already": 1,
                    "effective_weight": 0.5872,
                    "runner_up": "Vinícius Júnior",
                    "runner_up_effective_weight": 0.4922
                  },
                  {
                    "n": 3,
                    "player": "Vinícius Júnior",
                    "weight": 0.4922,
                    "already": 0,
                    "effective_weight": 0.4922,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.3951
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 2 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 0.6128,
                "expected_assists": 0.0781,
                "assist_rate": 0.0775,
                "assists": 0,
                "expected_goals": 0.1417,
                "goal_rate": 0.0751,
                "goals": 0,
                "shots_on_target": 0.304,
                "total_shots": 1.0219,
                "rating": 6.7175,
                "minutes": 84.23,
                "total_pass": 29.3366,
                "accurate_pass": 25.7755,
                "duels_won": 3.6163,
                "total_long_balls": 1.1153,
                "accurate_long_balls": 0.6808,
                "total_own_half_passes": 12.838,
                "accurate_own_half_passes": 12.2477,
                "total_opp_half_passes": 16.4987,
                "accurate_opp_half_passes": 13.5277,
                "crosses_total": 0.7818,
                "crosses_accurate": 0.0,
                "touches": 44.6615,
                "possession_lost": 8.4322,
                "dispossessed": 0.9572,
                "duels_lost": 2.4163,
                "aerial_won": 1.2,
                "aerial_lost": 0.7108,
                "interceptions": 0.5896,
                "tackles_won": 1.4116,
                "tackles": 2.1735,
                "clearances": 1.3661,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.4345,
                "fouls": 0.339,
                "fouls_drawn": 0.3833,
                "blocks": 0.5526,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2246,
                "xgot": 0.1054,
                "ball_carries": 8.0409,
                "total_progression": 19.1852,
                "progressive_carries": 0.5788,
                "shots_off_target": 0.6717,
                "duel_xg_multiplier": 0.9561,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.37,
                "pressing_faced": "HIGH",
                "matchup_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pape Gueye",
                "opponent_faced": "Pape Gueye",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1321,
                "projected_assists": 0,
                "assist_probability": 0.0751,
                "finishing_factor": 0.9336,
                "creation_factor": 1.25,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 2,
                "assists_allocated": 0,
                "assist_probability": 0.0751,
                "provider_weight": 0.0976,
                "squad_weight_total": 2.3369,
                "weight_share": 0.0418,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Vinícius Júnior",
                    "weight": 0.431,
                    "already": 0,
                    "effective_weight": 0.431,
                    "runner_up": "Kylian Mbappé",
                    "runner_up_effective_weight": 0.4214
                  },
                  {
                    "n": 2,
                    "player": "Kylian Mbappé",
                    "weight": 0.4214,
                    "already": 0,
                    "effective_weight": 0.4214,
                    "runner_up": "Arda Güler",
                    "runner_up_effective_weight": 0.4024
                  }
                ]
              }
            }
          ]
        },
        "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": 1.5981,
            "shots_faced": 16.6,
            "expected_saves": 4.07,
            "high_pressure_saves": 1.4,
            "opponent_faced": "Alberto Moleiro, Ayoze Pérez",
            "matchup_zone": "Goalkeeper shot-stopping context",
            "antagonist_source": "defensive_duel",
            "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_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"
            },
            {
              "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.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0004,
                "total_shots": 0,
                "total_pass": 60,
                "accurate_pass": 48,
                "ball_recovery": 12,
                "saves": 6,
                "goals_prevented": 0.5013
              },
              "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_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 18,
                "ball_recovery": 6,
                "saves": 1,
                "goals_prevented": 0.5127
              },
              "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-10T10:04:18.353158+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": 1.5981,
                "shots_faced": 15.2,
                "expected_saves": 3.72,
                "high_pressure_saves": 1.28,
                "opponent_faced": "Alberto Moleiro, Ayoze Pérez",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Alberto Moleiro, Ayoze Pérez",
                  "matchup_zone": "Goalkeeper shot-stopping context",
                  "opponent_lambda": 1.5981
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 3.39 (squad xG sum 2.0121, xG scale 1.6868, xA scale 1.9624, team xA 2.21 = 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": 1.5981,
                "shots_faced": 16.6,
                "expected_saves": 4.07,
                "high_pressure_saves": 1.4,
                "opponent_faced": "Alberto Moleiro, Ayoze Pérez",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "defensive_duel",
                "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": 3.394,
                "squad_xg_sum": 2.0121,
                "squad_xa_sum": 1.1242,
                "team_expected_assists": 2.2061,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.6868,
                "xa_scale": 1.9624,
                "opponent_lambda": 1.744,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "shots_faced",
                  "before": 15.2,
                  "after": 16.6
                },
                {
                  "stat": "expected_saves",
                  "before": 3.72,
                  "after": 4.07
                },
                {
                  "stat": "high_pressure_saves",
                  "before": 1.28,
                  "after": 1.4
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 7 by projected rating, fifa_overall 90.0; not used by the 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": 1.5981,
                "shots_faced": 16.6,
                "expected_saves": 4.07,
                "high_pressure_saves": 1.4,
                "opponent_faced": "Alberto Moleiro, Ayoze Pérez",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "defensive_duel",
                "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: 3 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": 1.5981,
                "shots_faced": 16.6,
                "expected_saves": 4.07,
                "high_pressure_saves": 1.4,
                "opponent_faced": "Alberto Moleiro, Ayoze Pérez",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "defensive_duel",
                "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": 3,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.0,
                "squad_weight_total": 3.3755,
                "weight_share": 0.0,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Kylian Mbappé",
                    "weight": 1.3799,
                    "already": 0,
                    "effective_weight": 1.3799,
                    "runner_up": "Vinícius Júnior",
                    "runner_up_effective_weight": 0.4922
                  },
                  {
                    "n": 2,
                    "player": "Kylian Mbappé",
                    "weight": 1.3799,
                    "already": 1,
                    "effective_weight": 0.5872,
                    "runner_up": "Vinícius Júnior",
                    "runner_up_effective_weight": 0.4922
                  },
                  {
                    "n": 3,
                    "player": "Vinícius Júnior",
                    "weight": 0.4922,
                    "already": 0,
                    "effective_weight": 0.4922,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.3951
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 2 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": 1.5981,
                "shots_faced": 16.6,
                "expected_saves": 4.07,
                "high_pressure_saves": 1.4,
                "opponent_faced": "Alberto Moleiro, Ayoze Pérez",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "defensive_duel",
                "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": 2,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0,
                "squad_weight_total": 2.3369,
                "weight_share": 0.0,
                "creation_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Vinícius Júnior",
                    "weight": 0.431,
                    "already": 0,
                    "effective_weight": 0.431,
                    "runner_up": "Kylian Mbappé",
                    "runner_up_effective_weight": 0.4214
                  },
                  {
                    "n": 2,
                    "player": "Kylian Mbappé",
                    "weight": 0.4214,
                    "already": 0,
                    "effective_weight": 0.4214,
                    "runner_up": "Arda Güler",
                    "runner_up_effective_weight": 0.4024
                  }
                ]
              }
            }
          ]
        }
      },
      "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": 2,
            "projected_substitution_expected_count": 2.828,
            "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": 4,
            "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-10T10:04:18.353158+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": 2,
                "projected_substitution_expected_count": 2.828,
                "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": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 4 by projected rating, fifa_overall 80.0; not used by the projection)",
              "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": 2,
                "projected_substitution_expected_count": 2.828,
                "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": 4,
                "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
              }
            }
          ]
        },
        "Dean Huijsen": {
          "player_id": 1176744,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 4,
          "height": 195,
          "market_value": 66000000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 1,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.9597,
            "minutes": 15,
            "total_pass": 16,
            "accurate_pass": 14,
            "duels_won": 1,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 9,
            "accurate_own_half_passes": 9,
            "total_opp_half_passes": 7,
            "accurate_opp_half_passes": 6,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 18,
            "possession_lost": 1.8123,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0123,
            "expected_assists": 0.0079,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 8,
            "total_progression": 43,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.252,
            "bench_expected_minutes": 15.26,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.828,
            "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_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"
            },
            {
              "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": 73,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0064,
                "expected_assists": 0.0053,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 47,
                "accurate_pass": 41,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 3,
                "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": "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": 9,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9597,
            "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"
            ],
            "bench_expected_minutes": 15.26313809048036,
            "bench_appearance_prob": 0.252,
            "market_value_adjustment": 1.0138,
            "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.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "Bench projection scaled from XGBoost D_service (34 historical appearances) to 15.3 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.4221,
                "tackles": 0.5991,
                "tackles_won": 0.3769,
                "clearances": 2.0808,
                "aerial_won": 0.9105,
                "total_shots": 0.2824,
                "rating": 6.9597,
                "minutes": 21.64,
                "total_pass": 22.7306,
                "accurate_pass": 20.1961,
                "duels_won": 1.2137,
                "total_long_balls": 2.3664,
                "accurate_long_balls": 1.7202,
                "total_own_half_passes": 12.4146,
                "accurate_own_half_passes": 12.1008,
                "total_opp_half_passes": 10.316,
                "accurate_opp_half_passes": 8.0953,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 25.5494,
                "possession_lost": 2.5345,
                "dispossessed": 0.0,
                "duels_lost": 0.4535,
                "aerial_lost": 0.0,
                "total_contest": 0.2267,
                "won_contest": 0.2267,
                "ball_recovery": 1.2607,
                "challenges_lost": 0.0,
                "fouls": 0.4535,
                "fouls_drawn": 0.0,
                "blocks": 0.1927,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0172,
                "expected_assists": 0.011,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.5438,
                "total_progression": 60.3585,
                "progressive_carries": 1.4043,
                "key_pass": 0.1927,
                "shots_off_target": 0.2824
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-10T10:05:07.485697+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": 0.0,
                  "totalClearance": 4.5357,
                  "aerialWon": 1.3919,
                  "totalClearance_p90": 5.4998,
                  "totalTackle": 1.3355,
                  "totalPass": 58.3392
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.4221230745315552,
                    "model_output": 0.4221,
                    "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.4796
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0324
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.013
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0123
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.012
                        }
                      ],
                      "others": -0.0013,
                      "total": 0.4221,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.819765
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.082398
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.031137
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.028701
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.027985
                        }
                      ],
                      "others_margin": -0.002945
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.5990791320800781,
                    "model_output": 0.5991,
                    "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.7157
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0317
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0209
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0183
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0173
                        }
                      ],
                      "others": -0.0275,
                      "total": 0.5991,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.720491
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.04793
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.032803
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.028835
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.027265
                        }
                      ],
                      "others_margin": -0.044796
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.3768647611141205,
                    "model_output": 0.3769,
                    "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.4125
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0168
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0128
                        },
                        {
                          "name": "errorLeadToAShot",
                          "contribution": 0.011
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0105
                        }
                      ],
                      "others": -0.0359,
                      "total": 0.3769,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.659324
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.038719
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.030657
                        },
                        {
                          "name": "errorLeadToAShot",
                          "margin": 0.026252
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": -0.025112
                        }
                      ],
                      "others_margin": -0.090894
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.0807957649230957,
                    "model_output": 2.0808,
                    "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.0312
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.2498
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.1265
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0925
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0823
                        }
                      ],
                      "others": 0.1095,
                      "total": 2.0808,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.887978
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.162053
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.073006
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.050191
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.042636
                        }
                      ],
                      "others_margin": 0.05406
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.9105385541915894,
                    "model_output": 0.9105,
                    "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.7141
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0451
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0309
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0319
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": 0.0322
                        }
                      ],
                      "others": 0.1025,
                      "total": 0.9105,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.727182
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.065362
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.042456
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.041932
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": 0.040707
                        }
                      ],
                      "others_margin": 0.119452
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.2824315130710602,
                    "model_output": 0.2824,
                    "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.2212
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0556
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": 0.0157
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0153
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0146
                        }
                      ],
                      "others": -0.0687,
                      "total": 0.2824,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.221234
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.055622
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": 0.015743
                        },
                        {
                          "name": "rating",
                          "margin": 0.015262
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.014551
                        }
                      ],
                      "others_margin": -0.068645
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.959697246551514,
                    "model_output": 6.9597,
                    "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.0479
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0432
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0232
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0229
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0195
                        }
                      ],
                      "others": 0.1137,
                      "total": 6.9597,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.047852
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.043196
                        },
                        {
                          "name": "rating",
                          "margin": 0.02321
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.022906
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.019465
                        }
                      ],
                      "others_margin": 0.113641
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 34,
                  "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.0138, quality 0.864)",
              "stats": {
                "interceptions": 0.4279,
                "tackles": 0.6073,
                "tackles_won": 0.3821,
                "clearances": 2.1095,
                "aerial_won": 0.9231,
                "total_shots": 0.2863,
                "rating": 6.9597,
                "minutes": 21.64,
                "total_pass": 23.0443,
                "accurate_pass": 20.4748,
                "duels_won": 1.2304,
                "total_long_balls": 2.3991,
                "accurate_long_balls": 1.7439,
                "total_own_half_passes": 12.5859,
                "accurate_own_half_passes": 12.2678,
                "total_opp_half_passes": 10.4584,
                "accurate_opp_half_passes": 8.207,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 25.902,
                "possession_lost": 2.5695,
                "dispossessed": 0.0,
                "duels_lost": 0.4598,
                "aerial_lost": 0.0,
                "total_contest": 0.2298,
                "won_contest": 0.2298,
                "ball_recovery": 1.2781,
                "challenges_lost": 0.0,
                "fouls": 0.4598,
                "fouls_drawn": 0.0,
                "blocks": 0.1954,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0174,
                "expected_assists": 0.0112,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.6893,
                "total_progression": 61.1914,
                "progressive_carries": 1.4237,
                "key_pass": 0.1954,
                "shots_off_target": 0.2863
              },
              "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": 0.4261,
                "tackles": 0.6073,
                "tackles_won": 0.3797,
                "clearances": 2.1095,
                "aerial_won": 0.9231,
                "total_shots": 0.2855,
                "rating": 6.9597,
                "minutes": 21.64,
                "total_pass": 23.0443,
                "accurate_pass": 20.4748,
                "duels_won": 1.2304,
                "total_long_balls": 2.3991,
                "accurate_long_balls": 1.7439,
                "total_own_half_passes": 12.5859,
                "accurate_own_half_passes": 12.2678,
                "total_opp_half_passes": 10.4584,
                "accurate_opp_half_passes": 8.207,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 25.902,
                "possession_lost": 2.5695,
                "dispossessed": 0.0,
                "duels_lost": 0.4598,
                "aerial_lost": 0.0,
                "total_contest": 0.2298,
                "won_contest": 0.2298,
                "ball_recovery": 1.2781,
                "challenges_lost": 0.0,
                "fouls": 0.4548,
                "fouls_drawn": 0.0027,
                "blocks": 0.1954,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0174,
                "expected_assists": 0.0112,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.6893,
                "total_progression": 61.1914,
                "progressive_carries": 1.4237,
                "key_pass": 0.1954,
                "shots_off_target": 0.2863
              },
              "params": {
                "blend_weight": 0.0167,
                "history_matches": 34,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2404,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Real Madrid"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.4598,
                  "after": 0.4548
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 21.6 to 15.3 expected minutes (appearance prob 0.25)",
              "stats": {
                "interceptions": 0.3005,
                "tackles": 0.4283,
                "tackles_won": 0.2678,
                "clearances": 1.4879,
                "aerial_won": 0.6511,
                "total_shots": 0.2019,
                "rating": 6.9597,
                "minutes": 15.26,
                "total_pass": 16.2536,
                "accurate_pass": 14.4413,
                "duels_won": 0.8678,
                "total_long_balls": 1.6921,
                "accurate_long_balls": 1.23,
                "total_own_half_passes": 8.8771,
                "accurate_own_half_passes": 8.6527,
                "total_opp_half_passes": 7.3765,
                "accurate_opp_half_passes": 5.7886,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 18.2692,
                "possession_lost": 1.8123,
                "dispossessed": 0.0,
                "duels_lost": 0.3243,
                "aerial_lost": 0.0,
                "total_contest": 0.1621,
                "won_contest": 0.1621,
                "ball_recovery": 0.9015,
                "challenges_lost": 0.0,
                "fouls": 0.3208,
                "fouls_drawn": 0.0019,
                "blocks": 0.1378,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0123,
                "expected_assists": 0.0079,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 7.5394,
                "total_progression": 43.1596,
                "progressive_carries": 1.0042,
                "key_pass": 0.1378,
                "shots_off_target": 0.2019,
                "bench_appearance_probability": 0.252,
                "bench_expected_minutes": 15.26
              },
              "params": {
                "expected_minutes": 15.26,
                "projection_minutes": 21.64,
                "minutes_scale": 0.7053,
                "appearance_probability": 0.252
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.3005,
                "tackles": 0.4283,
                "tackles_won": 0.2678,
                "clearances": 1.4879,
                "aerial_won": 0.6511,
                "total_shots": 0.2019,
                "rating": 6.9597,
                "minutes": 15.26,
                "total_pass": 16.2536,
                "accurate_pass": 14.4413,
                "duels_won": 0.8678,
                "total_long_balls": 1.6921,
                "accurate_long_balls": 1.23,
                "total_own_half_passes": 8.8771,
                "accurate_own_half_passes": 8.6527,
                "total_opp_half_passes": 7.3765,
                "accurate_opp_half_passes": 5.7886,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 18.2692,
                "possession_lost": 1.8123,
                "dispossessed": 0.0,
                "duels_lost": 0.3243,
                "aerial_lost": 0.0,
                "total_contest": 0.1621,
                "won_contest": 0.1621,
                "ball_recovery": 0.9015,
                "challenges_lost": 0.0,
                "fouls": 0.3208,
                "fouls_drawn": 0.0019,
                "blocks": 0.1378,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0123,
                "expected_assists": 0.0079,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 7.5394,
                "total_progression": 43.1596,
                "progressive_carries": 1.0042,
                "key_pass": 0.1378,
                "shots_off_target": 0.2019,
                "bench_appearance_probability": 0.252,
                "bench_expected_minutes": 15.26
              },
              "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.3005,
                "tackles": 0.4283,
                "tackles_won": 0.2678,
                "clearances": 1.4879,
                "aerial_won": 0.6511,
                "total_shots": 0.2019,
                "rating": 6.9597,
                "minutes": 15.26,
                "total_pass": 16.2536,
                "accurate_pass": 14.4413,
                "duels_won": 0.8678,
                "total_long_balls": 1.6921,
                "accurate_long_balls": 1.23,
                "total_own_half_passes": 8.8771,
                "accurate_own_half_passes": 8.6527,
                "total_opp_half_passes": 7.3765,
                "accurate_opp_half_passes": 5.7886,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 18.2692,
                "possession_lost": 1.8123,
                "dispossessed": 0.0,
                "duels_lost": 0.3243,
                "aerial_lost": 0.0,
                "total_contest": 0.1621,
                "won_contest": 0.1621,
                "ball_recovery": 0.9015,
                "challenges_lost": 0.0,
                "fouls": 0.3208,
                "fouls_drawn": 0.0019,
                "blocks": 0.1378,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0123,
                "expected_assists": 0.0079,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 7.5394,
                "total_progression": 43.1596,
                "progressive_carries": 1.0042,
                "key_pass": 0.1378,
                "shots_off_target": 0.2019,
                "bench_appearance_probability": 0.252,
                "bench_expected_minutes": 15.26,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.828,
                "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.252,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 9 by projected rating, fifa_overall 81.0; not used by the projection)",
              "stats": {
                "interceptions": 0.3005,
                "tackles": 0.4283,
                "tackles_won": 0.2678,
                "clearances": 1.4879,
                "aerial_won": 0.6511,
                "total_shots": 0.2019,
                "rating": 6.9597,
                "minutes": 15.26,
                "total_pass": 16.2536,
                "accurate_pass": 14.4413,
                "duels_won": 0.8678,
                "total_long_balls": 1.6921,
                "accurate_long_balls": 1.23,
                "total_own_half_passes": 8.8771,
                "accurate_own_half_passes": 8.6527,
                "total_opp_half_passes": 7.3765,
                "accurate_opp_half_passes": 5.7886,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 18.2692,
                "possession_lost": 1.8123,
                "dispossessed": 0.0,
                "duels_lost": 0.3243,
                "aerial_lost": 0.0,
                "total_contest": 0.1621,
                "won_contest": 0.1621,
                "ball_recovery": 0.9015,
                "challenges_lost": 0.0,
                "fouls": 0.3208,
                "fouls_drawn": 0.0019,
                "blocks": 0.1378,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0123,
                "expected_assists": 0.0079,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 7.5394,
                "total_progression": 43.1596,
                "progressive_carries": 1.0042,
                "key_pass": 0.1378,
                "shots_off_target": 0.2019,
                "bench_appearance_probability": 0.252,
                "bench_expected_minutes": 15.26,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.828,
                "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": 9,
                "squad_role": "substitute",
                "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
              }
            }
          ]
        },
        "Marc Cucurella": {
          "player_id": 794939,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 17,
          "height": 175,
          "market_value": 62000000,
          "stats": {
            "interceptions": 0,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 1,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.7341,
            "minutes": 27,
            "total_pass": 19,
            "accurate_pass": 17,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_own_half_passes": 9,
            "accurate_own_half_passes": 8,
            "total_opp_half_passes": 11,
            "accurate_opp_half_passes": 9,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 26,
            "possession_lost": 3.4908,
            "dispossessed": 0.0,
            "duels_lost": 1,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.1396,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.1206,
            "expected_assists": 0.0529,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.1428,
            "ball_carries": 4,
            "total_progression": 20,
            "progressive_carries": 1,
            "key_pass": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.508,
            "bench_expected_minutes": 26.65,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.828,
            "projected_substitution_game_state_adjustment": -1,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 85.0
          },
          "latest_10_games": [
            {
              "match_id": 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"
            },
            {
              "match_id": 16087727,
              "match_date": "2026-05-19",
              "home_team": "Chelsea",
              "away_team": "Tottenham Hotspur",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Chelsea",
              "opponent": "Tottenham Hotspur",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0046,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 17,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 6,
                "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": 14024024,
              "match_date": "2026-05-09",
              "home_team": "Liverpool FC",
              "away_team": "Chelsea",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Chelsea",
              "opponent": "Liverpool FC",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0338,
                "expected_assists": 0.0258,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 22,
                "accurate_pass": 20,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 1,
                "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"
            }
          ],
          "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": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7341,
            "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"
            ],
            "bench_expected_minutes": 26.65,
            "bench_appearance_prob": 0.508,
            "market_value_adjustment": 1.0115,
            "fbref_prior_metrics": {
              "squad": "Real Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 36.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.12
            },
            "rationale": "Bench projection scaled from XGBoost D_service (41 historical appearances) to 26.6 expected mins (appearance prob 0.51); FBref playing time empirical prior: 2.0 sub appearances, 36.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.3028,
                "tackles": 0.7597,
                "tackles_won": 0.5026,
                "clearances": 0.8082,
                "aerial_won": 0.2757,
                "total_shots": 0.2326,
                "rating": 6.7341,
                "minutes": 24.05,
                "total_pass": 17.3435,
                "accurate_pass": 14.9728,
                "duels_won": 1.7254,
                "total_long_balls": 0.9228,
                "accurate_long_balls": 0.5044,
                "total_own_half_passes": 7.6633,
                "accurate_own_half_passes": 6.7666,
                "total_opp_half_passes": 9.6802,
                "accurate_opp_half_passes": 8.2062,
                "crosses_total": 0.6286,
                "crosses_accurate": 0.1257,
                "touches": 23.3005,
                "possession_lost": 3.1144,
                "dispossessed": 0.0,
                "duels_lost": 1.2501,
                "aerial_lost": 0.3116,
                "total_contest": 0.2408,
                "won_contest": 0.0,
                "ball_recovery": 1.4273,
                "challenges_lost": 0.4463,
                "fouls": 0.2514,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goals": 0.1257,
                "goal_rate": 0.1257,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.1076,
                "expected_assists": 0.0472,
                "shots_on_target": 0.2326,
                "big_chances_created": 0.1479,
                "xgot": 0.1274,
                "ball_carries": 3.9128,
                "total_progression": 18.0942,
                "progressive_carries": 0.5879,
                "key_pass": 0.6613,
                "shots_off_target": 0.0
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-10T10:05:07.485697+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": 0.0,
                  "totalClearance": 1.5314,
                  "aerialWon": 0.5272,
                  "totalClearance_p90": 1.7001,
                  "totalTackle": 1.9086,
                  "totalPass": 36.8797
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.30277103185653687,
                    "model_output": 0.3028,
                    "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.4874
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0331
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0104
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0096
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0079
                        }
                      ],
                      "others": -0.0219,
                      "total": 0.3028,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.840652
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.093867
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.031352
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.029786
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.024639
                        }
                      ],
                      "others_margin": -0.069761
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.7596659064292908,
                    "model_output": 0.7597,
                    "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.7735
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0219
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0219
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0217
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0171
                        }
                      ],
                      "others": 0.0567,
                      "total": 0.7597,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.809467
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.034665
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.033562
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.032201
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.02468
                        }
                      ],
                      "others_margin": 0.077393
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.5026331543922424,
                    "model_output": 0.5026,
                    "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.4405
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0179
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0167
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0172
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0099
                        }
                      ],
                      "others": 0.027,
                      "total": 0.5026,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.724861
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.042328
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.037871
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.037696
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.021108
                        }
                      ],
                      "others_margin": 0.055375
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 0.808163583278656,
                    "model_output": 0.8082,
                    "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.0992
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.2699
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.1143
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.054
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0305
                        }
                      ],
                      "others": -0.0753,
                      "total": 0.8082,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.937039
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.222629
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.111633
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.05744
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.033984
                        }
                      ],
                      "others_margin": -0.08905
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.2756652235984802,
                    "model_output": 0.2757,
                    "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.817
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1584
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.045
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0314
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0164
                        }
                      ],
                      "others": -0.0381,
                      "total": 0.2757,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.894448
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.328949
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.117371
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.090706
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.050797
                        }
                      ],
                      "others_margin": -0.12985
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.2326,
                    "model_output": 0.1077,
                    "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.2095
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0735
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0265
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0068
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0068
                        }
                      ],
                      "others": -0.0403,
                      "total": 0.1077,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.209548
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.073488
                        },
                        {
                          "name": "rating",
                          "margin": -0.026513
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.006774
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.006773
                        }
                      ],
                      "others_margin": -0.040367
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.7340521812438965,
                    "model_output": 6.7341,
                    "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.0358
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0231
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0177
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0153
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.013
                        }
                      ],
                      "others": -0.0177,
                      "total": 6.7341,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "touches_p90",
                          "margin": 0.035835
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.023096
                        },
                        {
                          "name": "rating",
                          "margin": -0.017693
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.015288
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.013037
                        }
                      ],
                      "others_margin": -0.0178
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 41,
                  "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.0115, quality 0.857)",
              "stats": {
                "interceptions": 0.3063,
                "tackles": 0.7684,
                "tackles_won": 0.5084,
                "clearances": 0.8175,
                "aerial_won": 0.2788,
                "total_shots": 0.2353,
                "rating": 6.7341,
                "minutes": 24.05,
                "total_pass": 17.543,
                "accurate_pass": 15.145,
                "duels_won": 1.7452,
                "total_long_balls": 0.9334,
                "accurate_long_balls": 0.5102,
                "total_own_half_passes": 7.7514,
                "accurate_own_half_passes": 6.8444,
                "total_opp_half_passes": 9.7915,
                "accurate_opp_half_passes": 8.3006,
                "crosses_total": 0.6358,
                "crosses_accurate": 0.1271,
                "touches": 23.5685,
                "possession_lost": 3.1502,
                "dispossessed": 0.0,
                "duels_lost": 1.2645,
                "aerial_lost": 0.3152,
                "total_contest": 0.2436,
                "won_contest": 0.0,
                "ball_recovery": 1.4437,
                "challenges_lost": 0.4514,
                "fouls": 0.2543,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goals": 0.1271,
                "goal_rate": 0.1271,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.1088,
                "expected_assists": 0.0477,
                "shots_on_target": 0.2353,
                "big_chances_created": 0.1496,
                "xgot": 0.1289,
                "ball_carries": 3.9578,
                "total_progression": 18.3023,
                "progressive_carries": 0.5947,
                "key_pass": 0.6689,
                "shots_off_target": 0.0
              },
              "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.3062,
                "tackles": 0.7684,
                "tackles_won": 0.5079,
                "clearances": 0.8175,
                "aerial_won": 0.2788,
                "total_shots": 0.2333,
                "rating": 6.7341,
                "minutes": 24.05,
                "total_pass": 17.543,
                "accurate_pass": 15.145,
                "duels_won": 1.7452,
                "total_long_balls": 0.9334,
                "accurate_long_balls": 0.5102,
                "total_own_half_passes": 7.7514,
                "accurate_own_half_passes": 6.8444,
                "total_opp_half_passes": 9.7915,
                "accurate_opp_half_passes": 8.3006,
                "crosses_total": 0.6304,
                "crosses_accurate": 0.1271,
                "touches": 23.5685,
                "possession_lost": 3.1502,
                "dispossessed": 0.0,
                "duels_lost": 1.2645,
                "aerial_lost": 0.3152,
                "total_contest": 0.2436,
                "won_contest": 0.0,
                "ball_recovery": 1.4437,
                "challenges_lost": 0.4514,
                "fouls": 0.2521,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goals": 0.126,
                "goal_rate": 0.126,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.1088,
                "expected_assists": 0.0477,
                "shots_on_target": 0.2333,
                "big_chances_created": 0.1496,
                "xgot": 0.1289,
                "ball_carries": 3.9578,
                "total_progression": 18.3023,
                "progressive_carries": 0.5947,
                "key_pass": 0.6689,
                "shots_off_target": 0.0
              },
              "params": {
                "blend_weight": 0.0085,
                "history_matches": 41,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2672,
                "prior_reliability": 0.12,
                "competition": "La Liga",
                "squad": "Real Madrid"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 0.6358,
                  "after": 0.6304
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 24.1 to 26.6 expected minutes (appearance prob 0.51)",
              "stats": {
                "interceptions": 0.3393,
                "tackles": 0.8515,
                "tackles_won": 0.5628,
                "clearances": 0.9059,
                "aerial_won": 0.3089,
                "total_shots": 0.2585,
                "rating": 6.7341,
                "minutes": 26.65,
                "total_pass": 19.4395,
                "accurate_pass": 16.7823,
                "duels_won": 1.9339,
                "total_long_balls": 1.0343,
                "accurate_long_balls": 0.5654,
                "total_own_half_passes": 8.5894,
                "accurate_own_half_passes": 7.5843,
                "total_opp_half_passes": 10.85,
                "accurate_opp_half_passes": 9.198,
                "crosses_total": 0.6986,
                "crosses_accurate": 0.1408,
                "touches": 26.1164,
                "possession_lost": 3.4908,
                "dispossessed": 0.0,
                "duels_lost": 1.4012,
                "aerial_lost": 0.3152,
                "total_contest": 0.2699,
                "won_contest": 0.0,
                "ball_recovery": 1.5998,
                "challenges_lost": 0.4514,
                "fouls": 0.2794,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goals": 0.1396,
                "goal_rate": 0.1396,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.1206,
                "expected_assists": 0.0529,
                "shots_on_target": 0.2585,
                "big_chances_created": 0.1658,
                "xgot": 0.1428,
                "ball_carries": 4.3857,
                "total_progression": 20.2809,
                "progressive_carries": 0.659,
                "key_pass": 0.7412,
                "shots_off_target": 0.0,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 26.65
              },
              "params": {
                "expected_minutes": 26.65,
                "projection_minutes": 24.05,
                "minutes_scale": 1.1081,
                "appearance_probability": 0.508
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.3393,
                "tackles": 0.8515,
                "tackles_won": 0.5628,
                "clearances": 0.9059,
                "aerial_won": 0.3089,
                "total_shots": 0.2585,
                "rating": 6.7341,
                "minutes": 26.65,
                "total_pass": 19.4395,
                "accurate_pass": 16.7823,
                "duels_won": 1.9339,
                "total_long_balls": 1.0343,
                "accurate_long_balls": 0.5654,
                "total_own_half_passes": 8.5894,
                "accurate_own_half_passes": 7.5843,
                "total_opp_half_passes": 10.85,
                "accurate_opp_half_passes": 9.198,
                "crosses_total": 0.6986,
                "crosses_accurate": 0.1408,
                "touches": 26.1164,
                "possession_lost": 3.4908,
                "dispossessed": 0.0,
                "duels_lost": 1.4012,
                "aerial_lost": 0.3152,
                "total_contest": 0.2699,
                "won_contest": 0.0,
                "ball_recovery": 1.5998,
                "challenges_lost": 0.4514,
                "fouls": 0.2794,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goals": 0.1396,
                "goal_rate": 0.1396,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.1206,
                "expected_assists": 0.0529,
                "shots_on_target": 0.2585,
                "big_chances_created": 0.1658,
                "xgot": 0.1428,
                "ball_carries": 4.3857,
                "total_progression": 20.2809,
                "progressive_carries": 0.659,
                "key_pass": 0.7412,
                "shots_off_target": 0.0,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 26.65
              },
              "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.3393,
                "tackles": 0.8515,
                "tackles_won": 0.5628,
                "clearances": 0.9059,
                "aerial_won": 0.3089,
                "total_shots": 0.2585,
                "rating": 6.7341,
                "minutes": 26.65,
                "total_pass": 19.4395,
                "accurate_pass": 16.7823,
                "duels_won": 1.9339,
                "total_long_balls": 1.0343,
                "accurate_long_balls": 0.5654,
                "total_own_half_passes": 8.5894,
                "accurate_own_half_passes": 7.5843,
                "total_opp_half_passes": 10.85,
                "accurate_opp_half_passes": 9.198,
                "crosses_total": 0.6986,
                "crosses_accurate": 0.1408,
                "touches": 26.1164,
                "possession_lost": 3.4908,
                "dispossessed": 0.0,
                "duels_lost": 1.4012,
                "aerial_lost": 0.3152,
                "total_contest": 0.2699,
                "won_contest": 0.0,
                "ball_recovery": 1.5998,
                "challenges_lost": 0.4514,
                "fouls": 0.2794,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goal_rate": 0.1396,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1206,
                "expected_assists": 0.0529,
                "shots_on_target": 0.2585,
                "big_chances_created": 0.1658,
                "xgot": 0.1428,
                "ball_carries": 4.3857,
                "total_progression": 20.2809,
                "progressive_carries": 0.659,
                "key_pass": 0.7412,
                "shots_off_target": 0.0,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 26.65,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.828,
                "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.508,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 17 by projected rating, fifa_overall 85.0; not used by the projection)",
              "stats": {
                "interceptions": 0.3393,
                "tackles": 0.8515,
                "tackles_won": 0.5628,
                "clearances": 0.9059,
                "aerial_won": 0.3089,
                "total_shots": 0.2585,
                "rating": 6.7341,
                "minutes": 26.65,
                "total_pass": 19.4395,
                "accurate_pass": 16.7823,
                "duels_won": 1.9339,
                "total_long_balls": 1.0343,
                "accurate_long_balls": 0.5654,
                "total_own_half_passes": 8.5894,
                "accurate_own_half_passes": 7.5843,
                "total_opp_half_passes": 10.85,
                "accurate_opp_half_passes": 9.198,
                "crosses_total": 0.6986,
                "crosses_accurate": 0.1408,
                "touches": 26.1164,
                "possession_lost": 3.4908,
                "dispossessed": 0.0,
                "duels_lost": 1.4012,
                "aerial_lost": 0.3152,
                "total_contest": 0.2699,
                "won_contest": 0.0,
                "ball_recovery": 1.5998,
                "challenges_lost": 0.4514,
                "fouls": 0.2794,
                "fouls_drawn": 0.0,
                "blocks": 0.0,
                "goal_rate": 0.1396,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1206,
                "expected_assists": 0.0529,
                "shots_on_target": 0.2585,
                "big_chances_created": 0.1658,
                "xgot": 0.1428,
                "ball_carries": 4.3857,
                "total_progression": 20.2809,
                "progressive_carries": 0.659,
                "key_pass": 0.7412,
                "shots_off_target": 0.0,
                "bench_appearance_probability": 0.508,
                "bench_expected_minutes": 26.65,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.828,
                "projected_substitution_game_state_adjustment": -1,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 85.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "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
              }
            }
          ]
        },
        "Federico Valverde": {
          "player_id": 831808,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 8,
          "height": 181,
          "market_value": 87000000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0325,
            "assist_rate": 0.0351,
            "assists": 0,
            "expected_goals": 0.0285,
            "goal_rate": 0.0491,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.9295,
            "minutes": 24,
            "total_pass": 43,
            "accurate_pass": 39,
            "duels_won": 2,
            "total_long_balls": 3,
            "accurate_long_balls": 2,
            "total_own_half_passes": 17,
            "accurate_own_half_passes": 16,
            "total_opp_half_passes": 26,
            "accurate_opp_half_passes": 23,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 51,
            "possession_lost": 5.0764,
            "dispossessed": 0.4179,
            "duels_lost": 1,
            "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": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0683,
            "ball_carries": 14,
            "total_progression": 45,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.343,
            "bench_expected_minutes": 23.75,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.828,
            "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": 87.0
          },
          "latest_10_games": [
            {
              "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"
            },
            {
              "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_goals": 0.1144,
                "expected_assists": 0.0877,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 55,
                "accurate_pass": 52,
                "clearances": 2,
                "duels_won": 1,
                "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": 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.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1129,
                "expected_assists": 0.0459,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 76,
                "accurate_pass": 71,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 3,
                "duels_won": 4,
                "ball_recovery": 8
              },
              "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": 11,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9295,
            "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"
            ],
            "bench_expected_minutes": 23.753540296122118,
            "bench_appearance_prob": 0.343,
            "market_value_adjustment": 1.0127,
            "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.0,
              "assists_per90": 0.3571428571428571,
              "prior_reliability": 0.1867
            },
            "rationale": "Bench projection scaled from XGBoost M_service (40 historical appearances) to 23.8 expected mins (appearance prob 0.34); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.4826,
                "expected_assists": 0.0389,
                "assists": 0.041,
                "assist_rate": 0.041,
                "expected_goals": 0.0341,
                "goals": 0.0596,
                "goal_rate": 0.0596,
                "shots_on_target": 0.1448,
                "total_shots": 0.4396,
                "rating": 6.9295,
                "minutes": 28.76,
                "total_pass": 51.2233,
                "accurate_pass": 46.8422,
                "duels_won": 2.835,
                "total_long_balls": 3.3041,
                "accurate_long_balls": 2.3222,
                "total_own_half_passes": 20.4734,
                "accurate_own_half_passes": 19.3243,
                "total_opp_half_passes": 30.7498,
                "accurate_opp_half_passes": 27.5178,
                "crosses_total": 0.2923,
                "crosses_accurate": 0.0654,
                "touches": 60.6056,
                "possession_lost": 6.0692,
                "dispossessed": 0.4127,
                "duels_lost": 1.7268,
                "aerial_won": 0.7263,
                "aerial_lost": 0.0708,
                "interceptions": 0.638,
                "tackles_won": 0.6625,
                "tackles": 0.8775,
                "clearances": 1.4373,
                "total_contest": 0.9209,
                "won_contest": 0.6385,
                "challenges_lost": 0.4827,
                "fouls": 0.4781,
                "fouls_drawn": 0.5927,
                "blocks": 0.2857,
                "big_chances_created": 0.0593,
                "big_chances_missed": 0.0003,
                "xgot": 0.0817,
                "ball_carries": 16.1988,
                "total_progression": 53.8957,
                "progressive_carries": 1.4087,
                "shots_off_target": 0.2948
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-10T10:05:58.420391+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": 0.0,
                  "totalShots": 1.0592,
                  "creative_index": 0.3177,
                  "expectedGoals": 0.0554,
                  "expectedAssists": 0.0716,
                  "onTargetScoringAttempt": 0.423
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.48258331418037415,
                    "model_output": 0.4826,
                    "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.355
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0496
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0294
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0231
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0194
                        }
                      ],
                      "others": 0.0267,
                      "total": 0.4826,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.511791
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.097945
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.062992
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.049757
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.04172
                        }
                      ],
                      "others_margin": 0.056904
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.038943853229284286,
                    "model_output": 0.0389,
                    "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.0351
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0099
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0028
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.002
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0016
                        }
                      ],
                      "others": 0.0005,
                      "total": 0.0389,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.526188
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.216241
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.071349
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.052523
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.041195
                        }
                      ],
                      "others_margin": 0.012864
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.04099080711603165,
                    "model_output": 0.041,
                    "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.0213
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0093
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0034
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0025
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0023
                        }
                      ],
                      "others": -0.0104,
                      "total": 0.041,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.288145
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.156836
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.064014
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.0481
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.043929
                        }
                      ],
                      "others_margin": -0.227178
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.03407840058207512,
                    "model_output": 0.0341,
                    "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.0422
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0051
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0049
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0038
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0033
                        }
                      ],
                      "others": -0.0184,
                      "total": 0.0341,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.593101
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.103556
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.099698
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.06969
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.060278
                        }
                      ],
                      "others_margin": -0.431625
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.05956253409385681,
                    "model_output": 0.0596,
                    "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.0333
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0071
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.005
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0049
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0041
                        }
                      ],
                      "others": -0.0078,
                      "total": 0.0596,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.417213
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.105095
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.067542
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.066718
                        },
                        {
                          "name": "duelLost",
                          "margin": -0.058439
                        }
                      ],
                      "others_margin": -0.12458
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.14477084577083588,
                    "model_output": 0.1448,
                    "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.1376
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0136
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0099
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0085
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0066
                        }
                      ],
                      "others": -0.0302,
                      "total": 0.1448,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.552936
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.070516
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.050604
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.045773
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.037144
                        }
                      ],
                      "others_margin": -0.189623
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4395655393600464,
                    "model_output": 0.4396,
                    "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.3901
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0491
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0381
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.021
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0204
                        }
                      ],
                      "others": -0.1304,
                      "total": 0.4396,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.390107
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.049137
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.038112
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.020964
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.020355
                        }
                      ],
                      "others_margin": -0.130498
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.929499626159668,
                    "model_output": 6.9295,
                    "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.0972
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0907
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0721
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0368
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0118
                        }
                      ],
                      "others": -0.023,
                      "total": 6.9295,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.097238
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.090703
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.072127
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.036761
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.011783
                        }
                      ],
                      "others_margin": -0.023011
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 40,
                  "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.0127, quality 0.887)",
              "stats": {
                "key_pass": 0.4887,
                "expected_assists": 0.0394,
                "assists": 0.0415,
                "assist_rate": 0.0415,
                "expected_goals": 0.0345,
                "goals": 0.0603,
                "goal_rate": 0.0603,
                "shots_on_target": 0.1466,
                "total_shots": 0.4452,
                "rating": 6.9295,
                "minutes": 28.76,
                "total_pass": 51.8738,
                "accurate_pass": 47.4371,
                "duels_won": 2.871,
                "total_long_balls": 3.3461,
                "accurate_long_balls": 2.3517,
                "total_own_half_passes": 20.7334,
                "accurate_own_half_passes": 19.5697,
                "total_opp_half_passes": 31.1403,
                "accurate_opp_half_passes": 27.8673,
                "crosses_total": 0.296,
                "crosses_accurate": 0.0662,
                "touches": 61.3753,
                "possession_lost": 6.1463,
                "dispossessed": 0.4179,
                "duels_lost": 1.7487,
                "aerial_won": 0.7355,
                "aerial_lost": 0.0717,
                "interceptions": 0.6461,
                "tackles_won": 0.6709,
                "tackles": 0.8886,
                "clearances": 1.4556,
                "total_contest": 0.9326,
                "won_contest": 0.6466,
                "challenges_lost": 0.4888,
                "fouls": 0.4842,
                "fouls_drawn": 0.6002,
                "blocks": 0.2893,
                "big_chances_created": 0.0601,
                "big_chances_missed": 0.0003,
                "xgot": 0.0827,
                "ball_carries": 16.4045,
                "total_progression": 54.5802,
                "progressive_carries": 1.4266,
                "shots_off_target": 0.2985
              },
              "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.4887,
                "expected_assists": 0.0394,
                "assists": 0.0425,
                "assist_rate": 0.0425,
                "expected_goals": 0.0345,
                "goals": 0.0595,
                "goal_rate": 0.0595,
                "shots_on_target": 0.1461,
                "total_shots": 0.4437,
                "rating": 6.9295,
                "minutes": 28.76,
                "total_pass": 51.8738,
                "accurate_pass": 47.4371,
                "duels_won": 2.871,
                "total_long_balls": 3.3461,
                "accurate_long_balls": 2.3517,
                "total_own_half_passes": 20.7334,
                "accurate_own_half_passes": 19.5697,
                "total_opp_half_passes": 31.1403,
                "accurate_opp_half_passes": 27.8673,
                "crosses_total": 0.2935,
                "crosses_accurate": 0.0662,
                "touches": 61.3753,
                "possession_lost": 6.1463,
                "dispossessed": 0.4179,
                "duels_lost": 1.7487,
                "aerial_won": 0.7355,
                "aerial_lost": 0.0717,
                "interceptions": 0.642,
                "tackles_won": 0.6695,
                "tackles": 0.8886,
                "clearances": 1.4556,
                "total_contest": 0.9326,
                "won_contest": 0.6466,
                "challenges_lost": 0.4888,
                "fouls": 0.4792,
                "fouls_drawn": 0.5921,
                "blocks": 0.2893,
                "big_chances_created": 0.0601,
                "big_chances_missed": 0.0003,
                "xgot": 0.0827,
                "ball_carries": 16.4045,
                "total_progression": 54.5802,
                "progressive_carries": 1.4266,
                "shots_off_target": 0.2985
              },
              "params": {
                "blend_weight": 0.0135,
                "history_matches": 40,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.3196,
                "prior_reliability": 0.1867,
                "competition": "La Liga",
                "squad": "Real Madrid"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 0.6002,
                  "after": 0.5921
                },
                {
                  "stat": "fouls",
                  "before": 0.4842,
                  "after": 0.4792
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 28.8 to 23.8 expected minutes (appearance prob 0.34)",
              "stats": {
                "key_pass": 0.4036,
                "expected_assists": 0.0325,
                "assists": 0.0351,
                "assist_rate": 0.0351,
                "expected_goals": 0.0285,
                "goals": 0.0491,
                "goal_rate": 0.0491,
                "shots_on_target": 0.1207,
                "total_shots": 0.3672,
                "rating": 6.9295,
                "minutes": 23.75,
                "total_pass": 42.8438,
                "accurate_pass": 39.1794,
                "duels_won": 2.3712,
                "total_long_balls": 2.7636,
                "accurate_long_balls": 1.9423,
                "total_own_half_passes": 17.1242,
                "accurate_own_half_passes": 16.1631,
                "total_opp_half_passes": 25.7195,
                "accurate_opp_half_passes": 23.0162,
                "crosses_total": 0.2424,
                "crosses_accurate": 0.0547,
                "touches": 50.6913,
                "possession_lost": 5.0764,
                "dispossessed": 0.4179,
                "duels_lost": 1.4443,
                "aerial_won": 0.6075,
                "aerial_lost": 0.0717,
                "interceptions": 0.5302,
                "tackles_won": 0.553,
                "tackles": 0.7339,
                "clearances": 1.2022,
                "total_contest": 0.7703,
                "won_contest": 0.534,
                "challenges_lost": 0.4888,
                "fouls": 0.3958,
                "fouls_drawn": 0.489,
                "blocks": 0.2389,
                "big_chances_created": 0.0496,
                "big_chances_missed": 0.0002,
                "xgot": 0.0683,
                "ball_carries": 13.5489,
                "total_progression": 45.079,
                "progressive_carries": 1.1783,
                "shots_off_target": 0.2465,
                "bench_appearance_probability": 0.343,
                "bench_expected_minutes": 23.75
              },
              "params": {
                "expected_minutes": 23.75,
                "projection_minutes": 28.76,
                "minutes_scale": 0.8259,
                "appearance_probability": 0.343
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.4036,
                "expected_assists": 0.0325,
                "assists": 0.0351,
                "assist_rate": 0.0351,
                "expected_goals": 0.0285,
                "goals": 0.0491,
                "goal_rate": 0.0491,
                "shots_on_target": 0.1207,
                "total_shots": 0.3672,
                "rating": 6.9295,
                "minutes": 23.75,
                "total_pass": 42.8438,
                "accurate_pass": 39.1794,
                "duels_won": 2.3712,
                "total_long_balls": 2.7636,
                "accurate_long_balls": 1.9423,
                "total_own_half_passes": 17.1242,
                "accurate_own_half_passes": 16.1631,
                "total_opp_half_passes": 25.7195,
                "accurate_opp_half_passes": 23.0162,
                "crosses_total": 0.2424,
                "crosses_accurate": 0.0547,
                "touches": 50.6913,
                "possession_lost": 5.0764,
                "dispossessed": 0.4179,
                "duels_lost": 1.4443,
                "aerial_won": 0.6075,
                "aerial_lost": 0.0717,
                "interceptions": 0.5302,
                "tackles_won": 0.553,
                "tackles": 0.7339,
                "clearances": 1.2022,
                "total_contest": 0.7703,
                "won_contest": 0.534,
                "challenges_lost": 0.4888,
                "fouls": 0.3958,
                "fouls_drawn": 0.489,
                "blocks": 0.2389,
                "big_chances_created": 0.0496,
                "big_chances_missed": 0.0002,
                "xgot": 0.0683,
                "ball_carries": 13.5489,
                "total_progression": 45.079,
                "progressive_carries": 1.1783,
                "shots_off_target": 0.2465,
                "bench_appearance_probability": 0.343,
                "bench_expected_minutes": 23.75
              },
              "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.4036,
                "expected_assists": 0.0325,
                "assist_rate": 0.0351,
                "assists": 0,
                "expected_goals": 0.0285,
                "goal_rate": 0.0491,
                "goals": 0,
                "shots_on_target": 0.1207,
                "total_shots": 0.3672,
                "rating": 6.9295,
                "minutes": 23.75,
                "total_pass": 42.8438,
                "accurate_pass": 39.1794,
                "duels_won": 2.3712,
                "total_long_balls": 2.7636,
                "accurate_long_balls": 1.9423,
                "total_own_half_passes": 17.1242,
                "accurate_own_half_passes": 16.1631,
                "total_opp_half_passes": 25.7195,
                "accurate_opp_half_passes": 23.0162,
                "crosses_total": 0.2424,
                "crosses_accurate": 0.0547,
                "touches": 50.6913,
                "possession_lost": 5.0764,
                "dispossessed": 0.4179,
                "duels_lost": 1.4443,
                "aerial_won": 0.6075,
                "aerial_lost": 0.0717,
                "interceptions": 0.5302,
                "tackles_won": 0.553,
                "tackles": 0.7339,
                "clearances": 1.2022,
                "total_contest": 0.7703,
                "won_contest": 0.534,
                "challenges_lost": 0.4888,
                "fouls": 0.3958,
                "fouls_drawn": 0.489,
                "blocks": 0.2389,
                "big_chances_created": 0.0496,
                "big_chances_missed": 0.0002,
                "xgot": 0.0683,
                "ball_carries": 13.5489,
                "total_progression": 45.079,
                "progressive_carries": 1.1783,
                "shots_off_target": 0.2465,
                "bench_appearance_probability": 0.343,
                "bench_expected_minutes": 23.75,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.828,
                "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.343,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 11 by projected rating, fifa_overall 87.0; not used by the projection)",
              "stats": {
                "key_pass": 0.4036,
                "expected_assists": 0.0325,
                "assist_rate": 0.0351,
                "assists": 0,
                "expected_goals": 0.0285,
                "goal_rate": 0.0491,
                "goals": 0,
                "shots_on_target": 0.1207,
                "total_shots": 0.3672,
                "rating": 6.9295,
                "minutes": 23.75,
                "total_pass": 42.8438,
                "accurate_pass": 39.1794,
                "duels_won": 2.3712,
                "total_long_balls": 2.7636,
                "accurate_long_balls": 1.9423,
                "total_own_half_passes": 17.1242,
                "accurate_own_half_passes": 16.1631,
                "total_opp_half_passes": 25.7195,
                "accurate_opp_half_passes": 23.0162,
                "crosses_total": 0.2424,
                "crosses_accurate": 0.0547,
                "touches": 50.6913,
                "possession_lost": 5.0764,
                "dispossessed": 0.4179,
                "duels_lost": 1.4443,
                "aerial_won": 0.6075,
                "aerial_lost": 0.0717,
                "interceptions": 0.5302,
                "tackles_won": 0.553,
                "tackles": 0.7339,
                "clearances": 1.2022,
                "total_contest": 0.7703,
                "won_contest": 0.534,
                "challenges_lost": 0.4888,
                "fouls": 0.3958,
                "fouls_drawn": 0.489,
                "blocks": 0.2389,
                "big_chances_created": 0.0496,
                "big_chances_missed": 0.0002,
                "xgot": 0.0683,
                "ball_carries": 13.5489,
                "total_progression": 45.079,
                "progressive_carries": 1.1783,
                "shots_off_target": 0.2465,
                "bench_appearance_probability": 0.343,
                "bench_expected_minutes": 23.75,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.828,
                "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": 87.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": 46,
                "fifa_rank": 52.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 87.0
              }
            }
          ]
        },
        "Eduardo Camavinga": {
          "player_id": 973887,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 6,
          "height": 182,
          "market_value": 48000000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0161,
            "assist_rate": 0.0207,
            "assists": 0,
            "expected_goals": 0.0113,
            "goal_rate": 0.0213,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.8407,
            "minutes": 17,
            "total_pass": 14,
            "accurate_pass": 13,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_own_half_passes": 6,
            "accurate_own_half_passes": 5,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 7,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 18,
            "possession_lost": 1.4752,
            "dispossessed": 0.0519,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "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.0,
            "ball_carries": 4,
            "total_progression": 24,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.594,
            "bench_expected_minutes": 17.16,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.828,
            "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_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"
            },
            {
              "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": 70,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1663,
                "total_shots": 0,
                "total_pass": 46,
                "accurate_pass": 44,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "duels_won": 5,
                "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": 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": 12,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0012,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 11,
                "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": 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": 14,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8407,
            "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"
            ],
            "bench_expected_minutes": 17.16,
            "bench_appearance_prob": 0.594,
            "market_value_adjustment": 1.0117,
            "fbref_prior_metrics": {
              "squad": "Real Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 12.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0867
            },
            "rationale": "Bench projection scaled from XGBoost M_service (35 historical appearances) to 17.2 expected mins (appearance prob 0.59); FBref playing time empirical prior: 2.0 sub appearances, 12.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.2701,
                "expected_assists": 0.0203,
                "assists": 0.0264,
                "assist_rate": 0.0264,
                "expected_goals": 0.0143,
                "goals": 0.0271,
                "goal_rate": 0.0271,
                "shots_on_target": 0.0541,
                "total_shots": 0.1783,
                "rating": 6.8407,
                "minutes": 21.96,
                "total_pass": 17.3402,
                "accurate_pass": 16.0655,
                "duels_won": 2.1745,
                "total_long_balls": 1.1491,
                "accurate_long_balls": 0.8005,
                "total_own_half_passes": 6.9975,
                "accurate_own_half_passes": 6.6136,
                "total_opp_half_passes": 10.3427,
                "accurate_opp_half_passes": 9.4519,
                "crosses_total": 0.014,
                "crosses_accurate": 0.0,
                "touches": 22.6611,
                "possession_lost": 1.8661,
                "dispossessed": 0.0513,
                "duels_lost": 1.0774,
                "aerial_won": 0.2896,
                "aerial_lost": 0.1311,
                "interceptions": 0.3362,
                "tackles_won": 0.6075,
                "tackles": 1.2886,
                "clearances": 0.512,
                "total_contest": 0.228,
                "won_contest": 0.1345,
                "challenges_lost": 0.2256,
                "fouls": 0.6272,
                "fouls_drawn": 0.4618,
                "blocks": 0.6222,
                "big_chances_created": 0.0268,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.3976,
                "total_progression": 30.7335,
                "progressive_carries": 0.5739,
                "shots_off_target": 0.1242
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-10T10:05:58.420391+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": 0.0,
                  "totalShots": 0.1393,
                  "creative_index": 0.1009,
                  "expectedGoals": 0.0073,
                  "expectedAssists": 0.042,
                  "onTargetScoringAttempt": 0.0073
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.27007195353507996,
                    "model_output": 0.2701,
                    "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.4021
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0554
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0409
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.022
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0195
                        }
                      ],
                      "others": -0.0762,
                      "total": 0.2701,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.604592
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.121461
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.100172
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.05835
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.054727
                        }
                      ],
                      "others_margin": -0.248948
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.020335761830210686,
                    "model_output": 0.0203,
                    "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.0387
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0102
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0043
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.003
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0021
                        }
                      ],
                      "others": -0.0072,
                      "total": 0.0203,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.599548
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.245277
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.125475
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.09667
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.072846
                        }
                      ],
                      "others_margin": -0.299511
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.02637575753033161,
                    "model_output": 0.0264,
                    "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.0196
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0151
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0064
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0044
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0032
                        }
                      ],
                      "others": -0.0101,
                      "total": 0.0264,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.261121
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.260568
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.135805
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.1046
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.084903
                        }
                      ],
                      "others_margin": -0.325909
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.014332550577819347,
                    "model_output": 0.0143,
                    "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.0399
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0177
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.011
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0034
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0016
                        }
                      ],
                      "others": -0.0065,
                      "total": 0.0143,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.549537
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.393627
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.354145
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.141049
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.075217
                        }
                      ],
                      "others_margin": -0.371731
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.027089135721325874,
                    "model_output": 0.0271,
                    "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.0297
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.017
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0102
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0038
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0035
                        }
                      ],
                      "others": -0.0133,
                      "total": 0.0271,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.362516
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.287643
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.222789
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.096538
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.089798
                        }
                      ],
                      "others_margin": -0.40252
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.054070789366960526,
                    "model_output": 0.0541,
                    "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.1427
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.061
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0243
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0135
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0036
                        }
                      ],
                      "others": -0.0248,
                      "total": 0.0541,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.580537
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.410305
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.22601
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.15211
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.044339
                        }
                      ],
                      "others_margin": -0.377121
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.17826160788536072,
                    "model_output": 0.1783,
                    "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.3004
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.2316
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0398
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0328
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0273
                        }
                      ],
                      "others": -0.1803,
                      "total": 0.1783,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.300356
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.231601
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.039785
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.032757
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.027327
                        }
                      ],
                      "others_margin": -0.180378
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.840709686279297,
                    "model_output": 6.8407,
                    "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.0922
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0755
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0216
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0182
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0085
                        }
                      ],
                      "others": -0.0228,
                      "total": 6.8407,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.092188
                        },
                        {
                          "name": "rating",
                          "margin": 0.075545
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.021612
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.018174
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.008527
                        }
                      ],
                      "others_margin": -0.022776
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 35,
                  "role_matches": 17,
                  "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.2732,
                "expected_assists": 0.0206,
                "assists": 0.0267,
                "assist_rate": 0.0267,
                "expected_goals": 0.0145,
                "goals": 0.0274,
                "goal_rate": 0.0274,
                "shots_on_target": 0.0547,
                "total_shots": 0.1804,
                "rating": 6.8407,
                "minutes": 21.96,
                "total_pass": 17.5431,
                "accurate_pass": 16.2535,
                "duels_won": 2.1999,
                "total_long_balls": 1.1625,
                "accurate_long_balls": 0.8099,
                "total_own_half_passes": 7.0794,
                "accurate_own_half_passes": 6.691,
                "total_opp_half_passes": 10.4637,
                "accurate_opp_half_passes": 9.5625,
                "crosses_total": 0.0142,
                "crosses_accurate": 0.0,
                "touches": 22.9262,
                "possession_lost": 1.8879,
                "dispossessed": 0.0519,
                "duels_lost": 1.09,
                "aerial_won": 0.293,
                "aerial_lost": 0.1326,
                "interceptions": 0.3401,
                "tackles_won": 0.6146,
                "tackles": 1.3037,
                "clearances": 0.518,
                "total_contest": 0.2307,
                "won_contest": 0.1361,
                "challenges_lost": 0.2282,
                "fouls": 0.6345,
                "fouls_drawn": 0.4672,
                "blocks": 0.6295,
                "big_chances_created": 0.0271,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.4608,
                "total_progression": 31.0931,
                "progressive_carries": 0.5806,
                "shots_off_target": 0.1257
              },
              "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.2732,
                "expected_assists": 0.0206,
                "assists": 0.0265,
                "assist_rate": 0.0265,
                "expected_goals": 0.0145,
                "goals": 0.0272,
                "goal_rate": 0.0272,
                "shots_on_target": 0.0543,
                "total_shots": 0.1791,
                "rating": 6.8407,
                "minutes": 21.96,
                "total_pass": 17.5431,
                "accurate_pass": 16.2535,
                "duels_won": 2.1999,
                "total_long_balls": 1.1625,
                "accurate_long_balls": 0.8099,
                "total_own_half_passes": 7.0794,
                "accurate_own_half_passes": 6.691,
                "total_opp_half_passes": 10.4637,
                "accurate_opp_half_passes": 9.5625,
                "crosses_total": 0.0141,
                "crosses_accurate": 0.0,
                "touches": 22.9262,
                "possession_lost": 1.8879,
                "dispossessed": 0.0519,
                "duels_lost": 1.09,
                "aerial_won": 0.293,
                "aerial_lost": 0.1326,
                "interceptions": 0.3417,
                "tackles_won": 0.6129,
                "tackles": 1.3037,
                "clearances": 0.518,
                "total_contest": 0.2307,
                "won_contest": 0.1361,
                "challenges_lost": 0.2282,
                "fouls": 0.634,
                "fouls_drawn": 0.4639,
                "blocks": 0.6295,
                "big_chances_created": 0.0271,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.4608,
                "total_progression": 31.0931,
                "progressive_carries": 0.5806,
                "shots_off_target": 0.1257
              },
              "params": {
                "blend_weight": 0.007,
                "history_matches": 35,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.244,
                "prior_reliability": 0.0867,
                "competition": "La Liga",
                "squad": "Real Madrid"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 22.0 to 17.2 expected minutes (appearance prob 0.59)",
              "stats": {
                "key_pass": 0.2135,
                "expected_assists": 0.0161,
                "assists": 0.0207,
                "assist_rate": 0.0207,
                "expected_goals": 0.0113,
                "goals": 0.0213,
                "goal_rate": 0.0213,
                "shots_on_target": 0.0424,
                "total_shots": 0.1407,
                "rating": 6.8407,
                "minutes": 17.16,
                "total_pass": 13.7085,
                "accurate_pass": 12.7008,
                "duels_won": 1.719,
                "total_long_balls": 0.9084,
                "accurate_long_balls": 0.6329,
                "total_own_half_passes": 5.532,
                "accurate_own_half_passes": 5.2285,
                "total_opp_half_passes": 8.1766,
                "accurate_opp_half_passes": 7.4723,
                "crosses_total": 0.011,
                "crosses_accurate": 0.0,
                "touches": 17.915,
                "possession_lost": 1.4752,
                "dispossessed": 0.0519,
                "duels_lost": 0.8517,
                "aerial_won": 0.229,
                "aerial_lost": 0.1326,
                "interceptions": 0.267,
                "tackles_won": 0.4789,
                "tackles": 1.0187,
                "clearances": 0.4048,
                "total_contest": 0.1803,
                "won_contest": 0.1064,
                "challenges_lost": 0.2282,
                "fouls": 0.4954,
                "fouls_drawn": 0.3625,
                "blocks": 0.4919,
                "big_chances_created": 0.0212,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.2672,
                "total_progression": 24.2968,
                "progressive_carries": 0.4537,
                "shots_off_target": 0.0982,
                "bench_appearance_probability": 0.594,
                "bench_expected_minutes": 17.16
              },
              "params": {
                "expected_minutes": 17.16,
                "projection_minutes": 21.96,
                "minutes_scale": 0.7814,
                "appearance_probability": 0.594
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.2135,
                "expected_assists": 0.0161,
                "assists": 0.0207,
                "assist_rate": 0.0207,
                "expected_goals": 0.0113,
                "goals": 0.0213,
                "goal_rate": 0.0213,
                "shots_on_target": 0.0424,
                "total_shots": 0.1407,
                "rating": 6.8407,
                "minutes": 17.16,
                "total_pass": 13.7085,
                "accurate_pass": 12.7008,
                "duels_won": 1.719,
                "total_long_balls": 0.9084,
                "accurate_long_balls": 0.6329,
                "total_own_half_passes": 5.532,
                "accurate_own_half_passes": 5.2285,
                "total_opp_half_passes": 8.1766,
                "accurate_opp_half_passes": 7.4723,
                "crosses_total": 0.011,
                "crosses_accurate": 0.0,
                "touches": 17.915,
                "possession_lost": 1.4752,
                "dispossessed": 0.0519,
                "duels_lost": 0.8517,
                "aerial_won": 0.229,
                "aerial_lost": 0.1326,
                "interceptions": 0.267,
                "tackles_won": 0.4789,
                "tackles": 1.0187,
                "clearances": 0.4048,
                "total_contest": 0.1803,
                "won_contest": 0.1064,
                "challenges_lost": 0.2282,
                "fouls": 0.4954,
                "fouls_drawn": 0.3625,
                "blocks": 0.4919,
                "big_chances_created": 0.0212,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.2672,
                "total_progression": 24.2968,
                "progressive_carries": 0.4537,
                "shots_off_target": 0.0982,
                "bench_appearance_probability": 0.594,
                "bench_expected_minutes": 17.16
              },
              "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.2135,
                "expected_assists": 0.0161,
                "assist_rate": 0.0207,
                "assists": 0,
                "expected_goals": 0.0113,
                "goal_rate": 0.0213,
                "goals": 0,
                "shots_on_target": 0.0424,
                "total_shots": 0.1407,
                "rating": 6.8407,
                "minutes": 17.16,
                "total_pass": 13.7085,
                "accurate_pass": 12.7008,
                "duels_won": 1.719,
                "total_long_balls": 0.9084,
                "accurate_long_balls": 0.6329,
                "total_own_half_passes": 5.532,
                "accurate_own_half_passes": 5.2285,
                "total_opp_half_passes": 8.1766,
                "accurate_opp_half_passes": 7.4723,
                "crosses_total": 0.011,
                "crosses_accurate": 0.0,
                "touches": 17.915,
                "possession_lost": 1.4752,
                "dispossessed": 0.0519,
                "duels_lost": 0.8517,
                "aerial_won": 0.229,
                "aerial_lost": 0.1326,
                "interceptions": 0.267,
                "tackles_won": 0.4789,
                "tackles": 1.0187,
                "clearances": 0.4048,
                "total_contest": 0.1803,
                "won_contest": 0.1064,
                "challenges_lost": 0.2282,
                "fouls": 0.4954,
                "fouls_drawn": 0.3625,
                "blocks": 0.4919,
                "big_chances_created": 0.0212,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.2672,
                "total_progression": 24.2968,
                "progressive_carries": 0.4537,
                "shots_off_target": 0.0982,
                "bench_appearance_probability": 0.594,
                "bench_expected_minutes": 17.16,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.828,
                "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.594,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 14 by projected rating, fifa_overall 81.0; not used by the projection)",
              "stats": {
                "key_pass": 0.2135,
                "expected_assists": 0.0161,
                "assist_rate": 0.0207,
                "assists": 0,
                "expected_goals": 0.0113,
                "goal_rate": 0.0213,
                "goals": 0,
                "shots_on_target": 0.0424,
                "total_shots": 0.1407,
                "rating": 6.8407,
                "minutes": 17.16,
                "total_pass": 13.7085,
                "accurate_pass": 12.7008,
                "duels_won": 1.719,
                "total_long_balls": 0.9084,
                "accurate_long_balls": 0.6329,
                "total_own_half_passes": 5.532,
                "accurate_own_half_passes": 5.2285,
                "total_opp_half_passes": 8.1766,
                "accurate_opp_half_passes": 7.4723,
                "crosses_total": 0.011,
                "crosses_accurate": 0.0,
                "touches": 17.915,
                "possession_lost": 1.4752,
                "dispossessed": 0.0519,
                "duels_lost": 0.8517,
                "aerial_won": 0.229,
                "aerial_lost": 0.1326,
                "interceptions": 0.267,
                "tackles_won": 0.4789,
                "tackles": 1.0187,
                "clearances": 0.4048,
                "total_contest": 0.1803,
                "won_contest": 0.1064,
                "challenges_lost": 0.2282,
                "fouls": 0.4954,
                "fouls_drawn": 0.3625,
                "blocks": 0.4919,
                "big_chances_created": 0.0212,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.2672,
                "total_progression": 24.2968,
                "progressive_carries": 0.4537,
                "shots_off_target": 0.0982,
                "bench_appearance_probability": 0.594,
                "bench_expected_minutes": 17.16,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.828,
                "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": 956,
                "fifa_rank": 578.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 81.0
              }
            }
          ]
        },
        "Yan Diomande": {
          "player_id": 2087085,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 25,
          "height": 180,
          "market_value": 99000000,
          "stats": {
            "expected_goals": 0.0852,
            "goal_rate": 0.0547,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.1401,
            "key_pass": 0,
            "rating": 6.747,
            "minutes": 23,
            "total_pass": 10,
            "accurate_pass": 9,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 7,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 19,
            "possession_lost": 5.3468,
            "dispossessed": 0.4563,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 3,
            "won_contest": 2,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "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.0089,
            "offsides": 0,
            "ball_carries": 8,
            "total_progression": 37,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.756,
            "bench_expected_minutes": 23.19,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.828,
            "projected_substitution_game_state_adjustment": -1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0617,
            "projected_assists": 0,
            "assist_probability": 0.0988,
            "finishing_factor": 1.0418,
            "creation_factor": 0.8,
            "fifa_overall": 84.0
          },
          "latest_10_games": [
            {
              "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": 16,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.747,
            "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"
            ],
            "bench_expected_minutes": 23.19,
            "bench_appearance_prob": 0.756,
            "market_value_adjustment": 1.0485,
            "fbref_prior_metrics": {
              "squad": "Real Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 0.0,
              "sub_appearances": 3.0,
              "minutes_per_sub": 20.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0467
            },
            "rationale": "Bench projection scaled from XGBoost F_service (7 historical appearances) to 23.2 expected mins (appearance prob 0.76); FBref playing time empirical prior: 3.0 sub appearances, 20.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0503,
                "goals": 0.055,
                "goal_rate": 0.055,
                "shots_on_target": 0.1915,
                "total_shots": 0.5501,
                "expected_assists": 0.071,
                "key_pass": 0.4956,
                "rating": 6.747,
                "minutes": 24.18,
                "total_pass": 10.2576,
                "accurate_pass": 8.6972,
                "duels_won": 3.3227,
                "total_long_balls": 0.3063,
                "accurate_long_balls": 0.1407,
                "total_opp_half_passes": 8.0448,
                "accurate_opp_half_passes": 6.4844,
                "crosses_total": 1.3159,
                "crosses_accurate": 0.37,
                "touches": 19.2869,
                "possession_lost": 5.3172,
                "dispossessed": 0.4352,
                "duels_lost": 1.7144,
                "aerial_lost": 0.0,
                "total_contest": 2.6297,
                "won_contest": 1.8089,
                "ball_recovery": 0.7304,
                "challenges_lost": 0.2292,
                "fouls": 0.2292,
                "fouls_drawn": 1.3482,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2696,
                "xgot": 0.0052,
                "offsides": 0.2696,
                "ball_carries": 7.4795,
                "total_progression": 36.9375,
                "progressive_carries": 0.5879,
                "shots_off_target": 0.3586
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-10T10:06:30.670657+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": 0.0,
                  "expectedGoals": 0.0403,
                  "totalOppositionHalfPasses": 12.5541,
                  "accurateOppositionHalfPasses": 9.9371,
                  "accuratePass": 13.2778,
                  "totalShots": 0.5679
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.05026797950267792,
                    "model_output": 0.0503,
                    "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.0815
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0211
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0076
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.005
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0047
                        }
                      ],
                      "others": -0.0288,
                      "total": 0.0503,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.52731
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.198328
                        },
                        {
                          "name": "goals",
                          "margin": -0.082528
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.058026
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.058017
                        }
                      ],
                      "others_margin": -0.451499
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.05502922460436821,
                    "model_output": 0.055,
                    "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.0831
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.021
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0092
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0081
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0059
                        }
                      ],
                      "others": -0.0214,
                      "total": 0.055,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.523687
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.191552
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.097141
                        },
                        {
                          "name": "goals",
                          "margin": -0.093252
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.074123
                        }
                      ],
                      "others_margin": -0.329271
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.1914612501859665,
                    "model_output": 0.1915,
                    "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.2132
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0347
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0194
                        },
                        {
                          "name": "goals",
                          "contribution": -0.016
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0137
                        }
                      ],
                      "others": -0.0485,
                      "total": 0.1915,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.505849
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.113223
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.069393
                        },
                        {
                          "name": "goals",
                          "margin": -0.061188
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.055483
                        }
                      ],
                      "others_margin": -0.226139
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5500918626785278,
                    "model_output": 0.5501,
                    "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.4491
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1397
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0613
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0585
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0414
                        }
                      ],
                      "others": -0.1614,
                      "total": 0.5501,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.449087
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.139688
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.061341
                        },
                        {
                          "name": "goals",
                          "margin": -0.058526
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.041374
                        }
                      ],
                      "others_margin": -0.161346
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.07099758833646774,
                    "model_output": 0.071,
                    "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.0205
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0076
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0059
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0041
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0031
                        }
                      ],
                      "others": 0.0127,
                      "total": 0.071,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.385058
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.159379
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.10921
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.068727
                        },
                        {
                          "name": "duelWon_p90",
                          "margin": -0.051616
                        }
                      ],
                      "others_margin": 0.198702
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.495648056268692,
                    "model_output": 0.4956,
                    "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": "accurateOppositionHalfPasses",
                          "contribution": 0.0292
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0266
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0196
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0198
                        }
                      ],
                      "others": 0.0151,
                      "total": 0.4956,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.55919
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.073066
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.062301
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.043431
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.042117
                        }
                      ],
                      "others_margin": 0.030945
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.747036933898926,
                    "model_output": 6.747,
                    "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.076
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.02
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0195
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0106
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0104
                        }
                      ],
                      "others": 0.0403,
                      "total": 6.747,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.075973
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.019995
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.019462
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.010554
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.010388
                        }
                      ],
                      "others_margin": 0.040439
                    }
                  }
                ],
                "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.0485, quality 0.893)",
              "stats": {
                "expected_goals": 0.0527,
                "goals": 0.0577,
                "goal_rate": 0.0577,
                "shots_on_target": 0.2007,
                "total_shots": 0.5768,
                "expected_assists": 0.0744,
                "key_pass": 0.5197,
                "rating": 6.747,
                "minutes": 24.18,
                "total_pass": 10.7551,
                "accurate_pass": 9.119,
                "duels_won": 3.4839,
                "total_long_balls": 0.3212,
                "accurate_long_balls": 0.1475,
                "total_opp_half_passes": 8.435,
                "accurate_opp_half_passes": 6.7989,
                "crosses_total": 1.3797,
                "crosses_accurate": 0.3879,
                "touches": 20.2223,
                "possession_lost": 5.5751,
                "dispossessed": 0.4563,
                "duels_lost": 1.7975,
                "aerial_lost": 0.0,
                "total_contest": 2.7572,
                "won_contest": 1.8966,
                "ball_recovery": 0.7658,
                "challenges_lost": 0.2403,
                "fouls": 0.2403,
                "fouls_drawn": 1.4136,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2827,
                "xgot": 0.0055,
                "offsides": 0.2827,
                "ball_carries": 7.8423,
                "total_progression": 38.729,
                "progressive_carries": 0.6164,
                "shots_off_target": 0.376
              },
              "params": {
                "market_value_eur": 99000000,
                "quality_factor": 0.893,
                "boost_factor": 1.0485,
                "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.0527,
                "goals": 0.057,
                "goal_rate": 0.057,
                "shots_on_target": 0.1982,
                "total_shots": 0.5695,
                "expected_assists": 0.0744,
                "key_pass": 0.5197,
                "rating": 6.747,
                "minutes": 24.18,
                "total_pass": 10.7551,
                "accurate_pass": 9.119,
                "duels_won": 3.4839,
                "total_long_balls": 0.3212,
                "accurate_long_balls": 0.1475,
                "total_opp_half_passes": 8.435,
                "accurate_opp_half_passes": 6.7989,
                "crosses_total": 1.3817,
                "crosses_accurate": 0.3879,
                "touches": 20.2223,
                "possession_lost": 5.5751,
                "dispossessed": 0.4563,
                "duels_lost": 1.7975,
                "aerial_lost": 0.0,
                "total_contest": 2.7572,
                "won_contest": 1.8966,
                "ball_recovery": 0.7658,
                "challenges_lost": 0.2403,
                "fouls": 0.2373,
                "fouls_drawn": 1.3957,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2827,
                "xgot": 0.0055,
                "offsides": 0.2791,
                "ball_carries": 7.8423,
                "total_progression": 38.729,
                "progressive_carries": 0.6164,
                "shots_off_target": 0.376
              },
              "params": {
                "blend_weight": 0.0126,
                "history_matches": 7,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2687,
                "prior_reliability": 0.0467,
                "competition": "La Liga",
                "squad": "Real Madrid"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 1.4136,
                  "after": 1.3957
                },
                {
                  "stat": "totalShots",
                  "before": 0.5768,
                  "after": 0.5695
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 24.2 to 23.2 expected minutes (appearance prob 0.76)",
              "stats": {
                "expected_goals": 0.0505,
                "goals": 0.0547,
                "goal_rate": 0.0547,
                "shots_on_target": 0.1901,
                "total_shots": 0.5507,
                "expected_assists": 0.0714,
                "key_pass": 0.4984,
                "rating": 6.747,
                "minutes": 23.19,
                "total_pass": 10.3148,
                "accurate_pass": 8.7456,
                "duels_won": 3.3413,
                "total_long_balls": 0.308,
                "accurate_long_balls": 0.1415,
                "total_opp_half_passes": 8.0896,
                "accurate_opp_half_passes": 6.5205,
                "crosses_total": 1.3251,
                "crosses_accurate": 0.372,
                "touches": 19.3943,
                "possession_lost": 5.3468,
                "dispossessed": 0.4563,
                "duels_lost": 1.7239,
                "aerial_lost": 0.0,
                "total_contest": 2.6443,
                "won_contest": 1.8189,
                "ball_recovery": 0.7344,
                "challenges_lost": 0.2403,
                "fouls": 0.2276,
                "fouls_drawn": 1.3386,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2711,
                "xgot": 0.0053,
                "offsides": 0.2791,
                "ball_carries": 7.5212,
                "total_progression": 37.1433,
                "progressive_carries": 0.5912,
                "shots_off_target": 0.3606,
                "bench_appearance_probability": 0.756,
                "bench_expected_minutes": 23.19
              },
              "params": {
                "expected_minutes": 23.19,
                "projection_minutes": 24.18,
                "minutes_scale": 0.9591,
                "appearance_probability": 0.756
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0505,
                "goals": 0.0547,
                "goal_rate": 0.0547,
                "shots_on_target": 0.1901,
                "total_shots": 0.5507,
                "expected_assists": 0.0714,
                "key_pass": 0.4984,
                "rating": 6.747,
                "minutes": 23.19,
                "total_pass": 10.3148,
                "accurate_pass": 8.7456,
                "duels_won": 3.3413,
                "total_long_balls": 0.308,
                "accurate_long_balls": 0.1415,
                "total_opp_half_passes": 8.0896,
                "accurate_opp_half_passes": 6.5205,
                "crosses_total": 1.3251,
                "crosses_accurate": 0.372,
                "touches": 19.3943,
                "possession_lost": 5.3468,
                "dispossessed": 0.4563,
                "duels_lost": 1.7239,
                "aerial_lost": 0.0,
                "total_contest": 2.6443,
                "won_contest": 1.8189,
                "ball_recovery": 0.7344,
                "challenges_lost": 0.2403,
                "fouls": 0.2276,
                "fouls_drawn": 1.3386,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2711,
                "xgot": 0.0053,
                "offsides": 0.2791,
                "ball_carries": 7.5212,
                "total_progression": 37.1433,
                "progressive_carries": 0.5912,
                "shots_off_target": 0.3606,
                "bench_appearance_probability": 0.756,
                "bench_expected_minutes": 23.19
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 3.39 (squad xG sum 2.0121, xG scale 1.6868, xA scale 1.9624, team xA 2.21 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0852,
                "goal_rate": 0.0547,
                "goals": 0,
                "shots_on_target": 0.1901,
                "total_shots": 0.5507,
                "expected_assists": 0.1401,
                "key_pass": 0.4984,
                "rating": 6.747,
                "minutes": 23.19,
                "total_pass": 10.3148,
                "accurate_pass": 8.7456,
                "duels_won": 3.3413,
                "total_long_balls": 0.308,
                "accurate_long_balls": 0.1415,
                "total_opp_half_passes": 8.0896,
                "accurate_opp_half_passes": 6.5205,
                "crosses_total": 1.3251,
                "crosses_accurate": 0.372,
                "touches": 19.3943,
                "possession_lost": 5.3468,
                "dispossessed": 0.4563,
                "duels_lost": 1.7239,
                "aerial_lost": 0.0,
                "total_contest": 2.6443,
                "won_contest": 1.8189,
                "ball_recovery": 0.7344,
                "challenges_lost": 0.2403,
                "fouls": 0.2276,
                "fouls_drawn": 1.3386,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2711,
                "xgot": 0.0089,
                "offsides": 0.2791,
                "ball_carries": 7.5212,
                "total_progression": 37.1433,
                "progressive_carries": 0.5912,
                "shots_off_target": 0.3606,
                "bench_appearance_probability": 0.756,
                "bench_expected_minutes": 23.19,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.828,
                "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": 1.0418,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 3.394,
                "squad_xg_sum": 2.0121,
                "squad_xa_sum": 1.1242,
                "team_expected_assists": 2.2061,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.6868,
                "xa_scale": 1.9624,
                "opponent_lambda": 1.744,
                "scoreline_reset": true,
                "appearance_weight": 0.756
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0505,
                  "after": 0.0852
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0714,
                  "after": 0.1401
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 16 by projected rating, fifa_overall 84.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.0852,
                "goal_rate": 0.0547,
                "goals": 0,
                "shots_on_target": 0.1901,
                "total_shots": 0.5507,
                "expected_assists": 0.1401,
                "key_pass": 0.4984,
                "rating": 6.747,
                "minutes": 23.19,
                "total_pass": 10.3148,
                "accurate_pass": 8.7456,
                "duels_won": 3.3413,
                "total_long_balls": 0.308,
                "accurate_long_balls": 0.1415,
                "total_opp_half_passes": 8.0896,
                "accurate_opp_half_passes": 6.5205,
                "crosses_total": 1.3251,
                "crosses_accurate": 0.372,
                "touches": 19.3943,
                "possession_lost": 5.3468,
                "dispossessed": 0.4563,
                "duels_lost": 1.7239,
                "aerial_lost": 0.0,
                "total_contest": 2.6443,
                "won_contest": 1.8189,
                "ball_recovery": 0.7344,
                "challenges_lost": 0.2403,
                "fouls": 0.2276,
                "fouls_drawn": 1.3386,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2711,
                "xgot": 0.0089,
                "offsides": 0.2791,
                "ball_carries": 7.5212,
                "total_progression": 37.1433,
                "progressive_carries": 0.5912,
                "shots_off_target": 0.3606,
                "bench_appearance_probability": 0.756,
                "bench_expected_minutes": 23.19,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.828,
                "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": 1.0418,
                "creation_factor": 0.8,
                "fifa_overall": 84.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 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: 3 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.0852,
                "goal_rate": 0.0547,
                "goals": 0,
                "shots_on_target": 0.1901,
                "total_shots": 0.5507,
                "expected_assists": 0.1401,
                "key_pass": 0.4984,
                "rating": 6.747,
                "minutes": 23.19,
                "total_pass": 10.3148,
                "accurate_pass": 8.7456,
                "duels_won": 3.3413,
                "total_long_balls": 0.308,
                "accurate_long_balls": 0.1415,
                "total_opp_half_passes": 8.0896,
                "accurate_opp_half_passes": 6.5205,
                "crosses_total": 1.3251,
                "crosses_accurate": 0.372,
                "touches": 19.3943,
                "possession_lost": 5.3468,
                "dispossessed": 0.4563,
                "duels_lost": 1.7239,
                "aerial_lost": 0.0,
                "total_contest": 2.6443,
                "won_contest": 1.8189,
                "ball_recovery": 0.7344,
                "challenges_lost": 0.2403,
                "fouls": 0.2276,
                "fouls_drawn": 1.3386,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2711,
                "xgot": 0.0089,
                "offsides": 0.2791,
                "ball_carries": 7.5212,
                "total_progression": 37.1433,
                "progressive_carries": 0.5912,
                "shots_off_target": 0.3606,
                "bench_appearance_probability": 0.756,
                "bench_expected_minutes": 23.19,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.828,
                "projected_substitution_game_state_adjustment": -1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0617,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0418,
                "creation_factor": 0.8,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 3,
                "goals_allocated": 0,
                "goal_probability": 0.0617,
                "scorer_weight": 0.0671,
                "squad_weight_total": 3.3755,
                "weight_share": 0.0199,
                "finishing_factor": 1.0418,
                "appearance_weight": 0.756,
                "weight_rank": 12,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Kylian Mbappé",
                    "weight": 1.3799,
                    "already": 0,
                    "effective_weight": 1.3799,
                    "runner_up": "Vinícius Júnior",
                    "runner_up_effective_weight": 0.4922
                  },
                  {
                    "n": 2,
                    "player": "Kylian Mbappé",
                    "weight": 1.3799,
                    "already": 1,
                    "effective_weight": 0.5872,
                    "runner_up": "Vinícius Júnior",
                    "runner_up_effective_weight": 0.4922
                  },
                  {
                    "n": 3,
                    "player": "Vinícius Júnior",
                    "weight": 0.4922,
                    "already": 0,
                    "effective_weight": 0.4922,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.3951
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 2 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "expected_goals": 0.0852,
                "goal_rate": 0.0547,
                "goals": 0,
                "shots_on_target": 0.1901,
                "total_shots": 0.5507,
                "expected_assists": 0.1401,
                "key_pass": 0.4984,
                "rating": 6.747,
                "minutes": 23.19,
                "total_pass": 10.3148,
                "accurate_pass": 8.7456,
                "duels_won": 3.3413,
                "total_long_balls": 0.308,
                "accurate_long_balls": 0.1415,
                "total_opp_half_passes": 8.0896,
                "accurate_opp_half_passes": 6.5205,
                "crosses_total": 1.3251,
                "crosses_accurate": 0.372,
                "touches": 19.3943,
                "possession_lost": 5.3468,
                "dispossessed": 0.4563,
                "duels_lost": 1.7239,
                "aerial_lost": 0.0,
                "total_contest": 2.6443,
                "won_contest": 1.8189,
                "ball_recovery": 0.7344,
                "challenges_lost": 0.2403,
                "fouls": 0.2276,
                "fouls_drawn": 1.3386,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2711,
                "xgot": 0.0089,
                "offsides": 0.2791,
                "ball_carries": 7.5212,
                "total_progression": 37.1433,
                "progressive_carries": 0.5912,
                "shots_off_target": 0.3606,
                "bench_appearance_probability": 0.756,
                "bench_expected_minutes": 23.19,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.828,
                "projected_substitution_game_state_adjustment": -1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0617,
                "projected_assists": 0,
                "assist_probability": 0.0988,
                "finishing_factor": 1.0418,
                "creation_factor": 0.8,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 2,
                "assists_allocated": 0,
                "assist_probability": 0.0988,
                "provider_weight": 0.0847,
                "squad_weight_total": 2.3369,
                "weight_share": 0.0363,
                "creation_factor": 0.8,
                "appearance_weight": 0.756,
                "weight_rank": 10,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Vinícius Júnior",
                    "weight": 0.431,
                    "already": 0,
                    "effective_weight": 0.431,
                    "runner_up": "Kylian Mbappé",
                    "runner_up_effective_weight": 0.4214
                  },
                  {
                    "n": 2,
                    "player": "Kylian Mbappé",
                    "weight": 0.4214,
                    "already": 0,
                    "effective_weight": 0.4214,
                    "runner_up": "Arda Güler",
                    "runner_up_effective_weight": 0.4024
                  }
                ]
              }
            }
          ]
        },
        "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.3008,
            "goal_rate": 0.1588,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 2,
            "expected_assists": 0.2157,
            "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.2529,
            "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": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.828,
            "projected_substitution_game_state_adjustment": -1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.1629,
            "projected_assists": 0,
            "assist_probability": 0.1217,
            "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": 12,
            "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-10T10:06:30.670657+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": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 3.39 (squad xG sum 2.0121, xG scale 1.6868, xA scale 1.9624, team xA 2.21 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.3008,
                "goal_rate": 0.1588,
                "goals": 0,
                "shots_on_target": 0.4977,
                "total_shots": 1.5457,
                "expected_assists": 0.2157,
                "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.2529,
                "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": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.828,
                "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": 3.394,
                "squad_xg_sum": 2.0121,
                "squad_xa_sum": 1.1242,
                "team_expected_assists": 2.2061,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.6868,
                "xa_scale": 1.9624,
                "opponent_lambda": 1.744,
                "scoreline_reset": true,
                "appearance_weight": 0.627
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1783,
                  "after": 0.3008
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1099,
                  "after": 0.2157
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 12 by projected rating, fifa_overall 84.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.3008,
                "goal_rate": 0.1588,
                "goals": 0,
                "shots_on_target": 0.4977,
                "total_shots": 1.5457,
                "expected_assists": 0.2157,
                "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.2529,
                "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": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.828,
                "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": 12,
                "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: 3 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.3008,
                "goal_rate": 0.1588,
                "goals": 0,
                "shots_on_target": 0.4977,
                "total_shots": 1.5457,
                "expected_assists": 0.2157,
                "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.2529,
                "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": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.828,
                "projected_substitution_game_state_adjustment": -1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.1629,
                "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": 3,
                "goals_allocated": 0,
                "goal_probability": 0.1629,
                "scorer_weight": 0.1725,
                "squad_weight_total": 3.3755,
                "weight_share": 0.0511,
                "finishing_factor": 0.9146,
                "appearance_weight": 0.627,
                "weight_rank": 5,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Kylian Mbappé",
                    "weight": 1.3799,
                    "already": 0,
                    "effective_weight": 1.3799,
                    "runner_up": "Vinícius Júnior",
                    "runner_up_effective_weight": 0.4922
                  },
                  {
                    "n": 2,
                    "player": "Kylian Mbappé",
                    "weight": 1.3799,
                    "already": 1,
                    "effective_weight": 0.5872,
                    "runner_up": "Vinícius Júnior",
                    "runner_up_effective_weight": 0.4922
                  },
                  {
                    "n": 3,
                    "player": "Vinícius Júnior",
                    "weight": 0.4922,
                    "already": 0,
                    "effective_weight": 0.4922,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.3951
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 2 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "expected_goals": 0.3008,
                "goal_rate": 0.1588,
                "goals": 0,
                "shots_on_target": 0.4977,
                "total_shots": 1.5457,
                "expected_assists": 0.2157,
                "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.2529,
                "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": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.828,
                "projected_substitution_game_state_adjustment": -1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.1629,
                "projected_assists": 0,
                "assist_probability": 0.1217,
                "finishing_factor": 0.9146,
                "creation_factor": 0.8,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 2,
                "assists_allocated": 0,
                "assist_probability": 0.1217,
                "provider_weight": 0.1082,
                "squad_weight_total": 2.3369,
                "weight_share": 0.0463,
                "creation_factor": 0.8,
                "appearance_weight": 0.627,
                "weight_rank": 8,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Vinícius Júnior",
                    "weight": 0.431,
                    "already": 0,
                    "effective_weight": 0.431,
                    "runner_up": "Kylian Mbappé",
                    "runner_up_effective_weight": 0.4214
                  },
                  {
                    "n": 2,
                    "player": "Kylian Mbappé",
                    "weight": 0.4214,
                    "already": 0,
                    "effective_weight": 0.4214,
                    "runner_up": "Arda Güler",
                    "runner_up_effective_weight": 0.4024
                  }
                ]
              }
            }
          ]
        }
      },
      "substitutes": {
        "Yan Diomande": {
          "player_id": 2087085,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 25,
          "height": 180,
          "market_value": 99000000,
          "stats": {
            "expected_goals": 0.0852,
            "goal_rate": 0.0547,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.1401,
            "key_pass": 0,
            "rating": 6.747,
            "minutes": 23,
            "total_pass": 10,
            "accurate_pass": 9,
            "duels_won": 3,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 7,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 19,
            "possession_lost": 5.3468,
            "dispossessed": 0.4563,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 3,
            "won_contest": 2,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "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.0089,
            "offsides": 0,
            "ball_carries": 8,
            "total_progression": 37,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.756,
            "bench_expected_minutes": 23.19,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.828,
            "projected_substitution_game_state_adjustment": -1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0617,
            "projected_assists": 0,
            "assist_probability": 0.0988,
            "finishing_factor": 1.0418,
            "creation_factor": 0.8,
            "fifa_overall": 84.0
          },
          "latest_10_games": [
            {
              "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": 16,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.747,
            "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"
            ],
            "bench_expected_minutes": 23.19,
            "bench_appearance_prob": 0.756,
            "market_value_adjustment": 1.0485,
            "fbref_prior_metrics": {
              "squad": "Real Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 0.0,
              "sub_appearances": 3.0,
              "minutes_per_sub": 20.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0467
            },
            "rationale": "Bench projection scaled from XGBoost F_service (7 historical appearances) to 23.2 expected mins (appearance prob 0.76); FBref playing time empirical prior: 3.0 sub appearances, 20.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0503,
                "goals": 0.055,
                "goal_rate": 0.055,
                "shots_on_target": 0.1915,
                "total_shots": 0.5501,
                "expected_assists": 0.071,
                "key_pass": 0.4956,
                "rating": 6.747,
                "minutes": 24.18,
                "total_pass": 10.2576,
                "accurate_pass": 8.6972,
                "duels_won": 3.3227,
                "total_long_balls": 0.3063,
                "accurate_long_balls": 0.1407,
                "total_opp_half_passes": 8.0448,
                "accurate_opp_half_passes": 6.4844,
                "crosses_total": 1.3159,
                "crosses_accurate": 0.37,
                "touches": 19.2869,
                "possession_lost": 5.3172,
                "dispossessed": 0.4352,
                "duels_lost": 1.7144,
                "aerial_lost": 0.0,
                "total_contest": 2.6297,
                "won_contest": 1.8089,
                "ball_recovery": 0.7304,
                "challenges_lost": 0.2292,
                "fouls": 0.2292,
                "fouls_drawn": 1.3482,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2696,
                "xgot": 0.0052,
                "offsides": 0.2696,
                "ball_carries": 7.4795,
                "total_progression": 36.9375,
                "progressive_carries": 0.5879,
                "shots_off_target": 0.3586
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-10T10:06:30.670657+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": 0.0,
                  "expectedGoals": 0.0403,
                  "totalOppositionHalfPasses": 12.5541,
                  "accurateOppositionHalfPasses": 9.9371,
                  "accuratePass": 13.2778,
                  "totalShots": 0.5679
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.05026797950267792,
                    "model_output": 0.0503,
                    "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.0815
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0211
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0076
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.005
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0047
                        }
                      ],
                      "others": -0.0288,
                      "total": 0.0503,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.52731
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.198328
                        },
                        {
                          "name": "goals",
                          "margin": -0.082528
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.058026
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.058017
                        }
                      ],
                      "others_margin": -0.451499
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.05502922460436821,
                    "model_output": 0.055,
                    "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.0831
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.021
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0092
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0081
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0059
                        }
                      ],
                      "others": -0.0214,
                      "total": 0.055,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.523687
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.191552
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.097141
                        },
                        {
                          "name": "goals",
                          "margin": -0.093252
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.074123
                        }
                      ],
                      "others_margin": -0.329271
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.1914612501859665,
                    "model_output": 0.1915,
                    "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.2132
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0347
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0194
                        },
                        {
                          "name": "goals",
                          "contribution": -0.016
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0137
                        }
                      ],
                      "others": -0.0485,
                      "total": 0.1915,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.505849
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.113223
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.069393
                        },
                        {
                          "name": "goals",
                          "margin": -0.061188
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.055483
                        }
                      ],
                      "others_margin": -0.226139
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5500918626785278,
                    "model_output": 0.5501,
                    "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.4491
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1397
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0613
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0585
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0414
                        }
                      ],
                      "others": -0.1614,
                      "total": 0.5501,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.449087
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.139688
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.061341
                        },
                        {
                          "name": "goals",
                          "margin": -0.058526
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.041374
                        }
                      ],
                      "others_margin": -0.161346
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.07099758833646774,
                    "model_output": 0.071,
                    "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.0205
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0076
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0059
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0041
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0031
                        }
                      ],
                      "others": 0.0127,
                      "total": 0.071,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.385058
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.159379
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.10921
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.068727
                        },
                        {
                          "name": "duelWon_p90",
                          "margin": -0.051616
                        }
                      ],
                      "others_margin": 0.198702
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.495648056268692,
                    "model_output": 0.4956,
                    "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": "accurateOppositionHalfPasses",
                          "contribution": 0.0292
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0266
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0196
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0198
                        }
                      ],
                      "others": 0.0151,
                      "total": 0.4956,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.55919
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.073066
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.062301
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.043431
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.042117
                        }
                      ],
                      "others_margin": 0.030945
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.747036933898926,
                    "model_output": 6.747,
                    "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.076
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.02
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0195
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0106
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0104
                        }
                      ],
                      "others": 0.0403,
                      "total": 6.747,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.075973
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.019995
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.019462
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.010554
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.010388
                        }
                      ],
                      "others_margin": 0.040439
                    }
                  }
                ],
                "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.0485, quality 0.893)",
              "stats": {
                "expected_goals": 0.0527,
                "goals": 0.0577,
                "goal_rate": 0.0577,
                "shots_on_target": 0.2007,
                "total_shots": 0.5768,
                "expected_assists": 0.0744,
                "key_pass": 0.5197,
                "rating": 6.747,
                "minutes": 24.18,
                "total_pass": 10.7551,
                "accurate_pass": 9.119,
                "duels_won": 3.4839,
                "total_long_balls": 0.3212,
                "accurate_long_balls": 0.1475,
                "total_opp_half_passes": 8.435,
                "accurate_opp_half_passes": 6.7989,
                "crosses_total": 1.3797,
                "crosses_accurate": 0.3879,
                "touches": 20.2223,
                "possession_lost": 5.5751,
                "dispossessed": 0.4563,
                "duels_lost": 1.7975,
                "aerial_lost": 0.0,
                "total_contest": 2.7572,
                "won_contest": 1.8966,
                "ball_recovery": 0.7658,
                "challenges_lost": 0.2403,
                "fouls": 0.2403,
                "fouls_drawn": 1.4136,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2827,
                "xgot": 0.0055,
                "offsides": 0.2827,
                "ball_carries": 7.8423,
                "total_progression": 38.729,
                "progressive_carries": 0.6164,
                "shots_off_target": 0.376
              },
              "params": {
                "market_value_eur": 99000000,
                "quality_factor": 0.893,
                "boost_factor": 1.0485,
                "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.0527,
                "goals": 0.057,
                "goal_rate": 0.057,
                "shots_on_target": 0.1982,
                "total_shots": 0.5695,
                "expected_assists": 0.0744,
                "key_pass": 0.5197,
                "rating": 6.747,
                "minutes": 24.18,
                "total_pass": 10.7551,
                "accurate_pass": 9.119,
                "duels_won": 3.4839,
                "total_long_balls": 0.3212,
                "accurate_long_balls": 0.1475,
                "total_opp_half_passes": 8.435,
                "accurate_opp_half_passes": 6.7989,
                "crosses_total": 1.3817,
                "crosses_accurate": 0.3879,
                "touches": 20.2223,
                "possession_lost": 5.5751,
                "dispossessed": 0.4563,
                "duels_lost": 1.7975,
                "aerial_lost": 0.0,
                "total_contest": 2.7572,
                "won_contest": 1.8966,
                "ball_recovery": 0.7658,
                "challenges_lost": 0.2403,
                "fouls": 0.2373,
                "fouls_drawn": 1.3957,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2827,
                "xgot": 0.0055,
                "offsides": 0.2791,
                "ball_carries": 7.8423,
                "total_progression": 38.729,
                "progressive_carries": 0.6164,
                "shots_off_target": 0.376
              },
              "params": {
                "blend_weight": 0.0126,
                "history_matches": 7,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2687,
                "prior_reliability": 0.0467,
                "competition": "La Liga",
                "squad": "Real Madrid"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 1.4136,
                  "after": 1.3957
                },
                {
                  "stat": "totalShots",
                  "before": 0.5768,
                  "after": 0.5695
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 24.2 to 23.2 expected minutes (appearance prob 0.76)",
              "stats": {
                "expected_goals": 0.0505,
                "goals": 0.0547,
                "goal_rate": 0.0547,
                "shots_on_target": 0.1901,
                "total_shots": 0.5507,
                "expected_assists": 0.0714,
                "key_pass": 0.4984,
                "rating": 6.747,
                "minutes": 23.19,
                "total_pass": 10.3148,
                "accurate_pass": 8.7456,
                "duels_won": 3.3413,
                "total_long_balls": 0.308,
                "accurate_long_balls": 0.1415,
                "total_opp_half_passes": 8.0896,
                "accurate_opp_half_passes": 6.5205,
                "crosses_total": 1.3251,
                "crosses_accurate": 0.372,
                "touches": 19.3943,
                "possession_lost": 5.3468,
                "dispossessed": 0.4563,
                "duels_lost": 1.7239,
                "aerial_lost": 0.0,
                "total_contest": 2.6443,
                "won_contest": 1.8189,
                "ball_recovery": 0.7344,
                "challenges_lost": 0.2403,
                "fouls": 0.2276,
                "fouls_drawn": 1.3386,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2711,
                "xgot": 0.0053,
                "offsides": 0.2791,
                "ball_carries": 7.5212,
                "total_progression": 37.1433,
                "progressive_carries": 0.5912,
                "shots_off_target": 0.3606,
                "bench_appearance_probability": 0.756,
                "bench_expected_minutes": 23.19
              },
              "params": {
                "expected_minutes": 23.19,
                "projection_minutes": 24.18,
                "minutes_scale": 0.9591,
                "appearance_probability": 0.756
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0505,
                "goals": 0.0547,
                "goal_rate": 0.0547,
                "shots_on_target": 0.1901,
                "total_shots": 0.5507,
                "expected_assists": 0.0714,
                "key_pass": 0.4984,
                "rating": 6.747,
                "minutes": 23.19,
                "total_pass": 10.3148,
                "accurate_pass": 8.7456,
                "duels_won": 3.3413,
                "total_long_balls": 0.308,
                "accurate_long_balls": 0.1415,
                "total_opp_half_passes": 8.0896,
                "accurate_opp_half_passes": 6.5205,
                "crosses_total": 1.3251,
                "crosses_accurate": 0.372,
                "touches": 19.3943,
                "possession_lost": 5.3468,
                "dispossessed": 0.4563,
                "duels_lost": 1.7239,
                "aerial_lost": 0.0,
                "total_contest": 2.6443,
                "won_contest": 1.8189,
                "ball_recovery": 0.7344,
                "challenges_lost": 0.2403,
                "fouls": 0.2276,
                "fouls_drawn": 1.3386,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2711,
                "xgot": 0.0053,
                "offsides": 0.2791,
                "ball_carries": 7.5212,
                "total_progression": 37.1433,
                "progressive_carries": 0.5912,
                "shots_off_target": 0.3606,
                "bench_appearance_probability": 0.756,
                "bench_expected_minutes": 23.19
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 3.39 (squad xG sum 2.0121, xG scale 1.6868, xA scale 1.9624, team xA 2.21 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0852,
                "goal_rate": 0.0547,
                "goals": 0,
                "shots_on_target": 0.1901,
                "total_shots": 0.5507,
                "expected_assists": 0.1401,
                "key_pass": 0.4984,
                "rating": 6.747,
                "minutes": 23.19,
                "total_pass": 10.3148,
                "accurate_pass": 8.7456,
                "duels_won": 3.3413,
                "total_long_balls": 0.308,
                "accurate_long_balls": 0.1415,
                "total_opp_half_passes": 8.0896,
                "accurate_opp_half_passes": 6.5205,
                "crosses_total": 1.3251,
                "crosses_accurate": 0.372,
                "touches": 19.3943,
                "possession_lost": 5.3468,
                "dispossessed": 0.4563,
                "duels_lost": 1.7239,
                "aerial_lost": 0.0,
                "total_contest": 2.6443,
                "won_contest": 1.8189,
                "ball_recovery": 0.7344,
                "challenges_lost": 0.2403,
                "fouls": 0.2276,
                "fouls_drawn": 1.3386,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2711,
                "xgot": 0.0089,
                "offsides": 0.2791,
                "ball_carries": 7.5212,
                "total_progression": 37.1433,
                "progressive_carries": 0.5912,
                "shots_off_target": 0.3606,
                "bench_appearance_probability": 0.756,
                "bench_expected_minutes": 23.19,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.828,
                "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": 1.0418,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 3.394,
                "squad_xg_sum": 2.0121,
                "squad_xa_sum": 1.1242,
                "team_expected_assists": 2.2061,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.6868,
                "xa_scale": 1.9624,
                "opponent_lambda": 1.744,
                "scoreline_reset": true,
                "appearance_weight": 0.756
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0505,
                  "after": 0.0852
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0714,
                  "after": 0.1401
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 16 by projected rating, fifa_overall 84.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.0852,
                "goal_rate": 0.0547,
                "goals": 0,
                "shots_on_target": 0.1901,
                "total_shots": 0.5507,
                "expected_assists": 0.1401,
                "key_pass": 0.4984,
                "rating": 6.747,
                "minutes": 23.19,
                "total_pass": 10.3148,
                "accurate_pass": 8.7456,
                "duels_won": 3.3413,
                "total_long_balls": 0.308,
                "accurate_long_balls": 0.1415,
                "total_opp_half_passes": 8.0896,
                "accurate_opp_half_passes": 6.5205,
                "crosses_total": 1.3251,
                "crosses_accurate": 0.372,
                "touches": 19.3943,
                "possession_lost": 5.3468,
                "dispossessed": 0.4563,
                "duels_lost": 1.7239,
                "aerial_lost": 0.0,
                "total_contest": 2.6443,
                "won_contest": 1.8189,
                "ball_recovery": 0.7344,
                "challenges_lost": 0.2403,
                "fouls": 0.2276,
                "fouls_drawn": 1.3386,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2711,
                "xgot": 0.0089,
                "offsides": 0.2791,
                "ball_carries": 7.5212,
                "total_progression": 37.1433,
                "progressive_carries": 0.5912,
                "shots_off_target": 0.3606,
                "bench_appearance_probability": 0.756,
                "bench_expected_minutes": 23.19,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.828,
                "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": 1.0418,
                "creation_factor": 0.8,
                "fifa_overall": 84.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 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: 3 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.0852,
                "goal_rate": 0.0547,
                "goals": 0,
                "shots_on_target": 0.1901,
                "total_shots": 0.5507,
                "expected_assists": 0.1401,
                "key_pass": 0.4984,
                "rating": 6.747,
                "minutes": 23.19,
                "total_pass": 10.3148,
                "accurate_pass": 8.7456,
                "duels_won": 3.3413,
                "total_long_balls": 0.308,
                "accurate_long_balls": 0.1415,
                "total_opp_half_passes": 8.0896,
                "accurate_opp_half_passes": 6.5205,
                "crosses_total": 1.3251,
                "crosses_accurate": 0.372,
                "touches": 19.3943,
                "possession_lost": 5.3468,
                "dispossessed": 0.4563,
                "duels_lost": 1.7239,
                "aerial_lost": 0.0,
                "total_contest": 2.6443,
                "won_contest": 1.8189,
                "ball_recovery": 0.7344,
                "challenges_lost": 0.2403,
                "fouls": 0.2276,
                "fouls_drawn": 1.3386,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2711,
                "xgot": 0.0089,
                "offsides": 0.2791,
                "ball_carries": 7.5212,
                "total_progression": 37.1433,
                "progressive_carries": 0.5912,
                "shots_off_target": 0.3606,
                "bench_appearance_probability": 0.756,
                "bench_expected_minutes": 23.19,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.828,
                "projected_substitution_game_state_adjustment": -1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0617,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0418,
                "creation_factor": 0.8,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 3,
                "goals_allocated": 0,
                "goal_probability": 0.0617,
                "scorer_weight": 0.0671,
                "squad_weight_total": 3.3755,
                "weight_share": 0.0199,
                "finishing_factor": 1.0418,
                "appearance_weight": 0.756,
                "weight_rank": 12,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Kylian Mbappé",
                    "weight": 1.3799,
                    "already": 0,
                    "effective_weight": 1.3799,
                    "runner_up": "Vinícius Júnior",
                    "runner_up_effective_weight": 0.4922
                  },
                  {
                    "n": 2,
                    "player": "Kylian Mbappé",
                    "weight": 1.3799,
                    "already": 1,
                    "effective_weight": 0.5872,
                    "runner_up": "Vinícius Júnior",
                    "runner_up_effective_weight": 0.4922
                  },
                  {
                    "n": 3,
                    "player": "Vinícius Júnior",
                    "weight": 0.4922,
                    "already": 0,
                    "effective_weight": 0.4922,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.3951
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 2 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "expected_goals": 0.0852,
                "goal_rate": 0.0547,
                "goals": 0,
                "shots_on_target": 0.1901,
                "total_shots": 0.5507,
                "expected_assists": 0.1401,
                "key_pass": 0.4984,
                "rating": 6.747,
                "minutes": 23.19,
                "total_pass": 10.3148,
                "accurate_pass": 8.7456,
                "duels_won": 3.3413,
                "total_long_balls": 0.308,
                "accurate_long_balls": 0.1415,
                "total_opp_half_passes": 8.0896,
                "accurate_opp_half_passes": 6.5205,
                "crosses_total": 1.3251,
                "crosses_accurate": 0.372,
                "touches": 19.3943,
                "possession_lost": 5.3468,
                "dispossessed": 0.4563,
                "duels_lost": 1.7239,
                "aerial_lost": 0.0,
                "total_contest": 2.6443,
                "won_contest": 1.8189,
                "ball_recovery": 0.7344,
                "challenges_lost": 0.2403,
                "fouls": 0.2276,
                "fouls_drawn": 1.3386,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2711,
                "xgot": 0.0089,
                "offsides": 0.2791,
                "ball_carries": 7.5212,
                "total_progression": 37.1433,
                "progressive_carries": 0.5912,
                "shots_off_target": 0.3606,
                "bench_appearance_probability": 0.756,
                "bench_expected_minutes": 23.19,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.828,
                "projected_substitution_game_state_adjustment": -1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0617,
                "projected_assists": 0,
                "assist_probability": 0.0988,
                "finishing_factor": 1.0418,
                "creation_factor": 0.8,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 2,
                "assists_allocated": 0,
                "assist_probability": 0.0988,
                "provider_weight": 0.0847,
                "squad_weight_total": 2.3369,
                "weight_share": 0.0363,
                "creation_factor": 0.8,
                "appearance_weight": 0.756,
                "weight_rank": 10,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Vinícius Júnior",
                    "weight": 0.431,
                    "already": 0,
                    "effective_weight": 0.431,
                    "runner_up": "Kylian Mbappé",
                    "runner_up_effective_weight": 0.4214
                  },
                  {
                    "n": 2,
                    "player": "Kylian Mbappé",
                    "weight": 0.4214,
                    "already": 0,
                    "effective_weight": 0.4214,
                    "runner_up": "Arda Güler",
                    "runner_up_effective_weight": 0.4024
                  }
                ]
              }
            }
          ]
        },
        "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.3008,
            "goal_rate": 0.1588,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 2,
            "expected_assists": 0.2157,
            "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.2529,
            "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": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.828,
            "projected_substitution_game_state_adjustment": -1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.1629,
            "projected_assists": 0,
            "assist_probability": 0.1217,
            "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": 12,
            "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-10T10:06:30.670657+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": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 3.39 (squad xG sum 2.0121, xG scale 1.6868, xA scale 1.9624, team xA 2.21 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.3008,
                "goal_rate": 0.1588,
                "goals": 0,
                "shots_on_target": 0.4977,
                "total_shots": 1.5457,
                "expected_assists": 0.2157,
                "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.2529,
                "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": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.828,
                "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": 3.394,
                "squad_xg_sum": 2.0121,
                "squad_xa_sum": 1.1242,
                "team_expected_assists": 2.2061,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.6868,
                "xa_scale": 1.9624,
                "opponent_lambda": 1.744,
                "scoreline_reset": true,
                "appearance_weight": 0.627
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1783,
                  "after": 0.3008
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1099,
                  "after": 0.2157
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 12 by projected rating, fifa_overall 84.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.3008,
                "goal_rate": 0.1588,
                "goals": 0,
                "shots_on_target": 0.4977,
                "total_shots": 1.5457,
                "expected_assists": 0.2157,
                "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.2529,
                "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": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.828,
                "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": 12,
                "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: 3 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.3008,
                "goal_rate": 0.1588,
                "goals": 0,
                "shots_on_target": 0.4977,
                "total_shots": 1.5457,
                "expected_assists": 0.2157,
                "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.2529,
                "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": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.828,
                "projected_substitution_game_state_adjustment": -1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.1629,
                "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": 3,
                "goals_allocated": 0,
                "goal_probability": 0.1629,
                "scorer_weight": 0.1725,
                "squad_weight_total": 3.3755,
                "weight_share": 0.0511,
                "finishing_factor": 0.9146,
                "appearance_weight": 0.627,
                "weight_rank": 5,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Kylian Mbappé",
                    "weight": 1.3799,
                    "already": 0,
                    "effective_weight": 1.3799,
                    "runner_up": "Vinícius Júnior",
                    "runner_up_effective_weight": 0.4922
                  },
                  {
                    "n": 2,
                    "player": "Kylian Mbappé",
                    "weight": 1.3799,
                    "already": 1,
                    "effective_weight": 0.5872,
                    "runner_up": "Vinícius Júnior",
                    "runner_up_effective_weight": 0.4922
                  },
                  {
                    "n": 3,
                    "player": "Vinícius Júnior",
                    "weight": 0.4922,
                    "already": 0,
                    "effective_weight": 0.4922,
                    "runner_up": "Jude Bellingham",
                    "runner_up_effective_weight": 0.3951
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 2 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "expected_goals": 0.3008,
                "goal_rate": 0.1588,
                "goals": 0,
                "shots_on_target": 0.4977,
                "total_shots": 1.5457,
                "expected_assists": 0.2157,
                "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.2529,
                "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": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.828,
                "projected_substitution_game_state_adjustment": -1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.1629,
                "projected_assists": 0,
                "assist_probability": 0.1217,
                "finishing_factor": 0.9146,
                "creation_factor": 0.8,
                "fifa_overall": 84.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 2,
                "assists_allocated": 0,
                "assist_probability": 0.1217,
                "provider_weight": 0.1082,
                "squad_weight_total": 2.3369,
                "weight_share": 0.0463,
                "creation_factor": 0.8,
                "appearance_weight": 0.627,
                "weight_rank": 8,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Vinícius Júnior",
                    "weight": 0.431,
                    "already": 0,
                    "effective_weight": 0.431,
                    "runner_up": "Kylian Mbappé",
                    "runner_up_effective_weight": 0.4214
                  },
                  {
                    "n": 2,
                    "player": "Kylian Mbappé",
                    "weight": 0.4214,
                    "already": 0,
                    "effective_weight": 0.4214,
                    "runner_up": "Arda Güler",
                    "runner_up_effective_weight": 0.4024
                  }
                ]
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 3,
        "expected_goals": 3.39,
        "expected_assists": 2.21,
        "total_shots": 20,
        "shots_on_target": 5,
        "total_passes": 532,
        "interceptions": 8,
        "tackles": 15,
        "avg_rating": 7.07,
        "possession_estimated_pct": 51.8,
        "pressing_actions_per_90": 7.9
      }
    },
    "Villarreal": {
      "formation": "4-4-2",
      "players": {
        "Péter Gulácsi": {
          "player_id": 37096,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 25,
          "height": 190,
          "market_value": 970000,
          "stats": {
            "saves": 2,
            "goals_prevented": -0.0741,
            "rating": 6.9305,
            "minutes": 90,
            "total_pass": 26,
            "accurate_pass": 24,
            "total_long_balls": 5,
            "accurate_long_balls": 3,
            "touches": 36,
            "clearances": 3,
            "ball_recovery": 6,
            "high_claims": 1,
            "punches": 1.5605,
            "aerial_won": 1,
            "sweeper_actions": 2,
            "sweeper_accurate": 2,
            "saves_inside_box": 2,
            "possession_lost": 1.8038,
            "duels_won": 1,
            "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": 3.1574,
            "shots_faced": 32.2,
            "expected_saves": 7.88,
            "high_pressure_saves": 2.72,
            "opponent_faced": "Kylian Mbappé, Vinícius Júnior",
            "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": 82.0
          },
          "latest_10_games": [
            {
              "match_id": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 33,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 8,
                "goals_prevented": -0.4904
              },
              "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": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 20,
                "ball_recovery": 3,
                "goals_prevented": -0.0784
              },
              "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": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 9.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 18,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 8,
                "saves": 10,
                "goals_prevented": 1.96
              },
              "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": 616,
            "combined_rank_score": 318.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 409.0,
            "fifa_overall": 82.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9305,
            "source_file": "data/player_rankings.csv",
            "player_name": "Péter Gulácsi",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Mender García",
                  "ranking": 611
                },
                {
                  "player_name": "José Fajardo",
                  "ranking": 612
                },
                {
                  "player_name": "Konstantinos Fortounis",
                  "ranking": 613
                },
                {
                  "player_name": "N'Golo Kanté",
                  "ranking": 614
                },
                {
                  "player_name": "Mason Greenwood",
                  "ranking": 615
                }
              ],
              "lower": [
                {
                  "player_name": "Oliver Baumann",
                  "ranking": 617
                },
                {
                  "player_name": "Iñigo Martínez",
                  "ranking": 618
                },
                {
                  "player_name": "Omar Marmoush",
                  "ranking": 619
                },
                {
                  "player_name": "Pathé Ismaël Ciss",
                  "ranking": 620
                },
                {
                  "player_name": "Riccardo Orsolini",
                  "ranking": 621
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.438,
          "history_matches": 3,
          "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": 3,
            "data_confidence": 0.438,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9873,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 0.0,
              "starts": 0.0,
              "prior_reliability": 0.0
            },
            "rationale": "XGBoost regressor (G_service) evaluated 3 historical appearances across 3 target models; FBref 2026-2027 prior blended (La Liga, Villarreal, rel: 0.00, 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.4374,
                "goals_prevented": -0.075,
                "rating": 6.9305,
                "minutes": 90.0,
                "total_pass": 26.3188,
                "accurate_pass": 24.4918,
                "total_long_balls": 4.7123,
                "accurate_long_balls": 2.8853,
                "touches": 36.1535,
                "clearances": 2.6783,
                "ball_recovery": 6.3479,
                "high_claims": 0.5806,
                "punches": 1.5806,
                "aerial_won": 0.6696,
                "sweeper_actions": 1.7279,
                "sweeper_accurate": 1.7279,
                "saves_inside_box": 2.5277,
                "possession_lost": 1.827,
                "duels_won": 0.6696,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 24.8805,
                "accurate_own_half_passes": 24.4918
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 5,
                  "trained_at": "2026-10-10T10:04:18.353158+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 199,
                    "rows": 6796
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2809,
                    "rating": 9.6
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "sweeper_actions_p90": 1.7279,
                  "distribution_accuracy": 0.9886,
                  "sweeper_accuracy": 0.6696,
                  "goalkeeperValueNormalized": 0.0769,
                  "save_contribution": 3.1425,
                  "accurateKeeperSweeper": 1.7279
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.437415838241577,
                    "model_output": 2.4374,
                    "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.1624
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0851
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": -0.0789
                        },
                        {
                          "name": "distribution_accuracy",
                          "contribution": -0.073
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0234
                        }
                      ],
                      "others": -0.0684,
                      "total": 2.4374,
                      "log_link": true,
                      "margin_base": 1.074537,
                      "item_margins": [
                        {
                          "name": "totalLongBalls",
                          "margin": -0.057051
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.03123
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": -0.029879
                        },
                        {
                          "name": "distribution_accuracy",
                          "margin": -0.028444
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.009284
                        }
                      ],
                      "others_margin": -0.027711
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": -0.07503017783164978,
                    "model_output": -0.075,
                    "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.0838
                        },
                        {
                          "name": "punches",
                          "contribution": -0.061
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0313
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": -0.0259
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0204
                        }
                      ],
                      "others": -0.0444,
                      "total": -0.075,
                      "log_link": false,
                      "margin_base": -0.016613,
                      "item_margins": [
                        {
                          "name": "pass_accuracy",
                          "margin": 0.083844
                        },
                        {
                          "name": "punches",
                          "margin": -0.06097
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.031297
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": -0.025941
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.020432
                        }
                      ],
                      "others_margin": -0.044484
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.930525302886963,
                    "model_output": 6.9305,
                    "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": "distribution_accuracy",
                          "contribution": -0.0486
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0452
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": -0.0278
                        },
                        {
                          "name": "punches",
                          "contribution": -0.0229
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0216
                        }
                      ],
                      "others": -0.0461,
                      "total": 6.9305,
                      "log_link": false,
                      "margin_base": 7.009122,
                      "item_margins": [
                        {
                          "name": "distribution_accuracy",
                          "margin": -0.048576
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.045236
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": -0.027827
                        },
                        {
                          "name": "punches",
                          "margin": -0.022924
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.021605
                        }
                      ],
                      "others_margin": -0.04611
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 3,
                  "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 0.9873, quality 0.437)",
              "stats": {
                "saves": 2.4065,
                "goals_prevented": -0.0741,
                "rating": 6.9305,
                "minutes": 90.0,
                "total_pass": 25.9846,
                "accurate_pass": 24.1808,
                "total_long_balls": 4.6525,
                "accurate_long_balls": 2.8487,
                "touches": 35.6944,
                "clearances": 2.6443,
                "ball_recovery": 6.2673,
                "high_claims": 0.5732,
                "punches": 1.5605,
                "aerial_won": 0.6611,
                "sweeper_actions": 1.706,
                "sweeper_accurate": 1.706,
                "saves_inside_box": 2.4956,
                "possession_lost": 1.8038,
                "duels_won": 0.6611,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 24.5645,
                "accurate_own_half_passes": 24.1808
              },
              "params": {
                "market_value_eur": 970000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9873,
                "reference_quality": 0.505,
                "history_matches": 3,
                "history_shrink": 0.625,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 2.4065,
                "goals_prevented": -0.0741,
                "rating": 6.9305,
                "minutes": 90.0,
                "total_pass": 25.9846,
                "accurate_pass": 24.1808,
                "total_long_balls": 4.6525,
                "accurate_long_balls": 2.8487,
                "touches": 35.6944,
                "clearances": 2.6443,
                "ball_recovery": 6.2673,
                "high_claims": 0.5732,
                "punches": 1.5605,
                "aerial_won": 0.6611,
                "sweeper_actions": 1.706,
                "sweeper_accurate": 1.706,
                "saves_inside_box": 2.4956,
                "possession_lost": 1.8038,
                "duels_won": 0.6611,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 24.5645,
                "accurate_own_half_passes": 24.1808
              },
              "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.4065,
                "goals_prevented": -0.0741,
                "rating": 6.9305,
                "minutes": 90.0,
                "total_pass": 25.9846,
                "accurate_pass": 24.1808,
                "total_long_balls": 4.6525,
                "accurate_long_balls": 2.8487,
                "touches": 35.6944,
                "clearances": 2.6443,
                "ball_recovery": 6.2673,
                "high_claims": 0.5732,
                "punches": 1.5605,
                "aerial_won": 0.6611,
                "sweeper_actions": 1.706,
                "sweeper_accurate": 1.706,
                "saves_inside_box": 2.4956,
                "possession_lost": 1.8038,
                "duels_won": 0.6611,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 24.5645,
                "accurate_own_half_passes": 24.1808,
                "gk_engine_opponent_lambda": 3.1574,
                "shots_faced": 30.0,
                "expected_saves": 7.34,
                "high_pressure_saves": 2.53,
                "opponent_faced": "Kylian Mbappé, Vinícius Júnior",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Kylian Mbappé, Vinícius Júnior",
                  "matchup_zone": "Goalkeeper shot-stopping context",
                  "opponent_lambda": 3.1574
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.74 (squad xG sum 1.2479, xG scale 1.3975, xA scale 1.2613, team xA 1.40 = 0.80 x lambda)",
              "stats": {
                "saves": 2.4065,
                "goals_prevented": -0.0741,
                "rating": 6.9305,
                "minutes": 90.0,
                "total_pass": 25.9846,
                "accurate_pass": 24.1808,
                "total_long_balls": 4.6525,
                "accurate_long_balls": 2.8487,
                "touches": 35.6944,
                "clearances": 2.6443,
                "ball_recovery": 6.2673,
                "high_claims": 0.5732,
                "punches": 1.5605,
                "aerial_won": 0.6611,
                "sweeper_actions": 1.706,
                "sweeper_accurate": 1.706,
                "saves_inside_box": 2.4956,
                "possession_lost": 1.8038,
                "duels_won": 0.6611,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 24.5645,
                "accurate_own_half_passes": 24.1808,
                "gk_engine_opponent_lambda": 3.1574,
                "shots_faced": 32.2,
                "expected_saves": 7.88,
                "high_pressure_saves": 2.72,
                "opponent_faced": "Kylian Mbappé, Vinícius Júnior",
                "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.744,
                "squad_xg_sum": 1.2479,
                "squad_xa_sum": 1.1061,
                "team_expected_assists": 1.3952,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3975,
                "xa_scale": 1.2613,
                "opponent_lambda": 3.394,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "shots_faced",
                  "before": 30.0,
                  "after": 32.2
                },
                {
                  "stat": "expected_saves",
                  "before": 7.34,
                  "after": 7.88
                },
                {
                  "stat": "high_pressure_saves",
                  "before": 2.53,
                  "after": 2.72
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 6 by projected rating, fifa_overall 82.0; not used by the projection)",
              "stats": {
                "saves": 2.4065,
                "goals_prevented": -0.0741,
                "rating": 6.9305,
                "minutes": 90.0,
                "total_pass": 25.9846,
                "accurate_pass": 24.1808,
                "total_long_balls": 4.6525,
                "accurate_long_balls": 2.8487,
                "touches": 35.6944,
                "clearances": 2.6443,
                "ball_recovery": 6.2673,
                "high_claims": 0.5732,
                "punches": 1.5605,
                "aerial_won": 0.6611,
                "sweeper_actions": 1.706,
                "sweeper_accurate": 1.706,
                "saves_inside_box": 2.4956,
                "possession_lost": 1.8038,
                "duels_won": 0.6611,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 24.5645,
                "accurate_own_half_passes": 24.1808,
                "gk_engine_opponent_lambda": 3.1574,
                "shots_faced": 32.2,
                "expected_saves": 7.88,
                "high_pressure_saves": 2.72,
                "opponent_faced": "Kylian Mbappé, Vinícius Júnior",
                "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": 82.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": 616,
                "fifa_rank": 409.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 82.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "saves": 2.4065,
                "goals_prevented": -0.0741,
                "rating": 6.9305,
                "minutes": 90.0,
                "total_pass": 25.9846,
                "accurate_pass": 24.1808,
                "total_long_balls": 4.6525,
                "accurate_long_balls": 2.8487,
                "touches": 35.6944,
                "clearances": 2.6443,
                "ball_recovery": 6.2673,
                "high_claims": 0.5732,
                "punches": 1.5605,
                "aerial_won": 0.6611,
                "sweeper_actions": 1.706,
                "sweeper_accurate": 1.706,
                "saves_inside_box": 2.4956,
                "possession_lost": 1.8038,
                "duels_won": 0.6611,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 24.5645,
                "accurate_own_half_passes": 24.1808,
                "gk_engine_opponent_lambda": 3.1574,
                "shots_faced": 32.2,
                "expected_saves": 7.88,
                "high_pressure_saves": 2.72,
                "opponent_faced": "Kylian Mbappé, Vinícius Júnior",
                "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": 82.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.0,
                "squad_weight_total": 1.8926,
                "weight_share": 0.0,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alberto Moleiro",
                    "weight": 0.4579,
                    "already": 0,
                    "effective_weight": 0.4579,
                    "runner_up": "Ayoze Pérez",
                    "runner_up_effective_weight": 0.4407
                  }
                ]
              }
            },
            {
              "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.4065,
                "goals_prevented": -0.0741,
                "rating": 6.9305,
                "minutes": 90.0,
                "total_pass": 25.9846,
                "accurate_pass": 24.1808,
                "total_long_balls": 4.6525,
                "accurate_long_balls": 2.8487,
                "touches": 35.6944,
                "clearances": 2.6443,
                "ball_recovery": 6.2673,
                "high_claims": 0.5732,
                "punches": 1.5605,
                "aerial_won": 0.6611,
                "sweeper_actions": 1.706,
                "sweeper_accurate": 1.706,
                "saves_inside_box": 2.4956,
                "possession_lost": 1.8038,
                "duels_won": 0.6611,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 24.5645,
                "accurate_own_half_passes": 24.1808,
                "gk_engine_opponent_lambda": 3.1574,
                "shots_faced": 32.2,
                "expected_saves": 7.88,
                "high_pressure_saves": 2.72,
                "opponent_faced": "Kylian Mbappé, Vinícius Júnior",
                "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": 82.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0,
                "squad_weight_total": 1.4371,
                "weight_share": 0.0,
                "creation_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ilias Akhomach",
                    "weight": 0.2045,
                    "already": 0,
                    "effective_weight": 0.2045,
                    "runner_up": "Renato Veiga",
                    "runner_up_effective_weight": 0.1341,
                    "blocked_own_goal": [
                      "Alberto Moleiro"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Santiago Mouriño": {
          "player_id": 1468046,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 15,
          "height": 186,
          "market_value": 19400000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 4,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 6.8134,
            "minutes": 83,
            "total_pass": 46,
            "accurate_pass": 39,
            "duels_won": 6,
            "total_long_balls": 3,
            "accurate_long_balls": 1,
            "total_own_half_passes": 23,
            "accurate_own_half_passes": 21,
            "total_opp_half_passes": 23,
            "accurate_opp_half_passes": 19,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 70,
            "possession_lost": 10.5377,
            "dispossessed": 0.6775,
            "duels_lost": 6,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 5,
            "challenges_lost": 2,
            "fouls": 2,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.0221,
            "goals": 0,
            "assist_rate": 0.0194,
            "assists": 0,
            "expected_goals": 0.0482,
            "expected_assists": 0.0856,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0489,
            "ball_carries": 15,
            "total_progression": 62,
            "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.0,
            "clearances_in_zone": 0.9,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.599,
            "opponent_faced": "Bernardo Silva",
            "pressing_zone": "Right Wing vs Left Back — Flank Battle",
            "matchup_zone": "Right Wing vs Left Back — Flank Battle",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0471,
            "projected_assists": 0,
            "assist_probability": 0.082,
            "finishing_factor": 0.8533,
            "creation_factor": 0.8,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 11,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 9,
                "clearances": 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": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 10,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0008,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 6,
                "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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 76,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0209,
                "total_shots": 0,
                "total_pass": 45,
                "accurate_pass": 41,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 2,
                "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": 16416290,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 62,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.051,
                "expected_assists": 0.1417,
                "total_shots": 1,
                "total_pass": 44,
                "accurate_pass": 38,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 2,
                "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": 16416302,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.3351,
                "total_shots": 0,
                "total_pass": 39,
                "accurate_pass": 37,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 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": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 88,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1233,
                "expected_assists": 0.0387,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 53,
                "accurate_pass": 45,
                "tackles": 5,
                "tackles_won": 4,
                "clearances": 2,
                "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": 14083735,
              "match_date": "2026-05-24",
              "home_team": "Villarreal",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0155,
                "total_shots": 0,
                "total_pass": 75,
                "accurate_pass": 67,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 6,
                "aerial_won": 2,
                "duels_won": 7,
                "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": 14083682,
              "match_date": "2026-05-17",
              "home_team": "Rayo Vallecano",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0268,
                "expected_assists": 0.0129,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 48,
                "accurate_pass": 43,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 4,
                "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": 14083573,
              "match_date": "2026-05-10",
              "home_team": "Mallorca",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.004,
                "total_shots": 0,
                "total_pass": 40,
                "accurate_pass": 32,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 5,
                "duels_won": 6,
                "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": 14083282,
              "match_date": "2026-04-23",
              "home_team": "Real Oviedo",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 78,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0496,
                "expected_assists": 0.0032,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 32,
                "accurate_pass": 26,
                "tackles": 6,
                "tackles_won": 4,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 10,
                "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": 2087,
            "combined_rank_score": 793.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 339.0,
            "sofascore_rating": 6.9929,
            "sofascore_appearances": 28.0,
            "fifa_rank": 1248.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8134,
            "source_file": "data/player_rankings.csv",
            "player_name": "Santiago Mouriño",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Shodiyor Shodiboev",
                  "ranking": 2082
                },
                {
                  "player_name": "Matija Rom",
                  "ranking": 2083
                },
                {
                  "player_name": "Franco Rami",
                  "ranking": 2084
                },
                {
                  "player_name": "Jon Aramburu",
                  "ranking": 2085
                },
                {
                  "player_name": "Nikita Haikin",
                  "ranking": 2086
                }
              ],
              "lower": [
                {
                  "player_name": "Mason Mount",
                  "ranking": 2088
                },
                {
                  "player_name": "Thomas Partey",
                  "ranking": 2089
                },
                {
                  "player_name": "Sukhrob Izzatov",
                  "ranking": 2090
                },
                {
                  "player_name": "Gyu-baeg Lee",
                  "ranking": 2091
                },
                {
                  "player_name": "Brian Oyola",
                  "ranking": 2092
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.776,
          "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.776,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0046,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 238.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.76,
              "shots_on_target_pct": 50.0,
              "prior_reliability": 0.1733
            },
            "rationale": "XGBoost regressor (D_service) evaluated 34 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Villarreal, rel: 0.17, 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.9931,
                "tackles": 1.9449,
                "tackles_won": 1.3805,
                "clearances": 3.4991,
                "aerial_won": 1.3432,
                "total_shots": 0.5032,
                "rating": 6.8134,
                "minutes": 82.73,
                "total_pass": 45.4652,
                "accurate_pass": 39.0829,
                "duels_won": 6.2393,
                "total_long_balls": 3.3371,
                "accurate_long_balls": 1.3724,
                "total_own_half_passes": 22.8511,
                "accurate_own_half_passes": 20.4229,
                "total_opp_half_passes": 22.6141,
                "accurate_opp_half_passes": 18.66,
                "crosses_total": 0.2675,
                "crosses_accurate": 0.1091,
                "touches": 69.4735,
                "possession_lost": 10.4894,
                "dispossessed": 0.6744,
                "duels_lost": 6.1361,
                "aerial_lost": 1.0945,
                "total_contest": 0.965,
                "won_contest": 0.5294,
                "ball_recovery": 5.1999,
                "challenges_lost": 2.2611,
                "fouls": 1.6837,
                "fouls_drawn": 1.155,
                "blocks": 0.3601,
                "goals": 0.0223,
                "goal_rate": 0.0223,
                "assists": 0.0196,
                "assist_rate": 0.0196,
                "expected_goals": 0.0343,
                "expected_assists": 0.0676,
                "shots_on_target": 0.1594,
                "big_chances_created": 0.135,
                "xgot": 0.0348,
                "ball_carries": 15.2655,
                "total_progression": 62.0885,
                "progressive_carries": 0.8954,
                "key_pass": 0.5174,
                "shots_off_target": 0.3438
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-10T10:05:07.485697+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Levante UD",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.1506,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Málaga CF",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.128,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Real Betis",
                    "minutes": 76.0,
                    "is_starting": true,
                    "weight": 0.1088,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.0925,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0786,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 88.0,
                    "is_starting": true,
                    "weight": 0.0668,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-24",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0568,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0483,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Mallorca",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-04-23",
                    "opponent": "Real Oviedo",
                    "minutes": 78.0,
                    "is_starting": true,
                    "weight": 0.0349,
                    "rating": 7.2
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 2.9168,
                  "aerialWon": 1.079,
                  "totalClearance_p90": 6.2957,
                  "totalTackle": 2.3233,
                  "totalPass": 34.9511
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.9931153655052185,
                    "model_output": 0.9931,
                    "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.123
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.1008
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0457
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0256
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0238
                        }
                      ],
                      "others": 0.0185,
                      "total": 0.9931,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.134047
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.108503
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.050708
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.027245
                        },
                        {
                          "name": "touches",
                          "margin": 0.0247
                        }
                      ],
                      "others_margin": 0.018893
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.9448566436767578,
                    "model_output": 1.9449,
                    "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.2112
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.1112
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.078
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.074
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0745
                        }
                      ],
                      "others": 0.0021,
                      "total": 1.9449,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.141085
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.066959
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.044449
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.040423
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.039107
                        }
                      ],
                      "others_margin": 0.001076
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.3805150985717773,
                    "model_output": 1.3805,
                    "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.1319
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.1189
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0958
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0595
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0558
                        }
                      ],
                      "others": 0.0642,
                      "total": 1.3805,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.143612
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.113848
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.083111
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.048336
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.043345
                        }
                      ],
                      "others_margin": 0.047618
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 3.49910831451416,
                    "model_output": 3.4991,
                    "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.5051
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.3717
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.3061
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.2518
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.088
                        }
                      ],
                      "others": -0.5556,
                      "total": 3.4991,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.136579
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.098669
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.081941
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.062709
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.021465
                        }
                      ],
                      "others_margin": -0.14737
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.3431910276412964,
                    "model_output": 1.3432,
                    "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.18
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1729
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0859
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.086
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0721
                        }
                      ],
                      "others": -0.1315,
                      "total": 1.3432,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.139536
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.13436
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.060584
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.057237
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.047722
                        }
                      ],
                      "others_margin": -0.093429
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5032281279563904,
                    "model_output": 0.5032,
                    "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.0618
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0427
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0076
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": 0.0067
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0064
                        }
                      ],
                      "others": 0.0075,
                      "total": 0.5032,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.061822
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.042746
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.00764
                        },
                        {
                          "name": "duelWon_p90",
                          "margin": 0.006723
                        },
                        {
                          "name": "totalProgression",
                          "margin": 0.006442
                        }
                      ],
                      "others_margin": 0.007497
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.8134002685546875,
                    "model_output": 6.8134,
                    "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.044
                        },
                        {
                          "name": "touches",
                          "contribution": 0.02
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0131
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0106
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0094
                        }
                      ],
                      "others": -0.0288,
                      "total": 6.8134,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "touches_p90",
                          "margin": 0.043997
                        },
                        {
                          "name": "touches",
                          "margin": 0.019975
                        },
                        {
                          "name": "rating",
                          "margin": 0.01313
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.01061
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.009394
                        }
                      ],
                      "others_margin": -0.028827
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 34,
                  "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.0046, quality 0.625)",
              "stats": {
                "interceptions": 0.9977,
                "tackles": 1.9538,
                "tackles_won": 1.3869,
                "clearances": 3.5152,
                "aerial_won": 1.3494,
                "total_shots": 0.5055,
                "rating": 6.8134,
                "minutes": 82.73,
                "total_pass": 45.6743,
                "accurate_pass": 39.2627,
                "duels_won": 6.268,
                "total_long_balls": 3.3525,
                "accurate_long_balls": 1.3787,
                "total_own_half_passes": 22.9562,
                "accurate_own_half_passes": 20.5168,
                "total_opp_half_passes": 22.7181,
                "accurate_opp_half_passes": 18.7458,
                "crosses_total": 0.2687,
                "crosses_accurate": 0.1096,
                "touches": 69.7931,
                "possession_lost": 10.5377,
                "dispossessed": 0.6775,
                "duels_lost": 6.1643,
                "aerial_lost": 1.0995,
                "total_contest": 0.9694,
                "won_contest": 0.5318,
                "ball_recovery": 5.2238,
                "challenges_lost": 2.2715,
                "fouls": 1.6914,
                "fouls_drawn": 1.1603,
                "blocks": 0.3618,
                "goals": 0.0224,
                "goal_rate": 0.0224,
                "assists": 0.0197,
                "assist_rate": 0.0197,
                "expected_goals": 0.0345,
                "expected_assists": 0.0679,
                "shots_on_target": 0.1601,
                "big_chances_created": 0.1356,
                "xgot": 0.035,
                "ball_carries": 15.3357,
                "total_progression": 62.3741,
                "progressive_carries": 0.8995,
                "key_pass": 0.5198,
                "shots_off_target": 0.3454
              },
              "params": {
                "market_value_eur": 19400000,
                "quality_factor": 0.6251,
                "boost_factor": 1.0046,
                "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.0144)",
              "stats": {
                "interceptions": 0.9884,
                "tackles": 1.9538,
                "tackles_won": 1.4077,
                "clearances": 3.5152,
                "aerial_won": 1.3494,
                "total_shots": 0.5083,
                "rating": 6.8134,
                "minutes": 82.73,
                "total_pass": 45.6743,
                "accurate_pass": 39.2627,
                "duels_won": 6.268,
                "total_long_balls": 3.3525,
                "accurate_long_balls": 1.3787,
                "total_own_half_passes": 22.9562,
                "accurate_own_half_passes": 20.5168,
                "total_opp_half_passes": 22.7181,
                "accurate_opp_half_passes": 18.7458,
                "crosses_total": 0.275,
                "crosses_accurate": 0.1096,
                "touches": 69.7931,
                "possession_lost": 10.5377,
                "dispossessed": 0.6775,
                "duels_lost": 6.1643,
                "aerial_lost": 1.0995,
                "total_contest": 0.9694,
                "won_contest": 0.5318,
                "ball_recovery": 5.2238,
                "challenges_lost": 2.2715,
                "fouls": 1.6976,
                "fouls_drawn": 1.1589,
                "blocks": 0.3618,
                "goals": 0.0221,
                "goal_rate": 0.0221,
                "assists": 0.0194,
                "assist_rate": 0.0194,
                "expected_goals": 0.0345,
                "expected_assists": 0.0679,
                "shots_on_target": 0.1628,
                "big_chances_created": 0.1356,
                "xgot": 0.035,
                "ball_carries": 15.3357,
                "total_progression": 62.3741,
                "progressive_carries": 0.8995,
                "key_pass": 0.5198,
                "shots_off_target": 0.3454
              },
              "params": {
                "blend_weight": 0.0144,
                "history_matches": 34,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9192,
                "prior_reliability": 0.1733,
                "competition": "La Liga",
                "squad": "Villarreal"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 1.3869,
                  "after": 1.4077
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.9977,
                  "after": 0.9884
                },
                {
                  "stat": "totalCross",
                  "before": 0.2687,
                  "after": 0.275
                },
                {
                  "stat": "fouls",
                  "before": 1.6914,
                  "after": 1.6976
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.9884,
                "tackles": 1.9538,
                "tackles_won": 1.4077,
                "clearances": 3.5152,
                "aerial_won": 1.3494,
                "total_shots": 0.5083,
                "rating": 6.8134,
                "minutes": 82.73,
                "total_pass": 45.6743,
                "accurate_pass": 39.2627,
                "duels_won": 6.268,
                "total_long_balls": 3.3525,
                "accurate_long_balls": 1.3787,
                "total_own_half_passes": 22.9562,
                "accurate_own_half_passes": 20.5168,
                "total_opp_half_passes": 22.7181,
                "accurate_opp_half_passes": 18.7458,
                "crosses_total": 0.275,
                "crosses_accurate": 0.1096,
                "touches": 69.7931,
                "possession_lost": 10.5377,
                "dispossessed": 0.6775,
                "duels_lost": 6.1643,
                "aerial_lost": 1.0995,
                "total_contest": 0.9694,
                "won_contest": 0.5318,
                "ball_recovery": 5.2238,
                "challenges_lost": 2.2715,
                "fouls": 1.6976,
                "fouls_drawn": 1.1589,
                "blocks": 0.3618,
                "goals": 0.0221,
                "goal_rate": 0.0221,
                "assists": 0.0194,
                "assist_rate": 0.0194,
                "expected_goals": 0.0345,
                "expected_assists": 0.0679,
                "shots_on_target": 0.1628,
                "big_chances_created": 0.1356,
                "xgot": 0.035,
                "ball_carries": 15.3357,
                "total_progression": 62.3741,
                "progressive_carries": 0.8995,
                "key_pass": 0.5198,
                "shots_off_target": 0.3454
              },
              "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.9884,
                "tackles": 1.9538,
                "tackles_won": 1.4077,
                "clearances": 3.5152,
                "aerial_won": 1.3494,
                "total_shots": 0.5083,
                "rating": 6.8134,
                "minutes": 82.73,
                "total_pass": 45.6743,
                "accurate_pass": 39.2627,
                "duels_won": 6.268,
                "total_long_balls": 3.3525,
                "accurate_long_balls": 1.3787,
                "total_own_half_passes": 22.9562,
                "accurate_own_half_passes": 20.5168,
                "total_opp_half_passes": 22.7181,
                "accurate_opp_half_passes": 18.7458,
                "crosses_total": 0.275,
                "crosses_accurate": 0.1096,
                "touches": 69.7931,
                "possession_lost": 10.5377,
                "dispossessed": 0.6775,
                "duels_lost": 6.1643,
                "aerial_lost": 1.0995,
                "total_contest": 0.9694,
                "won_contest": 0.5318,
                "ball_recovery": 5.2238,
                "challenges_lost": 2.2715,
                "fouls": 1.6976,
                "fouls_drawn": 1.1589,
                "blocks": 0.3618,
                "goals": 0.0221,
                "goal_rate": 0.0221,
                "assists": 0.0194,
                "assist_rate": 0.0194,
                "expected_goals": 0.0345,
                "expected_assists": 0.0679,
                "shots_on_target": 0.1628,
                "big_chances_created": 0.1356,
                "xgot": 0.035,
                "ball_carries": 15.3357,
                "total_progression": 62.3741,
                "progressive_carries": 0.8995,
                "key_pass": 0.5198,
                "shots_off_target": 0.3454,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.7,
                "interceptions_in_zone": 1.0,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.599,
                "opponent_faced": "Bernardo Silva",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Bernardo Silva",
                  "matchup_zone": "Right Wing vs Left Back — Flank Battle"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.74 (squad xG sum 1.2479, xG scale 1.3975, xA scale 1.2613, team xA 1.40 = 0.80 x lambda)",
              "stats": {
                "interceptions": 0.9884,
                "tackles": 1.9538,
                "tackles_won": 1.4077,
                "clearances": 3.5152,
                "aerial_won": 1.3494,
                "total_shots": 0.5083,
                "rating": 6.8134,
                "minutes": 82.73,
                "total_pass": 45.6743,
                "accurate_pass": 39.2627,
                "duels_won": 6.268,
                "total_long_balls": 3.3525,
                "accurate_long_balls": 1.3787,
                "total_own_half_passes": 22.9562,
                "accurate_own_half_passes": 20.5168,
                "total_opp_half_passes": 22.7181,
                "accurate_opp_half_passes": 18.7458,
                "crosses_total": 0.275,
                "crosses_accurate": 0.1096,
                "touches": 69.7931,
                "possession_lost": 10.5377,
                "dispossessed": 0.6775,
                "duels_lost": 6.1643,
                "aerial_lost": 1.0995,
                "total_contest": 0.9694,
                "won_contest": 0.5318,
                "ball_recovery": 5.2238,
                "challenges_lost": 2.2715,
                "fouls": 1.6976,
                "fouls_drawn": 1.1589,
                "blocks": 0.3618,
                "goal_rate": 0.0221,
                "goals": 0,
                "assist_rate": 0.0194,
                "assists": 0,
                "expected_goals": 0.0482,
                "expected_assists": 0.0856,
                "shots_on_target": 0.1628,
                "big_chances_created": 0.1356,
                "xgot": 0.0489,
                "ball_carries": 15.3357,
                "total_progression": 62.3741,
                "progressive_carries": 0.8995,
                "key_pass": 0.5198,
                "shots_off_target": 0.3454,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.7,
                "interceptions_in_zone": 1.0,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.599,
                "opponent_faced": "Bernardo Silva",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8533,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.744,
                "squad_xg_sum": 1.2479,
                "squad_xa_sum": 1.1061,
                "team_expected_assists": 1.3952,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3975,
                "xa_scale": 1.2613,
                "opponent_lambda": 3.394,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0345,
                  "after": 0.0482
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0679,
                  "after": 0.0856
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 10 by projected rating, fifa_overall 78.0; not used by the projection)",
              "stats": {
                "interceptions": 0.9884,
                "tackles": 1.9538,
                "tackles_won": 1.4077,
                "clearances": 3.5152,
                "aerial_won": 1.3494,
                "total_shots": 0.5083,
                "rating": 6.8134,
                "minutes": 82.73,
                "total_pass": 45.6743,
                "accurate_pass": 39.2627,
                "duels_won": 6.268,
                "total_long_balls": 3.3525,
                "accurate_long_balls": 1.3787,
                "total_own_half_passes": 22.9562,
                "accurate_own_half_passes": 20.5168,
                "total_opp_half_passes": 22.7181,
                "accurate_opp_half_passes": 18.7458,
                "crosses_total": 0.275,
                "crosses_accurate": 0.1096,
                "touches": 69.7931,
                "possession_lost": 10.5377,
                "dispossessed": 0.6775,
                "duels_lost": 6.1643,
                "aerial_lost": 1.0995,
                "total_contest": 0.9694,
                "won_contest": 0.5318,
                "ball_recovery": 5.2238,
                "challenges_lost": 2.2715,
                "fouls": 1.6976,
                "fouls_drawn": 1.1589,
                "blocks": 0.3618,
                "goal_rate": 0.0221,
                "goals": 0,
                "assist_rate": 0.0194,
                "assists": 0,
                "expected_goals": 0.0482,
                "expected_assists": 0.0856,
                "shots_on_target": 0.1628,
                "big_chances_created": 0.1356,
                "xgot": 0.0489,
                "ball_carries": 15.3357,
                "total_progression": 62.3741,
                "progressive_carries": 0.8995,
                "key_pass": 0.5198,
                "shots_off_target": 0.3454,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.7,
                "interceptions_in_zone": 1.0,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.599,
                "opponent_faced": "Bernardo Silva",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8533,
                "creation_factor": 0.8,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 10,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2087,
                "fifa_rank": 1248.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 0.9884,
                "tackles": 1.9538,
                "tackles_won": 1.4077,
                "clearances": 3.5152,
                "aerial_won": 1.3494,
                "total_shots": 0.5083,
                "rating": 6.8134,
                "minutes": 82.73,
                "total_pass": 45.6743,
                "accurate_pass": 39.2627,
                "duels_won": 6.268,
                "total_long_balls": 3.3525,
                "accurate_long_balls": 1.3787,
                "total_own_half_passes": 22.9562,
                "accurate_own_half_passes": 20.5168,
                "total_opp_half_passes": 22.7181,
                "accurate_opp_half_passes": 18.7458,
                "crosses_total": 0.275,
                "crosses_accurate": 0.1096,
                "touches": 69.7931,
                "possession_lost": 10.5377,
                "dispossessed": 0.6775,
                "duels_lost": 6.1643,
                "aerial_lost": 1.0995,
                "total_contest": 0.9694,
                "won_contest": 0.5318,
                "ball_recovery": 5.2238,
                "challenges_lost": 2.2715,
                "fouls": 1.6976,
                "fouls_drawn": 1.1589,
                "blocks": 0.3618,
                "goal_rate": 0.0221,
                "goals": 0,
                "assist_rate": 0.0194,
                "assists": 0,
                "expected_goals": 0.0482,
                "expected_assists": 0.0856,
                "shots_on_target": 0.1628,
                "big_chances_created": 0.1356,
                "xgot": 0.0489,
                "ball_carries": 15.3357,
                "total_progression": 62.3741,
                "progressive_carries": 0.8995,
                "key_pass": 0.5198,
                "shots_off_target": 0.3454,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.7,
                "interceptions_in_zone": 1.0,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.599,
                "opponent_faced": "Bernardo Silva",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0471,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8533,
                "creation_factor": 0.8,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0471,
                "scorer_weight": 0.0411,
                "squad_weight_total": 1.8926,
                "weight_share": 0.0217,
                "finishing_factor": 0.8533,
                "appearance_weight": 1.0,
                "weight_rank": 10,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alberto Moleiro",
                    "weight": 0.4579,
                    "already": 0,
                    "effective_weight": 0.4579,
                    "runner_up": "Ayoze Pérez",
                    "runner_up_effective_weight": 0.4407
                  }
                ]
              }
            },
            {
              "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.9884,
                "tackles": 1.9538,
                "tackles_won": 1.4077,
                "clearances": 3.5152,
                "aerial_won": 1.3494,
                "total_shots": 0.5083,
                "rating": 6.8134,
                "minutes": 82.73,
                "total_pass": 45.6743,
                "accurate_pass": 39.2627,
                "duels_won": 6.268,
                "total_long_balls": 3.3525,
                "accurate_long_balls": 1.3787,
                "total_own_half_passes": 22.9562,
                "accurate_own_half_passes": 20.5168,
                "total_opp_half_passes": 22.7181,
                "accurate_opp_half_passes": 18.7458,
                "crosses_total": 0.275,
                "crosses_accurate": 0.1096,
                "touches": 69.7931,
                "possession_lost": 10.5377,
                "dispossessed": 0.6775,
                "duels_lost": 6.1643,
                "aerial_lost": 1.0995,
                "total_contest": 0.9694,
                "won_contest": 0.5318,
                "ball_recovery": 5.2238,
                "challenges_lost": 2.2715,
                "fouls": 1.6976,
                "fouls_drawn": 1.1589,
                "blocks": 0.3618,
                "goal_rate": 0.0221,
                "goals": 0,
                "assist_rate": 0.0194,
                "assists": 0,
                "expected_goals": 0.0482,
                "expected_assists": 0.0856,
                "shots_on_target": 0.1628,
                "big_chances_created": 0.1356,
                "xgot": 0.0489,
                "ball_carries": 15.3357,
                "total_progression": 62.3741,
                "progressive_carries": 0.8995,
                "key_pass": 0.5198,
                "shots_off_target": 0.3454,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.7,
                "interceptions_in_zone": 1.0,
                "clearances_in_zone": 0.9,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.599,
                "opponent_faced": "Bernardo Silva",
                "pressing_zone": "Right Wing vs Left Back — Flank Battle",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0471,
                "projected_assists": 0,
                "assist_probability": 0.082,
                "finishing_factor": 0.8533,
                "creation_factor": 0.8,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.082,
                "provider_weight": 0.0685,
                "squad_weight_total": 1.4371,
                "weight_share": 0.0477,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 10,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ilias Akhomach",
                    "weight": 0.2045,
                    "already": 0,
                    "effective_weight": 0.2045,
                    "runner_up": "Renato Veiga",
                    "runner_up_effective_weight": 0.1341,
                    "blocked_own_goal": [
                      "Alberto Moleiro"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Pau Navarro": {
          "player_id": 1525863,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 6,
          "height": 185,
          "market_value": 14600000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 5,
            "aerial_won": 2,
            "total_shots": 0,
            "rating": 6.7851,
            "minutes": 85,
            "total_pass": 54,
            "accurate_pass": 50,
            "duels_won": 3,
            "total_long_balls": 3,
            "accurate_long_balls": 2,
            "total_own_half_passes": 37,
            "accurate_own_half_passes": 36,
            "total_opp_half_passes": 17,
            "accurate_opp_half_passes": 14,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 66,
            "possession_lost": 4.524,
            "dispossessed": 0.1545,
            "duels_lost": 4,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0057,
            "expected_assists": 0.0105,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0011,
            "ball_carries": 11,
            "total_progression": 21,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 0.9,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.74,
            "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.0057,
            "projected_assists": 0,
            "assist_probability": 0.0104,
            "finishing_factor": 0.9242,
            "creation_factor": 0.8576,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 79,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0098,
                "total_shots": 0,
                "total_pass": 83,
                "accurate_pass": 78,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 3,
                "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": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0063,
                "total_shots": 0,
                "total_pass": 46,
                "accurate_pass": 45,
                "tackles": 1,
                "tackles_won": 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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0242,
                "total_shots": 0,
                "total_pass": 84,
                "accurate_pass": 79,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 5,
                "aerial_won": 3,
                "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": 14083735,
              "match_date": "2026-05-24",
              "home_team": "Villarreal",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0123,
                "total_shots": 0,
                "total_pass": 42,
                "accurate_pass": 38,
                "tackles": 2,
                "clearances": 6,
                "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": 14083644,
              "match_date": "2026-05-13",
              "home_team": "Villarreal",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0509,
                "expected_assists": 0.0057,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 56,
                "accurate_pass": 53,
                "clearances": 6,
                "aerial_won": 2,
                "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": 14083512,
              "match_date": "2026-05-02",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 81,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0059,
                "total_shots": 0,
                "total_pass": 49,
                "accurate_pass": 47,
                "tackles": 2,
                "tackles_won": 1,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083282,
              "match_date": "2026-04-23",
              "home_team": "Real Oviedo",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 31,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 12,
                "aerial_won": 2,
                "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": 14083102,
              "match_date": "2026-04-12",
              "home_team": "Athletic Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 45,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0012,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 26,
                "interceptions": 1,
                "clearances": 5,
                "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": 14081812,
              "match_date": "2026-04-06",
              "home_team": "Girona FC",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 90,
                "rating": 5.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0019,
                "total_shots": 0,
                "total_pass": 51,
                "accurate_pass": 48,
                "clearances": 6,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14081808,
              "match_date": "2026-03-20",
              "home_team": "Villarreal",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0022,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 29,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 3,
                "clearances": 6,
                "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": 3794,
            "combined_rank_score": 1792.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 661.0,
            "sofascore_rating": 6.7304,
            "sofascore_appearances": 23.0,
            "fifa_rank": 2923.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7851,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pau Navarro",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Chadi Riad",
                  "ranking": 3789
                },
                {
                  "player_name": "Adalberto Carrasquilla",
                  "ranking": 3790
                },
                {
                  "player_name": "Tyler Dibling",
                  "ranking": 3791
                },
                {
                  "player_name": "Jacob Widell Zetterström",
                  "ranking": 3792
                },
                {
                  "player_name": "Maxime Crépeau",
                  "ranking": 3793
                }
              ],
              "lower": [
                {
                  "player_name": "Lucas Pires",
                  "ranking": 3795
                },
                {
                  "player_name": "Salih Özcan",
                  "ranking": 3796
                },
                {
                  "player_name": "Stefan Mugoša",
                  "ranking": 3797
                },
                {
                  "player_name": "Jaden Philogene",
                  "ranking": 3798
                },
                {
                  "player_name": "Kenny McLean",
                  "ranking": 3799
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 26,
          "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": 26,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.0034,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 0.0,
              "starts": 0.0,
              "prior_reliability": 0.0
            },
            "rationale": "XGBoost regressor (D_service) evaluated 26 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Villarreal, rel: 0.00, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.9381,
                "tackles": 1.6131,
                "tackles_won": 0.9407,
                "clearances": 4.9085,
                "aerial_won": 1.5611,
                "total_shots": 0.2997,
                "rating": 6.7851,
                "minutes": 85.07,
                "total_pass": 53.7518,
                "accurate_pass": 50.0382,
                "duels_won": 3.4732,
                "total_long_balls": 3.057,
                "accurate_long_balls": 1.5809,
                "total_own_half_passes": 37.1052,
                "accurate_own_half_passes": 35.8075,
                "total_opp_half_passes": 16.6465,
                "accurate_opp_half_passes": 14.2307,
                "crosses_total": 0.0062,
                "crosses_accurate": 0.0026,
                "touches": 65.5861,
                "possession_lost": 4.5087,
                "dispossessed": 0.154,
                "duels_lost": 3.9795,
                "aerial_lost": 1.4764,
                "total_contest": 0.7606,
                "won_contest": 0.4495,
                "ball_recovery": 2.4905,
                "challenges_lost": 1.0464,
                "fouls": 1.003,
                "fouls_drawn": 0.1782,
                "blocks": 0.566,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0041,
                "expected_assists": 0.0083,
                "shots_on_target": 0.0821,
                "big_chances_created": 0.007,
                "xgot": 0.0008,
                "ball_carries": 10.6049,
                "total_progression": 20.4432,
                "progressive_carries": 0.0953,
                "key_pass": 0.046,
                "shots_off_target": 0.2176
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-10T10:05:07.485697+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Levante UD",
                    "minutes": 79.0,
                    "is_starting": true,
                    "weight": 0.1522,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1294,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.11,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-05-24",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0935,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0795,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Levante UD",
                    "minutes": 81.0,
                    "is_starting": true,
                    "weight": 0.0675,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-04-23",
                    "opponent": "Real Oviedo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0574,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-04-12",
                    "opponent": "Athletic Club",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0488,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-04-06",
                    "opponent": "Girona FC",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0415,
                    "rating": 5.9
                  },
                  {
                    "match_date": "2026-03-20",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0353,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 4.5749,
                  "aerialWon": 1.0377,
                  "totalClearance_p90": 4.9224,
                  "totalTackle": 1.8078,
                  "totalPass": 53.7518
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.9380953311920166,
                    "model_output": 0.9381,
                    "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.1128
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0902
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0213
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0175
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.013
                        }
                      ],
                      "others": 0.0324,
                      "total": 0.9381,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.123584
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.097588
                        },
                        {
                          "name": "touches",
                          "margin": 0.023941
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.01922
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.01429
                        }
                      ],
                      "others_margin": 0.035228
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.6131296157836914,
                    "model_output": 1.6131,
                    "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.1887
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0741
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0707
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.048
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0344
                        }
                      ],
                      "others": -0.1007,
                      "total": 1.6131,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.126988
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.045746
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.041776
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.028199
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.020276
                        }
                      ],
                      "others_margin": -0.0605
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.9406859874725342,
                    "model_output": 0.9407,
                    "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.1082
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0713
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0578
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0415
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0291
                        }
                      ],
                      "others": -0.0804,
                      "total": 0.9407,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.11929
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.071434
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.054389
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.03878
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.028089
                        }
                      ],
                      "others_margin": -0.081976
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 4.9084930419921875,
                    "model_output": 4.9085,
                    "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.4436
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.4448
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.4193
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.2685
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.1342
                        }
                      ],
                      "others": -0.2533,
                      "total": 4.9085,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.12092
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.108138
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.092219
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.054893
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.026345
                        }
                      ],
                      "others_margin": -0.050331
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.561073899269104,
                    "model_output": 1.5611,
                    "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.1936
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1707
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.1016
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0976
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0523
                        }
                      ],
                      "others": -0.0495,
                      "total": 1.5611,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.150936
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.134208
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.072125
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.064685
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.032995
                        }
                      ],
                      "others_margin": -0.031256
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.29968589544296265,
                    "model_output": 0.2997,
                    "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.1138
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0497
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0175
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0159
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0082
                        }
                      ],
                      "others": -0.0657,
                      "total": 0.2997,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.113843
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.049679
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.017485
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.015862
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.008217
                        }
                      ],
                      "others_margin": -0.065718
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.785091400146484,
                    "model_output": 6.7851,
                    "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.0266
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0155
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0146
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.013
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0111
                        }
                      ],
                      "others": 0.0054,
                      "total": 6.7851,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "accuratePass",
                          "margin": 0.026629
                        },
                        {
                          "name": "rating",
                          "margin": -0.015503
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.014561
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.013031
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.011123
                        }
                      ],
                      "others_margin": 0.005303
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 26,
                  "role_matches": 26,
                  "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.0034, quality 0.575)",
              "stats": {
                "interceptions": 0.9413,
                "tackles": 1.6186,
                "tackles_won": 0.9439,
                "clearances": 4.9252,
                "aerial_won": 1.5664,
                "total_shots": 0.3007,
                "rating": 6.7851,
                "minutes": 85.07,
                "total_pass": 53.9346,
                "accurate_pass": 50.2083,
                "duels_won": 3.485,
                "total_long_balls": 3.0674,
                "accurate_long_balls": 1.5863,
                "total_own_half_passes": 37.2314,
                "accurate_own_half_passes": 35.9292,
                "total_opp_half_passes": 16.7031,
                "accurate_opp_half_passes": 14.2791,
                "crosses_total": 0.0062,
                "crosses_accurate": 0.0026,
                "touches": 65.8091,
                "possession_lost": 4.524,
                "dispossessed": 0.1545,
                "duels_lost": 3.993,
                "aerial_lost": 1.4814,
                "total_contest": 0.7632,
                "won_contest": 0.451,
                "ball_recovery": 2.499,
                "challenges_lost": 1.05,
                "fouls": 1.0064,
                "fouls_drawn": 0.1788,
                "blocks": 0.5679,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0041,
                "expected_assists": 0.0083,
                "shots_on_target": 0.0824,
                "big_chances_created": 0.007,
                "xgot": 0.0008,
                "ball_carries": 10.641,
                "total_progression": 20.5127,
                "progressive_carries": 0.0956,
                "key_pass": 0.0462,
                "shots_off_target": 0.2183
              },
              "params": {
                "market_value_eur": 14600000,
                "quality_factor": 0.5748,
                "boost_factor": 1.0034,
                "reference_quality": 0.505,
                "history_matches": 26,
                "history_shrink": 0.1613,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.9413,
                "tackles": 1.6186,
                "tackles_won": 0.9439,
                "clearances": 4.9252,
                "aerial_won": 1.5664,
                "total_shots": 0.3007,
                "rating": 6.7851,
                "minutes": 85.07,
                "total_pass": 53.9346,
                "accurate_pass": 50.2083,
                "duels_won": 3.485,
                "total_long_balls": 3.0674,
                "accurate_long_balls": 1.5863,
                "total_own_half_passes": 37.2314,
                "accurate_own_half_passes": 35.9292,
                "total_opp_half_passes": 16.7031,
                "accurate_opp_half_passes": 14.2791,
                "crosses_total": 0.0062,
                "crosses_accurate": 0.0026,
                "touches": 65.8091,
                "possession_lost": 4.524,
                "dispossessed": 0.1545,
                "duels_lost": 3.993,
                "aerial_lost": 1.4814,
                "total_contest": 0.7632,
                "won_contest": 0.451,
                "ball_recovery": 2.499,
                "challenges_lost": 1.05,
                "fouls": 1.0064,
                "fouls_drawn": 0.1788,
                "blocks": 0.5679,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0041,
                "expected_assists": 0.0083,
                "shots_on_target": 0.0824,
                "big_chances_created": 0.007,
                "xgot": 0.0008,
                "ball_carries": 10.641,
                "total_progression": 20.5127,
                "progressive_carries": 0.0956,
                "key_pass": 0.0462,
                "shots_off_target": 0.2183
              },
              "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.9413,
                "tackles": 1.6186,
                "tackles_won": 0.9439,
                "clearances": 4.9252,
                "aerial_won": 1.5664,
                "total_shots": 0.3007,
                "rating": 6.7851,
                "minutes": 85.07,
                "total_pass": 53.9346,
                "accurate_pass": 50.2083,
                "duels_won": 3.485,
                "total_long_balls": 3.0674,
                "accurate_long_balls": 1.5863,
                "total_own_half_passes": 37.2314,
                "accurate_own_half_passes": 35.9292,
                "total_opp_half_passes": 16.7031,
                "accurate_opp_half_passes": 14.2791,
                "crosses_total": 0.0062,
                "crosses_accurate": 0.0026,
                "touches": 65.8091,
                "possession_lost": 4.524,
                "dispossessed": 0.1545,
                "duels_lost": 3.993,
                "aerial_lost": 1.4814,
                "total_contest": 0.7632,
                "won_contest": 0.451,
                "ball_recovery": 2.499,
                "challenges_lost": 1.05,
                "fouls": 1.0064,
                "fouls_drawn": 0.1788,
                "blocks": 0.5679,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0041,
                "expected_assists": 0.0083,
                "shots_on_target": 0.0824,
                "big_chances_created": 0.007,
                "xgot": 0.0008,
                "ball_carries": 10.641,
                "total_progression": 20.5127,
                "progressive_carries": 0.0956,
                "key_pass": 0.0462,
                "shots_off_target": 0.2183,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.74,
                "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": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.74 (squad xG sum 1.2479, xG scale 1.3975, xA scale 1.2613, team xA 1.40 = 0.80 x lambda)",
              "stats": {
                "interceptions": 0.9413,
                "tackles": 1.6186,
                "tackles_won": 0.9439,
                "clearances": 4.9252,
                "aerial_won": 1.5664,
                "total_shots": 0.3007,
                "rating": 6.7851,
                "minutes": 85.07,
                "total_pass": 53.9346,
                "accurate_pass": 50.2083,
                "duels_won": 3.485,
                "total_long_balls": 3.0674,
                "accurate_long_balls": 1.5863,
                "total_own_half_passes": 37.2314,
                "accurate_own_half_passes": 35.9292,
                "total_opp_half_passes": 16.7031,
                "accurate_opp_half_passes": 14.2791,
                "crosses_total": 0.0062,
                "crosses_accurate": 0.0026,
                "touches": 65.8091,
                "possession_lost": 4.524,
                "dispossessed": 0.1545,
                "duels_lost": 3.993,
                "aerial_lost": 1.4814,
                "total_contest": 0.7632,
                "won_contest": 0.451,
                "ball_recovery": 2.499,
                "challenges_lost": 1.05,
                "fouls": 1.0064,
                "fouls_drawn": 0.1788,
                "blocks": 0.5679,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0057,
                "expected_assists": 0.0105,
                "shots_on_target": 0.0824,
                "big_chances_created": 0.007,
                "xgot": 0.0011,
                "ball_carries": 10.641,
                "total_progression": 20.5127,
                "progressive_carries": 0.0956,
                "key_pass": 0.0462,
                "shots_off_target": 0.2183,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.74,
                "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.9242,
                "creation_factor": 0.8576
              },
              "params": {
                "team_lambda": 1.744,
                "squad_xg_sum": 1.2479,
                "squad_xa_sum": 1.1061,
                "team_expected_assists": 1.3952,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3975,
                "xa_scale": 1.2613,
                "opponent_lambda": 3.394,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 13 by projected rating, fifa_overall 74.0; not used by the projection)",
              "stats": {
                "interceptions": 0.9413,
                "tackles": 1.6186,
                "tackles_won": 0.9439,
                "clearances": 4.9252,
                "aerial_won": 1.5664,
                "total_shots": 0.3007,
                "rating": 6.7851,
                "minutes": 85.07,
                "total_pass": 53.9346,
                "accurate_pass": 50.2083,
                "duels_won": 3.485,
                "total_long_balls": 3.0674,
                "accurate_long_balls": 1.5863,
                "total_own_half_passes": 37.2314,
                "accurate_own_half_passes": 35.9292,
                "total_opp_half_passes": 16.7031,
                "accurate_opp_half_passes": 14.2791,
                "crosses_total": 0.0062,
                "crosses_accurate": 0.0026,
                "touches": 65.8091,
                "possession_lost": 4.524,
                "dispossessed": 0.1545,
                "duels_lost": 3.993,
                "aerial_lost": 1.4814,
                "total_contest": 0.7632,
                "won_contest": 0.451,
                "ball_recovery": 2.499,
                "challenges_lost": 1.05,
                "fouls": 1.0064,
                "fouls_drawn": 0.1788,
                "blocks": 0.5679,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0057,
                "expected_assists": 0.0105,
                "shots_on_target": 0.0824,
                "big_chances_created": 0.007,
                "xgot": 0.0011,
                "ball_carries": 10.641,
                "total_progression": 20.5127,
                "progressive_carries": 0.0956,
                "key_pass": 0.0462,
                "shots_off_target": 0.2183,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.74,
                "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.9242,
                "creation_factor": 0.8576,
                "fifa_overall": 74.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": 3794,
                "fifa_rank": 2923.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 74.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 0.9413,
                "tackles": 1.6186,
                "tackles_won": 0.9439,
                "clearances": 4.9252,
                "aerial_won": 1.5664,
                "total_shots": 0.3007,
                "rating": 6.7851,
                "minutes": 85.07,
                "total_pass": 53.9346,
                "accurate_pass": 50.2083,
                "duels_won": 3.485,
                "total_long_balls": 3.0674,
                "accurate_long_balls": 1.5863,
                "total_own_half_passes": 37.2314,
                "accurate_own_half_passes": 35.9292,
                "total_opp_half_passes": 16.7031,
                "accurate_opp_half_passes": 14.2791,
                "crosses_total": 0.0062,
                "crosses_accurate": 0.0026,
                "touches": 65.8091,
                "possession_lost": 4.524,
                "dispossessed": 0.1545,
                "duels_lost": 3.993,
                "aerial_lost": 1.4814,
                "total_contest": 0.7632,
                "won_contest": 0.451,
                "ball_recovery": 2.499,
                "challenges_lost": 1.05,
                "fouls": 1.0064,
                "fouls_drawn": 0.1788,
                "blocks": 0.5679,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0057,
                "expected_assists": 0.0105,
                "shots_on_target": 0.0824,
                "big_chances_created": 0.007,
                "xgot": 0.0011,
                "ball_carries": 10.641,
                "total_progression": 20.5127,
                "progressive_carries": 0.0956,
                "key_pass": 0.0462,
                "shots_off_target": 0.2183,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.74,
                "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.0057,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9242,
                "creation_factor": 0.8576,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0057,
                "scorer_weight": 0.0053,
                "squad_weight_total": 1.8926,
                "weight_share": 0.0028,
                "finishing_factor": 0.9242,
                "appearance_weight": 1.0,
                "weight_rank": 13,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alberto Moleiro",
                    "weight": 0.4579,
                    "already": 0,
                    "effective_weight": 0.4579,
                    "runner_up": "Ayoze Pérez",
                    "runner_up_effective_weight": 0.4407
                  }
                ]
              }
            },
            {
              "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.9413,
                "tackles": 1.6186,
                "tackles_won": 0.9439,
                "clearances": 4.9252,
                "aerial_won": 1.5664,
                "total_shots": 0.3007,
                "rating": 6.7851,
                "minutes": 85.07,
                "total_pass": 53.9346,
                "accurate_pass": 50.2083,
                "duels_won": 3.485,
                "total_long_balls": 3.0674,
                "accurate_long_balls": 1.5863,
                "total_own_half_passes": 37.2314,
                "accurate_own_half_passes": 35.9292,
                "total_opp_half_passes": 16.7031,
                "accurate_opp_half_passes": 14.2791,
                "crosses_total": 0.0062,
                "crosses_accurate": 0.0026,
                "touches": 65.8091,
                "possession_lost": 4.524,
                "dispossessed": 0.1545,
                "duels_lost": 3.993,
                "aerial_lost": 1.4814,
                "total_contest": 0.7632,
                "won_contest": 0.451,
                "ball_recovery": 2.499,
                "challenges_lost": 1.05,
                "fouls": 1.0064,
                "fouls_drawn": 0.1788,
                "blocks": 0.5679,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0057,
                "expected_assists": 0.0105,
                "shots_on_target": 0.0824,
                "big_chances_created": 0.007,
                "xgot": 0.0011,
                "ball_carries": 10.641,
                "total_progression": 20.5127,
                "progressive_carries": 0.0956,
                "key_pass": 0.0462,
                "shots_off_target": 0.2183,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.9,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.74,
                "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.0057,
                "projected_assists": 0,
                "assist_probability": 0.0104,
                "finishing_factor": 0.9242,
                "creation_factor": 0.8576,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0104,
                "provider_weight": 0.009,
                "squad_weight_total": 1.4371,
                "weight_share": 0.0063,
                "creation_factor": 0.8576,
                "appearance_weight": 1.0,
                "weight_rank": 13,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ilias Akhomach",
                    "weight": 0.2045,
                    "already": 0,
                    "effective_weight": 0.2045,
                    "runner_up": "Renato Veiga",
                    "runner_up_effective_weight": 0.1341,
                    "blocked_own_goal": [
                      "Alberto Moleiro"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Renato Veiga": {
          "player_id": 1087359,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 12,
          "height": 190,
          "market_value": 29000000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 5,
            "aerial_won": 2,
            "total_shots": 0,
            "rating": 7.2043,
            "minutes": 90,
            "total_pass": 81,
            "accurate_pass": 75,
            "duels_won": 2,
            "total_long_balls": 9,
            "accurate_long_balls": 5,
            "total_own_half_passes": 50,
            "accurate_own_half_passes": 48,
            "total_opp_half_passes": 31,
            "accurate_opp_half_passes": 27,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 94,
            "possession_lost": 7.7138,
            "dispossessed": 0.2184,
            "duels_lost": 2,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 4,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.108,
            "assists": 0,
            "expected_goals": 0.0232,
            "expected_assists": 0.1298,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0004,
            "ball_carries": 31,
            "total_progression": 116,
            "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.1,
            "clearances_in_zone": 1.0,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.74,
            "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.0229,
            "projected_assists": 0,
            "assist_probability": 0.1217,
            "finishing_factor": 0.8,
            "creation_factor": 1.0334,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 7.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2275,
                "total_shots": 0,
                "total_pass": 110,
                "accurate_pass": 106,
                "key_pass": 1,
                "clearances": 5,
                "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": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0176,
                "expected_assists": 0.0731,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 92,
                "accurate_pass": 82,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 3,
                "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": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 7.9,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.3191,
                "total_shots": 0,
                "total_pass": 91,
                "accurate_pass": 84,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 5,
                "aerial_won": 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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0209,
                "total_shots": 0,
                "total_pass": 78,
                "accurate_pass": 74,
                "interceptions": 3,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 1,
                "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": 16416290,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1297,
                "expected_assists": 0.0324,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 92,
                "accurate_pass": 84,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 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": 16416302,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0087,
                "total_shots": 0,
                "total_pass": 58,
                "accurate_pass": 52,
                "interceptions": 2,
                "clearances": 8,
                "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": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2498,
                "total_shots": 0,
                "total_pass": 80,
                "accurate_pass": 76,
                "interceptions": 2,
                "clearances": 9,
                "aerial_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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083644,
              "match_date": "2026-05-13",
              "home_team": "Villarreal",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0324,
                "total_shots": 0,
                "total_pass": 88,
                "accurate_pass": 81,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 6,
                "aerial_won": 3,
                "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": 14083573,
              "match_date": "2026-05-10",
              "home_team": "Mallorca",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0034,
                "total_shots": 0,
                "total_pass": 50,
                "accurate_pass": 45,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 6,
                "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": 14083512,
              "match_date": "2026-05-02",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1056,
                "expected_assists": 0.0439,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 78,
                "accurate_pass": 73,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 6,
                "aerial_won": 1,
                "duels_won": 1,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 2081,
            "combined_rank_score": 791.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 336.0,
            "sofascore_rating": 7.0,
            "sofascore_appearances": 1.0,
            "fifa_rank": 1247.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 2,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.2043,
            "source_file": "data/player_rankings.csv",
            "player_name": "Renato Veiga",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Chan-dong Lee",
                  "ranking": 2076
                },
                {
                  "player_name": "Leonardo Spinazzola",
                  "ranking": 2077
                },
                {
                  "player_name": "Toni Martínez",
                  "ranking": 2078
                },
                {
                  "player_name": "Callum Hudson Odoi",
                  "ranking": 2079
                },
                {
                  "player_name": "Cédric Bakambu",
                  "ranking": 2080
                }
              ],
              "lower": [
                {
                  "player_name": "Shodiyor Shodiboev",
                  "ranking": 2082
                },
                {
                  "player_name": "Matija Rom",
                  "ranking": 2083
                },
                {
                  "player_name": "Franco Rami",
                  "ranking": 2084
                },
                {
                  "player_name": "Jon Aramburu",
                  "ranking": 2085
                },
                {
                  "player_name": "Nikita Haikin",
                  "ranking": 2086
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 39,
          "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": 39,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.007,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 270.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.67,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (D_service) evaluated 39 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Villarreal, 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.0939,
                "tackles": 0.9981,
                "tackles_won": 0.6684,
                "clearances": 4.9536,
                "aerial_won": 1.6468,
                "total_shots": 0.4879,
                "rating": 7.2043,
                "minutes": 89.83,
                "total_pass": 80.4894,
                "accurate_pass": 74.2593,
                "duels_won": 2.1342,
                "total_long_balls": 8.863,
                "accurate_long_balls": 5.2871,
                "total_own_half_passes": 49.2893,
                "accurate_own_half_passes": 47.4795,
                "total_opp_half_passes": 31.2001,
                "accurate_opp_half_passes": 26.7799,
                "crosses_total": 0.0828,
                "crosses_accurate": 0.0,
                "touches": 92.9426,
                "possession_lost": 7.6602,
                "dispossessed": 0.2169,
                "duels_lost": 2.4795,
                "aerial_lost": 0.8421,
                "total_contest": 0.3911,
                "won_contest": 0.2292,
                "ball_recovery": 3.6897,
                "challenges_lost": 0.5113,
                "fouls": 0.8581,
                "fouls_drawn": 0.1515,
                "blocks": 1.2707,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1088,
                "assist_rate": 0.1088,
                "expected_goals": 0.0165,
                "expected_assists": 0.1022,
                "shots_on_target": 0.0088,
                "big_chances_created": 0.1141,
                "xgot": 0.0003,
                "ball_carries": 30.9061,
                "total_progression": 114.9437,
                "progressive_carries": 0.5579,
                "key_pass": 0.4223,
                "shots_off_target": 0.4791
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-10T10:05:07.485697+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1503,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Mallorca",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 5.1437,
                  "aerialWon": 1.321,
                  "totalClearance_p90": 5.4054,
                  "totalTackle": 0.3934,
                  "totalPass": 79.2885
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.0939159393310547,
                    "model_output": 1.0939,
                    "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.1102
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0506
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0278
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.026
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0252
                        }
                      ],
                      "others": 0.0472,
                      "total": 1.0939,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.120895
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.050946
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.026947
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.024537
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.02375
                        }
                      ],
                      "others_margin": 0.044189
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.9981294870376587,
                    "model_output": 0.9981,
                    "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.1887
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1481
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.1029
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0646
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.059
                        }
                      ],
                      "others": -0.1287,
                      "total": 0.9981,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.145457
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.115902
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.079119
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.053043
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.051055
                        }
                      ],
                      "others_margin": -0.121189
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.6684173941612244,
                    "model_output": 0.6684,
                    "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.0968
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0841
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0648
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0373
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0212
                        }
                      ],
                      "others": -0.05,
                      "total": 0.6684,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.120205
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.105317
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.080155
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.04914
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.02911
                        }
                      ],
                      "others_margin": -0.072135
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 4.953574180603027,
                    "model_output": 4.9536,
                    "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.622
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5166
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.3589
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.1942
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.1999
                        }
                      ],
                      "others": -0.3894,
                      "total": 4.9536,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.165705
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.119406
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.075281
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.038483
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.038139
                        }
                      ],
                      "others_margin": -0.075688
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.646798014640808,
                    "model_output": 1.6468,
                    "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.1387
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.1154
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1055
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0699
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0633
                        }
                      ],
                      "others": -0.017,
                      "total": 1.6468,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.095613
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.073126
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.066661
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.044627
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.038808
                        }
                      ],
                      "others_margin": -0.010234
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.48792073130607605,
                    "model_output": 0.4879,
                    "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.0769
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0554
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0525
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0322
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0244
                        }
                      ],
                      "others": -0.022,
                      "total": 0.4879,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.076893
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.05537
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.052503
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.03216
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.024401
                        }
                      ],
                      "others_margin": -0.02195
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.2043256759643555,
                    "model_output": 7.2043,
                    "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.0892
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0684
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0514
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.035
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0333
                        }
                      ],
                      "others": 0.1419,
                      "total": 7.2043,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.089169
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.068357
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.051441
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.035036
                        },
                        {
                          "name": "rating",
                          "margin": 0.033333
                        }
                      ],
                      "others_margin": 0.141858
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 39,
                  "role_matches": 34,
                  "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.0070, quality 0.710)",
              "stats": {
                "interceptions": 1.1016,
                "tackles": 1.0051,
                "tackles_won": 0.6731,
                "clearances": 4.9882,
                "aerial_won": 1.6583,
                "total_shots": 0.4914,
                "rating": 7.2043,
                "minutes": 89.83,
                "total_pass": 81.0528,
                "accurate_pass": 74.7791,
                "duels_won": 2.1491,
                "total_long_balls": 8.925,
                "accurate_long_balls": 5.3241,
                "total_own_half_passes": 49.6343,
                "accurate_own_half_passes": 47.8119,
                "total_opp_half_passes": 31.4185,
                "accurate_opp_half_passes": 26.9674,
                "crosses_total": 0.0834,
                "crosses_accurate": 0.0,
                "touches": 93.5932,
                "possession_lost": 7.7138,
                "dispossessed": 0.2184,
                "duels_lost": 2.4969,
                "aerial_lost": 0.848,
                "total_contest": 0.3938,
                "won_contest": 0.2308,
                "ball_recovery": 3.7155,
                "challenges_lost": 0.5149,
                "fouls": 0.8641,
                "fouls_drawn": 0.1526,
                "blocks": 1.2796,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1096,
                "assist_rate": 0.1096,
                "expected_goals": 0.0166,
                "expected_assists": 0.1029,
                "shots_on_target": 0.0089,
                "big_chances_created": 0.1149,
                "xgot": 0.0003,
                "ball_carries": 31.1224,
                "total_progression": 115.7483,
                "progressive_carries": 0.5618,
                "key_pass": 0.4253,
                "shots_off_target": 0.4825
              },
              "params": {
                "market_value_eur": 29000000,
                "quality_factor": 0.71,
                "boost_factor": 1.007,
                "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": {
                "interceptions": 1.105,
                "tackles": 1.0051,
                "tackles_won": 0.6632,
                "clearances": 4.9882,
                "aerial_won": 1.6583,
                "total_shots": 0.494,
                "rating": 7.2043,
                "minutes": 89.83,
                "total_pass": 81.0528,
                "accurate_pass": 74.7791,
                "duels_won": 2.1491,
                "total_long_balls": 8.925,
                "accurate_long_balls": 5.3241,
                "total_own_half_passes": 49.6343,
                "accurate_own_half_passes": 47.8119,
                "total_opp_half_passes": 31.4185,
                "accurate_opp_half_passes": 26.9674,
                "crosses_total": 0.0871,
                "crosses_accurate": 0.0,
                "touches": 93.5932,
                "possession_lost": 7.7138,
                "dispossessed": 0.2184,
                "duels_lost": 2.4969,
                "aerial_lost": 0.848,
                "total_contest": 0.3938,
                "won_contest": 0.2308,
                "ball_recovery": 3.7155,
                "challenges_lost": 0.5149,
                "fouls": 0.8661,
                "fouls_drawn": 0.1553,
                "blocks": 1.2796,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.108,
                "assist_rate": 0.108,
                "expected_goals": 0.0166,
                "expected_assists": 0.1029,
                "shots_on_target": 0.0088,
                "big_chances_created": 0.1149,
                "xgot": 0.0003,
                "ball_carries": 31.1224,
                "total_progression": 115.7483,
                "progressive_carries": 0.5618,
                "key_pass": 0.4253,
                "shots_off_target": 0.4825
              },
              "params": {
                "blend_weight": 0.0148,
                "history_matches": 39,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9981,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Villarreal"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.6731,
                  "after": 0.6632
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.105,
                "tackles": 1.0051,
                "tackles_won": 0.6632,
                "clearances": 4.9882,
                "aerial_won": 1.6583,
                "total_shots": 0.494,
                "rating": 7.2043,
                "minutes": 89.83,
                "total_pass": 81.0528,
                "accurate_pass": 74.7791,
                "duels_won": 2.1491,
                "total_long_balls": 8.925,
                "accurate_long_balls": 5.3241,
                "total_own_half_passes": 49.6343,
                "accurate_own_half_passes": 47.8119,
                "total_opp_half_passes": 31.4185,
                "accurate_opp_half_passes": 26.9674,
                "crosses_total": 0.0871,
                "crosses_accurate": 0.0,
                "touches": 93.5932,
                "possession_lost": 7.7138,
                "dispossessed": 0.2184,
                "duels_lost": 2.4969,
                "aerial_lost": 0.848,
                "total_contest": 0.3938,
                "won_contest": 0.2308,
                "ball_recovery": 3.7155,
                "challenges_lost": 0.5149,
                "fouls": 0.8661,
                "fouls_drawn": 0.1553,
                "blocks": 1.2796,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.108,
                "assist_rate": 0.108,
                "expected_goals": 0.0166,
                "expected_assists": 0.1029,
                "shots_on_target": 0.0088,
                "big_chances_created": 0.1149,
                "xgot": 0.0003,
                "ball_carries": 31.1224,
                "total_progression": 115.7483,
                "progressive_carries": 0.5618,
                "key_pass": 0.4253,
                "shots_off_target": 0.4825
              },
              "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.105,
                "tackles": 1.0051,
                "tackles_won": 0.6632,
                "clearances": 4.9882,
                "aerial_won": 1.6583,
                "total_shots": 0.494,
                "rating": 7.2043,
                "minutes": 89.83,
                "total_pass": 81.0528,
                "accurate_pass": 74.7791,
                "duels_won": 2.1491,
                "total_long_balls": 8.925,
                "accurate_long_balls": 5.3241,
                "total_own_half_passes": 49.6343,
                "accurate_own_half_passes": 47.8119,
                "total_opp_half_passes": 31.4185,
                "accurate_opp_half_passes": 26.9674,
                "crosses_total": 0.0871,
                "crosses_accurate": 0.0,
                "touches": 93.5932,
                "possession_lost": 7.7138,
                "dispossessed": 0.2184,
                "duels_lost": 2.4969,
                "aerial_lost": 0.848,
                "total_contest": 0.3938,
                "won_contest": 0.2308,
                "ball_recovery": 3.7155,
                "challenges_lost": 0.5149,
                "fouls": 0.8661,
                "fouls_drawn": 0.1553,
                "blocks": 1.2796,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.108,
                "assist_rate": 0.108,
                "expected_goals": 0.0166,
                "expected_assists": 0.1029,
                "shots_on_target": 0.0088,
                "big_chances_created": 0.1149,
                "xgot": 0.0003,
                "ball_carries": 31.1224,
                "total_progression": 115.7483,
                "progressive_carries": 0.5618,
                "key_pass": 0.4253,
                "shots_off_target": 0.4825,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 1.0,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.74,
                "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": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.74 (squad xG sum 1.2479, xG scale 1.3975, xA scale 1.2613, team xA 1.40 = 0.80 x lambda)",
              "stats": {
                "interceptions": 1.105,
                "tackles": 1.0051,
                "tackles_won": 0.6632,
                "clearances": 4.9882,
                "aerial_won": 1.6583,
                "total_shots": 0.494,
                "rating": 7.2043,
                "minutes": 89.83,
                "total_pass": 81.0528,
                "accurate_pass": 74.7791,
                "duels_won": 2.1491,
                "total_long_balls": 8.925,
                "accurate_long_balls": 5.3241,
                "total_own_half_passes": 49.6343,
                "accurate_own_half_passes": 47.8119,
                "total_opp_half_passes": 31.4185,
                "accurate_opp_half_passes": 26.9674,
                "crosses_total": 0.0871,
                "crosses_accurate": 0.0,
                "touches": 93.5932,
                "possession_lost": 7.7138,
                "dispossessed": 0.2184,
                "duels_lost": 2.4969,
                "aerial_lost": 0.848,
                "total_contest": 0.3938,
                "won_contest": 0.2308,
                "ball_recovery": 3.7155,
                "challenges_lost": 0.5149,
                "fouls": 0.8661,
                "fouls_drawn": 0.1553,
                "blocks": 1.2796,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.108,
                "assists": 0,
                "expected_goals": 0.0232,
                "expected_assists": 0.1298,
                "shots_on_target": 0.0088,
                "big_chances_created": 0.1149,
                "xgot": 0.0004,
                "ball_carries": 31.1224,
                "total_progression": 115.7483,
                "progressive_carries": 0.5618,
                "key_pass": 0.4253,
                "shots_off_target": 0.4825,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 1.0,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.74,
                "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": 1.0334
              },
              "params": {
                "team_lambda": 1.744,
                "squad_xg_sum": 1.2479,
                "squad_xa_sum": 1.1061,
                "team_expected_assists": 1.3952,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3975,
                "xa_scale": 1.2613,
                "opponent_lambda": 3.394,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0166,
                  "after": 0.0232
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1029,
                  "after": 0.1298
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 2 by projected rating, fifa_overall 78.0; not used by the projection)",
              "stats": {
                "interceptions": 1.105,
                "tackles": 1.0051,
                "tackles_won": 0.6632,
                "clearances": 4.9882,
                "aerial_won": 1.6583,
                "total_shots": 0.494,
                "rating": 7.2043,
                "minutes": 89.83,
                "total_pass": 81.0528,
                "accurate_pass": 74.7791,
                "duels_won": 2.1491,
                "total_long_balls": 8.925,
                "accurate_long_balls": 5.3241,
                "total_own_half_passes": 49.6343,
                "accurate_own_half_passes": 47.8119,
                "total_opp_half_passes": 31.4185,
                "accurate_opp_half_passes": 26.9674,
                "crosses_total": 0.0871,
                "crosses_accurate": 0.0,
                "touches": 93.5932,
                "possession_lost": 7.7138,
                "dispossessed": 0.2184,
                "duels_lost": 2.4969,
                "aerial_lost": 0.848,
                "total_contest": 0.3938,
                "won_contest": 0.2308,
                "ball_recovery": 3.7155,
                "challenges_lost": 0.5149,
                "fouls": 0.8661,
                "fouls_drawn": 0.1553,
                "blocks": 1.2796,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.108,
                "assists": 0,
                "expected_goals": 0.0232,
                "expected_assists": 0.1298,
                "shots_on_target": 0.0088,
                "big_chances_created": 0.1149,
                "xgot": 0.0004,
                "ball_carries": 31.1224,
                "total_progression": 115.7483,
                "progressive_carries": 0.5618,
                "key_pass": 0.4253,
                "shots_off_target": 0.4825,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 1.0,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.74,
                "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": 1.0334,
                "fifa_overall": 78.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": 2081,
                "fifa_rank": 1247.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 1.105,
                "tackles": 1.0051,
                "tackles_won": 0.6632,
                "clearances": 4.9882,
                "aerial_won": 1.6583,
                "total_shots": 0.494,
                "rating": 7.2043,
                "minutes": 89.83,
                "total_pass": 81.0528,
                "accurate_pass": 74.7791,
                "duels_won": 2.1491,
                "total_long_balls": 8.925,
                "accurate_long_balls": 5.3241,
                "total_own_half_passes": 49.6343,
                "accurate_own_half_passes": 47.8119,
                "total_opp_half_passes": 31.4185,
                "accurate_opp_half_passes": 26.9674,
                "crosses_total": 0.0871,
                "crosses_accurate": 0.0,
                "touches": 93.5932,
                "possession_lost": 7.7138,
                "dispossessed": 0.2184,
                "duels_lost": 2.4969,
                "aerial_lost": 0.848,
                "total_contest": 0.3938,
                "won_contest": 0.2308,
                "ball_recovery": 3.7155,
                "challenges_lost": 0.5149,
                "fouls": 0.8661,
                "fouls_drawn": 0.1553,
                "blocks": 1.2796,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.108,
                "assists": 0,
                "expected_goals": 0.0232,
                "expected_assists": 0.1298,
                "shots_on_target": 0.0088,
                "big_chances_created": 0.1149,
                "xgot": 0.0004,
                "ball_carries": 31.1224,
                "total_progression": 115.7483,
                "progressive_carries": 0.5618,
                "key_pass": 0.4253,
                "shots_off_target": 0.4825,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 1.0,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.74,
                "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.0229,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.0334,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0229,
                "scorer_weight": 0.0186,
                "squad_weight_total": 1.8926,
                "weight_share": 0.0098,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alberto Moleiro",
                    "weight": 0.4579,
                    "already": 0,
                    "effective_weight": 0.4579,
                    "runner_up": "Ayoze Pérez",
                    "runner_up_effective_weight": 0.4407
                  }
                ]
              }
            },
            {
              "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.105,
                "tackles": 1.0051,
                "tackles_won": 0.6632,
                "clearances": 4.9882,
                "aerial_won": 1.6583,
                "total_shots": 0.494,
                "rating": 7.2043,
                "minutes": 89.83,
                "total_pass": 81.0528,
                "accurate_pass": 74.7791,
                "duels_won": 2.1491,
                "total_long_balls": 8.925,
                "accurate_long_balls": 5.3241,
                "total_own_half_passes": 49.6343,
                "accurate_own_half_passes": 47.8119,
                "total_opp_half_passes": 31.4185,
                "accurate_opp_half_passes": 26.9674,
                "crosses_total": 0.0871,
                "crosses_accurate": 0.0,
                "touches": 93.5932,
                "possession_lost": 7.7138,
                "dispossessed": 0.2184,
                "duels_lost": 2.4969,
                "aerial_lost": 0.848,
                "total_contest": 0.3938,
                "won_contest": 0.2308,
                "ball_recovery": 3.7155,
                "challenges_lost": 0.5149,
                "fouls": 0.8661,
                "fouls_drawn": 0.1553,
                "blocks": 1.2796,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.108,
                "assists": 0,
                "expected_goals": 0.0232,
                "expected_assists": 0.1298,
                "shots_on_target": 0.0088,
                "big_chances_created": 0.1149,
                "xgot": 0.0004,
                "ball_carries": 31.1224,
                "total_progression": 115.7483,
                "progressive_carries": 0.5618,
                "key_pass": 0.4253,
                "shots_off_target": 0.4825,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.1,
                "clearances_in_zone": 1.0,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.74,
                "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.0229,
                "projected_assists": 0,
                "assist_probability": 0.1217,
                "finishing_factor": 0.8,
                "creation_factor": 1.0334,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1217,
                "provider_weight": 0.1341,
                "squad_weight_total": 1.4371,
                "weight_share": 0.0933,
                "creation_factor": 1.0334,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ilias Akhomach",
                    "weight": 0.2045,
                    "already": 0,
                    "effective_weight": 0.2045,
                    "runner_up": "Renato Veiga",
                    "runner_up_effective_weight": 0.1341,
                    "blocked_own_goal": [
                      "Alberto Moleiro"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Gerard Moreno": {
          "player_id": 146866,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 7,
          "height": 180,
          "market_value": 2400000,
          "stats": {
            "expected_goals": 0.3086,
            "goal_rate": 0.2621,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.1671,
            "key_pass": 1,
            "rating": 7.0834,
            "minutes": 77,
            "total_pass": 34,
            "accurate_pass": 28,
            "duels_won": 4,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 24,
            "accurate_opp_half_passes": 20,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 47,
            "possession_lost": 10.4515,
            "dispossessed": 0.6842,
            "duels_lost": 3,
            "aerial_lost": 0,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 2,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.4279,
            "offsides": 1,
            "ball_carries": 14,
            "total_progression": 41,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.764,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.18,
            "pressing_faced": "MEDIUM",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Ibrahima Konaté, Antonio Rüdiger",
            "opponent_faced": "Ibrahima Konaté, Antonio Rüdiger",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.2655,
            "projected_assists": 0,
            "assist_probability": 0.1539,
            "finishing_factor": 1.1525,
            "creation_factor": 0.8,
            "fifa_overall": 81.0
          },
          "latest_10_games": [
            {
              "match_id": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 23,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1801,
                "expected_assists": 0.0097,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 12,
                "accurate_pass": 6,
                "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": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 62,
                "rating": 8.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5012,
                "expected_assists": 0.6218,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 29,
                "accurate_pass": 21,
                "key_pass": 3,
                "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": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 77,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.14,
                "expected_assists": 0.2546,
                "total_shots": 1,
                "total_pass": 38,
                "accurate_pass": 35,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416290,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 70,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4418,
                "expected_assists": 0.0609,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 35,
                "accurate_pass": 30,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 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": 16416302,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 30,
                "rating": 7.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.7884,
                "expected_assists": 0.0168,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 13,
                "accurate_pass": 10,
                "key_pass": 1,
                "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": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 34,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.151,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 16,
                "key_pass": 2,
                "tackles": 1,
                "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": 14083682,
              "match_date": "2026-05-17",
              "home_team": "Rayo Vallecano",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 27,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0926,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 17,
                "key_pass": 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": 14083644,
              "match_date": "2026-05-13",
              "home_team": "Villarreal",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1102,
                "expected_assists": 0.0366,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 38,
                "accurate_pass": 34,
                "interceptions": 1,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083573,
              "match_date": "2026-05-10",
              "home_team": "Mallorca",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 19,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0505,
                "expected_assists": 0.0008,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 13,
                "accurate_pass": 7,
                "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": 14083512,
              "match_date": "2026-05-02",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 84,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1123,
                "expected_assists": 0.2416,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 47,
                "accurate_pass": 37,
                "key_pass": 2,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 849,
            "combined_rank_score": 404.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 238.0,
            "sofascore_rating": 7.1318,
            "sofascore_appearances": 22.0,
            "fifa_rank": 570.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.0834,
            "source_file": "data/player_rankings.csv",
            "player_name": "Gerard Moreno",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jovanny Bolívar",
                  "ranking": 844
                },
                {
                  "player_name": "Vicente Zenteno",
                  "ranking": 845
                },
                {
                  "player_name": "Ilir Krasniqi",
                  "ranking": 846
                },
                {
                  "player_name": "Domenico Berardi",
                  "ranking": 847
                },
                {
                  "player_name": "Sven Botman",
                  "ranking": 848
                }
              ],
              "lower": [
                {
                  "player_name": "Rustamzhon Abdukhamidov",
                  "ranking": 850
                },
                {
                  "player_name": "Matvey Safonov",
                  "ranking": 851
                },
                {
                  "player_name": "Leandro Trossard",
                  "ranking": 852
                },
                {
                  "player_name": "André-Franck Zambo Anguissa",
                  "ranking": 853
                },
                {
                  "player_name": "Igor Thiago",
                  "ranking": 854
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.765,
          "history_matches": 28,
          "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": 28,
            "data_confidence": 0.765,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9969,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "minutes": 135.0,
              "goals_per90": 0.6666666666666666,
              "assists_per90": 0.0,
              "shots_per90": 2.67,
              "shots_on_target_pct": 50.0,
              "prior_reliability": 0.1
            },
            "rationale": "XGBoost regressor (F_service) evaluated 28 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Villarreal, rel: 0.10, gls/90: 0.6666666666666666, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.2899,
                "goals": 0.3419,
                "goal_rate": 0.3419,
                "shots_on_target": 0.8839,
                "total_shots": 2.0604,
                "expected_assists": 0.133,
                "key_pass": 1.4346,
                "rating": 7.0834,
                "minutes": 76.68,
                "total_pass": 34.4446,
                "accurate_pass": 28.3979,
                "duels_won": 3.5575,
                "total_long_balls": 2.4337,
                "accurate_long_balls": 1.4677,
                "total_opp_half_passes": 24.5731,
                "accurate_opp_half_passes": 19.6223,
                "crosses_total": 1.0754,
                "crosses_accurate": 0.2392,
                "touches": 47.5469,
                "possession_lost": 10.484,
                "dispossessed": 0.6863,
                "duels_lost": 3.1873,
                "aerial_lost": 0.4647,
                "total_contest": 2.2397,
                "won_contest": 1.4553,
                "ball_recovery": 1.8437,
                "challenges_lost": 0.7754,
                "fouls": 0.643,
                "fouls_drawn": 0.7332,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1272,
                "tackles_won": 0.3786,
                "tackles": 0.5789,
                "clearances": 1.0244,
                "blocks": 0.0162,
                "big_chances_created": 0.3547,
                "big_chances_missed": 0.2686,
                "xgot": 0.402,
                "offsides": 0.6032,
                "ball_carries": 14.32,
                "total_progression": 41.1282,
                "progressive_carries": 1.0563,
                "shots_off_target": 1.1765
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-10T10:06:30.670657+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Levante UD",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.1516,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Real Betis",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.1289,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.1095,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 70.0,
                    "is_starting": true,
                    "weight": 0.0931,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.0791,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 34.0,
                    "is_starting": false,
                    "weight": 0.0673,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Rayo Vallecano",
                    "minutes": 27.0,
                    "is_starting": false,
                    "weight": 0.0572,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0486,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Mallorca",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.0413,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Levante UD",
                    "minutes": 84.0,
                    "is_starting": true,
                    "weight": 0.0351,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.299,
                  "totalOppositionHalfPasses": 18.9278,
                  "accurateOppositionHalfPasses": 15.045,
                  "accuratePass": 20.5395,
                  "totalShots": 1.5106
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.2899453938007355,
                    "model_output": 0.2899,
                    "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.0634
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0342
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0135
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0122
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0089
                        }
                      ],
                      "others": -0.0235,
                      "total": 0.2899,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.276462
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.12262
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.0444
                        },
                        {
                          "name": "goals",
                          "margin": 0.038578
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.027908
                        }
                      ],
                      "others_margin": -0.077537
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.3419366180896759,
                    "model_output": 0.3419,
                    "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.0682
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0467
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0278
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0165
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0124
                        }
                      ],
                      "others": -0.0086,
                      "total": 0.3419,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.288877
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.158499
                        },
                        {
                          "name": "goals",
                          "margin": 0.083723
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.046651
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.034699
                        }
                      ],
                      "others_margin": -0.025316
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.8838794827461243,
                    "model_output": 0.8839,
                    "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.1776
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0692
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0411
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0408
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0195
                        }
                      ],
                      "others": -0.0013,
                      "total": 0.8839,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.285794
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.092456
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.051139
                        },
                        {
                          "name": "goals",
                          "margin": 0.048258
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.022285
                        }
                      ],
                      "others_margin": -0.001572
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 2.0603744983673096,
                    "model_output": 2.0604,
                    "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.4766
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0941
                        },
                        {
                          "name": "goals",
                          "contribution": 0.072
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0666
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0444
                        }
                      ],
                      "others": 0.0168,
                      "total": 2.0604,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.47655
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.094114
                        },
                        {
                          "name": "goals",
                          "margin": 0.071998
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.066595
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.044432
                        }
                      ],
                      "others_margin": 0.016843
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.13295401632785797,
                    "model_output": 0.133,
                    "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.012
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0135
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0123
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0124
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0068
                        }
                      ],
                      "others": 0.0253,
                      "total": 0.133,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.171577
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.162463
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.128434
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.114397
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": -0.061537
                        }
                      ],
                      "others_margin": 0.211367
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 1.434593915939331,
                    "model_output": 1.4346,
                    "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.1961
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.1751
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0908
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.063
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0596
                        }
                      ],
                      "others": 0.176,
                      "total": 1.4346,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.255348
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.183369
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.083316
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.053966
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.048553
                        }
                      ],
                      "others_margin": 0.130889
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.083448886871338,
                    "model_output": 7.0834,
                    "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": "totalPass",
                          "contribution": 0.0761
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0664
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0301
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0293
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0265
                        }
                      ],
                      "others": 0.0929,
                      "total": 7.0835,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "totalPass",
                          "margin": 0.07607
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.066419
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.030053
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.029346
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.026538
                        }
                      ],
                      "others_margin": 0.092862
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 28,
                  "role_matches": 19,
                  "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.9969, quality 0.437)",
              "stats": {
                "expected_goals": 0.289,
                "goals": 0.3409,
                "goal_rate": 0.3409,
                "shots_on_target": 0.8811,
                "total_shots": 2.054,
                "expected_assists": 0.1325,
                "key_pass": 1.4301,
                "rating": 7.0834,
                "minutes": 76.68,
                "total_pass": 34.3378,
                "accurate_pass": 28.3099,
                "duels_won": 3.5465,
                "total_long_balls": 2.4262,
                "accurate_long_balls": 1.4632,
                "total_opp_half_passes": 24.4969,
                "accurate_opp_half_passes": 19.5615,
                "crosses_total": 1.0721,
                "crosses_accurate": 0.2385,
                "touches": 47.3995,
                "possession_lost": 10.4515,
                "dispossessed": 0.6842,
                "duels_lost": 3.1774,
                "aerial_lost": 0.4633,
                "total_contest": 2.2328,
                "won_contest": 1.4508,
                "ball_recovery": 1.838,
                "challenges_lost": 0.773,
                "fouls": 0.641,
                "fouls_drawn": 0.7309,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1268,
                "tackles_won": 0.3774,
                "tackles": 0.5771,
                "clearances": 1.0212,
                "blocks": 0.0161,
                "big_chances_created": 0.3536,
                "big_chances_missed": 0.2678,
                "xgot": 0.4008,
                "offsides": 0.6013,
                "ball_carries": 14.2756,
                "total_progression": 41.0007,
                "progressive_carries": 1.053,
                "shots_off_target": 1.1729
              },
              "params": {
                "market_value_eur": 2400000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9969,
                "reference_quality": 0.505,
                "history_matches": 28,
                "history_shrink": 0.1515,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0098)",
              "stats": {
                "expected_goals": 0.289,
                "goals": 0.3431,
                "goal_rate": 0.3431,
                "shots_on_target": 0.8836,
                "total_shots": 2.0562,
                "expected_assists": 0.1325,
                "key_pass": 1.4301,
                "rating": 7.0834,
                "minutes": 76.68,
                "total_pass": 34.3378,
                "accurate_pass": 28.3099,
                "duels_won": 3.5465,
                "total_long_balls": 2.4262,
                "accurate_long_balls": 1.4632,
                "total_opp_half_passes": 24.4969,
                "accurate_opp_half_passes": 19.5615,
                "crosses_total": 1.0671,
                "crosses_accurate": 0.2385,
                "touches": 47.3995,
                "possession_lost": 10.4515,
                "dispossessed": 0.6842,
                "duels_lost": 3.1774,
                "aerial_lost": 0.4633,
                "total_contest": 2.2328,
                "won_contest": 1.4508,
                "ball_recovery": 1.838,
                "challenges_lost": 0.773,
                "fouls": 0.6515,
                "fouls_drawn": 0.7237,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1256,
                "tackles_won": 0.3793,
                "tackles": 0.5771,
                "clearances": 1.0212,
                "blocks": 0.0161,
                "big_chances_created": 0.3536,
                "big_chances_missed": 0.2678,
                "xgot": 0.4008,
                "offsides": 0.601,
                "ball_carries": 14.2756,
                "total_progression": 41.0007,
                "progressive_carries": 1.053,
                "shots_off_target": 1.1729
              },
              "params": {
                "blend_weight": 0.0098,
                "history_matches": 28,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.852,
                "prior_reliability": 0.1,
                "competition": "La Liga",
                "squad": "Villarreal"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.641,
                  "after": 0.6515
                },
                {
                  "stat": "wasFouled",
                  "before": 0.7309,
                  "after": 0.7237
                },
                {
                  "stat": "totalCross",
                  "before": 1.0721,
                  "after": 1.0671
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.289,
                "goals": 0.3431,
                "goal_rate": 0.3431,
                "shots_on_target": 0.8836,
                "total_shots": 2.0565,
                "expected_assists": 0.1325,
                "key_pass": 1.4301,
                "rating": 7.0834,
                "minutes": 76.68,
                "total_pass": 34.3378,
                "accurate_pass": 28.3099,
                "duels_won": 3.5465,
                "total_long_balls": 2.4262,
                "accurate_long_balls": 1.4632,
                "total_opp_half_passes": 24.4969,
                "accurate_opp_half_passes": 19.5615,
                "crosses_total": 1.0671,
                "crosses_accurate": 0.2385,
                "touches": 47.3995,
                "possession_lost": 10.4515,
                "dispossessed": 0.6842,
                "duels_lost": 3.1774,
                "aerial_lost": 0.4633,
                "total_contest": 2.2328,
                "won_contest": 1.4508,
                "ball_recovery": 1.838,
                "challenges_lost": 0.773,
                "fouls": 0.6515,
                "fouls_drawn": 0.7237,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1256,
                "tackles_won": 0.3793,
                "tackles": 0.5771,
                "clearances": 1.0212,
                "blocks": 0.0161,
                "big_chances_created": 0.3536,
                "big_chances_missed": 0.2678,
                "xgot": 0.4008,
                "offsides": 0.601,
                "ball_carries": 14.2756,
                "total_progression": 41.0007,
                "progressive_carries": 1.053,
                "shots_off_target": 1.1729
              },
              "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.2208,
                "goals": 0.2621,
                "goal_rate": 0.2621,
                "shots_on_target": 0.6751,
                "total_shots": 1.5712,
                "expected_assists": 0.1325,
                "key_pass": 1.4301,
                "rating": 7.0834,
                "minutes": 76.68,
                "total_pass": 34.3378,
                "accurate_pass": 28.3099,
                "duels_won": 3.5465,
                "total_long_balls": 2.4262,
                "accurate_long_balls": 1.4632,
                "total_opp_half_passes": 24.4969,
                "accurate_opp_half_passes": 19.5615,
                "crosses_total": 1.0671,
                "crosses_accurate": 0.2385,
                "touches": 47.3995,
                "possession_lost": 10.4515,
                "dispossessed": 0.6842,
                "duels_lost": 3.1774,
                "aerial_lost": 0.4633,
                "total_contest": 2.2328,
                "won_contest": 1.4508,
                "ball_recovery": 1.838,
                "challenges_lost": 0.773,
                "fouls": 0.6515,
                "fouls_drawn": 0.7237,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1256,
                "tackles_won": 0.3793,
                "tackles": 0.5771,
                "clearances": 1.0212,
                "blocks": 0.0161,
                "big_chances_created": 0.3536,
                "big_chances_missed": 0.2046,
                "xgot": 0.3062,
                "offsides": 0.601,
                "ball_carries": 14.2756,
                "total_progression": 41.0007,
                "progressive_carries": 1.053,
                "shots_off_target": 0.8961,
                "duel_xg_multiplier": 0.764,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Ibrahima Konaté, Antonio Rüdiger",
                "opponent_faced": "Ibrahima Konaté, Antonio Rüdiger",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Ibrahima Konaté, Antonio Rüdiger",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.18,
                  "pressing_faced": "MEDIUM",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.764,
                  "skill_edge": -0.1086,
                  "height_edge": -0.052,
                  "attacker_skill": 0.4374,
                  "defender_skill": 0.6787,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Ibrahima Konaté",
                      "market_value": 46000000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.8555
                    },
                    {
                      "player": "Antonio Rüdiger",
                      "market_value": 6200000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.5019
                    }
                  ],
                  "xg_override": 0.2208
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.0565,
                  "after": 1.5712
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.1729,
                  "after": 0.8961
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.8836,
                  "after": 0.6751
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.4008,
                  "after": 0.3062
                },
                {
                  "stat": "goals",
                  "before": 0.3431,
                  "after": 0.2621
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.289,
                  "after": 0.2208
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.2678,
                  "after": 0.2046
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.74 (squad xG sum 1.2479, xG scale 1.3975, xA scale 1.2613, team xA 1.40 = 0.80 x lambda)",
              "stats": {
                "expected_goals": 0.3086,
                "goal_rate": 0.2621,
                "goals": 0,
                "shots_on_target": 0.6751,
                "total_shots": 1.5712,
                "expected_assists": 0.1671,
                "key_pass": 1.4301,
                "rating": 7.0834,
                "minutes": 76.68,
                "total_pass": 34.3378,
                "accurate_pass": 28.3099,
                "duels_won": 3.5465,
                "total_long_balls": 2.4262,
                "accurate_long_balls": 1.4632,
                "total_opp_half_passes": 24.4969,
                "accurate_opp_half_passes": 19.5615,
                "crosses_total": 1.0671,
                "crosses_accurate": 0.2385,
                "touches": 47.3995,
                "possession_lost": 10.4515,
                "dispossessed": 0.6842,
                "duels_lost": 3.1774,
                "aerial_lost": 0.4633,
                "total_contest": 2.2328,
                "won_contest": 1.4508,
                "ball_recovery": 1.838,
                "challenges_lost": 0.773,
                "fouls": 0.6515,
                "fouls_drawn": 0.7237,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1256,
                "tackles_won": 0.3793,
                "tackles": 0.5771,
                "clearances": 1.0212,
                "blocks": 0.0161,
                "big_chances_created": 0.3536,
                "big_chances_missed": 0.2046,
                "xgot": 0.4279,
                "offsides": 0.601,
                "ball_carries": 14.2756,
                "total_progression": 41.0007,
                "progressive_carries": 1.053,
                "shots_off_target": 0.8961,
                "duel_xg_multiplier": 0.764,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Ibrahima Konaté, Antonio Rüdiger",
                "opponent_faced": "Ibrahima Konaté, Antonio Rüdiger",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1525,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.744,
                "squad_xg_sum": 1.2479,
                "squad_xa_sum": 1.1061,
                "team_expected_assists": 1.3952,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3975,
                "xa_scale": 1.2613,
                "opponent_lambda": 3.394,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2208,
                  "after": 0.3086
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1325,
                  "after": 0.1671
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 5 by projected rating, fifa_overall 81.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.3086,
                "goal_rate": 0.2621,
                "goals": 0,
                "shots_on_target": 0.6751,
                "total_shots": 1.5712,
                "expected_assists": 0.1671,
                "key_pass": 1.4301,
                "rating": 7.0834,
                "minutes": 76.68,
                "total_pass": 34.3378,
                "accurate_pass": 28.3099,
                "duels_won": 3.5465,
                "total_long_balls": 2.4262,
                "accurate_long_balls": 1.4632,
                "total_opp_half_passes": 24.4969,
                "accurate_opp_half_passes": 19.5615,
                "crosses_total": 1.0671,
                "crosses_accurate": 0.2385,
                "touches": 47.3995,
                "possession_lost": 10.4515,
                "dispossessed": 0.6842,
                "duels_lost": 3.1774,
                "aerial_lost": 0.4633,
                "total_contest": 2.2328,
                "won_contest": 1.4508,
                "ball_recovery": 1.838,
                "challenges_lost": 0.773,
                "fouls": 0.6515,
                "fouls_drawn": 0.7237,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1256,
                "tackles_won": 0.3793,
                "tackles": 0.5771,
                "clearances": 1.0212,
                "blocks": 0.0161,
                "big_chances_created": 0.3536,
                "big_chances_missed": 0.2046,
                "xgot": 0.4279,
                "offsides": 0.601,
                "ball_carries": 14.2756,
                "total_progression": 41.0007,
                "progressive_carries": 1.053,
                "shots_off_target": 0.8961,
                "duel_xg_multiplier": 0.764,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Ibrahima Konaté, Antonio Rüdiger",
                "opponent_faced": "Ibrahima Konaté, Antonio Rüdiger",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1525,
                "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": 849,
                "fifa_rank": 570.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": {
                "expected_goals": 0.3086,
                "goal_rate": 0.2621,
                "goals": 0,
                "shots_on_target": 0.6751,
                "total_shots": 1.5712,
                "expected_assists": 0.1671,
                "key_pass": 1.4301,
                "rating": 7.0834,
                "minutes": 76.68,
                "total_pass": 34.3378,
                "accurate_pass": 28.3099,
                "duels_won": 3.5465,
                "total_long_balls": 2.4262,
                "accurate_long_balls": 1.4632,
                "total_opp_half_passes": 24.4969,
                "accurate_opp_half_passes": 19.5615,
                "crosses_total": 1.0671,
                "crosses_accurate": 0.2385,
                "touches": 47.3995,
                "possession_lost": 10.4515,
                "dispossessed": 0.6842,
                "duels_lost": 3.1774,
                "aerial_lost": 0.4633,
                "total_contest": 2.2328,
                "won_contest": 1.4508,
                "ball_recovery": 1.838,
                "challenges_lost": 0.773,
                "fouls": 0.6515,
                "fouls_drawn": 0.7237,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1256,
                "tackles_won": 0.3793,
                "tackles": 0.5771,
                "clearances": 1.0212,
                "blocks": 0.0161,
                "big_chances_created": 0.3536,
                "big_chances_missed": 0.2046,
                "xgot": 0.4279,
                "offsides": 0.601,
                "ball_carries": 14.2756,
                "total_progression": 41.0007,
                "progressive_carries": 1.053,
                "shots_off_target": 0.8961,
                "duel_xg_multiplier": 0.764,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Ibrahima Konaté, Antonio Rüdiger",
                "opponent_faced": "Ibrahima Konaté, Antonio Rüdiger",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.2655,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1525,
                "creation_factor": 0.8,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.2655,
                "scorer_weight": 0.3557,
                "squad_weight_total": 1.8926,
                "weight_share": 0.1879,
                "finishing_factor": 1.1525,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alberto Moleiro",
                    "weight": 0.4579,
                    "already": 0,
                    "effective_weight": 0.4579,
                    "runner_up": "Ayoze Pérez",
                    "runner_up_effective_weight": 0.4407
                  }
                ]
              }
            },
            {
              "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.3086,
                "goal_rate": 0.2621,
                "goals": 0,
                "shots_on_target": 0.6751,
                "total_shots": 1.5712,
                "expected_assists": 0.1671,
                "key_pass": 1.4301,
                "rating": 7.0834,
                "minutes": 76.68,
                "total_pass": 34.3378,
                "accurate_pass": 28.3099,
                "duels_won": 3.5465,
                "total_long_balls": 2.4262,
                "accurate_long_balls": 1.4632,
                "total_opp_half_passes": 24.4969,
                "accurate_opp_half_passes": 19.5615,
                "crosses_total": 1.0671,
                "crosses_accurate": 0.2385,
                "touches": 47.3995,
                "possession_lost": 10.4515,
                "dispossessed": 0.6842,
                "duels_lost": 3.1774,
                "aerial_lost": 0.4633,
                "total_contest": 2.2328,
                "won_contest": 1.4508,
                "ball_recovery": 1.838,
                "challenges_lost": 0.773,
                "fouls": 0.6515,
                "fouls_drawn": 0.7237,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1256,
                "tackles_won": 0.3793,
                "tackles": 0.5771,
                "clearances": 1.0212,
                "blocks": 0.0161,
                "big_chances_created": 0.3536,
                "big_chances_missed": 0.2046,
                "xgot": 0.4279,
                "offsides": 0.601,
                "ball_carries": 14.2756,
                "total_progression": 41.0007,
                "progressive_carries": 1.053,
                "shots_off_target": 0.8961,
                "duel_xg_multiplier": 0.764,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Ibrahima Konaté, Antonio Rüdiger",
                "opponent_faced": "Ibrahima Konaté, Antonio Rüdiger",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.2655,
                "projected_assists": 0,
                "assist_probability": 0.1539,
                "finishing_factor": 1.1525,
                "creation_factor": 0.8,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1539,
                "provider_weight": 0.1337,
                "squad_weight_total": 1.4371,
                "weight_share": 0.093,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ilias Akhomach",
                    "weight": 0.2045,
                    "already": 0,
                    "effective_weight": 0.2045,
                    "runner_up": "Renato Veiga",
                    "runner_up_effective_weight": 0.1341,
                    "blocked_own_goal": [
                      "Alberto Moleiro"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Ayoze Pérez": {
          "player_id": 345195,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 22,
          "height": 180,
          "market_value": 5400000,
          "stats": {
            "expected_goals": 0.4128,
            "goal_rate": 0.3188,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.0859,
            "key_pass": 1,
            "rating": 6.7972,
            "minutes": 68,
            "total_pass": 15,
            "accurate_pass": 12,
            "duels_won": 3,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 11,
            "accurate_opp_half_passes": 8,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 28,
            "possession_lost": 8.1252,
            "dispossessed": 1.081,
            "duels_lost": 6,
            "aerial_lost": 2,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 2,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "assist_rate": 0.3612,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 1,
            "xgot": 0.3625,
            "offsides": 0,
            "ball_carries": 8,
            "total_progression": 23,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.7836,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.18,
            "pressing_faced": "MEDIUM",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Ibrahima Konaté, Antonio Rüdiger",
            "opponent_faced": "Ibrahima Konaté, Antonio Rüdiger",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.3382,
            "projected_assists": 0,
            "assist_probability": 0.0823,
            "finishing_factor": 1.0677,
            "creation_factor": 1.25,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 67,
                "rating": 7.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 2.1039,
                "expected_assists": 0.0451,
                "total_shots": 5,
                "shots_on_target": 3,
                "shots_off_target": 1,
                "total_pass": 14,
                "accurate_pass": 9,
                "key_pass": 1,
                "interceptions": 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": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 63,
                "rating": 6.4,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.6871,
                "expected_assists": 0.3561,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 9,
                "accurate_pass": 6,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "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": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 14,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0085,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 4,
                "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": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 62,
                "rating": 6.7,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0989,
                "expected_assists": 0.0131,
                "total_shots": 1,
                "total_pass": 20,
                "accurate_pass": 16,
                "key_pass": 1,
                "tackles": 1,
                "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": 16416290,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 28,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2649,
                "expected_assists": 0.0355,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 12,
                "accurate_pass": 10,
                "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": 16416302,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 61,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4146,
                "expected_assists": 0.0261,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 25,
                "accurate_pass": 20,
                "key_pass": 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": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 56,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1276,
                "expected_assists": 0.0107,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 7,
                "accurate_pass": 7,
                "key_pass": 1,
                "tackles": 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": 14083735,
              "match_date": "2026-05-24",
              "home_team": "Villarreal",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 75,
                "rating": 9.4,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.4919,
                "expected_assists": 0.047,
                "total_shots": 4,
                "shots_on_target": 2,
                "total_pass": 23,
                "accurate_pass": 18,
                "key_pass": 1,
                "clearances": 2,
                "aerial_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"
            },
            {
              "match_id": 14083682,
              "match_date": "2026-05-17",
              "home_team": "Rayo Vallecano",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1642,
                "expected_assists": 0.3989,
                "total_shots": 1,
                "total_pass": 12,
                "accurate_pass": 9,
                "key_pass": 1,
                "tackles": 2,
                "tackles_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": 14083644,
              "match_date": "2026-05-13",
              "home_team": "Villarreal",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 20,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0024,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 4,
                "aerial_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 1453,
            "combined_rank_score": 784.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 600.0,
            "sofascore_rating": 6.784,
            "sofascore_appearances": 25.0,
            "fifa_rank": 969.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7972,
            "source_file": "data/player_rankings.csv",
            "player_name": "Ayoze Pérez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "César Dutra",
                  "ranking": 1448
                },
                {
                  "player_name": "Samed Baždar",
                  "ranking": 1449
                },
                {
                  "player_name": "Curtis Jones",
                  "ranking": 1450
                },
                {
                  "player_name": "Álvaro García",
                  "ranking": 1451
                },
                {
                  "player_name": "Natan",
                  "ranking": 1452
                }
              ],
              "lower": [
                {
                  "player_name": "Mike Penders",
                  "ranking": 1454
                },
                {
                  "player_name": "Jarrad Branthwaite",
                  "ranking": 1455
                },
                {
                  "player_name": "Leonardo Valencia",
                  "ranking": 1456
                },
                {
                  "player_name": "Gulyamkhaydar Gulyamov",
                  "ranking": 1457
                },
                {
                  "player_name": "Lachlan Wales",
                  "ranking": 1458
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.766,
          "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.766,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9985,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 144.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 3.75,
              "shots_on_target_pct": 50.0,
              "prior_reliability": 0.1067
            },
            "rationale": "XGBoost regressor (F_service) evaluated 32 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Villarreal, rel: 0.11, 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.3776,
                "goals": 0.4113,
                "goal_rate": 0.4113,
                "shots_on_target": 1.0078,
                "total_shots": 2.2374,
                "expected_assists": 0.0682,
                "key_pass": 0.7881,
                "rating": 6.7972,
                "minutes": 67.77,
                "total_pass": 15.4665,
                "accurate_pass": 11.6269,
                "duels_won": 3.4748,
                "total_long_balls": 0.9188,
                "accurate_long_balls": 0.679,
                "total_opp_half_passes": 11.1387,
                "accurate_opp_half_passes": 7.7508,
                "crosses_total": 0.2323,
                "crosses_accurate": 0.0,
                "touches": 27.5779,
                "possession_lost": 8.1374,
                "dispossessed": 1.0826,
                "duels_lost": 5.9067,
                "aerial_lost": 1.845,
                "total_contest": 1.9939,
                "won_contest": 0.5718,
                "ball_recovery": 1.7182,
                "challenges_lost": 0.5368,
                "fouls": 1.0202,
                "fouls_drawn": 1.4401,
                "assists": 0.3651,
                "assist_rate": 0.3651,
                "interceptions": 0.2779,
                "tackles_won": 0.3176,
                "tackles": 0.8595,
                "clearances": 0.2142,
                "blocks": 0.0,
                "big_chances_created": 0.3835,
                "big_chances_missed": 1.2363,
                "xgot": 0.3316,
                "offsides": 0.1345,
                "ball_carries": 7.9469,
                "total_progression": 23.3298,
                "progressive_carries": 0.9472,
                "shots_off_target": 1.2296
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-10T10:06:30.670657+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Levante UD",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.1508,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Málaga CF",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.1282,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Real Betis",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.109,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.0926,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.0787,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.0669,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 56.0,
                    "is_starting": true,
                    "weight": 0.0569,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-24",
                    "opponent": "Atlético Madrid",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.0484,
                    "rating": 9.4
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0411,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Sevilla",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.0349,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.5615,
                  "totalOppositionHalfPasses": 9.6894,
                  "accurateOppositionHalfPasses": 6.7138,
                  "accuratePass": 9.4298,
                  "totalShots": 2.1245
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.377594530582428,
                    "model_output": 0.3776,
                    "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.0665
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0733
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0155
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0147
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0151
                        }
                      ],
                      "others": -0.0065,
                      "total": 0.3776,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.2884
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.243689
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.044795
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.040757
                        },
                        {
                          "name": "goals",
                          "margin": 0.040009
                        }
                      ],
                      "others_margin": -0.016906
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.4113157391548157,
                    "model_output": 0.4113,
                    "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.0689
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0731
                        },
                        {
                          "name": "goals",
                          "contribution": 0.035
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0202
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0179
                        }
                      ],
                      "others": -0.0075,
                      "total": 0.4113,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.291144
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.237463
                        },
                        {
                          "name": "goals",
                          "margin": 0.096421
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.051634
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.04365
                        }
                      ],
                      "others_margin": -0.017842
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 1.0077812671661377,
                    "model_output": 1.0078,
                    "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.1691
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0658
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0557
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0553
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0404
                        }
                      ],
                      "others": 0.0845,
                      "total": 1.0078,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.273789
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.089098
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.06965
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.064728
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.044783
                        }
                      ],
                      "others_margin": 0.087499
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 2.2373762130737305,
                    "model_output": 2.2374,
                    "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.5135
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.2135
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0497
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0388
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0372
                        }
                      ],
                      "others": 0.006,
                      "total": 2.2374,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.513491
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.213482
                        },
                        {
                          "name": "goals",
                          "margin": 0.049699
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.038755
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.037247
                        }
                      ],
                      "others_margin": 0.005996
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.06816820800304413,
                    "model_output": 0.0682,
                    "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.0153
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0105
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0075
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0062
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0055
                        }
                      ],
                      "others": -0.0137,
                      "total": 0.0682,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.213236
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.123688
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.086584
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.077692
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.069417
                        }
                      ],
                      "others_margin": -0.183386
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.7881202697753906,
                    "model_output": 0.7881,
                    "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.2169
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.05
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0431
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0314
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0259
                        }
                      ],
                      "others": -0.0386,
                      "total": 0.7881,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.27906
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.057765
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.050024
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.036124
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.030867
                        }
                      ],
                      "others_margin": -0.047873
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.797154903411865,
                    "model_output": 6.7972,
                    "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.0545
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0186
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0176
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0173
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0112
                        }
                      ],
                      "others": 0.0106,
                      "total": 6.7972,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.054548
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.018551
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.01761
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.017335
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.011234
                        }
                      ],
                      "others_margin": 0.010505
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 32,
                  "role_matches": 17,
                  "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.9985, quality 0.467)",
              "stats": {
                "expected_goals": 0.377,
                "goals": 0.4107,
                "goal_rate": 0.4107,
                "shots_on_target": 1.0063,
                "total_shots": 2.2341,
                "expected_assists": 0.0681,
                "key_pass": 0.7869,
                "rating": 6.7972,
                "minutes": 67.77,
                "total_pass": 15.4433,
                "accurate_pass": 11.6095,
                "duels_won": 3.4696,
                "total_long_balls": 0.9174,
                "accurate_long_balls": 0.678,
                "total_opp_half_passes": 11.122,
                "accurate_opp_half_passes": 7.7392,
                "crosses_total": 0.232,
                "crosses_accurate": 0.0,
                "touches": 27.5365,
                "possession_lost": 8.1252,
                "dispossessed": 1.081,
                "duels_lost": 5.8978,
                "aerial_lost": 1.8422,
                "total_contest": 1.9909,
                "won_contest": 0.5709,
                "ball_recovery": 1.7156,
                "challenges_lost": 0.536,
                "fouls": 1.0187,
                "fouls_drawn": 1.4379,
                "assists": 0.3646,
                "assist_rate": 0.3646,
                "interceptions": 0.2775,
                "tackles_won": 0.3171,
                "tackles": 0.8582,
                "clearances": 0.2139,
                "blocks": 0.0,
                "big_chances_created": 0.3829,
                "big_chances_missed": 1.2344,
                "xgot": 0.3311,
                "offsides": 0.1343,
                "ball_carries": 7.935,
                "total_progression": 23.2948,
                "progressive_carries": 0.9458,
                "shots_off_target": 1.2278
              },
              "params": {
                "market_value_eur": 5400000,
                "quality_factor": 0.4671,
                "boost_factor": 0.9985,
                "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.0094)",
              "stats": {
                "expected_goals": 0.377,
                "goals": 0.4069,
                "goal_rate": 0.4069,
                "shots_on_target": 1.0101,
                "total_shots": 2.2396,
                "expected_assists": 0.0681,
                "key_pass": 0.7869,
                "rating": 6.7972,
                "minutes": 67.77,
                "total_pass": 15.4433,
                "accurate_pass": 11.6095,
                "duels_won": 3.4696,
                "total_long_balls": 0.9174,
                "accurate_long_balls": 0.678,
                "total_opp_half_passes": 11.122,
                "accurate_opp_half_passes": 7.7392,
                "crosses_total": 0.2298,
                "crosses_accurate": 0.0,
                "touches": 27.5365,
                "possession_lost": 8.1252,
                "dispossessed": 1.081,
                "duels_lost": 5.8978,
                "aerial_lost": 1.8422,
                "total_contest": 1.9909,
                "won_contest": 0.5709,
                "ball_recovery": 1.7156,
                "challenges_lost": 0.536,
                "fouls": 1.018,
                "fouls_drawn": 1.4465,
                "assists": 0.3612,
                "assist_rate": 0.3612,
                "interceptions": 0.2793,
                "tackles_won": 0.3141,
                "tackles": 0.8582,
                "clearances": 0.2139,
                "blocks": 0.0,
                "big_chances_created": 0.3829,
                "big_chances_missed": 1.2344,
                "xgot": 0.3311,
                "offsides": 0.133,
                "ball_carries": 7.935,
                "total_progression": 23.2948,
                "progressive_carries": 0.9458,
                "shots_off_target": 1.2278
              },
              "params": {
                "blend_weight": 0.0094,
                "history_matches": 32,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.753,
                "prior_reliability": 0.1067,
                "competition": "La Liga",
                "squad": "Villarreal"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 1.4379,
                  "after": 1.4465
                },
                {
                  "stat": "totalShots",
                  "before": 2.2341,
                  "after": 2.2396
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.377,
                "goals": 0.4069,
                "goal_rate": 0.4069,
                "shots_on_target": 1.0101,
                "total_shots": 2.2396,
                "expected_assists": 0.0681,
                "key_pass": 0.7869,
                "rating": 6.7972,
                "minutes": 67.77,
                "total_pass": 15.4433,
                "accurate_pass": 11.6095,
                "duels_won": 3.4696,
                "total_long_balls": 0.9174,
                "accurate_long_balls": 0.678,
                "total_opp_half_passes": 11.122,
                "accurate_opp_half_passes": 7.7392,
                "crosses_total": 0.2298,
                "crosses_accurate": 0.0,
                "touches": 27.5365,
                "possession_lost": 8.1252,
                "dispossessed": 1.081,
                "duels_lost": 5.8978,
                "aerial_lost": 1.8422,
                "total_contest": 1.9909,
                "won_contest": 0.5709,
                "ball_recovery": 1.7156,
                "challenges_lost": 0.536,
                "fouls": 1.018,
                "fouls_drawn": 1.4465,
                "assists": 0.3612,
                "assist_rate": 0.3612,
                "interceptions": 0.2793,
                "tackles_won": 0.3141,
                "tackles": 0.8582,
                "clearances": 0.2139,
                "blocks": 0.0,
                "big_chances_created": 0.3829,
                "big_chances_missed": 1.2344,
                "xgot": 0.3311,
                "offsides": 0.133,
                "ball_carries": 7.935,
                "total_progression": 23.2948,
                "progressive_carries": 0.9458,
                "shots_off_target": 1.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": {
                "expected_goals": 0.2954,
                "goals": 0.3188,
                "goal_rate": 0.3188,
                "shots_on_target": 0.7915,
                "total_shots": 1.755,
                "expected_assists": 0.0681,
                "key_pass": 0.7869,
                "rating": 6.7972,
                "minutes": 67.77,
                "total_pass": 15.4433,
                "accurate_pass": 11.6095,
                "duels_won": 3.4696,
                "total_long_balls": 0.9174,
                "accurate_long_balls": 0.678,
                "total_opp_half_passes": 11.122,
                "accurate_opp_half_passes": 7.7392,
                "crosses_total": 0.2298,
                "crosses_accurate": 0.0,
                "touches": 27.5365,
                "possession_lost": 8.1252,
                "dispossessed": 1.081,
                "duels_lost": 5.8978,
                "aerial_lost": 1.8422,
                "total_contest": 1.9909,
                "won_contest": 0.5709,
                "ball_recovery": 1.7156,
                "challenges_lost": 0.536,
                "fouls": 1.018,
                "fouls_drawn": 1.4465,
                "assists": 0.3612,
                "assist_rate": 0.3612,
                "interceptions": 0.2793,
                "tackles_won": 0.3141,
                "tackles": 0.8582,
                "clearances": 0.2139,
                "blocks": 0.0,
                "big_chances_created": 0.3829,
                "big_chances_missed": 0.9673,
                "xgot": 0.2594,
                "offsides": 0.133,
                "ball_carries": 7.935,
                "total_progression": 23.2948,
                "progressive_carries": 0.9458,
                "shots_off_target": 0.9621,
                "duel_xg_multiplier": 0.7836,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Ibrahima Konaté, Antonio Rüdiger",
                "opponent_faced": "Ibrahima Konaté, Antonio Rüdiger",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Ibrahima Konaté, Antonio Rüdiger",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.18,
                  "pressing_faced": "MEDIUM",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.7836,
                  "skill_edge": -0.0952,
                  "height_edge": -0.052,
                  "attacker_skill": 0.4671,
                  "defender_skill": 0.6787,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Ibrahima Konaté",
                      "market_value": 46000000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.8555
                    },
                    {
                      "player": "Antonio Rüdiger",
                      "market_value": 6200000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.5019
                    }
                  ],
                  "xg_override": 0.2954
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.2396,
                  "after": 1.755
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 1.2344,
                  "after": 0.9673
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.2278,
                  "after": 0.9621
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 1.0101,
                  "after": 0.7915
                },
                {
                  "stat": "goals",
                  "before": 0.4069,
                  "after": 0.3188
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.377,
                  "after": 0.2954
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.3311,
                  "after": 0.2594
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.74 (squad xG sum 1.2479, xG scale 1.3975, xA scale 1.2613, team xA 1.40 = 0.80 x lambda)",
              "stats": {
                "expected_goals": 0.4128,
                "goal_rate": 0.3188,
                "goals": 0,
                "shots_on_target": 0.7915,
                "total_shots": 1.755,
                "expected_assists": 0.0859,
                "key_pass": 0.7869,
                "rating": 6.7972,
                "minutes": 67.77,
                "total_pass": 15.4433,
                "accurate_pass": 11.6095,
                "duels_won": 3.4696,
                "total_long_balls": 0.9174,
                "accurate_long_balls": 0.678,
                "total_opp_half_passes": 11.122,
                "accurate_opp_half_passes": 7.7392,
                "crosses_total": 0.2298,
                "crosses_accurate": 0.0,
                "touches": 27.5365,
                "possession_lost": 8.1252,
                "dispossessed": 1.081,
                "duels_lost": 5.8978,
                "aerial_lost": 1.8422,
                "total_contest": 1.9909,
                "won_contest": 0.5709,
                "ball_recovery": 1.7156,
                "challenges_lost": 0.536,
                "fouls": 1.018,
                "fouls_drawn": 1.4465,
                "assist_rate": 0.3612,
                "assists": 0,
                "interceptions": 0.2793,
                "tackles_won": 0.3141,
                "tackles": 0.8582,
                "clearances": 0.2139,
                "blocks": 0.0,
                "big_chances_created": 0.3829,
                "big_chances_missed": 0.9673,
                "xgot": 0.3625,
                "offsides": 0.133,
                "ball_carries": 7.935,
                "total_progression": 23.2948,
                "progressive_carries": 0.9458,
                "shots_off_target": 0.9621,
                "duel_xg_multiplier": 0.7836,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Ibrahima Konaté, Antonio Rüdiger",
                "opponent_faced": "Ibrahima Konaté, Antonio Rüdiger",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0677,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.744,
                "squad_xg_sum": 1.2479,
                "squad_xa_sum": 1.1061,
                "team_expected_assists": 1.3952,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3975,
                "xa_scale": 1.2613,
                "opponent_lambda": 3.394,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2954,
                  "after": 0.4128
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0681,
                  "after": 0.0859
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 12 by projected rating, fifa_overall 79.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.4128,
                "goal_rate": 0.3188,
                "goals": 0,
                "shots_on_target": 0.7915,
                "total_shots": 1.755,
                "expected_assists": 0.0859,
                "key_pass": 0.7869,
                "rating": 6.7972,
                "minutes": 67.77,
                "total_pass": 15.4433,
                "accurate_pass": 11.6095,
                "duels_won": 3.4696,
                "total_long_balls": 0.9174,
                "accurate_long_balls": 0.678,
                "total_opp_half_passes": 11.122,
                "accurate_opp_half_passes": 7.7392,
                "crosses_total": 0.2298,
                "crosses_accurate": 0.0,
                "touches": 27.5365,
                "possession_lost": 8.1252,
                "dispossessed": 1.081,
                "duels_lost": 5.8978,
                "aerial_lost": 1.8422,
                "total_contest": 1.9909,
                "won_contest": 0.5709,
                "ball_recovery": 1.7156,
                "challenges_lost": 0.536,
                "fouls": 1.018,
                "fouls_drawn": 1.4465,
                "assist_rate": 0.3612,
                "assists": 0,
                "interceptions": 0.2793,
                "tackles_won": 0.3141,
                "tackles": 0.8582,
                "clearances": 0.2139,
                "blocks": 0.0,
                "big_chances_created": 0.3829,
                "big_chances_missed": 0.9673,
                "xgot": 0.3625,
                "offsides": 0.133,
                "ball_carries": 7.935,
                "total_progression": 23.2948,
                "progressive_carries": 0.9458,
                "shots_off_target": 0.9621,
                "duel_xg_multiplier": 0.7836,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Ibrahima Konaté, Antonio Rüdiger",
                "opponent_faced": "Ibrahima Konaté, Antonio Rüdiger",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0677,
                "creation_factor": 1.25,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 12,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1453,
                "fifa_rank": 969.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.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.4128,
                "goal_rate": 0.3188,
                "goals": 0,
                "shots_on_target": 0.7915,
                "total_shots": 1.755,
                "expected_assists": 0.0859,
                "key_pass": 0.7869,
                "rating": 6.7972,
                "minutes": 67.77,
                "total_pass": 15.4433,
                "accurate_pass": 11.6095,
                "duels_won": 3.4696,
                "total_long_balls": 0.9174,
                "accurate_long_balls": 0.678,
                "total_opp_half_passes": 11.122,
                "accurate_opp_half_passes": 7.7392,
                "crosses_total": 0.2298,
                "crosses_accurate": 0.0,
                "touches": 27.5365,
                "possession_lost": 8.1252,
                "dispossessed": 1.081,
                "duels_lost": 5.8978,
                "aerial_lost": 1.8422,
                "total_contest": 1.9909,
                "won_contest": 0.5709,
                "ball_recovery": 1.7156,
                "challenges_lost": 0.536,
                "fouls": 1.018,
                "fouls_drawn": 1.4465,
                "assist_rate": 0.3612,
                "assists": 0,
                "interceptions": 0.2793,
                "tackles_won": 0.3141,
                "tackles": 0.8582,
                "clearances": 0.2139,
                "blocks": 0.0,
                "big_chances_created": 0.3829,
                "big_chances_missed": 0.9673,
                "xgot": 0.3625,
                "offsides": 0.133,
                "ball_carries": 7.935,
                "total_progression": 23.2948,
                "progressive_carries": 0.9458,
                "shots_off_target": 0.9621,
                "duel_xg_multiplier": 0.7836,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Ibrahima Konaté, Antonio Rüdiger",
                "opponent_faced": "Ibrahima Konaté, Antonio Rüdiger",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.3382,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0677,
                "creation_factor": 1.25,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.3382,
                "scorer_weight": 0.4407,
                "squad_weight_total": 1.8926,
                "weight_share": 0.2329,
                "finishing_factor": 1.0677,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alberto Moleiro",
                    "weight": 0.4579,
                    "already": 0,
                    "effective_weight": 0.4579,
                    "runner_up": "Ayoze Pérez",
                    "runner_up_effective_weight": 0.4407
                  }
                ]
              }
            },
            {
              "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.4128,
                "goal_rate": 0.3188,
                "goals": 0,
                "shots_on_target": 0.7915,
                "total_shots": 1.755,
                "expected_assists": 0.0859,
                "key_pass": 0.7869,
                "rating": 6.7972,
                "minutes": 67.77,
                "total_pass": 15.4433,
                "accurate_pass": 11.6095,
                "duels_won": 3.4696,
                "total_long_balls": 0.9174,
                "accurate_long_balls": 0.678,
                "total_opp_half_passes": 11.122,
                "accurate_opp_half_passes": 7.7392,
                "crosses_total": 0.2298,
                "crosses_accurate": 0.0,
                "touches": 27.5365,
                "possession_lost": 8.1252,
                "dispossessed": 1.081,
                "duels_lost": 5.8978,
                "aerial_lost": 1.8422,
                "total_contest": 1.9909,
                "won_contest": 0.5709,
                "ball_recovery": 1.7156,
                "challenges_lost": 0.536,
                "fouls": 1.018,
                "fouls_drawn": 1.4465,
                "assist_rate": 0.3612,
                "assists": 0,
                "interceptions": 0.2793,
                "tackles_won": 0.3141,
                "tackles": 0.8582,
                "clearances": 0.2139,
                "blocks": 0.0,
                "big_chances_created": 0.3829,
                "big_chances_missed": 0.9673,
                "xgot": 0.3625,
                "offsides": 0.133,
                "ball_carries": 7.935,
                "total_progression": 23.2948,
                "progressive_carries": 0.9458,
                "shots_off_target": 0.9621,
                "duel_xg_multiplier": 0.7836,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Ibrahima Konaté, Antonio Rüdiger",
                "opponent_faced": "Ibrahima Konaté, Antonio Rüdiger",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.3382,
                "projected_assists": 0,
                "assist_probability": 0.0823,
                "finishing_factor": 1.0677,
                "creation_factor": 1.25,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0823,
                "provider_weight": 0.1074,
                "squad_weight_total": 1.4371,
                "weight_share": 0.0747,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ilias Akhomach",
                    "weight": 0.2045,
                    "already": 0,
                    "effective_weight": 0.2045,
                    "runner_up": "Renato Veiga",
                    "runner_up_effective_weight": 0.1341,
                    "blocked_own_goal": [
                      "Alberto Moleiro"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Pape Gueye": {
          "player_id": 879694,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 18,
          "height": 187,
          "market_value": 39000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1236,
            "assist_rate": 0.088,
            "assists": 0,
            "expected_goals": 0.135,
            "goal_rate": 0.0796,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 7.1151,
            "minutes": 78,
            "total_pass": 53,
            "accurate_pass": 44,
            "duels_won": 4,
            "total_long_balls": 7,
            "accurate_long_balls": 4,
            "total_own_half_passes": 21,
            "accurate_own_half_passes": 19,
            "total_opp_half_passes": 32,
            "accurate_opp_half_passes": 25,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 67,
            "possession_lost": 12.1437,
            "dispossessed": 0.5338,
            "duels_lost": 3,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 2,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 2,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0935,
            "ball_carries": 18,
            "total_progression": 49,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.935,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.1,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.406,
            "pressing_faced": "ULTRA_HIGH",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Aurélien Tchouaméni",
            "opponent_faced": "Aurélien Tchouaméni",
            "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1263,
            "projected_assists": 0,
            "assist_probability": 0.1163,
            "finishing_factor": 0.884,
            "creation_factor": 0.9324,
            "fifa_overall": 80.0
          },
          "latest_10_games": [
            {
              "match_id": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 87,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0742,
                "total_shots": 0,
                "total_pass": 56,
                "accurate_pass": 46,
                "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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 53,
                "rating": 9.0,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.1104,
                "expected_assists": 0.0512,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 47,
                "accurate_pass": 41,
                "interceptions": 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": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 54,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0333,
                "total_shots": 0,
                "total_pass": 40,
                "accurate_pass": 35,
                "key_pass": 1,
                "clearances": 3,
                "duels_won": 2,
                "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": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 62,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.029,
                "expected_assists": 0.1173,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 59,
                "accurate_pass": 52,
                "key_pass": 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": 16416290,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1195,
                "total_shots": 0,
                "total_pass": 85,
                "accurate_pass": 68,
                "key_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 3,
                "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": 16416302,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0469,
                "expected_assists": 0.0538,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 70,
                "accurate_pass": 63,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 8.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0217,
                "expected_assists": 0.1321,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 56,
                "accurate_pass": 47,
                "key_pass": 2,
                "tackles": 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": 14083735,
              "match_date": "2026-05-24",
              "home_team": "Villarreal",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 75,
                "rating": 8.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0716,
                "expected_assists": 0.0361,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 49,
                "accurate_pass": 42,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 4,
                "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": 14083682,
              "match_date": "2026-05-17",
              "home_team": "Rayo Vallecano",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 72,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0569,
                "total_shots": 0,
                "total_pass": 37,
                "accurate_pass": 27,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 4,
                "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": 14083644,
              "match_date": "2026-05-13",
              "home_team": "Villarreal",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 60,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0359,
                "expected_assists": 0.022,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 35,
                "accurate_pass": 29,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 2,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 826,
            "combined_rank_score": 394.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 30.0,
            "sofascore_rating": 8.0,
            "sofascore_appearances": 1.0,
            "fifa_rank": 758.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 4,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.1151,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pape Gueye",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Florian Thauvin",
                  "ranking": 821
                },
                {
                  "player_name": "Corentin Tolisso",
                  "ranking": 822
                },
                {
                  "player_name": "José María Giménez",
                  "ranking": 823
                },
                {
                  "player_name": "Dean Henderson",
                  "ranking": 824
                },
                {
                  "player_name": "Palhinha",
                  "ranking": 825
                }
              ],
              "lower": [
                {
                  "player_name": "Caoimhin Kelleher",
                  "ranking": 827
                },
                {
                  "player_name": "Antonio Raíllo",
                  "ranking": 828
                },
                {
                  "player_name": "Dilshod Akhmadaliev",
                  "ranking": 829
                },
                {
                  "player_name": "Botirali Ergashev",
                  "ranking": 830
                },
                {
                  "player_name": "Mathias Jensen",
                  "ranking": 831
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 37,
          "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": 37,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0097,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 270.0,
              "goals_per90": 0.3333333333333333,
              "assists_per90": 0.0,
              "shots_per90": 1.0,
              "shots_on_target_pct": 33.3,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (M_service) evaluated 37 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Villarreal, rel: 0.20, gls/90: 0.3333333333333333, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.9553,
                "expected_assists": 0.0971,
                "assists": 0.0886,
                "assist_rate": 0.0886,
                "expected_goals": 0.1023,
                "goals": 0.0811,
                "goal_rate": 0.0811,
                "shots_on_target": 0.4026,
                "total_shots": 1.1593,
                "rating": 7.1151,
                "minutes": 77.61,
                "total_pass": 52.4359,
                "accurate_pass": 43.9001,
                "duels_won": 3.6135,
                "total_long_balls": 6.6723,
                "accurate_long_balls": 3.587,
                "total_own_half_passes": 20.5948,
                "accurate_own_half_passes": 19.0747,
                "total_opp_half_passes": 31.841,
                "accurate_opp_half_passes": 24.8253,
                "crosses_total": 0.6058,
                "crosses_accurate": 0.1951,
                "touches": 65.9774,
                "possession_lost": 12.027,
                "dispossessed": 0.5287,
                "duels_lost": 3.1344,
                "aerial_won": 0.4597,
                "aerial_lost": 0.9677,
                "interceptions": 0.8385,
                "tackles_won": 0.4878,
                "tackles": 0.8138,
                "clearances": 1.5672,
                "total_contest": 0.9478,
                "won_contest": 0.2994,
                "challenges_lost": 0.2211,
                "fouls": 0.7724,
                "fouls_drawn": 2.0406,
                "blocks": 0.4272,
                "big_chances_created": 0.0217,
                "big_chances_missed": 0.0656,
                "xgot": 0.0709,
                "ball_carries": 18.2531,
                "total_progression": 49.0124,
                "progressive_carries": 0.4554,
                "shots_off_target": 0.7567
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-10T10:05:58.420391+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Levante UD",
                    "minutes": 87.0,
                    "is_starting": true,
                    "weight": 0.1504,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Málaga CF",
                    "minutes": 53.0,
                    "is_starting": false,
                    "weight": 0.1278,
                    "rating": 9.0
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Real Betis",
                    "minutes": 54.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0785,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-05-24",
                    "opponent": "Atlético Madrid",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Rayo Vallecano",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Sevilla",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 1.0403,
                  "creative_index": 0.3835,
                  "expectedGoals": 0.1946,
                  "expectedAssists": 0.072,
                  "onTargetScoringAttempt": 0.5511
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.9553298354148865,
                    "model_output": 0.9553,
                    "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.1304
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0784
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0569
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0264
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0214
                        }
                      ],
                      "others": 0.069,
                      "total": 0.9553,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.137302
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.080205
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.062585
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.029566
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.023905
                        }
                      ],
                      "others_margin": 0.074944
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.0970994234085083,
                    "model_output": 0.0971,
                    "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.0127
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0111
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0029
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0028
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0028
                        }
                      ],
                      "others": 0.0012,
                      "total": 0.0971,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.137875
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.11965
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.033088
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.031076
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.02943
                        }
                      ],
                      "others_margin": 0.012209
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.08857893198728561,
                    "model_output": 0.0886,
                    "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.0071
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0063
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0063
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0044
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0039
                        }
                      ],
                      "others": -0.0032,
                      "total": 0.0886,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.07975
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.070689
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.070223
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.048508
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.04354
                        }
                      ],
                      "others_margin": -0.035772
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.10234470665454865,
                    "model_output": 0.1023,
                    "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.0258
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.012
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0099
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0081
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0066
                        }
                      ],
                      "others": -0.0251,
                      "total": 0.1023,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": 0.241855
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.095118
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.0724
                        },
                        {
                          "name": "duelLost",
                          "margin": -0.058519
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.050495
                        }
                      ],
                      "others_margin": -0.21985
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.08112440258264542,
                    "model_output": 0.0811,
                    "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.0184
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0117
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0092
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0074
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0055
                        }
                      ],
                      "others": -0.0121,
                      "total": 0.0811,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": 0.172818
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.106242
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.092262
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.080812
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.060492
                        }
                      ],
                      "others_margin": -0.139351
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.4025978147983551,
                    "model_output": 0.4026,
                    "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": "expectedGoals",
                          "contribution": 0.0421
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0429
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0245
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0212
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0202
                        }
                      ],
                      "others": -0.0319,
                      "total": 0.4026,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": 0.122284
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.110803
                        },
                        {
                          "name": "goals",
                          "margin": 0.058106
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.047685
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.045399
                        }
                      ],
                      "others_margin": -0.076257
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.159326195716858,
                    "model_output": 1.1593,
                    "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.1522
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0522
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0494
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0417
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0361
                        }
                      ],
                      "others": -0.0906,
                      "total": 1.1593,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.152243
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.052169
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.04942
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.041689
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.036102
                        }
                      ],
                      "others_margin": -0.090556
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.11506986618042,
                    "model_output": 7.1151,
                    "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.1244
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0902
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0267
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0208
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0186
                        }
                      ],
                      "others": 0.0227,
                      "total": 7.1151,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.124398
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.090201
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.026734
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.020829
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.01864
                        }
                      ],
                      "others_margin": 0.022678
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 37,
                  "role_matches": 32,
                  "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.775)",
              "stats": {
                "key_pass": 0.9646,
                "expected_assists": 0.098,
                "assists": 0.0894,
                "assist_rate": 0.0894,
                "expected_goals": 0.1033,
                "goals": 0.0819,
                "goal_rate": 0.0819,
                "shots_on_target": 0.4065,
                "total_shots": 1.1706,
                "rating": 7.1151,
                "minutes": 77.61,
                "total_pass": 52.9445,
                "accurate_pass": 44.3259,
                "duels_won": 3.6486,
                "total_long_balls": 6.737,
                "accurate_long_balls": 3.6218,
                "total_own_half_passes": 20.7946,
                "accurate_own_half_passes": 19.2597,
                "total_opp_half_passes": 32.1499,
                "accurate_opp_half_passes": 25.0661,
                "crosses_total": 0.6117,
                "crosses_accurate": 0.197,
                "touches": 66.6174,
                "possession_lost": 12.1437,
                "dispossessed": 0.5338,
                "duels_lost": 3.1648,
                "aerial_won": 0.4642,
                "aerial_lost": 0.9771,
                "interceptions": 0.8466,
                "tackles_won": 0.4925,
                "tackles": 0.8217,
                "clearances": 1.5824,
                "total_contest": 0.957,
                "won_contest": 0.3023,
                "challenges_lost": 0.2232,
                "fouls": 0.7799,
                "fouls_drawn": 2.0604,
                "blocks": 0.4313,
                "big_chances_created": 0.0219,
                "big_chances_missed": 0.0662,
                "xgot": 0.0716,
                "ball_carries": 18.4302,
                "total_progression": 49.4878,
                "progressive_carries": 0.4598,
                "shots_off_target": 0.764
              },
              "params": {
                "market_value_eur": 39000000,
                "quality_factor": 0.7754,
                "boost_factor": 1.0097,
                "reference_quality": 0.505,
                "history_matches": 37,
                "history_shrink": 0.119,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0155)",
              "stats": {
                "key_pass": 0.9646,
                "expected_assists": 0.098,
                "assists": 0.088,
                "assist_rate": 0.088,
                "expected_goals": 0.1033,
                "goals": 0.0851,
                "goal_rate": 0.0851,
                "shots_on_target": 0.4046,
                "total_shots": 1.1658,
                "rating": 7.1151,
                "minutes": 77.61,
                "total_pass": 52.9445,
                "accurate_pass": 44.3259,
                "duels_won": 3.6486,
                "total_long_balls": 6.737,
                "accurate_long_balls": 3.6218,
                "total_own_half_passes": 20.7946,
                "accurate_own_half_passes": 19.2597,
                "total_opp_half_passes": 32.1499,
                "accurate_opp_half_passes": 25.0661,
                "crosses_total": 0.6067,
                "crosses_accurate": 0.197,
                "touches": 66.6174,
                "possession_lost": 12.1437,
                "dispossessed": 0.5338,
                "duels_lost": 3.1648,
                "aerial_won": 0.4642,
                "aerial_lost": 0.9771,
                "interceptions": 0.8513,
                "tackles_won": 0.4938,
                "tackles": 0.8217,
                "clearances": 1.5824,
                "total_contest": 0.957,
                "won_contest": 0.3023,
                "challenges_lost": 0.2232,
                "fouls": 0.7856,
                "fouls_drawn": 2.0552,
                "blocks": 0.4313,
                "big_chances_created": 0.0219,
                "big_chances_missed": 0.0662,
                "xgot": 0.0716,
                "ball_carries": 18.4302,
                "total_progression": 49.4878,
                "progressive_carries": 0.4598,
                "shots_off_target": 0.764
              },
              "params": {
                "blend_weight": 0.0155,
                "history_matches": 37,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8623,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Villarreal"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.7799,
                  "after": 0.7856
                },
                {
                  "stat": "wasFouled",
                  "before": 2.0604,
                  "after": 2.0552
                },
                {
                  "stat": "totalCross",
                  "before": 0.6117,
                  "after": 0.6067
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.9646,
                "expected_assists": 0.098,
                "assists": 0.088,
                "assist_rate": 0.088,
                "expected_goals": 0.1033,
                "goals": 0.0851,
                "goal_rate": 0.0851,
                "shots_on_target": 0.4046,
                "total_shots": 1.1686,
                "rating": 7.1151,
                "minutes": 77.61,
                "total_pass": 52.9445,
                "accurate_pass": 44.3259,
                "duels_won": 3.6486,
                "total_long_balls": 6.737,
                "accurate_long_balls": 3.6218,
                "total_own_half_passes": 20.7946,
                "accurate_own_half_passes": 19.2597,
                "total_opp_half_passes": 32.1499,
                "accurate_opp_half_passes": 25.0661,
                "crosses_total": 0.6067,
                "crosses_accurate": 0.197,
                "touches": 66.6174,
                "possession_lost": 12.1437,
                "dispossessed": 0.5338,
                "duels_lost": 3.1648,
                "aerial_won": 0.4642,
                "aerial_lost": 0.9771,
                "interceptions": 0.8513,
                "tackles_won": 0.4938,
                "tackles": 0.8217,
                "clearances": 1.5824,
                "total_contest": 0.957,
                "won_contest": 0.3023,
                "challenges_lost": 0.2232,
                "fouls": 0.7856,
                "fouls_drawn": 2.0552,
                "blocks": 0.4313,
                "big_chances_created": 0.0219,
                "big_chances_missed": 0.0662,
                "xgot": 0.0716,
                "ball_carries": 18.4302,
                "total_progression": 49.4878,
                "progressive_carries": 0.4598,
                "shots_off_target": 0.764
              },
              "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.9646,
                "expected_assists": 0.098,
                "assists": 0.088,
                "assist_rate": 0.088,
                "expected_goals": 0.0966,
                "goals": 0.0796,
                "goal_rate": 0.0796,
                "shots_on_target": 0.3783,
                "total_shots": 1.0926,
                "rating": 7.1151,
                "minutes": 77.61,
                "total_pass": 52.9445,
                "accurate_pass": 44.3259,
                "duels_won": 3.6486,
                "total_long_balls": 6.737,
                "accurate_long_balls": 3.6218,
                "total_own_half_passes": 20.7946,
                "accurate_own_half_passes": 19.2597,
                "total_opp_half_passes": 32.1499,
                "accurate_opp_half_passes": 25.0661,
                "crosses_total": 0.6067,
                "crosses_accurate": 0.197,
                "touches": 66.6174,
                "possession_lost": 12.1437,
                "dispossessed": 0.5338,
                "duels_lost": 3.1648,
                "aerial_won": 1.2,
                "aerial_lost": 0.9771,
                "interceptions": 0.8513,
                "tackles_won": 0.4938,
                "tackles": 0.8217,
                "clearances": 1.5824,
                "total_contest": 0.957,
                "won_contest": 0.3023,
                "challenges_lost": 0.2232,
                "fouls": 0.7856,
                "fouls_drawn": 2.0552,
                "blocks": 0.4313,
                "big_chances_created": 0.0219,
                "big_chances_missed": 0.0619,
                "xgot": 0.0669,
                "ball_carries": 18.4302,
                "total_progression": 49.4878,
                "progressive_carries": 0.4598,
                "shots_off_target": 0.7143,
                "duel_xg_multiplier": 0.935,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.406,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Aurélien Tchouaméni",
                "opponent_faced": "Aurélien Tchouaméni",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Aurélien Tchouaméni",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                  "duel_win_rate": 0.406,
                  "pressing_faced": "ULTRA_HIGH",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.935,
                  "skill_edge": -0.0402,
                  "height_edge": -0.004,
                  "attacker_skill": 0.7972,
                  "defender_skill": 0.8865,
                  "attacker_role": "CM",
                  "attacker_mv_price_index": 0.9,
                  "defender_adjusted_parts": [
                    {
                      "player": "Aurélien Tchouaméni",
                      "market_value": 73000000,
                      "role": "CDM",
                      "price_index": 0.85,
                      "adjusted_quality": 0.8865
                    }
                  ],
                  "xg_override": 0.0966
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.4642,
                  "after": 1.2
                },
                {
                  "stat": "totalShots",
                  "before": 1.1686,
                  "after": 1.0926
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.764,
                  "after": 0.7143
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.4046,
                  "after": 0.3783
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1033,
                  "after": 0.0966
                },
                {
                  "stat": "goals",
                  "before": 0.0851,
                  "after": 0.0796
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.74 (squad xG sum 1.2479, xG scale 1.3975, xA scale 1.2613, team xA 1.40 = 0.80 x lambda)",
              "stats": {
                "key_pass": 0.9646,
                "expected_assists": 0.1236,
                "assist_rate": 0.088,
                "assists": 0,
                "expected_goals": 0.135,
                "goal_rate": 0.0796,
                "goals": 0,
                "shots_on_target": 0.3783,
                "total_shots": 1.0926,
                "rating": 7.1151,
                "minutes": 77.61,
                "total_pass": 52.9445,
                "accurate_pass": 44.3259,
                "duels_won": 3.6486,
                "total_long_balls": 6.737,
                "accurate_long_balls": 3.6218,
                "total_own_half_passes": 20.7946,
                "accurate_own_half_passes": 19.2597,
                "total_opp_half_passes": 32.1499,
                "accurate_opp_half_passes": 25.0661,
                "crosses_total": 0.6067,
                "crosses_accurate": 0.197,
                "touches": 66.6174,
                "possession_lost": 12.1437,
                "dispossessed": 0.5338,
                "duels_lost": 3.1648,
                "aerial_won": 1.2,
                "aerial_lost": 0.9771,
                "interceptions": 0.8513,
                "tackles_won": 0.4938,
                "tackles": 0.8217,
                "clearances": 1.5824,
                "total_contest": 0.957,
                "won_contest": 0.3023,
                "challenges_lost": 0.2232,
                "fouls": 0.7856,
                "fouls_drawn": 2.0552,
                "blocks": 0.4313,
                "big_chances_created": 0.0219,
                "big_chances_missed": 0.0619,
                "xgot": 0.0935,
                "ball_carries": 18.4302,
                "total_progression": 49.4878,
                "progressive_carries": 0.4598,
                "shots_off_target": 0.7143,
                "duel_xg_multiplier": 0.935,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.406,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Aurélien Tchouaméni",
                "opponent_faced": "Aurélien Tchouaméni",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.884,
                "creation_factor": 0.9324
              },
              "params": {
                "team_lambda": 1.744,
                "squad_xg_sum": 1.2479,
                "squad_xa_sum": 1.1061,
                "team_expected_assists": 1.3952,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3975,
                "xa_scale": 1.2613,
                "opponent_lambda": 3.394,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0966,
                  "after": 0.135
                },
                {
                  "stat": "expected_assists",
                  "before": 0.098,
                  "after": 0.1236
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 4 by projected rating, fifa_overall 80.0; not used by the projection)",
              "stats": {
                "key_pass": 0.9646,
                "expected_assists": 0.1236,
                "assist_rate": 0.088,
                "assists": 0,
                "expected_goals": 0.135,
                "goal_rate": 0.0796,
                "goals": 0,
                "shots_on_target": 0.3783,
                "total_shots": 1.0926,
                "rating": 7.1151,
                "minutes": 77.61,
                "total_pass": 52.9445,
                "accurate_pass": 44.3259,
                "duels_won": 3.6486,
                "total_long_balls": 6.737,
                "accurate_long_balls": 3.6218,
                "total_own_half_passes": 20.7946,
                "accurate_own_half_passes": 19.2597,
                "total_opp_half_passes": 32.1499,
                "accurate_opp_half_passes": 25.0661,
                "crosses_total": 0.6067,
                "crosses_accurate": 0.197,
                "touches": 66.6174,
                "possession_lost": 12.1437,
                "dispossessed": 0.5338,
                "duels_lost": 3.1648,
                "aerial_won": 1.2,
                "aerial_lost": 0.9771,
                "interceptions": 0.8513,
                "tackles_won": 0.4938,
                "tackles": 0.8217,
                "clearances": 1.5824,
                "total_contest": 0.957,
                "won_contest": 0.3023,
                "challenges_lost": 0.2232,
                "fouls": 0.7856,
                "fouls_drawn": 2.0552,
                "blocks": 0.4313,
                "big_chances_created": 0.0219,
                "big_chances_missed": 0.0619,
                "xgot": 0.0935,
                "ball_carries": 18.4302,
                "total_progression": 49.4878,
                "progressive_carries": 0.4598,
                "shots_off_target": 0.7143,
                "duel_xg_multiplier": 0.935,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.406,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Aurélien Tchouaméni",
                "opponent_faced": "Aurélien Tchouaméni",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.884,
                "creation_factor": 0.9324,
                "fifa_overall": 80.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": 826,
                "fifa_rank": 758.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 80.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.9646,
                "expected_assists": 0.1236,
                "assist_rate": 0.088,
                "assists": 0,
                "expected_goals": 0.135,
                "goal_rate": 0.0796,
                "goals": 0,
                "shots_on_target": 0.3783,
                "total_shots": 1.0926,
                "rating": 7.1151,
                "minutes": 77.61,
                "total_pass": 52.9445,
                "accurate_pass": 44.3259,
                "duels_won": 3.6486,
                "total_long_balls": 6.737,
                "accurate_long_balls": 3.6218,
                "total_own_half_passes": 20.7946,
                "accurate_own_half_passes": 19.2597,
                "total_opp_half_passes": 32.1499,
                "accurate_opp_half_passes": 25.0661,
                "crosses_total": 0.6067,
                "crosses_accurate": 0.197,
                "touches": 66.6174,
                "possession_lost": 12.1437,
                "dispossessed": 0.5338,
                "duels_lost": 3.1648,
                "aerial_won": 1.2,
                "aerial_lost": 0.9771,
                "interceptions": 0.8513,
                "tackles_won": 0.4938,
                "tackles": 0.8217,
                "clearances": 1.5824,
                "total_contest": 0.957,
                "won_contest": 0.3023,
                "challenges_lost": 0.2232,
                "fouls": 0.7856,
                "fouls_drawn": 2.0552,
                "blocks": 0.4313,
                "big_chances_created": 0.0219,
                "big_chances_missed": 0.0619,
                "xgot": 0.0935,
                "ball_carries": 18.4302,
                "total_progression": 49.4878,
                "progressive_carries": 0.4598,
                "shots_off_target": 0.7143,
                "duel_xg_multiplier": 0.935,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.406,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Aurélien Tchouaméni",
                "opponent_faced": "Aurélien Tchouaméni",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1263,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.884,
                "creation_factor": 0.9324,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1263,
                "scorer_weight": 0.1193,
                "squad_weight_total": 1.8926,
                "weight_share": 0.0631,
                "finishing_factor": 0.884,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alberto Moleiro",
                    "weight": 0.4579,
                    "already": 0,
                    "effective_weight": 0.4579,
                    "runner_up": "Ayoze Pérez",
                    "runner_up_effective_weight": 0.4407
                  }
                ]
              }
            },
            {
              "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.9646,
                "expected_assists": 0.1236,
                "assist_rate": 0.088,
                "assists": 0,
                "expected_goals": 0.135,
                "goal_rate": 0.0796,
                "goals": 0,
                "shots_on_target": 0.3783,
                "total_shots": 1.0926,
                "rating": 7.1151,
                "minutes": 77.61,
                "total_pass": 52.9445,
                "accurate_pass": 44.3259,
                "duels_won": 3.6486,
                "total_long_balls": 6.737,
                "accurate_long_balls": 3.6218,
                "total_own_half_passes": 20.7946,
                "accurate_own_half_passes": 19.2597,
                "total_opp_half_passes": 32.1499,
                "accurate_opp_half_passes": 25.0661,
                "crosses_total": 0.6067,
                "crosses_accurate": 0.197,
                "touches": 66.6174,
                "possession_lost": 12.1437,
                "dispossessed": 0.5338,
                "duels_lost": 3.1648,
                "aerial_won": 1.2,
                "aerial_lost": 0.9771,
                "interceptions": 0.8513,
                "tackles_won": 0.4938,
                "tackles": 0.8217,
                "clearances": 1.5824,
                "total_contest": 0.957,
                "won_contest": 0.3023,
                "challenges_lost": 0.2232,
                "fouls": 0.7856,
                "fouls_drawn": 2.0552,
                "blocks": 0.4313,
                "big_chances_created": 0.0219,
                "big_chances_missed": 0.0619,
                "xgot": 0.0935,
                "ball_carries": 18.4302,
                "total_progression": 49.4878,
                "progressive_carries": 0.4598,
                "shots_off_target": 0.7143,
                "duel_xg_multiplier": 0.935,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.1,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.406,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Aurélien Tchouaméni",
                "opponent_faced": "Aurélien Tchouaméni",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1263,
                "projected_assists": 0,
                "assist_probability": 0.1163,
                "finishing_factor": 0.884,
                "creation_factor": 0.9324,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1163,
                "provider_weight": 0.1152,
                "squad_weight_total": 1.4371,
                "weight_share": 0.0802,
                "creation_factor": 0.9324,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ilias Akhomach",
                    "weight": 0.2045,
                    "already": 0,
                    "effective_weight": 0.2045,
                    "runner_up": "Renato Veiga",
                    "runner_up_effective_weight": 0.1341,
                    "blocked_own_goal": [
                      "Alberto Moleiro"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Santi Comesaña": {
          "player_id": 843678,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 14,
          "height": 187,
          "market_value": 8400000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.097,
            "assist_rate": 0.0634,
            "assists": 0,
            "expected_goals": 0.0569,
            "goal_rate": 0.0369,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.9146,
            "minutes": 73,
            "total_pass": 46,
            "accurate_pass": 41,
            "duels_won": 3,
            "total_long_balls": 2,
            "accurate_long_balls": 2,
            "total_own_half_passes": 20,
            "accurate_own_half_passes": 18,
            "total_opp_half_passes": 27,
            "accurate_opp_half_passes": 23,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 58,
            "possession_lost": 7.3375,
            "dispossessed": 0.4155,
            "duels_lost": 4,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 1,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 1,
            "fouls": 2,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1364,
            "ball_carries": 14,
            "total_progression": 45,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "duel_xg_multiplier": 0.8083,
            "dribbles_attempted": 3,
            "dribbles_successful": 0.8,
            "crosses_attempted": 2.2,
            "duel_win_rate": 0.29,
            "pressing_faced": "LOW",
            "matchup_zone": "Left Mid vs Right Back — Wide Channel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Thibaut Courtois",
            "opponent_faced": "Thibaut Courtois",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0553,
            "projected_assists": 0,
            "assist_probability": 0.0924,
            "finishing_factor": 0.9581,
            "creation_factor": 0.8936,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 37,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0855,
                "total_shots": 0,
                "total_pass": 42,
                "accurate_pass": 41,
                "key_pass": 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": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5685,
                "expected_assists": 0.0428,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 70,
                "accurate_pass": 65,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 3,
                "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": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 28,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0293,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 24,
                "key_pass": 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": 16416290,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 62,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0546,
                "total_shots": 0,
                "total_pass": 54,
                "accurate_pass": 46,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416302,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 84,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0171,
                "total_shots": 0,
                "total_pass": 50,
                "accurate_pass": 43,
                "interceptions": 1,
                "clearances": 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": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 56,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.459,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 26,
                "tackles": 4,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083682,
              "match_date": "2026-05-17",
              "home_team": "Rayo Vallecano",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 64,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0196,
                "expected_assists": 0.0162,
                "total_shots": 1,
                "total_pass": 26,
                "accurate_pass": 23,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "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": 14083644,
              "match_date": "2026-05-13",
              "home_team": "Villarreal",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 20,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0086,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 12,
                "key_pass": 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": 14083573,
              "match_date": "2026-05-10",
              "home_team": "Mallorca",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 75,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0103,
                "total_shots": 0,
                "total_pass": 31,
                "accurate_pass": 30,
                "interceptions": 1,
                "clearances": 1,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083512,
              "match_date": "2026-05-02",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.1858,
                "expected_assists": 0.0539,
                "total_shots": 3,
                "shots_off_target": 1,
                "total_pass": 73,
                "accurate_pass": 60,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 3,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 1902,
            "combined_rank_score": 735.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 511.0,
            "sofascore_rating": 6.85,
            "sofascore_appearances": 34.0,
            "fifa_rank": 960.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": 6.9146,
            "source_file": "data/player_rankings.csv",
            "player_name": "Santi Comesaña",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jeong-hwan Kim",
                  "ranking": 1897
                },
                {
                  "player_name": "Ahmet Arslan",
                  "ranking": 1898
                },
                {
                  "player_name": "Matteo Gabbia",
                  "ranking": 1899
                },
                {
                  "player_name": "Otabek Jurakuziev",
                  "ranking": 1900
                },
                {
                  "player_name": "Choi Han-sol",
                  "ranking": 1901
                }
              ],
              "lower": [
                {
                  "player_name": "Federico Lanzillotta",
                  "ranking": 1903
                },
                {
                  "player_name": "Dong-su Lee",
                  "ranking": 1904
                },
                {
                  "player_name": "Armand Laurienté",
                  "ranking": 1905
                },
                {
                  "player_name": "Álex Jiménez",
                  "ranking": 1906
                },
                {
                  "player_name": "Carlos Baleba",
                  "ranking": 1907
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.772,
          "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.772,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9999,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 199.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.1467
            },
            "rationale": "XGBoost regressor (M_service) evaluated 40 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Villarreal, rel: 0.15, 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.871,
                "expected_assists": 0.0769,
                "assists": 0.0642,
                "assist_rate": 0.0642,
                "expected_goals": 0.0503,
                "goals": 0.0461,
                "goal_rate": 0.0461,
                "shots_on_target": 0.2085,
                "total_shots": 0.6473,
                "rating": 6.9146,
                "minutes": 73.0,
                "total_pass": 46.2608,
                "accurate_pass": 41.0111,
                "duels_won": 3.1731,
                "total_long_balls": 2.4573,
                "accurate_long_balls": 1.7713,
                "total_own_half_passes": 19.5718,
                "accurate_own_half_passes": 18.1947,
                "total_opp_half_passes": 26.689,
                "accurate_opp_half_passes": 22.8164,
                "crosses_total": 0.2871,
                "crosses_accurate": 0.1515,
                "touches": 58.1895,
                "possession_lost": 7.3382,
                "dispossessed": 0.4155,
                "duels_lost": 3.9251,
                "aerial_won": 0.3066,
                "aerial_lost": 0.71,
                "interceptions": 1.4244,
                "tackles_won": 0.9019,
                "tackles": 1.306,
                "clearances": 1.3481,
                "total_contest": 0.5663,
                "won_contest": 0.3356,
                "challenges_lost": 0.9332,
                "fouls": 1.6554,
                "fouls_drawn": 1.2248,
                "blocks": 0.3981,
                "big_chances_created": 0.0485,
                "big_chances_missed": 0.1911,
                "xgot": 0.1208,
                "ball_carries": 14.2749,
                "total_progression": 45.1521,
                "progressive_carries": 0.9188,
                "shots_off_target": 0.4388
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-10T10:05:58.420391+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Málaga CF",
                    "minutes": 37.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.1085,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 84.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 56.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Rayo Vallecano",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Sevilla",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.0482,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Mallorca",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.3842,
                  "creative_index": 0.3815,
                  "expectedGoals": 0.0977,
                  "expectedAssists": 0.0846,
                  "onTargetScoringAttempt": 0.1733
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.8709771037101746,
                    "model_output": 0.871,
                    "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.1078
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1014
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0432
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0428
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.025
                        }
                      ],
                      "others": -0.0334,
                      "total": 0.871,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.129648
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.122448
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.050404
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.049921
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.028085
                        }
                      ],
                      "others_margin": -0.037726
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.07685860991477966,
                    "model_output": 0.0769,
                    "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.0154
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0101
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0036
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0034
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0028
                        }
                      ],
                      "others": -0.001,
                      "total": 0.0769,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.198032
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.133863
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.044278
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.040725
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.035187
                        }
                      ],
                      "others_margin": -0.013939
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.06415020674467087,
                    "model_output": 0.0642,
                    "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.0101
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0084
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0055
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0035
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0031
                        }
                      ],
                      "others": -0.0076,
                      "total": 0.0642,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.1264
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.117973
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.078615
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.0498
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.044072
                        }
                      ],
                      "others_margin": -0.112635
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.050298742949962616,
                    "model_output": 0.0503,
                    "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": "totalShots",
                          "contribution": -0.0195
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0129
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0095
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0066
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0049
                        }
                      ],
                      "others": -0.0229,
                      "total": 0.0503,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.230753
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.188752
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.142118
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.088774
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.064557
                        }
                      ],
                      "others_margin": -0.376688
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.046113405376672745,
                    "model_output": 0.0461,
                    "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.0207
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0115
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0061
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.006
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0057
                        }
                      ],
                      "others": -0.0135,
                      "total": 0.0461,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.238292
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.162175
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.097928
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.096159
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.091799
                        }
                      ],
                      "others_margin": -0.256203
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2085258960723877,
                    "model_output": 0.2085,
                    "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.0866
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0321
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0285
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0258
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.017
                        }
                      ],
                      "others": -0.0413,
                      "total": 0.2085,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.311161
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.126788
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.111596
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.101578
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.065677
                        }
                      ],
                      "others_margin": -0.180584
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.6473124027252197,
                    "model_output": 0.6473,
                    "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.2646
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1281
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0513
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0374
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0232
                        }
                      ],
                      "others": -0.0948,
                      "total": 0.6473,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.264594
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.128106
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.051349
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.037382
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.023174
                        }
                      ],
                      "others_margin": -0.094759
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.9146013259887695,
                    "model_output": 6.9146,
                    "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": "totalOppositionHalfPasses",
                          "contribution": 0.0856
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0302
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0298
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0207
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0164
                        }
                      ],
                      "others": -0.0238,
                      "total": 6.9146,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.085555
                        },
                        {
                          "name": "rating",
                          "margin": -0.030199
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.029763
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.020713
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.016411
                        }
                      ],
                      "others_margin": -0.02369
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 40,
                  "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 0.9999, quality 0.503)",
              "stats": {
                "key_pass": 0.8709,
                "expected_assists": 0.0769,
                "assists": 0.0641,
                "assist_rate": 0.0641,
                "expected_goals": 0.0503,
                "goals": 0.0461,
                "goal_rate": 0.0461,
                "shots_on_target": 0.2085,
                "total_shots": 0.6473,
                "rating": 6.9146,
                "minutes": 73.0,
                "total_pass": 46.2562,
                "accurate_pass": 41.007,
                "duels_won": 3.1728,
                "total_long_balls": 2.4571,
                "accurate_long_balls": 1.7711,
                "total_own_half_passes": 19.5698,
                "accurate_own_half_passes": 18.1929,
                "total_opp_half_passes": 26.6863,
                "accurate_opp_half_passes": 22.8141,
                "crosses_total": 0.2871,
                "crosses_accurate": 0.1515,
                "touches": 58.1837,
                "possession_lost": 7.3375,
                "dispossessed": 0.4155,
                "duels_lost": 3.9247,
                "aerial_won": 0.3066,
                "aerial_lost": 0.7099,
                "interceptions": 1.4243,
                "tackles_won": 0.9018,
                "tackles": 1.3059,
                "clearances": 1.348,
                "total_contest": 0.5662,
                "won_contest": 0.3356,
                "challenges_lost": 0.9331,
                "fouls": 1.6552,
                "fouls_drawn": 1.2247,
                "blocks": 0.3981,
                "big_chances_created": 0.0485,
                "big_chances_missed": 0.1911,
                "xgot": 0.1208,
                "ball_carries": 14.2735,
                "total_progression": 45.1476,
                "progressive_carries": 0.9187,
                "shots_off_target": 0.4388
              },
              "params": {
                "market_value_eur": 8400000,
                "quality_factor": 0.5035,
                "boost_factor": 0.9999,
                "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.0106)",
              "stats": {
                "key_pass": 0.8709,
                "expected_assists": 0.0769,
                "assists": 0.0634,
                "assist_rate": 0.0634,
                "expected_goals": 0.0503,
                "goals": 0.0456,
                "goal_rate": 0.0456,
                "shots_on_target": 0.2063,
                "total_shots": 0.6404,
                "rating": 6.9146,
                "minutes": 73.0,
                "total_pass": 46.2562,
                "accurate_pass": 41.007,
                "duels_won": 3.1728,
                "total_long_balls": 2.4571,
                "accurate_long_balls": 1.7711,
                "total_own_half_passes": 19.5698,
                "accurate_own_half_passes": 18.1929,
                "total_opp_half_passes": 26.6863,
                "accurate_opp_half_passes": 22.8141,
                "crosses_total": 0.2841,
                "crosses_accurate": 0.1515,
                "touches": 58.1837,
                "possession_lost": 7.3375,
                "dispossessed": 0.4155,
                "duels_lost": 3.9247,
                "aerial_won": 0.3066,
                "aerial_lost": 0.7099,
                "interceptions": 1.4209,
                "tackles_won": 0.9079,
                "tackles": 1.3059,
                "clearances": 1.348,
                "total_contest": 0.5662,
                "won_contest": 0.3356,
                "challenges_lost": 0.9331,
                "fouls": 1.6611,
                "fouls_drawn": 1.2156,
                "blocks": 0.3981,
                "big_chances_created": 0.0485,
                "big_chances_missed": 0.1911,
                "xgot": 0.1208,
                "ball_carries": 14.2735,
                "total_progression": 45.1476,
                "progressive_carries": 0.9187,
                "shots_off_target": 0.4388
              },
              "params": {
                "blend_weight": 0.0106,
                "history_matches": 40,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8111,
                "prior_reliability": 0.1467,
                "competition": "La Liga",
                "squad": "Villarreal"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 1.2247,
                  "after": 1.2156
                },
                {
                  "stat": "totalShots",
                  "before": 0.6473,
                  "after": 0.6404
                },
                {
                  "stat": "wonTackle",
                  "before": 0.9018,
                  "after": 0.9079
                },
                {
                  "stat": "fouls",
                  "before": 1.6552,
                  "after": 1.6611
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.8709,
                "expected_assists": 0.0769,
                "assists": 0.0634,
                "assist_rate": 0.0634,
                "expected_goals": 0.0503,
                "goals": 0.0456,
                "goal_rate": 0.0456,
                "shots_on_target": 0.2063,
                "total_shots": 0.6451,
                "rating": 6.9146,
                "minutes": 73.0,
                "total_pass": 46.2562,
                "accurate_pass": 41.007,
                "duels_won": 3.1728,
                "total_long_balls": 2.4571,
                "accurate_long_balls": 1.7711,
                "total_own_half_passes": 19.5698,
                "accurate_own_half_passes": 18.1929,
                "total_opp_half_passes": 26.6863,
                "accurate_opp_half_passes": 22.8141,
                "crosses_total": 0.2841,
                "crosses_accurate": 0.1515,
                "touches": 58.1837,
                "possession_lost": 7.3375,
                "dispossessed": 0.4155,
                "duels_lost": 3.9247,
                "aerial_won": 0.3066,
                "aerial_lost": 0.7099,
                "interceptions": 1.4209,
                "tackles_won": 0.9079,
                "tackles": 1.3059,
                "clearances": 1.348,
                "total_contest": 0.5662,
                "won_contest": 0.3356,
                "challenges_lost": 0.9331,
                "fouls": 1.6611,
                "fouls_drawn": 1.2156,
                "blocks": 0.3981,
                "big_chances_created": 0.0485,
                "big_chances_missed": 0.1911,
                "xgot": 0.1208,
                "ball_carries": 14.2735,
                "total_progression": 45.1476,
                "progressive_carries": 0.9187,
                "shots_off_target": 0.4388
              },
              "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.8709,
                "expected_assists": 0.0769,
                "assists": 0.0634,
                "assist_rate": 0.0634,
                "expected_goals": 0.0407,
                "goals": 0.0369,
                "goal_rate": 0.0369,
                "shots_on_target": 0.1668,
                "total_shots": 0.5215,
                "rating": 6.9146,
                "minutes": 73.0,
                "total_pass": 46.2562,
                "accurate_pass": 41.007,
                "duels_won": 3.1728,
                "total_long_balls": 2.4571,
                "accurate_long_balls": 1.7711,
                "total_own_half_passes": 19.5698,
                "accurate_own_half_passes": 18.1929,
                "total_opp_half_passes": 26.6863,
                "accurate_opp_half_passes": 22.8141,
                "crosses_total": 0.2841,
                "crosses_accurate": 0.1515,
                "touches": 58.1837,
                "possession_lost": 7.3375,
                "dispossessed": 0.4155,
                "duels_lost": 3.9247,
                "aerial_won": 1.2,
                "aerial_lost": 0.7099,
                "interceptions": 1.4209,
                "tackles_won": 0.9079,
                "tackles": 1.3059,
                "clearances": 1.348,
                "total_contest": 0.5662,
                "won_contest": 0.3356,
                "challenges_lost": 0.9331,
                "fouls": 1.6611,
                "fouls_drawn": 1.2156,
                "blocks": 0.3981,
                "big_chances_created": 0.0485,
                "big_chances_missed": 0.1545,
                "xgot": 0.0976,
                "ball_carries": 14.2735,
                "total_progression": 45.1476,
                "progressive_carries": 0.9187,
                "shots_off_target": 0.3547,
                "duel_xg_multiplier": 0.8083,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.29,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Thibaut Courtois",
                "opponent_faced": "Thibaut Courtois",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Thibaut Courtois",
                  "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                  "duel_win_rate": 0.29,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.8083,
                  "skill_edge": -0.0784,
                  "height_edge": -0.052,
                  "attacker_skill": 0.5146,
                  "defender_skill": 0.6889,
                  "attacker_role": "LM",
                  "attacker_mv_price_index": 0.9,
                  "defender_adjusted_parts": [
                    {
                      "player": "Thibaut Courtois",
                      "market_value": 14500000,
                      "role": "GK",
                      "price_index": 0.55,
                      "adjusted_quality": 0.6889
                    }
                  ],
                  "xg_override": 0.0407
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.3066,
                  "after": 1.2
                },
                {
                  "stat": "totalShots",
                  "before": 0.6451,
                  "after": 0.5215
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.4388,
                  "after": 0.3547
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.2063,
                  "after": 0.1668
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.1911,
                  "after": 0.1545
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.1208,
                  "after": 0.0976
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.0503,
                  "after": 0.0407
                },
                {
                  "stat": "goals",
                  "before": 0.0456,
                  "after": 0.0369
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.74 (squad xG sum 1.2479, xG scale 1.3975, xA scale 1.2613, team xA 1.40 = 0.80 x lambda)",
              "stats": {
                "key_pass": 0.8709,
                "expected_assists": 0.097,
                "assist_rate": 0.0634,
                "assists": 0,
                "expected_goals": 0.0569,
                "goal_rate": 0.0369,
                "goals": 0,
                "shots_on_target": 0.1668,
                "total_shots": 0.5215,
                "rating": 6.9146,
                "minutes": 73.0,
                "total_pass": 46.2562,
                "accurate_pass": 41.007,
                "duels_won": 3.1728,
                "total_long_balls": 2.4571,
                "accurate_long_balls": 1.7711,
                "total_own_half_passes": 19.5698,
                "accurate_own_half_passes": 18.1929,
                "total_opp_half_passes": 26.6863,
                "accurate_opp_half_passes": 22.8141,
                "crosses_total": 0.2841,
                "crosses_accurate": 0.1515,
                "touches": 58.1837,
                "possession_lost": 7.3375,
                "dispossessed": 0.4155,
                "duels_lost": 3.9247,
                "aerial_won": 1.2,
                "aerial_lost": 0.7099,
                "interceptions": 1.4209,
                "tackles_won": 0.9079,
                "tackles": 1.3059,
                "clearances": 1.348,
                "total_contest": 0.5662,
                "won_contest": 0.3356,
                "challenges_lost": 0.9331,
                "fouls": 1.6611,
                "fouls_drawn": 1.2156,
                "blocks": 0.3981,
                "big_chances_created": 0.0485,
                "big_chances_missed": 0.1545,
                "xgot": 0.1364,
                "ball_carries": 14.2735,
                "total_progression": 45.1476,
                "progressive_carries": 0.9187,
                "shots_off_target": 0.3547,
                "duel_xg_multiplier": 0.8083,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.29,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Thibaut Courtois",
                "opponent_faced": "Thibaut Courtois",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9581,
                "creation_factor": 0.8936
              },
              "params": {
                "team_lambda": 1.744,
                "squad_xg_sum": 1.2479,
                "squad_xa_sum": 1.1061,
                "team_expected_assists": 1.3952,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3975,
                "xa_scale": 1.2613,
                "opponent_lambda": 3.394,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0407,
                  "after": 0.0569
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0769,
                  "after": 0.097
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 8 by projected rating, fifa_overall 79.0; not used by the projection)",
              "stats": {
                "key_pass": 0.8709,
                "expected_assists": 0.097,
                "assist_rate": 0.0634,
                "assists": 0,
                "expected_goals": 0.0569,
                "goal_rate": 0.0369,
                "goals": 0,
                "shots_on_target": 0.1668,
                "total_shots": 0.5215,
                "rating": 6.9146,
                "minutes": 73.0,
                "total_pass": 46.2562,
                "accurate_pass": 41.007,
                "duels_won": 3.1728,
                "total_long_balls": 2.4571,
                "accurate_long_balls": 1.7711,
                "total_own_half_passes": 19.5698,
                "accurate_own_half_passes": 18.1929,
                "total_opp_half_passes": 26.6863,
                "accurate_opp_half_passes": 22.8141,
                "crosses_total": 0.2841,
                "crosses_accurate": 0.1515,
                "touches": 58.1837,
                "possession_lost": 7.3375,
                "dispossessed": 0.4155,
                "duels_lost": 3.9247,
                "aerial_won": 1.2,
                "aerial_lost": 0.7099,
                "interceptions": 1.4209,
                "tackles_won": 0.9079,
                "tackles": 1.3059,
                "clearances": 1.348,
                "total_contest": 0.5662,
                "won_contest": 0.3356,
                "challenges_lost": 0.9331,
                "fouls": 1.6611,
                "fouls_drawn": 1.2156,
                "blocks": 0.3981,
                "big_chances_created": 0.0485,
                "big_chances_missed": 0.1545,
                "xgot": 0.1364,
                "ball_carries": 14.2735,
                "total_progression": 45.1476,
                "progressive_carries": 0.9187,
                "shots_off_target": 0.3547,
                "duel_xg_multiplier": 0.8083,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.29,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Thibaut Courtois",
                "opponent_faced": "Thibaut Courtois",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9581,
                "creation_factor": 0.8936,
                "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": 1902,
                "fifa_rank": 960.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.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.8709,
                "expected_assists": 0.097,
                "assist_rate": 0.0634,
                "assists": 0,
                "expected_goals": 0.0569,
                "goal_rate": 0.0369,
                "goals": 0,
                "shots_on_target": 0.1668,
                "total_shots": 0.5215,
                "rating": 6.9146,
                "minutes": 73.0,
                "total_pass": 46.2562,
                "accurate_pass": 41.007,
                "duels_won": 3.1728,
                "total_long_balls": 2.4571,
                "accurate_long_balls": 1.7711,
                "total_own_half_passes": 19.5698,
                "accurate_own_half_passes": 18.1929,
                "total_opp_half_passes": 26.6863,
                "accurate_opp_half_passes": 22.8141,
                "crosses_total": 0.2841,
                "crosses_accurate": 0.1515,
                "touches": 58.1837,
                "possession_lost": 7.3375,
                "dispossessed": 0.4155,
                "duels_lost": 3.9247,
                "aerial_won": 1.2,
                "aerial_lost": 0.7099,
                "interceptions": 1.4209,
                "tackles_won": 0.9079,
                "tackles": 1.3059,
                "clearances": 1.348,
                "total_contest": 0.5662,
                "won_contest": 0.3356,
                "challenges_lost": 0.9331,
                "fouls": 1.6611,
                "fouls_drawn": 1.2156,
                "blocks": 0.3981,
                "big_chances_created": 0.0485,
                "big_chances_missed": 0.1545,
                "xgot": 0.1364,
                "ball_carries": 14.2735,
                "total_progression": 45.1476,
                "progressive_carries": 0.9187,
                "shots_off_target": 0.3547,
                "duel_xg_multiplier": 0.8083,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.29,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Thibaut Courtois",
                "opponent_faced": "Thibaut Courtois",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0553,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9581,
                "creation_factor": 0.8936,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0553,
                "scorer_weight": 0.0545,
                "squad_weight_total": 1.8926,
                "weight_share": 0.0288,
                "finishing_factor": 0.9581,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alberto Moleiro",
                    "weight": 0.4579,
                    "already": 0,
                    "effective_weight": 0.4579,
                    "runner_up": "Ayoze Pérez",
                    "runner_up_effective_weight": 0.4407
                  }
                ]
              }
            },
            {
              "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.8709,
                "expected_assists": 0.097,
                "assist_rate": 0.0634,
                "assists": 0,
                "expected_goals": 0.0569,
                "goal_rate": 0.0369,
                "goals": 0,
                "shots_on_target": 0.1668,
                "total_shots": 0.5215,
                "rating": 6.9146,
                "minutes": 73.0,
                "total_pass": 46.2562,
                "accurate_pass": 41.007,
                "duels_won": 3.1728,
                "total_long_balls": 2.4571,
                "accurate_long_balls": 1.7711,
                "total_own_half_passes": 19.5698,
                "accurate_own_half_passes": 18.1929,
                "total_opp_half_passes": 26.6863,
                "accurate_opp_half_passes": 22.8141,
                "crosses_total": 0.2841,
                "crosses_accurate": 0.1515,
                "touches": 58.1837,
                "possession_lost": 7.3375,
                "dispossessed": 0.4155,
                "duels_lost": 3.9247,
                "aerial_won": 1.2,
                "aerial_lost": 0.7099,
                "interceptions": 1.4209,
                "tackles_won": 0.9079,
                "tackles": 1.3059,
                "clearances": 1.348,
                "total_contest": 0.5662,
                "won_contest": 0.3356,
                "challenges_lost": 0.9331,
                "fouls": 1.6611,
                "fouls_drawn": 1.2156,
                "blocks": 0.3981,
                "big_chances_created": 0.0485,
                "big_chances_missed": 0.1545,
                "xgot": 0.1364,
                "ball_carries": 14.2735,
                "total_progression": 45.1476,
                "progressive_carries": 0.9187,
                "shots_off_target": 0.3547,
                "duel_xg_multiplier": 0.8083,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.8,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.29,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Mid vs Right Back — Wide Channel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Thibaut Courtois",
                "opponent_faced": "Thibaut Courtois",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0553,
                "projected_assists": 0,
                "assist_probability": 0.0924,
                "finishing_factor": 0.9581,
                "creation_factor": 0.8936,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0924,
                "provider_weight": 0.0867,
                "squad_weight_total": 1.4371,
                "weight_share": 0.0603,
                "creation_factor": 0.8936,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ilias Akhomach",
                    "weight": 0.2045,
                    "already": 0,
                    "effective_weight": 0.2045,
                    "runner_up": "Renato Veiga",
                    "runner_up_effective_weight": 0.1341,
                    "blocked_own_goal": [
                      "Alberto Moleiro"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Ilias Akhomach": {
          "player_id": 1089108,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 11,
          "height": 175,
          "market_value": 11100000,
          "stats": {
            "expected_goals": 0.1275,
            "goal_rate": 0.1309,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.1636,
            "key_pass": 1,
            "rating": 6.92,
            "minutes": 73,
            "total_pass": 22,
            "accurate_pass": 18,
            "duels_won": 6,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 17,
            "accurate_opp_half_passes": 14,
            "crosses_total": 3,
            "crosses_accurate": 0,
            "touches": 44,
            "possession_lost": 14.2916,
            "dispossessed": 1.9608,
            "duels_lost": 5,
            "aerial_lost": 0,
            "total_contest": 4,
            "won_contest": 3,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 2,
            "assist_rate": 0.3326,
            "assists": 1,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 1,
            "big_chances_missed": 0,
            "xgot": 0.1481,
            "offsides": 0,
            "ball_carries": 18,
            "total_progression": 98,
            "progressive_carries": 4,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.8169,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 1,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.18,
            "pressing_faced": "MEDIUM",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Ibrahima Konaté, Antonio Rüdiger",
            "opponent_faced": "Ibrahima Konaté, Antonio Rüdiger",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.1197,
            "projected_assists": 1,
            "assist_probability": 0.1509,
            "finishing_factor": 1.25,
            "creation_factor": 1.25,
            "fifa_overall": 75.0
          },
          "latest_10_games": [
            {
              "match_id": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 67,
                "rating": 8.5,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0726,
                "expected_assists": 0.8929,
                "total_shots": 1,
                "total_pass": 25,
                "accurate_pass": 20,
                "key_pass": 2,
                "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": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 63,
                "rating": 6.8,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0258,
                "expected_assists": 0.3178,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 28,
                "accurate_pass": 24,
                "key_pass": 2,
                "tackles": 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": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 13,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0127,
                "expected_assists": 0.0046,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 6,
                "accurate_pass": 5,
                "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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416290,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 20,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0248,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 18,
                "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": 16416302,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 11,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0004,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_pass": 1,
                "interceptions": 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": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 13,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0069,
                "total_shots": 0,
                "total_pass": 9,
                "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": 14083239,
              "match_date": "2026-04-26",
              "home_team": "Rayo Vallecano",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1036,
                "expected_assists": 0.0194,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 24,
                "accurate_pass": 16,
                "key_pass": 4,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 7,
                "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": 14083330,
              "match_date": "2026-04-23",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 32,
                "rating": 7.1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0636,
                "expected_assists": 0.0197,
                "total_shots": 1,
                "total_pass": 6,
                "accurate_pass": 6,
                "key_pass": 1,
                "clearances": 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": 14083142,
              "match_date": "2026-04-12",
              "home_team": "Mallorca",
              "away_team": "Rayo Vallecano",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Rayo Vallecano",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 67,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0321,
                "total_shots": 0,
                "total_pass": 17,
                "accurate_pass": 16,
                "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": 14083647,
              "match_date": "2026-03-16",
              "home_team": "Rayo Vallecano",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Rayo Vallecano",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 45,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1311,
                "expected_assists": 0.0439,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 17,
                "accurate_pass": 14,
                "key_pass": 1,
                "tackles": 1,
                "tackles_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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 3623,
            "combined_rank_score": 1590.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 768.0,
            "sofascore_rating": 6.645,
            "sofascore_appearances": 20.0,
            "fifa_rank": 2412.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.92,
            "source_file": "data/player_rankings.csv",
            "player_name": "Ilias Akhomach",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Joe Scally",
                  "ranking": 3618
                },
                {
                  "player_name": "Petros Mantalos",
                  "ranking": 3619
                },
                {
                  "player_name": "Rodinei",
                  "ranking": 3620
                },
                {
                  "player_name": "David Jurásek",
                  "ranking": 3621
                },
                {
                  "player_name": "Raúl Moro",
                  "ranking": 3622
                }
              ],
              "lower": [
                {
                  "player_name": "Andrija Živković",
                  "ranking": 3624
                },
                {
                  "player_name": "Maffeo",
                  "ranking": 3625
                },
                {
                  "player_name": "Harold Moukoudi",
                  "ranking": 3626
                },
                {
                  "player_name": "Davide Calabria",
                  "ranking": 3627
                },
                {
                  "player_name": "Luka Jović",
                  "ranking": 3628
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.755,
          "history_matches": 26,
          "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": 26,
            "data_confidence": 0.755,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0015,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 0.0,
              "minutes": 47.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.0333
            },
            "rationale": "XGBoost regressor (F_service) evaluated 26 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Villarreal, rel: 0.03, 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.1115,
                "goals": 0.1606,
                "goal_rate": 0.1606,
                "shots_on_target": 0.482,
                "total_shots": 1.3544,
                "expected_assists": 0.1295,
                "key_pass": 1.0543,
                "rating": 6.92,
                "minutes": 73.29,
                "total_pass": 22.2965,
                "accurate_pass": 18.2119,
                "duels_won": 6.0327,
                "total_long_balls": 1.1036,
                "accurate_long_balls": 0.6702,
                "total_opp_half_passes": 17.1242,
                "accurate_opp_half_passes": 13.5816,
                "crosses_total": 3.4092,
                "crosses_accurate": 0.4541,
                "touches": 43.5492,
                "possession_lost": 14.2702,
                "dispossessed": 1.9579,
                "duels_lost": 5.1054,
                "aerial_lost": 0.1873,
                "total_contest": 4.4282,
                "won_contest": 2.5959,
                "ball_recovery": 2.2492,
                "challenges_lost": 0.4043,
                "fouls": 0.7235,
                "fouls_drawn": 2.2581,
                "assists": 0.3333,
                "assist_rate": 0.3333,
                "interceptions": 0.1431,
                "tackles_won": 0.6023,
                "tackles": 1.1787,
                "clearances": 0.3451,
                "blocks": 0.0834,
                "big_chances_created": 0.6129,
                "big_chances_missed": 0.0932,
                "xgot": 0.1295,
                "offsides": 0.094,
                "ball_carries": 18.2193,
                "total_progression": 97.4879,
                "progressive_carries": 3.5788,
                "shots_off_target": 0.8724
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-10T10:06:30.670657+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Levante UD",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.1522,
                    "rating": 8.5
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Málaga CF",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.1294,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.11,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.0935,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.0795,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.0675,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-04-26",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0574,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-04-23",
                    "opponent": "Espanyol",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.0488,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-04-12",
                    "opponent": "Mallorca",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.0415,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-03-16",
                    "opponent": "Levante UD",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0353,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.0509,
                  "totalOppositionHalfPasses": 13.0478,
                  "accurateOppositionHalfPasses": 10.722,
                  "accuratePass": 13.5279,
                  "totalShots": 0.9308
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.11148842424154282,
                    "model_output": 0.1115,
                    "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.0665
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0596
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0288
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0121
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0086
                        }
                      ],
                      "others": -0.0449,
                      "total": 0.1115,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.288543
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.254281
                        },
                        {
                          "name": "goals",
                          "margin": -0.150902
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.070885
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.053626
                        }
                      ],
                      "others_margin": -0.338004
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.16055931150913239,
                    "model_output": 0.1606,
                    "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.076
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0363
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0288
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0156
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0124
                        }
                      ],
                      "others": -0.026,
                      "total": 0.1606,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.317158
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.138927
                        },
                        {
                          "name": "goals",
                          "margin": -0.125761
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.075407
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.064369
                        }
                      ],
                      "others_margin": -0.150921
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.4819507896900177,
                    "model_output": 0.482,
                    "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.1738
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0836
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0567
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.04
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0292
                        }
                      ],
                      "others": -0.0993,
                      "total": 0.482,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.280422
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.125143
                        },
                        {
                          "name": "goals",
                          "margin": -0.09469
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.067792
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.049009
                        }
                      ],
                      "others_margin": -0.18749
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.3543133735656738,
                    "model_output": 1.3543,
                    "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.4217
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1541
                        },
                        {
                          "name": "goals",
                          "contribution": -0.1109
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0588
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.057
                        }
                      ],
                      "others": -0.0653,
                      "total": 1.3543,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.421665
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.154137
                        },
                        {
                          "name": "goals",
                          "margin": -0.110912
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.058751
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.056963
                        }
                      ],
                      "others_margin": -0.065296
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.1295185089111328,
                    "model_output": 0.1295,
                    "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.0144
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0104
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0116
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0128
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0058
                        }
                      ],
                      "others": 0.0102,
                      "total": 0.1295,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.201927
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.124314
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.122382
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.119881
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.050079
                        }
                      ],
                      "others_margin": 0.081939
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 1.0542552471160889,
                    "model_output": 1.0543,
                    "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.2157
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0545
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0541
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0483
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0401
                        }
                      ],
                      "others": 0.0642,
                      "total": 1.0543,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.277712
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.059454
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.055705
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.049624
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.041379
                        }
                      ],
                      "others_margin": 0.062767
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.920002460479736,
                    "model_output": 6.92,
                    "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.0667
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0311
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0194
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0154
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0141
                        }
                      ],
                      "others": 0.0499,
                      "total": 6.92,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.066728
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.031149
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.019379
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.015399
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.014098
                        }
                      ],
                      "others_margin": 0.049848
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 26,
                  "role_matches": 11,
                  "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.0015, quality 0.535)",
              "stats": {
                "expected_goals": 0.1117,
                "goals": 0.1608,
                "goal_rate": 0.1608,
                "shots_on_target": 0.4827,
                "total_shots": 1.3564,
                "expected_assists": 0.1297,
                "key_pass": 1.0558,
                "rating": 6.92,
                "minutes": 73.29,
                "total_pass": 22.3299,
                "accurate_pass": 18.2392,
                "duels_won": 6.0417,
                "total_long_balls": 1.1053,
                "accurate_long_balls": 0.6712,
                "total_opp_half_passes": 17.1499,
                "accurate_opp_half_passes": 13.602,
                "crosses_total": 3.4143,
                "crosses_accurate": 0.4548,
                "touches": 43.6145,
                "possession_lost": 14.2916,
                "dispossessed": 1.9608,
                "duels_lost": 5.1131,
                "aerial_lost": 0.1876,
                "total_contest": 4.4348,
                "won_contest": 2.5998,
                "ball_recovery": 2.2526,
                "challenges_lost": 0.4049,
                "fouls": 0.7246,
                "fouls_drawn": 2.2615,
                "assists": 0.3338,
                "assist_rate": 0.3338,
                "interceptions": 0.1433,
                "tackles_won": 0.6032,
                "tackles": 1.1805,
                "clearances": 0.3456,
                "blocks": 0.0835,
                "big_chances_created": 0.6138,
                "big_chances_missed": 0.0933,
                "xgot": 0.1297,
                "offsides": 0.0941,
                "ball_carries": 18.2466,
                "total_progression": 97.6341,
                "progressive_carries": 3.5842,
                "shots_off_target": 0.8737
              },
              "params": {
                "market_value_eur": 11100000,
                "quality_factor": 0.5353,
                "boost_factor": 1.0015,
                "reference_quality": 0.505,
                "history_matches": 26,
                "history_shrink": 0.1613,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0035)",
              "stats": {
                "expected_goals": 0.1117,
                "goals": 0.1602,
                "goal_rate": 0.1602,
                "shots_on_target": 0.481,
                "total_shots": 1.3517,
                "expected_assists": 0.1297,
                "key_pass": 1.0558,
                "rating": 6.92,
                "minutes": 73.29,
                "total_pass": 22.3299,
                "accurate_pass": 18.2392,
                "duels_won": 6.0417,
                "total_long_balls": 1.1053,
                "accurate_long_balls": 0.6712,
                "total_opp_half_passes": 17.1499,
                "accurate_opp_half_passes": 13.602,
                "crosses_total": 3.4479,
                "crosses_accurate": 0.4548,
                "touches": 43.6145,
                "possession_lost": 14.2916,
                "dispossessed": 1.9608,
                "duels_lost": 5.1131,
                "aerial_lost": 0.1876,
                "total_contest": 4.4348,
                "won_contest": 2.5998,
                "ball_recovery": 2.2526,
                "challenges_lost": 0.4049,
                "fouls": 0.7278,
                "fouls_drawn": 2.265,
                "assists": 0.3326,
                "assist_rate": 0.3326,
                "interceptions": 0.1485,
                "tackles_won": 0.6011,
                "tackles": 1.1805,
                "clearances": 0.3456,
                "blocks": 0.0835,
                "big_chances_created": 0.6138,
                "big_chances_missed": 0.0933,
                "xgot": 0.1297,
                "offsides": 0.0938,
                "ball_carries": 18.2466,
                "total_progression": 97.6341,
                "progressive_carries": 3.5842,
                "shots_off_target": 0.8737
              },
              "params": {
                "blend_weight": 0.0035,
                "history_matches": 26,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8143,
                "prior_reliability": 0.0333,
                "competition": "La Liga",
                "squad": "Villarreal"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 3.4143,
                  "after": 3.4479
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.1433,
                  "after": 0.1485
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1117,
                "goals": 0.1602,
                "goal_rate": 0.1602,
                "shots_on_target": 0.481,
                "total_shots": 1.3547,
                "expected_assists": 0.1297,
                "key_pass": 1.0558,
                "rating": 6.92,
                "minutes": 73.29,
                "total_pass": 22.3299,
                "accurate_pass": 18.2392,
                "duels_won": 6.0417,
                "total_long_balls": 1.1053,
                "accurate_long_balls": 0.6712,
                "total_opp_half_passes": 17.1499,
                "accurate_opp_half_passes": 13.602,
                "crosses_total": 3.4479,
                "crosses_accurate": 0.4548,
                "touches": 43.6145,
                "possession_lost": 14.2916,
                "dispossessed": 1.9608,
                "duels_lost": 5.1131,
                "aerial_lost": 0.1876,
                "total_contest": 4.4348,
                "won_contest": 2.5998,
                "ball_recovery": 2.2526,
                "challenges_lost": 0.4049,
                "fouls": 0.7278,
                "fouls_drawn": 2.265,
                "assists": 0.3326,
                "assist_rate": 0.3326,
                "interceptions": 0.1485,
                "tackles_won": 0.6011,
                "tackles": 1.1805,
                "clearances": 0.3456,
                "blocks": 0.0835,
                "big_chances_created": 0.6138,
                "big_chances_missed": 0.0933,
                "xgot": 0.1297,
                "offsides": 0.0938,
                "ball_carries": 18.2466,
                "total_progression": 97.6341,
                "progressive_carries": 3.5842,
                "shots_off_target": 0.8737
              },
              "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.0912,
                "goals": 0.1309,
                "goal_rate": 0.1309,
                "shots_on_target": 0.3929,
                "total_shots": 1.1067,
                "expected_assists": 0.1297,
                "key_pass": 1.0558,
                "rating": 6.92,
                "minutes": 73.29,
                "total_pass": 22.3299,
                "accurate_pass": 18.2392,
                "duels_won": 6.0417,
                "total_long_balls": 1.1053,
                "accurate_long_balls": 0.6712,
                "total_opp_half_passes": 17.1499,
                "accurate_opp_half_passes": 13.602,
                "crosses_total": 3.4479,
                "crosses_accurate": 0.4548,
                "touches": 43.6145,
                "possession_lost": 14.2916,
                "dispossessed": 1.9608,
                "duels_lost": 5.1131,
                "aerial_lost": 0.1876,
                "total_contest": 4.4348,
                "won_contest": 2.5998,
                "ball_recovery": 2.2526,
                "challenges_lost": 0.4049,
                "fouls": 0.7278,
                "fouls_drawn": 2.265,
                "assists": 0.3326,
                "assist_rate": 0.3326,
                "interceptions": 0.1485,
                "tackles_won": 0.6011,
                "tackles": 1.1805,
                "clearances": 0.3456,
                "blocks": 0.0835,
                "big_chances_created": 0.6138,
                "big_chances_missed": 0.0762,
                "xgot": 0.106,
                "offsides": 0.0938,
                "ball_carries": 18.2466,
                "total_progression": 97.6341,
                "progressive_carries": 3.5842,
                "shots_off_target": 0.7137,
                "duel_xg_multiplier": 0.8169,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Ibrahima Konaté, Antonio Rüdiger",
                "opponent_faced": "Ibrahima Konaté, Antonio Rüdiger",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Ibrahima Konaté, Antonio Rüdiger",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.18,
                  "pressing_faced": "MEDIUM",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.8169,
                  "skill_edge": -0.0645,
                  "height_edge": -0.06,
                  "attacker_skill": 0.5353,
                  "defender_skill": 0.6787,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Ibrahima Konaté",
                      "market_value": 46000000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.8555
                    },
                    {
                      "player": "Antonio Rüdiger",
                      "market_value": 6200000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.5019
                    }
                  ],
                  "xg_override": 0.0912
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.3547,
                  "after": 1.1067
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.8737,
                  "after": 0.7137
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.481,
                  "after": 0.3929
                },
                {
                  "stat": "goals",
                  "before": 0.1602,
                  "after": 0.1309
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.1297,
                  "after": 0.106
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1117,
                  "after": 0.0912
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.0933,
                  "after": 0.0762
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.74 (squad xG sum 1.2479, xG scale 1.3975, xA scale 1.2613, team xA 1.40 = 0.80 x lambda)",
              "stats": {
                "expected_goals": 0.1275,
                "goal_rate": 0.1309,
                "goals": 0,
                "shots_on_target": 0.3929,
                "total_shots": 1.1067,
                "expected_assists": 0.1636,
                "key_pass": 1.0558,
                "rating": 6.92,
                "minutes": 73.29,
                "total_pass": 22.3299,
                "accurate_pass": 18.2392,
                "duels_won": 6.0417,
                "total_long_balls": 1.1053,
                "accurate_long_balls": 0.6712,
                "total_opp_half_passes": 17.1499,
                "accurate_opp_half_passes": 13.602,
                "crosses_total": 3.4479,
                "crosses_accurate": 0.4548,
                "touches": 43.6145,
                "possession_lost": 14.2916,
                "dispossessed": 1.9608,
                "duels_lost": 5.1131,
                "aerial_lost": 0.1876,
                "total_contest": 4.4348,
                "won_contest": 2.5998,
                "ball_recovery": 2.2526,
                "challenges_lost": 0.4049,
                "fouls": 0.7278,
                "fouls_drawn": 2.265,
                "assist_rate": 0.3326,
                "assists": 0,
                "interceptions": 0.1485,
                "tackles_won": 0.6011,
                "tackles": 1.1805,
                "clearances": 0.3456,
                "blocks": 0.0835,
                "big_chances_created": 0.6138,
                "big_chances_missed": 0.0762,
                "xgot": 0.1481,
                "offsides": 0.0938,
                "ball_carries": 18.2466,
                "total_progression": 97.6341,
                "progressive_carries": 3.5842,
                "shots_off_target": 0.7137,
                "duel_xg_multiplier": 0.8169,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Ibrahima Konaté, Antonio Rüdiger",
                "opponent_faced": "Ibrahima Konaté, Antonio Rüdiger",
                "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": 1.744,
                "squad_xg_sum": 1.2479,
                "squad_xa_sum": 1.1061,
                "team_expected_assists": 1.3952,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3975,
                "xa_scale": 1.2613,
                "opponent_lambda": 3.394,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0912,
                  "after": 0.1275
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1297,
                  "after": 0.1636
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 7 by projected rating, fifa_overall 75.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.1275,
                "goal_rate": 0.1309,
                "goals": 0,
                "shots_on_target": 0.3929,
                "total_shots": 1.1067,
                "expected_assists": 0.1636,
                "key_pass": 1.0558,
                "rating": 6.92,
                "minutes": 73.29,
                "total_pass": 22.3299,
                "accurate_pass": 18.2392,
                "duels_won": 6.0417,
                "total_long_balls": 1.1053,
                "accurate_long_balls": 0.6712,
                "total_opp_half_passes": 17.1499,
                "accurate_opp_half_passes": 13.602,
                "crosses_total": 3.4479,
                "crosses_accurate": 0.4548,
                "touches": 43.6145,
                "possession_lost": 14.2916,
                "dispossessed": 1.9608,
                "duels_lost": 5.1131,
                "aerial_lost": 0.1876,
                "total_contest": 4.4348,
                "won_contest": 2.5998,
                "ball_recovery": 2.2526,
                "challenges_lost": 0.4049,
                "fouls": 0.7278,
                "fouls_drawn": 2.265,
                "assist_rate": 0.3326,
                "assists": 0,
                "interceptions": 0.1485,
                "tackles_won": 0.6011,
                "tackles": 1.1805,
                "clearances": 0.3456,
                "blocks": 0.0835,
                "big_chances_created": 0.6138,
                "big_chances_missed": 0.0762,
                "xgot": 0.1481,
                "offsides": 0.0938,
                "ball_carries": 18.2466,
                "total_progression": 97.6341,
                "progressive_carries": 3.5842,
                "shots_off_target": 0.7137,
                "duel_xg_multiplier": 0.8169,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Ibrahima Konaté, Antonio Rüdiger",
                "opponent_faced": "Ibrahima Konaté, Antonio Rüdiger",
                "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": 75.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": 3623,
                "fifa_rank": 2412.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 75.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.1275,
                "goal_rate": 0.1309,
                "goals": 0,
                "shots_on_target": 0.3929,
                "total_shots": 1.1067,
                "expected_assists": 0.1636,
                "key_pass": 1.0558,
                "rating": 6.92,
                "minutes": 73.29,
                "total_pass": 22.3299,
                "accurate_pass": 18.2392,
                "duels_won": 6.0417,
                "total_long_balls": 1.1053,
                "accurate_long_balls": 0.6712,
                "total_opp_half_passes": 17.1499,
                "accurate_opp_half_passes": 13.602,
                "crosses_total": 3.4479,
                "crosses_accurate": 0.4548,
                "touches": 43.6145,
                "possession_lost": 14.2916,
                "dispossessed": 1.9608,
                "duels_lost": 5.1131,
                "aerial_lost": 0.1876,
                "total_contest": 4.4348,
                "won_contest": 2.5998,
                "ball_recovery": 2.2526,
                "challenges_lost": 0.4049,
                "fouls": 0.7278,
                "fouls_drawn": 2.265,
                "assist_rate": 0.3326,
                "assists": 0,
                "interceptions": 0.1485,
                "tackles_won": 0.6011,
                "tackles": 1.1805,
                "clearances": 0.3456,
                "blocks": 0.0835,
                "big_chances_created": 0.6138,
                "big_chances_missed": 0.0762,
                "xgot": 0.1481,
                "offsides": 0.0938,
                "ball_carries": 18.2466,
                "total_progression": 97.6341,
                "progressive_carries": 3.5842,
                "shots_off_target": 0.7137,
                "duel_xg_multiplier": 0.8169,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Ibrahima Konaté, Antonio Rüdiger",
                "opponent_faced": "Ibrahima Konaté, Antonio Rüdiger",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1197,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1197,
                "scorer_weight": 0.1594,
                "squad_weight_total": 1.8926,
                "weight_share": 0.0842,
                "finishing_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alberto Moleiro",
                    "weight": 0.4579,
                    "already": 0,
                    "effective_weight": 0.4579,
                    "runner_up": "Ayoze Pérez",
                    "runner_up_effective_weight": 0.4407
                  }
                ]
              }
            },
            {
              "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.1275,
                "goal_rate": 0.1309,
                "goals": 0,
                "shots_on_target": 0.3929,
                "total_shots": 1.1067,
                "expected_assists": 0.1636,
                "key_pass": 1.0558,
                "rating": 6.92,
                "minutes": 73.29,
                "total_pass": 22.3299,
                "accurate_pass": 18.2392,
                "duels_won": 6.0417,
                "total_long_balls": 1.1053,
                "accurate_long_balls": 0.6712,
                "total_opp_half_passes": 17.1499,
                "accurate_opp_half_passes": 13.602,
                "crosses_total": 3.4479,
                "crosses_accurate": 0.4548,
                "touches": 43.6145,
                "possession_lost": 14.2916,
                "dispossessed": 1.9608,
                "duels_lost": 5.1131,
                "aerial_lost": 0.1876,
                "total_contest": 4.4348,
                "won_contest": 2.5998,
                "ball_recovery": 2.2526,
                "challenges_lost": 0.4049,
                "fouls": 0.7278,
                "fouls_drawn": 2.265,
                "assist_rate": 0.3326,
                "assists": 1,
                "interceptions": 0.1485,
                "tackles_won": 0.6011,
                "tackles": 1.1805,
                "clearances": 0.3456,
                "blocks": 0.0835,
                "big_chances_created": 0.6138,
                "big_chances_missed": 0.0762,
                "xgot": 0.1481,
                "offsides": 0.0938,
                "ball_carries": 18.2466,
                "total_progression": 97.6341,
                "progressive_carries": 3.5842,
                "shots_off_target": 0.7137,
                "duel_xg_multiplier": 0.8169,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Ibrahima Konaté, Antonio Rüdiger",
                "opponent_faced": "Ibrahima Konaté, Antonio Rüdiger",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1197,
                "projected_assists": 1,
                "assist_probability": 0.1509,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 1,
                "assist_probability": 0.1509,
                "provider_weight": 0.2045,
                "squad_weight_total": 1.4371,
                "weight_share": 0.1423,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ilias Akhomach",
                    "weight": 0.2045,
                    "already": 0,
                    "effective_weight": 0.2045,
                    "runner_up": "Renato Veiga",
                    "runner_up_effective_weight": 0.1341,
                    "blocked_own_goal": [
                      "Alberto Moleiro"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Sergi Cardona": {
          "player_id": 986245,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 23,
          "height": 186,
          "market_value": 8600000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 3,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 6.7838,
            "minutes": 88,
            "total_pass": 46,
            "accurate_pass": 39,
            "duels_won": 4,
            "total_long_balls": 3,
            "accurate_long_balls": 1,
            "total_own_half_passes": 22,
            "accurate_own_half_passes": 20,
            "total_opp_half_passes": 24,
            "accurate_opp_half_passes": 19,
            "crosses_total": 3,
            "crosses_accurate": 1,
            "touches": 73,
            "possession_lost": 13.1073,
            "dispossessed": 0.4793,
            "duels_lost": 4,
            "aerial_lost": 0,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 4,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.058,
            "goals": 0,
            "assist_rate": 0.0133,
            "assists": 0,
            "expected_goals": 0.0499,
            "expected_assists": 0.1433,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0302,
            "ball_carries": 15,
            "total_progression": 78,
            "progressive_carries": 2,
            "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.7,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.408,
            "opponent_faced": "Arda Güler",
            "pressing_zone": "Left Wing vs Right Back — Flank Battle",
            "matchup_zone": "Left Wing vs Right Back — Flank Battle",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0487,
            "projected_assists": 0,
            "assist_probability": 0.1335,
            "finishing_factor": 1.25,
            "creation_factor": 0.8,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.015,
                "expected_assists": 0.3181,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 62,
                "accurate_pass": 52,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0525,
                "expected_assists": 0.0406,
                "total_shots": 2,
                "total_pass": 79,
                "accurate_pass": 72,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 3,
                "clearances": 2,
                "duels_won": 4,
                "ball_recovery": 8
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 5.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0381,
                "total_shots": 0,
                "total_pass": 59,
                "accurate_pass": 52,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "aerial_won": 2,
                "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": 14083735,
              "match_date": "2026-05-24",
              "home_team": "Villarreal",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 23,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0146,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 10,
                "clearances": 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": 14083682,
              "match_date": "2026-05-17",
              "home_team": "Rayo Vallecano",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.043,
                "expected_assists": 0.0321,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 40,
                "accurate_pass": 38,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 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": 14083573,
              "match_date": "2026-05-10",
              "home_team": "Mallorca",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0138,
                "expected_assists": 0.007,
                "total_shots": 1,
                "total_pass": 38,
                "accurate_pass": 31,
                "interceptions": 1,
                "clearances": 3,
                "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": 14083512,
              "match_date": "2026-05-02",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 17,
                "rating": 7.2,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.0041,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 11,
                "key_pass": 1,
                "interceptions": 2,
                "clearances": 1,
                "aerial_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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083248,
              "match_date": "2026-04-26",
              "home_team": "Villarreal",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 12,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0055,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 7,
                "clearances": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083282,
              "match_date": "2026-04-23",
              "home_team": "Real Oviedo",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2454,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 27,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 3,
                "clearances": 5,
                "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": 14083102,
              "match_date": "2026-04-12",
              "home_team": "Athletic Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 8.4,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1005,
                "expected_assists": 0.1259,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 29,
                "accurate_pass": 22,
                "key_pass": 2,
                "tackles": 6,
                "tackles_won": 3,
                "clearances": 5,
                "aerial_won": 1,
                "duels_won": 9,
                "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": 2148,
            "combined_rank_score": 810.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 653.0,
            "sofascore_rating": 6.7387,
            "sofascore_appearances": 31.0,
            "fifa_rank": 967.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7838,
            "source_file": "data/player_rankings.csv",
            "player_name": "Sergi Cardona",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Álvaro Valles",
                  "ranking": 2143
                },
                {
                  "player_name": "Lazar Samardžić",
                  "ranking": 2144
                },
                {
                  "player_name": "Giovanny Avalos",
                  "ranking": 2145
                },
                {
                  "player_name": "Nahuel Tenaglia",
                  "ranking": 2146
                },
                {
                  "player_name": "Breel Embolo",
                  "ranking": 2147
                }
              ],
              "lower": [
                {
                  "player_name": "Kim Geon-oh",
                  "ranking": 2149
                },
                {
                  "player_name": "Ben Chilwell",
                  "ranking": 2150
                },
                {
                  "player_name": "Nicholas Duarte",
                  "ranking": 2151
                },
                {
                  "player_name": "Edem Nemanov",
                  "ranking": 2152
                },
                {
                  "player_name": "Samú Costa",
                  "ranking": 2153
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "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.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.0,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 0.0,
              "starts": 0.0,
              "prior_reliability": 0.0
            },
            "rationale": "XGBoost regressor (D_service) evaluated 34 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Villarreal, rel: 0.00, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1.1668,
                "tackles": 1.949,
                "tackles_won": 1.3788,
                "clearances": 2.5077,
                "aerial_won": 0.8254,
                "total_shots": 0.6214,
                "rating": 6.7838,
                "minutes": 88.15,
                "total_pass": 45.7508,
                "accurate_pass": 39.1098,
                "duels_won": 4.3694,
                "total_long_balls": 2.6132,
                "accurate_long_balls": 0.8702,
                "total_own_half_passes": 22.0744,
                "accurate_own_half_passes": 20.4928,
                "total_opp_half_passes": 23.6764,
                "accurate_opp_half_passes": 18.617,
                "crosses_total": 3.1708,
                "crosses_accurate": 0.5445,
                "touches": 72.6264,
                "possession_lost": 13.1073,
                "dispossessed": 0.4793,
                "duels_lost": 4.2671,
                "aerial_lost": 0.4287,
                "total_contest": 1.0555,
                "won_contest": 0.2841,
                "ball_recovery": 3.6441,
                "challenges_lost": 1.3164,
                "fouls": 1.2796,
                "fouls_drawn": 1.1295,
                "blocks": 0.2941,
                "goals": 0.058,
                "goal_rate": 0.058,
                "assists": 0.0133,
                "assist_rate": 0.0133,
                "expected_goals": 0.0357,
                "expected_assists": 0.1136,
                "shots_on_target": 0.1965,
                "big_chances_created": 0.1938,
                "xgot": 0.0216,
                "ball_carries": 14.9956,
                "total_progression": 77.9513,
                "progressive_carries": 1.5897,
                "key_pass": 0.7254,
                "shots_off_target": 0.4249
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-10T10:05:07.485697+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1506,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.128,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1088,
                    "rating": 5.9
                  },
                  {
                    "match_date": "2026-05-24",
                    "opponent": "Atlético Madrid",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.0925,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0786,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Mallorca",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0668,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Levante UD",
                    "minutes": 17.0,
                    "is_starting": false,
                    "weight": 0.0568,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-04-26",
                    "opponent": "Celta Vigo",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.0483,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-04-23",
                    "opponent": "Real Oviedo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-04-12",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0349,
                    "rating": 8.4
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 2.1424,
                  "aerialWon": 0.7755,
                  "totalClearance_p90": 3.3486,
                  "totalTackle": 1.5133,
                  "totalPass": 40.0499
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.1667983531951904,
                    "model_output": 1.1668,
                    "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.117
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0769
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0518
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0346
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.027
                        }
                      ],
                      "others": 0.0562,
                      "total": 1.1668,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.127932
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.07598
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.048101
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.030904
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.023982
                        }
                      ],
                      "others_margin": 0.049328
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.9490077495574951,
                    "model_output": 1.949,
                    "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.1945
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0797
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0587
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0583
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0528
                        }
                      ],
                      "others": 0.1111,
                      "total": 1.949,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.130641
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.048967
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.034574
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.033187
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.029163
                        }
                      ],
                      "others_margin": 0.058698
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.3788281679153442,
                    "model_output": 1.3788,
                    "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.1177
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0843
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.081
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0363
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0332
                        }
                      ],
                      "others": 0.1719,
                      "total": 1.3788,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.129071
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.083188
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.073876
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.031384
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.027856
                        }
                      ],
                      "others_margin": 0.133273
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.5076918601989746,
                    "model_output": 2.5077,
                    "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.5399
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.413
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.2359
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.2129
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0696
                        }
                      ],
                      "others": -0.2984,
                      "total": 2.5077,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.170098
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.132657
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.073614
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.071405
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.024512
                        }
                      ],
                      "others_margin": -0.112447
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.8253663778305054,
                    "model_output": 0.8254,
                    "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.3403
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1381
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.1046
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0681
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0579
                        }
                      ],
                      "others": -0.1238,
                      "total": 0.8254,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.282673
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.124499
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.092842
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.065433
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.059232
                        }
                      ],
                      "others_margin": -0.139801
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.621411919593811,
                    "model_output": 0.6214,
                    "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.0759
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0618
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0334
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0159
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0132
                        }
                      ],
                      "others": -0.0235,
                      "total": 0.6214,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.075895
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.061817
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.033448
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.015876
                        },
                        {
                          "name": "rating",
                          "margin": -0.013238
                        }
                      ],
                      "others_margin": -0.023518
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.783811092376709,
                    "model_output": 6.7838,
                    "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": "totalShots",
                          "contribution": 0.0319
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0231
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0101
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0096
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0087
                        }
                      ],
                      "others": -0.0193,
                      "total": 6.7838,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.031863
                        },
                        {
                          "name": "rating",
                          "margin": -0.023079
                        },
                        {
                          "name": "touches",
                          "margin": 0.010123
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.009553
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.00866
                        }
                      ],
                      "others_margin": -0.019334
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 34,
                  "role_matches": 23,
                  "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.0000, quality 0.506)",
              "stats": {
                "interceptions": 1.1668,
                "tackles": 1.949,
                "tackles_won": 1.3788,
                "clearances": 2.5077,
                "aerial_won": 0.8254,
                "total_shots": 0.6214,
                "rating": 6.7838,
                "minutes": 88.15,
                "total_pass": 45.7508,
                "accurate_pass": 39.1098,
                "duels_won": 4.3694,
                "total_long_balls": 2.6132,
                "accurate_long_balls": 0.8702,
                "total_own_half_passes": 22.0744,
                "accurate_own_half_passes": 20.4928,
                "total_opp_half_passes": 23.6764,
                "accurate_opp_half_passes": 18.617,
                "crosses_total": 3.1708,
                "crosses_accurate": 0.5445,
                "touches": 72.6264,
                "possession_lost": 13.1073,
                "dispossessed": 0.4793,
                "duels_lost": 4.2671,
                "aerial_lost": 0.4287,
                "total_contest": 1.0555,
                "won_contest": 0.2841,
                "ball_recovery": 3.6441,
                "challenges_lost": 1.3164,
                "fouls": 1.2796,
                "fouls_drawn": 1.1295,
                "blocks": 0.2941,
                "goals": 0.058,
                "goal_rate": 0.058,
                "assists": 0.0133,
                "assist_rate": 0.0133,
                "expected_goals": 0.0357,
                "expected_assists": 0.1136,
                "shots_on_target": 0.1965,
                "big_chances_created": 0.1938,
                "xgot": 0.0216,
                "ball_carries": 14.9956,
                "total_progression": 77.9513,
                "progressive_carries": 1.5897,
                "key_pass": 0.7254,
                "shots_off_target": 0.4249
              },
              "params": {
                "market_value_eur": 8600000,
                "quality_factor": 0.5059,
                "boost_factor": 1.0,
                "reference_quality": 0.505,
                "history_matches": 34,
                "history_shrink": 0.1282,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.1668,
                "tackles": 1.949,
                "tackles_won": 1.3788,
                "clearances": 2.5077,
                "aerial_won": 0.8254,
                "total_shots": 0.6214,
                "rating": 6.7838,
                "minutes": 88.15,
                "total_pass": 45.7508,
                "accurate_pass": 39.1098,
                "duels_won": 4.3694,
                "total_long_balls": 2.6132,
                "accurate_long_balls": 0.8702,
                "total_own_half_passes": 22.0744,
                "accurate_own_half_passes": 20.4928,
                "total_opp_half_passes": 23.6764,
                "accurate_opp_half_passes": 18.617,
                "crosses_total": 3.1708,
                "crosses_accurate": 0.5445,
                "touches": 72.6264,
                "possession_lost": 13.1073,
                "dispossessed": 0.4793,
                "duels_lost": 4.2671,
                "aerial_lost": 0.4287,
                "total_contest": 1.0555,
                "won_contest": 0.2841,
                "ball_recovery": 3.6441,
                "challenges_lost": 1.3164,
                "fouls": 1.2796,
                "fouls_drawn": 1.1295,
                "blocks": 0.2941,
                "goals": 0.058,
                "goal_rate": 0.058,
                "assists": 0.0133,
                "assist_rate": 0.0133,
                "expected_goals": 0.0357,
                "expected_assists": 0.1136,
                "shots_on_target": 0.1965,
                "big_chances_created": 0.1938,
                "xgot": 0.0216,
                "ball_carries": 14.9956,
                "total_progression": 77.9513,
                "progressive_carries": 1.5897,
                "key_pass": 0.7254,
                "shots_off_target": 0.4249
              },
              "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.1668,
                "tackles": 1.949,
                "tackles_won": 1.3788,
                "clearances": 2.5077,
                "aerial_won": 0.8254,
                "total_shots": 0.6214,
                "rating": 6.7838,
                "minutes": 88.15,
                "total_pass": 45.7508,
                "accurate_pass": 39.1098,
                "duels_won": 4.3694,
                "total_long_balls": 2.6132,
                "accurate_long_balls": 0.8702,
                "total_own_half_passes": 22.0744,
                "accurate_own_half_passes": 20.4928,
                "total_opp_half_passes": 23.6764,
                "accurate_opp_half_passes": 18.617,
                "crosses_total": 3.1708,
                "crosses_accurate": 0.5445,
                "touches": 72.6264,
                "possession_lost": 13.1073,
                "dispossessed": 0.4793,
                "duels_lost": 4.2671,
                "aerial_lost": 0.4287,
                "total_contest": 1.0555,
                "won_contest": 0.2841,
                "ball_recovery": 3.6441,
                "challenges_lost": 1.3164,
                "fouls": 1.2796,
                "fouls_drawn": 1.1295,
                "blocks": 0.2941,
                "goals": 0.058,
                "goal_rate": 0.058,
                "assists": 0.0133,
                "assist_rate": 0.0133,
                "expected_goals": 0.0357,
                "expected_assists": 0.1136,
                "shots_on_target": 0.1965,
                "big_chances_created": 0.1938,
                "xgot": 0.0216,
                "ball_carries": 14.9956,
                "total_progression": 77.9513,
                "progressive_carries": 1.5897,
                "key_pass": 0.7254,
                "shots_off_target": 0.4249,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.408,
                "opponent_faced": "Arda Güler",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Arda Güler",
                  "matchup_zone": "Left Wing vs Right Back — Flank Battle"
                }
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.74 (squad xG sum 1.2479, xG scale 1.3975, xA scale 1.2613, team xA 1.40 = 0.80 x lambda)",
              "stats": {
                "interceptions": 1.1668,
                "tackles": 1.949,
                "tackles_won": 1.3788,
                "clearances": 2.5077,
                "aerial_won": 0.8254,
                "total_shots": 0.6214,
                "rating": 6.7838,
                "minutes": 88.15,
                "total_pass": 45.7508,
                "accurate_pass": 39.1098,
                "duels_won": 4.3694,
                "total_long_balls": 2.6132,
                "accurate_long_balls": 0.8702,
                "total_own_half_passes": 22.0744,
                "accurate_own_half_passes": 20.4928,
                "total_opp_half_passes": 23.6764,
                "accurate_opp_half_passes": 18.617,
                "crosses_total": 3.1708,
                "crosses_accurate": 0.5445,
                "touches": 72.6264,
                "possession_lost": 13.1073,
                "dispossessed": 0.4793,
                "duels_lost": 4.2671,
                "aerial_lost": 0.4287,
                "total_contest": 1.0555,
                "won_contest": 0.2841,
                "ball_recovery": 3.6441,
                "challenges_lost": 1.3164,
                "fouls": 1.2796,
                "fouls_drawn": 1.1295,
                "blocks": 0.2941,
                "goal_rate": 0.058,
                "goals": 0,
                "assist_rate": 0.0133,
                "assists": 0,
                "expected_goals": 0.0499,
                "expected_assists": 0.1433,
                "shots_on_target": 0.1965,
                "big_chances_created": 0.1938,
                "xgot": 0.0302,
                "ball_carries": 14.9956,
                "total_progression": 77.9513,
                "progressive_carries": 1.5897,
                "key_pass": 0.7254,
                "shots_off_target": 0.4249,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.408,
                "opponent_faced": "Arda Güler",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.744,
                "squad_xg_sum": 1.2479,
                "squad_xa_sum": 1.1061,
                "team_expected_assists": 1.3952,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3975,
                "xa_scale": 1.2613,
                "opponent_lambda": 3.394,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0357,
                  "after": 0.0499
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1136,
                  "after": 0.1433
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 14 by projected rating, fifa_overall 79.0; not used by the projection)",
              "stats": {
                "interceptions": 1.1668,
                "tackles": 1.949,
                "tackles_won": 1.3788,
                "clearances": 2.5077,
                "aerial_won": 0.8254,
                "total_shots": 0.6214,
                "rating": 6.7838,
                "minutes": 88.15,
                "total_pass": 45.7508,
                "accurate_pass": 39.1098,
                "duels_won": 4.3694,
                "total_long_balls": 2.6132,
                "accurate_long_balls": 0.8702,
                "total_own_half_passes": 22.0744,
                "accurate_own_half_passes": 20.4928,
                "total_opp_half_passes": 23.6764,
                "accurate_opp_half_passes": 18.617,
                "crosses_total": 3.1708,
                "crosses_accurate": 0.5445,
                "touches": 72.6264,
                "possession_lost": 13.1073,
                "dispossessed": 0.4793,
                "duels_lost": 4.2671,
                "aerial_lost": 0.4287,
                "total_contest": 1.0555,
                "won_contest": 0.2841,
                "ball_recovery": 3.6441,
                "challenges_lost": 1.3164,
                "fouls": 1.2796,
                "fouls_drawn": 1.1295,
                "blocks": 0.2941,
                "goal_rate": 0.058,
                "goals": 0,
                "assist_rate": 0.0133,
                "assists": 0,
                "expected_goals": 0.0499,
                "expected_assists": 0.1433,
                "shots_on_target": 0.1965,
                "big_chances_created": 0.1938,
                "xgot": 0.0302,
                "ball_carries": 14.9956,
                "total_progression": 77.9513,
                "progressive_carries": 1.5897,
                "key_pass": 0.7254,
                "shots_off_target": 0.4249,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.408,
                "opponent_faced": "Arda Güler",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 79.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": 2148,
                "fifa_rank": 967.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 1.1668,
                "tackles": 1.949,
                "tackles_won": 1.3788,
                "clearances": 2.5077,
                "aerial_won": 0.8254,
                "total_shots": 0.6214,
                "rating": 6.7838,
                "minutes": 88.15,
                "total_pass": 45.7508,
                "accurate_pass": 39.1098,
                "duels_won": 4.3694,
                "total_long_balls": 2.6132,
                "accurate_long_balls": 0.8702,
                "total_own_half_passes": 22.0744,
                "accurate_own_half_passes": 20.4928,
                "total_opp_half_passes": 23.6764,
                "accurate_opp_half_passes": 18.617,
                "crosses_total": 3.1708,
                "crosses_accurate": 0.5445,
                "touches": 72.6264,
                "possession_lost": 13.1073,
                "dispossessed": 0.4793,
                "duels_lost": 4.2671,
                "aerial_lost": 0.4287,
                "total_contest": 1.0555,
                "won_contest": 0.2841,
                "ball_recovery": 3.6441,
                "challenges_lost": 1.3164,
                "fouls": 1.2796,
                "fouls_drawn": 1.1295,
                "blocks": 0.2941,
                "goal_rate": 0.058,
                "goals": 0,
                "assist_rate": 0.0133,
                "assists": 0,
                "expected_goals": 0.0499,
                "expected_assists": 0.1433,
                "shots_on_target": 0.1965,
                "big_chances_created": 0.1938,
                "xgot": 0.0302,
                "ball_carries": 14.9956,
                "total_progression": 77.9513,
                "progressive_carries": 1.5897,
                "key_pass": 0.7254,
                "shots_off_target": 0.4249,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.408,
                "opponent_faced": "Arda Güler",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0487,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0487,
                "scorer_weight": 0.0624,
                "squad_weight_total": 1.8926,
                "weight_share": 0.033,
                "finishing_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alberto Moleiro",
                    "weight": 0.4579,
                    "already": 0,
                    "effective_weight": 0.4579,
                    "runner_up": "Ayoze Pérez",
                    "runner_up_effective_weight": 0.4407
                  }
                ]
              }
            },
            {
              "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.1668,
                "tackles": 1.949,
                "tackles_won": 1.3788,
                "clearances": 2.5077,
                "aerial_won": 0.8254,
                "total_shots": 0.6214,
                "rating": 6.7838,
                "minutes": 88.15,
                "total_pass": 45.7508,
                "accurate_pass": 39.1098,
                "duels_won": 4.3694,
                "total_long_balls": 2.6132,
                "accurate_long_balls": 0.8702,
                "total_own_half_passes": 22.0744,
                "accurate_own_half_passes": 20.4928,
                "total_opp_half_passes": 23.6764,
                "accurate_opp_half_passes": 18.617,
                "crosses_total": 3.1708,
                "crosses_accurate": 0.5445,
                "touches": 72.6264,
                "possession_lost": 13.1073,
                "dispossessed": 0.4793,
                "duels_lost": 4.2671,
                "aerial_lost": 0.4287,
                "total_contest": 1.0555,
                "won_contest": 0.2841,
                "ball_recovery": 3.6441,
                "challenges_lost": 1.3164,
                "fouls": 1.2796,
                "fouls_drawn": 1.1295,
                "blocks": 0.2941,
                "goal_rate": 0.058,
                "goals": 0,
                "assist_rate": 0.0133,
                "assists": 0,
                "expected_goals": 0.0499,
                "expected_assists": 0.1433,
                "shots_on_target": 0.1965,
                "big_chances_created": 0.1938,
                "xgot": 0.0302,
                "ball_carries": 14.9956,
                "total_progression": 77.9513,
                "progressive_carries": 1.5897,
                "key_pass": 0.7254,
                "shots_off_target": 0.4249,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.7,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.408,
                "opponent_faced": "Arda Güler",
                "pressing_zone": "Left Wing vs Right Back — Flank Battle",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0487,
                "projected_assists": 0,
                "assist_probability": 0.1335,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1335,
                "provider_weight": 0.1146,
                "squad_weight_total": 1.4371,
                "weight_share": 0.0798,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ilias Akhomach",
                    "weight": 0.2045,
                    "already": 0,
                    "effective_weight": 0.2045,
                    "runner_up": "Renato Veiga",
                    "runner_up_effective_weight": 0.1341,
                    "blocked_own_goal": [
                      "Alberto Moleiro"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Alberto Moleiro": {
          "player_id": 1012444,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 10,
          "height": 172,
          "market_value": 54000000,
          "stats": {
            "expected_goals": 0.4186,
            "goal_rate": 0.3323,
            "goals": 1,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.2584,
            "key_pass": 2,
            "rating": 7.4437,
            "minutes": 77,
            "total_pass": 37,
            "accurate_pass": 31,
            "duels_won": 3,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 27,
            "accurate_opp_half_passes": 22,
            "crosses_total": 3,
            "crosses_accurate": 1,
            "touches": 51,
            "possession_lost": 12.5439,
            "dispossessed": 1.0763,
            "duels_lost": 5,
            "aerial_lost": 0,
            "total_contest": 3,
            "won_contest": 1,
            "ball_recovery": 3,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "assist_rate": 0.4533,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 1,
            "big_chances_missed": 0,
            "xgot": 0.6243,
            "offsides": 0,
            "ball_carries": 17,
            "total_progression": 77,
            "progressive_carries": 3,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.0165,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.4,
            "aerial_won": 1,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.211,
            "pressing_faced": "MEDIUM",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Ibrahima Konaté, Antonio Rüdiger",
            "opponent_faced": "Ibrahima Konaté, Antonio Rüdiger",
            "antagonist_source": "attacking_duel",
            "projected_goals": 1,
            "goal_probability": 0.342,
            "projected_assists": 0,
            "assist_probability": 0.2277,
            "finishing_factor": 1.0938,
            "creation_factor": 1.25,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 8.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 2.0,
                "assists": 2,
                "expected_goals": 0.8805,
                "expected_assists": 0.6499,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 47,
                "accurate_pass": 42,
                "key_pass": 7,
                "tackles": 1,
                "tackles_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": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 80,
                "rating": 7.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5374,
                "expected_assists": 0.6804,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 54,
                "accurate_pass": 44,
                "key_pass": 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": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 35,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1381,
                "expected_assists": 0.1304,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 24,
                "accurate_pass": 23,
                "key_pass": 2,
                "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": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 62,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2202,
                "expected_assists": 0.158,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 31,
                "accurate_pass": 25,
                "key_pass": 1,
                "tackles": 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": 16416290,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 27,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2319,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 12,
                "key_pass": 1,
                "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": 16416302,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 60,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0657,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 26,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 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": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 56,
                "rating": 6.7,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.1651,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 26,
                "key_pass": 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": 14083735,
              "match_date": "2026-05-24",
              "home_team": "Villarreal",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0207,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 23,
                "key_pass": 1,
                "interceptions": 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"
            },
            {
              "match_id": 14083682,
              "match_date": "2026-05-17",
              "home_team": "Rayo Vallecano",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 5.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2361,
                "expected_assists": 0.0863,
                "total_shots": 2,
                "total_pass": 41,
                "accurate_pass": 34,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 3,
                "duels_won": 2,
                "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": 14083644,
              "match_date": "2026-05-13",
              "home_team": "Villarreal",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0559,
                "expected_assists": 0.6017,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 45,
                "accurate_pass": 39,
                "key_pass": 1,
                "tackles": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 1102,
            "combined_rank_score": 671.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 494.0,
            "sofascore_rating": 6.8622,
            "sofascore_appearances": 37.0,
            "fifa_rank": 849.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.4437,
            "source_file": "data/player_rankings.csv",
            "player_name": "Alberto Moleiro",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Merih Demiral",
                  "ranking": 1097
                },
                {
                  "player_name": "César Azpilicueta",
                  "ranking": 1098
                },
                {
                  "player_name": "Sardor Mirzayev",
                  "ranking": 1099
                },
                {
                  "player_name": "Mukhammadkodir Khamraliev",
                  "ranking": 1100
                },
                {
                  "player_name": "Pascal Groß",
                  "ranking": 1101
                }
              ],
              "lower": [
                {
                  "player_name": "Angelo Stiller",
                  "ranking": 1103
                },
                {
                  "player_name": "Mauro Júnior",
                  "ranking": 1104
                },
                {
                  "player_name": "Konstantinos Tzolakis",
                  "ranking": 1105
                },
                {
                  "player_name": "Pau Torres",
                  "ranking": 1106
                },
                {
                  "player_name": "Ju-yeong Jo",
                  "ranking": 1107
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.766,
          "history_matches": 44,
          "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": 44,
            "data_confidence": 0.766,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0102,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 142.0,
              "goals_per90": 0.0,
              "assists_per90": 0.625,
              "shots_per90": 0.0,
              "prior_reliability": 0.1067
            },
            "rationale": "XGBoost regressor (F_service) evaluated 44 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Villarreal, rel: 0.11, gls/90: 0.0, ast/90: 0.625)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.2917,
                "goals": 0.3259,
                "goal_rate": 0.3259,
                "shots_on_target": 1.0313,
                "total_shots": 2.2804,
                "expected_assists": 0.2028,
                "key_pass": 2.1381,
                "rating": 7.4437,
                "minutes": 77.48,
                "total_pass": 36.2348,
                "accurate_pass": 30.8497,
                "duels_won": 2.7478,
                "total_long_balls": 1.0207,
                "accurate_long_balls": 0.618,
                "total_opp_half_passes": 26.9398,
                "accurate_opp_half_passes": 22.2217,
                "crosses_total": 2.9027,
                "crosses_accurate": 0.8295,
                "touches": 50.662,
                "possession_lost": 12.4172,
                "dispossessed": 1.0654,
                "duels_lost": 5.4341,
                "aerial_lost": 0.3449,
                "total_contest": 2.5451,
                "won_contest": 0.8275,
                "ball_recovery": 2.8501,
                "challenges_lost": 1.2695,
                "fouls": 1.0479,
                "fouls_drawn": 0.8652,
                "assists": 0.4481,
                "assist_rate": 0.4481,
                "interceptions": 0.2955,
                "tackles_won": 0.6606,
                "tackles": 1.0189,
                "clearances": 0.2373,
                "blocks": 0.0874,
                "big_chances_created": 0.7228,
                "big_chances_missed": 0.1622,
                "xgot": 0.435,
                "offsides": 0.0937,
                "ball_carries": 16.772,
                "total_progression": 75.8098,
                "progressive_carries": 3.1317,
                "shots_off_target": 1.2491
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-10T10:06:30.670657+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1501,
                    "rating": 8.8
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Málaga CF",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Real Betis",
                    "minutes": 35.0,
                    "is_starting": false,
                    "weight": 0.1085,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 27.0,
                    "is_starting": false,
                    "weight": 0.0784,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 56.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-24",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 5.7
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "expectedGoals": 0.2635,
                  "totalOppositionHalfPasses": 25.6881,
                  "accurateOppositionHalfPasses": 21.6774,
                  "accuratePass": 28.5709,
                  "totalShots": 1.5103
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.2916555404663086,
                    "model_output": 0.2917,
                    "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.0736
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0467
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0271
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0143
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": -0.01
                        }
                      ],
                      "others": -0.0048,
                      "total": 0.2917,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.314749
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.158049
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.088716
                        },
                        {
                          "name": "goals",
                          "margin": 0.047649
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": -0.033022
                        }
                      ],
                      "others_margin": -0.016214
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.3258761763572693,
                    "model_output": 0.3259,
                    "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.081
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0501
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0349
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0316
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0195
                        }
                      ],
                      "others": 0.0139,
                      "total": 0.3259,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.334768
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.162059
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.110104
                        },
                        {
                          "name": "goals",
                          "margin": 0.100079
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.060578
                        }
                      ],
                      "others_margin": 0.043402
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 1.0312565565109253,
                    "model_output": 1.0313,
                    "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.221
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0925
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0561
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0456
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0401
                        }
                      ],
                      "others": 0.1302,
                      "total": 1.0313,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.344641
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.115174
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.063921
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.051649
                        },
                        {
                          "name": "goals",
                          "margin": 0.045565
                        }
                      ],
                      "others_margin": 0.134921
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 2.2803456783294678,
                    "model_output": 2.2803,
                    "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.5559
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1089
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0871
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0787
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0658
                        }
                      ],
                      "others": 0.0052,
                      "total": 2.2803,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.555913
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.108943
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.08708
                        },
                        {
                          "name": "goals",
                          "margin": 0.078659
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.065774
                        }
                      ],
                      "others_margin": 0.00527
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.20280995965003967,
                    "model_output": 0.2028,
                    "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.0135
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0145
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0149
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0101
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0107
                        }
                      ],
                      "others": 0.0748,
                      "total": 0.2028,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.191069
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.171105
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.149822
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.089908
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.086972
                        }
                      ],
                      "others_margin": 0.460093
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 2.1381115913391113,
                    "model_output": 2.1381,
                    "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.234
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.2085
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.1111
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.1187
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0983
                        }
                      ],
                      "others": 0.6935,
                      "total": 2.1381,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.297972
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.206758
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.09486
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.092266
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.070485
                        }
                      ],
                      "others_margin": 0.392142
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.4436750411987305,
                    "model_output": 7.4437,
                    "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": "totalOppositionHalfPasses",
                          "contribution": 0.1261
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0991
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0682
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0627
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0504
                        }
                      ],
                      "others": 0.275,
                      "total": 7.4437,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.126107
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.099103
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.068244
                        },
                        {
                          "name": "rating",
                          "margin": 0.062677
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.050439
                        }
                      ],
                      "others_margin": 0.274945
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 44,
                  "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.0102, quality 0.837)",
              "stats": {
                "expected_goals": 0.2946,
                "goals": 0.3292,
                "goal_rate": 0.3292,
                "shots_on_target": 1.0418,
                "total_shots": 2.3036,
                "expected_assists": 0.2049,
                "key_pass": 2.1599,
                "rating": 7.4437,
                "minutes": 77.48,
                "total_pass": 36.6044,
                "accurate_pass": 31.1644,
                "duels_won": 2.7758,
                "total_long_balls": 1.0311,
                "accurate_long_balls": 0.6243,
                "total_opp_half_passes": 27.2146,
                "accurate_opp_half_passes": 22.4484,
                "crosses_total": 2.9323,
                "crosses_accurate": 0.838,
                "touches": 51.1788,
                "possession_lost": 12.5439,
                "dispossessed": 1.0763,
                "duels_lost": 5.4895,
                "aerial_lost": 0.3484,
                "total_contest": 2.5711,
                "won_contest": 0.8359,
                "ball_recovery": 2.8792,
                "challenges_lost": 1.2824,
                "fouls": 1.0586,
                "fouls_drawn": 0.874,
                "assists": 0.4527,
                "assist_rate": 0.4527,
                "interceptions": 0.2985,
                "tackles_won": 0.6673,
                "tackles": 1.0293,
                "clearances": 0.2397,
                "blocks": 0.0883,
                "big_chances_created": 0.7302,
                "big_chances_missed": 0.1639,
                "xgot": 0.4394,
                "offsides": 0.0947,
                "ball_carries": 16.9431,
                "total_progression": 76.5831,
                "progressive_carries": 3.1636,
                "shots_off_target": 1.2618
              },
              "params": {
                "market_value_eur": 54000000,
                "quality_factor": 0.837,
                "boost_factor": 1.0102,
                "reference_quality": 0.505,
                "history_matches": 44,
                "history_shrink": 0.102,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0071)",
              "stats": {
                "expected_goals": 0.2946,
                "goals": 0.3269,
                "goal_rate": 0.3269,
                "shots_on_target": 1.0344,
                "total_shots": 2.2873,
                "expected_assists": 0.2049,
                "key_pass": 2.1599,
                "rating": 7.4437,
                "minutes": 77.48,
                "total_pass": 36.6044,
                "accurate_pass": 31.1644,
                "duels_won": 2.7758,
                "total_long_balls": 1.0311,
                "accurate_long_balls": 0.6243,
                "total_opp_half_passes": 27.2146,
                "accurate_opp_half_passes": 22.4484,
                "crosses_total": 2.9306,
                "crosses_accurate": 0.838,
                "touches": 51.1788,
                "possession_lost": 12.5439,
                "dispossessed": 1.0763,
                "duels_lost": 5.4895,
                "aerial_lost": 0.3484,
                "total_contest": 2.5711,
                "won_contest": 0.8359,
                "ball_recovery": 2.8792,
                "challenges_lost": 1.2824,
                "fouls": 1.0549,
                "fouls_drawn": 0.8716,
                "assists": 0.4533,
                "assist_rate": 0.4533,
                "interceptions": 0.2964,
                "tackles_won": 0.674,
                "tackles": 1.0293,
                "clearances": 0.2397,
                "blocks": 0.0883,
                "big_chances_created": 0.7302,
                "big_chances_missed": 0.1639,
                "xgot": 0.4394,
                "offsides": 0.0978,
                "ball_carries": 16.9431,
                "total_progression": 76.5831,
                "progressive_carries": 3.1636,
                "shots_off_target": 1.2618
              },
              "params": {
                "blend_weight": 0.0071,
                "history_matches": 44,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8609,
                "prior_reliability": 0.1067,
                "competition": "La Liga",
                "squad": "Villarreal"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.3036,
                  "after": 2.2873
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 1.0418,
                  "after": 1.0344
                },
                {
                  "stat": "wonTackle",
                  "before": 0.6673,
                  "after": 0.674
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.2946,
                "goals": 0.3269,
                "goal_rate": 0.3269,
                "shots_on_target": 1.0344,
                "total_shots": 2.2962,
                "expected_assists": 0.2049,
                "key_pass": 2.1599,
                "rating": 7.4437,
                "minutes": 77.48,
                "total_pass": 36.6044,
                "accurate_pass": 31.1644,
                "duels_won": 2.7758,
                "total_long_balls": 1.0311,
                "accurate_long_balls": 0.6243,
                "total_opp_half_passes": 27.2146,
                "accurate_opp_half_passes": 22.4484,
                "crosses_total": 2.9306,
                "crosses_accurate": 0.838,
                "touches": 51.1788,
                "possession_lost": 12.5439,
                "dispossessed": 1.0763,
                "duels_lost": 5.4895,
                "aerial_lost": 0.3484,
                "total_contest": 2.5711,
                "won_contest": 0.8359,
                "ball_recovery": 2.8792,
                "challenges_lost": 1.2824,
                "fouls": 1.0549,
                "fouls_drawn": 0.8716,
                "assists": 0.4533,
                "assist_rate": 0.4533,
                "interceptions": 0.2964,
                "tackles_won": 0.674,
                "tackles": 1.0293,
                "clearances": 0.2397,
                "blocks": 0.0883,
                "big_chances_created": 0.7302,
                "big_chances_missed": 0.1639,
                "xgot": 0.4394,
                "offsides": 0.0978,
                "ball_carries": 16.9431,
                "total_progression": 76.5831,
                "progressive_carries": 3.1636,
                "shots_off_target": 1.2618
              },
              "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.2995,
                "goals": 0.3323,
                "goal_rate": 0.3323,
                "shots_on_target": 1.0515,
                "total_shots": 2.3341,
                "expected_assists": 0.2049,
                "key_pass": 2.1599,
                "rating": 7.4437,
                "minutes": 77.48,
                "total_pass": 36.6044,
                "accurate_pass": 31.1644,
                "duels_won": 2.7758,
                "total_long_balls": 1.0311,
                "accurate_long_balls": 0.6243,
                "total_opp_half_passes": 27.2146,
                "accurate_opp_half_passes": 22.4484,
                "crosses_total": 2.9306,
                "crosses_accurate": 0.838,
                "touches": 51.1788,
                "possession_lost": 12.5439,
                "dispossessed": 1.0763,
                "duels_lost": 5.4895,
                "aerial_lost": 0.3484,
                "total_contest": 2.5711,
                "won_contest": 0.8359,
                "ball_recovery": 2.8792,
                "challenges_lost": 1.2824,
                "fouls": 1.0549,
                "fouls_drawn": 0.8716,
                "assists": 0.4533,
                "assist_rate": 0.4533,
                "interceptions": 0.2964,
                "tackles_won": 0.674,
                "tackles": 1.0293,
                "clearances": 0.2397,
                "blocks": 0.0883,
                "big_chances_created": 0.7302,
                "big_chances_missed": 0.1666,
                "xgot": 0.4467,
                "offsides": 0.0978,
                "ball_carries": 16.9431,
                "total_progression": 76.5831,
                "progressive_carries": 3.1636,
                "shots_off_target": 1.2826,
                "duel_xg_multiplier": 1.0165,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.211,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Ibrahima Konaté, Antonio Rüdiger",
                "opponent_faced": "Ibrahima Konaté, Antonio Rüdiger",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Ibrahima Konaté, Antonio Rüdiger",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.211,
                  "pressing_faced": "MEDIUM",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 1.0165,
                  "skill_edge": 0.0713,
                  "height_edge": -0.06,
                  "attacker_skill": 0.837,
                  "defender_skill": 0.6787,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Ibrahima Konaté",
                      "market_value": 46000000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.8555
                    },
                    {
                      "player": "Antonio Rüdiger",
                      "market_value": 6200000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.5019
                    }
                  ],
                  "xg_override": 0.2995
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.2962,
                  "after": 2.3341
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.2618,
                  "after": 1.2826
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 1.0344,
                  "after": 1.0515
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.4394,
                  "after": 0.4467
                },
                {
                  "stat": "goals",
                  "before": 0.3269,
                  "after": 0.3323
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.74 (squad xG sum 1.2479, xG scale 1.3975, xA scale 1.2613, team xA 1.40 = 0.80 x lambda)",
              "stats": {
                "expected_goals": 0.4186,
                "goal_rate": 0.3323,
                "goals": 0,
                "shots_on_target": 1.0515,
                "total_shots": 2.3341,
                "expected_assists": 0.2584,
                "key_pass": 2.1599,
                "rating": 7.4437,
                "minutes": 77.48,
                "total_pass": 36.6044,
                "accurate_pass": 31.1644,
                "duels_won": 2.7758,
                "total_long_balls": 1.0311,
                "accurate_long_balls": 0.6243,
                "total_opp_half_passes": 27.2146,
                "accurate_opp_half_passes": 22.4484,
                "crosses_total": 2.9306,
                "crosses_accurate": 0.838,
                "touches": 51.1788,
                "possession_lost": 12.5439,
                "dispossessed": 1.0763,
                "duels_lost": 5.4895,
                "aerial_lost": 0.3484,
                "total_contest": 2.5711,
                "won_contest": 0.8359,
                "ball_recovery": 2.8792,
                "challenges_lost": 1.2824,
                "fouls": 1.0549,
                "fouls_drawn": 0.8716,
                "assist_rate": 0.4533,
                "assists": 0,
                "interceptions": 0.2964,
                "tackles_won": 0.674,
                "tackles": 1.0293,
                "clearances": 0.2397,
                "blocks": 0.0883,
                "big_chances_created": 0.7302,
                "big_chances_missed": 0.1666,
                "xgot": 0.6243,
                "offsides": 0.0978,
                "ball_carries": 16.9431,
                "total_progression": 76.5831,
                "progressive_carries": 3.1636,
                "shots_off_target": 1.2826,
                "duel_xg_multiplier": 1.0165,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.211,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Ibrahima Konaté, Antonio Rüdiger",
                "opponent_faced": "Ibrahima Konaté, Antonio Rüdiger",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0938,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.744,
                "squad_xg_sum": 1.2479,
                "squad_xa_sum": 1.1061,
                "team_expected_assists": 1.3952,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3975,
                "xa_scale": 1.2613,
                "opponent_lambda": 3.394,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2995,
                  "after": 0.4186
                },
                {
                  "stat": "expected_assists",
                  "before": 0.2049,
                  "after": 0.2584
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 1 by projected rating, fifa_overall 79.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.4186,
                "goal_rate": 0.3323,
                "goals": 0,
                "shots_on_target": 1.0515,
                "total_shots": 2.3341,
                "expected_assists": 0.2584,
                "key_pass": 2.1599,
                "rating": 7.4437,
                "minutes": 77.48,
                "total_pass": 36.6044,
                "accurate_pass": 31.1644,
                "duels_won": 2.7758,
                "total_long_balls": 1.0311,
                "accurate_long_balls": 0.6243,
                "total_opp_half_passes": 27.2146,
                "accurate_opp_half_passes": 22.4484,
                "crosses_total": 2.9306,
                "crosses_accurate": 0.838,
                "touches": 51.1788,
                "possession_lost": 12.5439,
                "dispossessed": 1.0763,
                "duels_lost": 5.4895,
                "aerial_lost": 0.3484,
                "total_contest": 2.5711,
                "won_contest": 0.8359,
                "ball_recovery": 2.8792,
                "challenges_lost": 1.2824,
                "fouls": 1.0549,
                "fouls_drawn": 0.8716,
                "assist_rate": 0.4533,
                "assists": 0,
                "interceptions": 0.2964,
                "tackles_won": 0.674,
                "tackles": 1.0293,
                "clearances": 0.2397,
                "blocks": 0.0883,
                "big_chances_created": 0.7302,
                "big_chances_missed": 0.1666,
                "xgot": 0.6243,
                "offsides": 0.0978,
                "ball_carries": 16.9431,
                "total_progression": 76.5831,
                "progressive_carries": 3.1636,
                "shots_off_target": 1.2826,
                "duel_xg_multiplier": 1.0165,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.211,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Ibrahima Konaté, Antonio Rüdiger",
                "opponent_faced": "Ibrahima Konaté, Antonio Rüdiger",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0938,
                "creation_factor": 1.25,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 1,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1102,
                "fifa_rank": 849.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.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.4186,
                "goal_rate": 0.3323,
                "goals": 1,
                "shots_on_target": 1.0515,
                "total_shots": 2.3341,
                "expected_assists": 0.2584,
                "key_pass": 2.1599,
                "rating": 7.4437,
                "minutes": 77.48,
                "total_pass": 36.6044,
                "accurate_pass": 31.1644,
                "duels_won": 2.7758,
                "total_long_balls": 1.0311,
                "accurate_long_balls": 0.6243,
                "total_opp_half_passes": 27.2146,
                "accurate_opp_half_passes": 22.4484,
                "crosses_total": 2.9306,
                "crosses_accurate": 0.838,
                "touches": 51.1788,
                "possession_lost": 12.5439,
                "dispossessed": 1.0763,
                "duels_lost": 5.4895,
                "aerial_lost": 0.3484,
                "total_contest": 2.5711,
                "won_contest": 0.8359,
                "ball_recovery": 2.8792,
                "challenges_lost": 1.2824,
                "fouls": 1.0549,
                "fouls_drawn": 0.8716,
                "assist_rate": 0.4533,
                "assists": 0,
                "interceptions": 0.2964,
                "tackles_won": 0.674,
                "tackles": 1.0293,
                "clearances": 0.2397,
                "blocks": 0.0883,
                "big_chances_created": 0.7302,
                "big_chances_missed": 0.1666,
                "xgot": 0.6243,
                "offsides": 0.0978,
                "ball_carries": 16.9431,
                "total_progression": 76.5831,
                "progressive_carries": 3.1636,
                "shots_off_target": 1.2826,
                "duel_xg_multiplier": 1.0165,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.211,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Ibrahima Konaté, Antonio Rüdiger",
                "opponent_faced": "Ibrahima Konaté, Antonio Rüdiger",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.342,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0938,
                "creation_factor": 1.25,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 1,
                "goal_probability": 0.342,
                "scorer_weight": 0.4579,
                "squad_weight_total": 1.8926,
                "weight_share": 0.2419,
                "finishing_factor": 1.0938,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alberto Moleiro",
                    "weight": 0.4579,
                    "already": 0,
                    "effective_weight": 0.4579,
                    "runner_up": "Ayoze Pérez",
                    "runner_up_effective_weight": 0.4407
                  }
                ]
              }
            },
            {
              "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.4186,
                "goal_rate": 0.3323,
                "goals": 1,
                "shots_on_target": 1.0515,
                "total_shots": 2.3341,
                "expected_assists": 0.2584,
                "key_pass": 2.1599,
                "rating": 7.4437,
                "minutes": 77.48,
                "total_pass": 36.6044,
                "accurate_pass": 31.1644,
                "duels_won": 2.7758,
                "total_long_balls": 1.0311,
                "accurate_long_balls": 0.6243,
                "total_opp_half_passes": 27.2146,
                "accurate_opp_half_passes": 22.4484,
                "crosses_total": 2.9306,
                "crosses_accurate": 0.838,
                "touches": 51.1788,
                "possession_lost": 12.5439,
                "dispossessed": 1.0763,
                "duels_lost": 5.4895,
                "aerial_lost": 0.3484,
                "total_contest": 2.5711,
                "won_contest": 0.8359,
                "ball_recovery": 2.8792,
                "challenges_lost": 1.2824,
                "fouls": 1.0549,
                "fouls_drawn": 0.8716,
                "assist_rate": 0.4533,
                "assists": 0,
                "interceptions": 0.2964,
                "tackles_won": 0.674,
                "tackles": 1.0293,
                "clearances": 0.2397,
                "blocks": 0.0883,
                "big_chances_created": 0.7302,
                "big_chances_missed": 0.1666,
                "xgot": 0.6243,
                "offsides": 0.0978,
                "ball_carries": 16.9431,
                "total_progression": 76.5831,
                "progressive_carries": 3.1636,
                "shots_off_target": 1.2826,
                "duel_xg_multiplier": 1.0165,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.4,
                "aerial_won": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.211,
                "pressing_faced": "MEDIUM",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Ibrahima Konaté, Antonio Rüdiger",
                "opponent_faced": "Ibrahima Konaté, Antonio Rüdiger",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.342,
                "projected_assists": 0,
                "assist_probability": 0.2277,
                "finishing_factor": 1.0938,
                "creation_factor": 1.25,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.2277,
                "provider_weight": 0.323,
                "squad_weight_total": 1.4371,
                "weight_share": 0.2248,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ilias Akhomach",
                    "weight": 0.2045,
                    "already": 0,
                    "effective_weight": 0.2045,
                    "runner_up": "Renato Veiga",
                    "runner_up_effective_weight": 0.1341,
                    "blocked_own_goal": [
                      "Alberto Moleiro"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "bench_players": {
        "Luiz Júnior": {
          "player_id": 1066603,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 1,
          "height": 192,
          "market_value": 12400000,
          "stats": {
            "saves": 0,
            "goals_prevented": 0.0232,
            "rating": 7.1289,
            "minutes": 5,
            "total_pass": 4,
            "accurate_pass": 3,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "touches": 5,
            "clearances": 0,
            "ball_recovery": 1,
            "high_claims": 0,
            "punches": 0.2773,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 0.8502,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 3,
            "bench_appearance_probability": 0.129,
            "bench_expected_minutes": 4.84,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.335,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "available_bench_not_projected_used",
            "goals": 0,
            "projected_goals": 0,
            "goal_probability": 0.0,
            "assists": 0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 5.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 15,
                "ball_recovery": 4,
                "goals_prevented": -1.7728
              },
              "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": 16416290,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 18,
                "clearances": 2,
                "ball_recovery": 8,
                "saves": 1,
                "goals_prevented": -0.2317
              },
              "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": 16416302,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 25,
                "ball_recovery": 5,
                "saves": 2,
                "goals_prevented": -1.1323
              },
              "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": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 5.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 18,
                "ball_recovery": 6,
                "saves": 3,
                "goals_prevented": -0.6088
              },
              "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": 14083102,
              "match_date": "2026-04-12",
              "home_team": "Athletic Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 8.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 19,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 14,
                "saves": 5,
                "goals_prevented": 1.3408
              },
              "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": 14081812,
              "match_date": "2026-04-06",
              "home_team": "Girona FC",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 20,
                "ball_recovery": 8,
                "saves": 2,
                "goals_prevented": -0.5786
              },
              "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": 14081808,
              "match_date": "2026-03-20",
              "home_team": "Villarreal",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0004,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 6,
                "clearances": 4,
                "ball_recovery": 9,
                "saves": 3,
                "goals_prevented": 0.3769
              },
              "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": 14081806,
              "match_date": "2026-03-13",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0009,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 16,
                "clearances": 1,
                "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": 14081803,
              "match_date": "2026-03-08",
              "home_team": "Villarreal",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 13,
                "clearances": 3,
                "ball_recovery": 11,
                "saves": 6,
                "goals_prevented": 0.7456
              },
              "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": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 10,
                "ball_recovery": 6,
                "saves": 4,
                "goals_prevented": -1.2781
              },
              "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": 2073,
            "combined_rank_score": 790.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 339.0,
            "sofascore_rating": 6.9929,
            "sofascore_appearances": 28.0,
            "fifa_rank": 1241.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 7.1289,
            "source_file": "data/player_rankings.csv",
            "player_name": "Luiz Júnior",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Kim Jong-Seok",
                  "ranking": 2068
                },
                {
                  "player_name": "Ariel Cáceres",
                  "ranking": 2069
                },
                {
                  "player_name": "Lucas Zelarayán",
                  "ranking": 2070
                },
                {
                  "player_name": "Šime Gržan",
                  "ranking": 2071
                },
                {
                  "player_name": "Kaku",
                  "ranking": 2072
                }
              ],
              "lower": [
                {
                  "player_name": "Maximiliano Rodríguez",
                  "ranking": 2074
                },
                {
                  "player_name": "Abbos Gulomov",
                  "ranking": 2075
                },
                {
                  "player_name": "Chan-dong Lee",
                  "ranking": 2076
                },
                {
                  "player_name": "Leonardo Spinazzola",
                  "ranking": 2077
                },
                {
                  "player_name": "Toni Martínez",
                  "ranking": 2078
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 32,
          "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": 32,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 4.838865452352355,
            "bench_appearance_prob": 0.12903933874328888,
            "market_value_adjustment": 1.0018,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost G_service (32 historical appearances) to 4.8 expected mins (appearance prob 0.13)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost G_service raw output over 3 target models",
              "stats": {
                "saves": 2.7481,
                "goals_prevented": 0.1364,
                "rating": 7.1289,
                "minutes": 28.5,
                "total_pass": 21.7857,
                "accurate_pass": 16.8137,
                "total_long_balls": 7.9087,
                "accurate_long_balls": 3.067,
                "touches": 30.646,
                "clearances": 1.3444,
                "ball_recovery": 7.6506,
                "high_claims": 1.1485,
                "punches": 1.6306,
                "aerial_won": 0.147,
                "sweeper_actions": 1.4583,
                "sweeper_accurate": 1.2888,
                "saves_inside_box": 1.1445,
                "possession_lost": 4.9983,
                "duels_won": 0.2114,
                "duels_lost": 0.1983,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0307,
                "fouls_drawn": 0.0826,
                "total_own_half_passes": 16.7615,
                "accurate_own_half_passes": 15.4017
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 5,
                  "trained_at": "2026-10-10T10:04:18.353158+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 199,
                    "rows": 6796
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1508,
                    "rating": 5.3
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1282,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.109,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0926,
                    "rating": 5.9
                  },
                  {
                    "match_date": "2026-04-12",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0787,
                    "rating": 8.5
                  },
                  {
                    "match_date": "2026-04-06",
                    "opponent": "Girona FC",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0669,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-03-20",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0569,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-03-13",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0484,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-03-08",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0411,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-02-28",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0349,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "sweeper_actions_p90": 1.3731,
                  "distribution_accuracy": 0.9008,
                  "sweeper_accuracy": 0.7495,
                  "goalkeeperValueNormalized": -0.1397,
                  "save_contribution": 1.7004,
                  "accurateKeeperSweeper": 1.2888
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.7481255531311035,
                    "model_output": 2.7481,
                    "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.1687
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0599
                        },
                        {
                          "name": "save_contribution",
                          "contribution": 0.0498
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": -0.0405
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0271
                        }
                      ],
                      "others": -0.0539,
                      "total": 2.7481,
                      "log_link": true,
                      "margin_base": 1.074537,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.059337
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.021488
                        },
                        {
                          "name": "save_contribution",
                          "margin": 0.01752
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": -0.01423
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.009612
                        }
                      ],
                      "others_margin": -0.019448
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": 0.13644251227378845,
                    "model_output": 0.1364,
                    "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.25
                        },
                        {
                          "name": "punches",
                          "contribution": -0.07
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": 0.0663
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0493
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "contribution": 0.0485
                        }
                      ],
                      "others": -0.0925,
                      "total": 0.1364,
                      "log_link": false,
                      "margin_base": -0.016613,
                      "item_margins": [
                        {
                          "name": "sweeper_accuracy",
                          "margin": 0.250018
                        },
                        {
                          "name": "punches",
                          "margin": -0.069967
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": 0.066317
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.049349
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "margin": 0.048473
                        }
                      ],
                      "others_margin": -0.092438
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.128915786743164,
                    "model_output": 7.1289,
                    "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": "sweeper_accuracy",
                          "contribution": 0.0835
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": 0.0805
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": -0.0329
                        },
                        {
                          "name": "distribution_accuracy",
                          "contribution": -0.0286
                        },
                        {
                          "name": "save_contribution",
                          "contribution": 0.0191
                        }
                      ],
                      "others": -0.0018,
                      "total": 7.1289,
                      "log_link": false,
                      "margin_base": 7.009122,
                      "item_margins": [
                        {
                          "name": "sweeper_accuracy",
                          "margin": 0.083491
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": 0.080478
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": -0.03293
                        },
                        {
                          "name": "distribution_accuracy",
                          "margin": -0.028589
                        },
                        {
                          "name": "save_contribution",
                          "margin": 0.019092
                        }
                      ],
                      "others_margin": -0.001748
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 32,
                  "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.0018, quality 0.550)",
              "stats": {
                "saves": 2.7531,
                "goals_prevented": 0.1367,
                "rating": 7.1289,
                "minutes": 28.5,
                "total_pass": 21.8249,
                "accurate_pass": 16.844,
                "total_long_balls": 7.9229,
                "accurate_long_balls": 3.0725,
                "touches": 30.7012,
                "clearances": 1.3468,
                "ball_recovery": 7.6644,
                "high_claims": 1.1506,
                "punches": 1.6335,
                "aerial_won": 0.1473,
                "sweeper_actions": 1.4609,
                "sweeper_accurate": 1.2911,
                "saves_inside_box": 1.1466,
                "possession_lost": 5.0073,
                "duels_won": 0.2118,
                "duels_lost": 0.1987,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0308,
                "fouls_drawn": 0.0827,
                "total_own_half_passes": 16.7917,
                "accurate_own_half_passes": 15.4294
              },
              "params": {
                "market_value_eur": 12400000,
                "quality_factor": 0.5502,
                "boost_factor": 1.0018,
                "reference_quality": 0.505,
                "history_matches": 32,
                "history_shrink": 0.1351,
                "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.4674,
                "goals_prevented": 0.0232,
                "rating": 7.1289,
                "minutes": 4.84,
                "total_pass": 3.7055,
                "accurate_pass": 2.8599,
                "total_long_balls": 1.3452,
                "accurate_long_balls": 0.5217,
                "touches": 5.2126,
                "clearances": 0.2287,
                "ball_recovery": 1.3013,
                "high_claims": 0.1954,
                "punches": 0.2773,
                "aerial_won": 0.025,
                "sweeper_actions": 0.248,
                "sweeper_accurate": 0.2192,
                "saves_inside_box": 0.1947,
                "possession_lost": 0.8502,
                "duels_won": 0.036,
                "duels_lost": 0.0337,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0052,
                "fouls_drawn": 0.014,
                "total_own_half_passes": 2.851,
                "accurate_own_half_passes": 2.6197,
                "bench_appearance_probability": 0.129,
                "bench_expected_minutes": 4.84
              },
              "params": {
                "expected_minutes": 4.84,
                "projection_minutes": 28.5,
                "minutes_scale": 0.1698,
                "appearance_probability": 0.129
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 0.4674,
                "goals_prevented": 0.0232,
                "rating": 7.1289,
                "minutes": 4.84,
                "total_pass": 3.7055,
                "accurate_pass": 2.8599,
                "total_long_balls": 1.3452,
                "accurate_long_balls": 0.5217,
                "touches": 5.2126,
                "clearances": 0.2287,
                "ball_recovery": 1.3013,
                "high_claims": 0.1954,
                "punches": 0.2773,
                "aerial_won": 0.025,
                "sweeper_actions": 0.248,
                "sweeper_accurate": 0.2192,
                "saves_inside_box": 0.1947,
                "possession_lost": 0.8502,
                "duels_won": 0.036,
                "duels_lost": 0.0337,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0052,
                "fouls_drawn": 0.014,
                "total_own_half_passes": 2.851,
                "accurate_own_half_passes": 2.6197,
                "bench_appearance_probability": 0.129,
                "bench_expected_minutes": 4.84
              },
              "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.4674,
                "goals_prevented": 0.0232,
                "rating": 7.1289,
                "minutes": 4.84,
                "total_pass": 3.7055,
                "accurate_pass": 2.8599,
                "total_long_balls": 1.3452,
                "accurate_long_balls": 0.5217,
                "touches": 5.2126,
                "clearances": 0.2287,
                "ball_recovery": 1.3013,
                "high_claims": 0.1954,
                "punches": 0.2773,
                "aerial_won": 0.025,
                "sweeper_actions": 0.248,
                "sweeper_accurate": 0.2192,
                "saves_inside_box": 0.1947,
                "possession_lost": 0.8502,
                "duels_won": 0.036,
                "duels_lost": 0.0337,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0052,
                "fouls_drawn": 0.014,
                "total_own_half_passes": 2.851,
                "accurate_own_half_passes": 2.6197,
                "bench_appearance_probability": 0.129,
                "bench_expected_minutes": 4.84,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.335,
                "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.129,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 3 by projected rating, fifa_overall 78.0; not used by the projection)",
              "stats": {
                "saves": 0.4674,
                "goals_prevented": 0.0232,
                "rating": 7.1289,
                "minutes": 4.84,
                "total_pass": 3.7055,
                "accurate_pass": 2.8599,
                "total_long_balls": 1.3452,
                "accurate_long_balls": 0.5217,
                "touches": 5.2126,
                "clearances": 0.2287,
                "ball_recovery": 1.3013,
                "high_claims": 0.1954,
                "punches": 0.2773,
                "aerial_won": 0.025,
                "sweeper_actions": 0.248,
                "sweeper_accurate": 0.2192,
                "saves_inside_box": 0.1947,
                "possession_lost": 0.8502,
                "duels_won": 0.036,
                "duels_lost": 0.0337,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0052,
                "fouls_drawn": 0.014,
                "total_own_half_passes": 2.851,
                "accurate_own_half_passes": 2.6197,
                "bench_appearance_probability": 0.129,
                "bench_expected_minutes": 4.84,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.335,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 3,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 2073,
                "fifa_rank": 1241.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            }
          ]
        },
        "Carlos Romero": {
          "player_id": 1396048,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 20,
          "height": 174,
          "market_value": 24000000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.8138,
            "minutes": 14,
            "total_pass": 27,
            "accurate_pass": 23,
            "duels_won": 3,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 11,
            "accurate_own_half_passes": 10,
            "total_opp_half_passes": 16,
            "accurate_opp_half_passes": 13,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 41,
            "possession_lost": 7.0705,
            "dispossessed": 0.5467,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 3,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.0528,
            "goals": 0,
            "assist_rate": 0.034,
            "assists": 0,
            "expected_goals": 0.0361,
            "expected_assists": 0.0477,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0225,
            "ball_carries": 12,
            "total_progression": 54,
            "progressive_carries": 2,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.236,
            "bench_expected_minutes": 14.49,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.335,
            "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": 80.0
          },
          "latest_10_games": [
            {
              "match_id": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 27,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0754,
                "expected_assists": 0.0685,
                "total_shots": 1,
                "total_pass": 23,
                "accurate_pass": 19,
                "duels_won": 1,
                "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": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0367,
                "expected_assists": 0.0239,
                "total_shots": 1,
                "total_pass": 60,
                "accurate_pass": 54,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 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": 16416290,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0469,
                "expected_assists": 0.053,
                "total_shots": 1,
                "total_pass": 57,
                "accurate_pass": 52,
                "key_pass": 1,
                "tackles": 1,
                "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": 16416302,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0296,
                "total_shots": 0,
                "total_pass": 43,
                "accurate_pass": 34,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 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": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.016,
                "expected_assists": 0.0973,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 53,
                "accurate_pass": 50,
                "tackles": 3,
                "tackles_won": 3,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 12,
                "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": 14083719,
              "match_date": "2026-05-23",
              "home_team": "Espanyol",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1193,
                "expected_assists": 0.2291,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 42,
                "accurate_pass": 34,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 8,
                "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": 14083696,
              "match_date": "2026-05-17",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 9.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0256,
                "expected_assists": 0.018,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 22,
                "accurate_pass": 20,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 3,
                "clearances": 3,
                "duels_won": 8,
                "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": 14083629,
              "match_date": "2026-05-13",
              "home_team": "Espanyol",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0672,
                "expected_assists": 0.1447,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 44,
                "accurate_pass": 34,
                "key_pass": 1,
                "clearances": 4,
                "aerial_won": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083587,
              "match_date": "2026-05-09",
              "home_team": "Sevilla",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 75,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0131,
                "expected_assists": 0.0027,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 14,
                "accurate_pass": 12,
                "interceptions": 1,
                "clearances": 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": 14083422,
              "match_date": "2026-05-03",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2168,
                "expected_assists": 0.1683,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 31,
                "accurate_pass": 28,
                "key_pass": 2,
                "tackles": 1,
                "clearances": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 1032,
            "combined_rank_score": 460.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 157.0,
            "sofascore_rating": 7.3,
            "sofascore_appearances": 1.0,
            "fifa_rank": 764.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 9,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8138,
            "source_file": "data/player_rankings.csv",
            "player_name": "Carlos Romero",
            "ranking_neighbors": {
              "upper": [
                {
                  "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
                }
              ],
              "lower": [
                {
                  "player_name": "Shota Gvazava",
                  "ranking": 1033
                },
                {
                  "player_name": "Joachim Andersen",
                  "ranking": 1034
                },
                {
                  "player_name": "Alisson",
                  "ranking": 1035
                },
                {
                  "player_name": "Anthony Elanga",
                  "ranking": 1036
                },
                {
                  "player_name": "Sander Berge",
                  "ranking": 1037
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "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.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 14.48735814265611,
            "bench_appearance_prob": 0.236,
            "market_value_adjustment": 1.0053,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "Bench projection scaled from XGBoost D_service (41 historical appearances) to 14.5 expected mins (appearance prob 0.24); 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.3105,
                "tackles": 0.6559,
                "tackles_won": 0.5132,
                "clearances": 0.705,
                "aerial_won": 0.193,
                "total_shots": 0.4991,
                "rating": 6.8138,
                "minutes": 21.0,
                "total_pass": 38.646,
                "accurate_pass": 33.1744,
                "duels_won": 4.4607,
                "total_long_balls": 2.6372,
                "accurate_long_balls": 1.4816,
                "total_own_half_passes": 15.2269,
                "accurate_own_half_passes": 13.7597,
                "total_opp_half_passes": 23.4191,
                "accurate_opp_half_passes": 19.4147,
                "crosses_total": 1.7855,
                "crosses_accurate": 0.2529,
                "touches": 59.3634,
                "possession_lost": 10.1949,
                "dispossessed": 0.5438,
                "duels_lost": 2.5781,
                "aerial_lost": 0.4062,
                "total_contest": 2.1715,
                "won_contest": 1.4516,
                "ball_recovery": 4.9191,
                "challenges_lost": 0.5538,
                "fouls": 0.3903,
                "fouls_drawn": 1.0586,
                "blocks": 0.5696,
                "goals": 0.0773,
                "goal_rate": 0.0773,
                "assists": 0.0497,
                "assist_rate": 0.0497,
                "expected_goals": 0.052,
                "expected_assists": 0.0688,
                "shots_on_target": 0.2382,
                "big_chances_created": 0.0735,
                "xgot": 0.0324,
                "ball_carries": 16.7734,
                "total_progression": 77.9391,
                "progressive_carries": 2.4065,
                "key_pass": 0.5593,
                "shots_off_target": 0.2609
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-10T10:05:07.485697+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Málaga CF",
                    "minutes": 27.0,
                    "is_starting": false,
                    "weight": 0.1502,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 9.7
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Sevilla",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-03",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.1
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 1.6765,
                  "aerialWon": 0.429,
                  "totalClearance_p90": 1.6944,
                  "totalTackle": 1.6093,
                  "totalPass": 38.646
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.3104507327079773,
                    "model_output": 0.3105,
                    "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.4922
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0122
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0103
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0099
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0093
                        }
                      ],
                      "others": -0.0335,
                      "total": 0.3105,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.85379
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.033964
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.028895
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.027769
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.02679
                        }
                      ],
                      "others_margin": -0.102312
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.6559118628501892,
                    "model_output": 0.6559,
                    "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.7868
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0272
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0268
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0208
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0182
                        }
                      ],
                      "others": 0.0466,
                      "total": 0.6559,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.831262
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.045758
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.045229
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.033733
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.029501
                        }
                      ],
                      "others_margin": 0.073741
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.5132497549057007,
                    "model_output": 0.5132,
                    "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.4329
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0177
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0179
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0124
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0117
                        }
                      ],
                      "others": 0.0568,
                      "total": 0.5132,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.706592
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.041029
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.040028
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.027511
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.025889
                        }
                      ],
                      "others_margin": 0.117578
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 0.7050003409385681,
                    "model_output": 0.705,
                    "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.1117
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.2426
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.093
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0726
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0537
                        }
                      ],
                      "others": -0.1728,
                      "total": 0.705,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.946319
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.199767
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.088598
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.075065
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.059374
                        }
                      ],
                      "others_margin": -0.219217
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.19303834438323975,
                    "model_output": 0.193,
                    "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.8151
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.2086
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0397
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0296
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0255
                        }
                      ],
                      "others": -0.0705,
                      "total": 0.193,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.891105
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.458899
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.117499
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.097577
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.092495
                        }
                      ],
                      "others_margin": -0.310846
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.49912765622138977,
                    "model_output": 0.4991,
                    "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.2685
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.2473
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0329
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.029
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0258
                        }
                      ],
                      "others": -0.0385,
                      "total": 0.4991,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.268549
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.247277
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.032907
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.029036
                        },
                        {
                          "name": "rating",
                          "margin": 0.02579
                        }
                      ],
                      "others_margin": -0.038464
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.813767433166504,
                    "model_output": 6.8138,
                    "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": "totalShots",
                          "contribution": 0.0411
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0221
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0187
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0133
                        },
                        {
                          "name": "rating",
                          "contribution": 0.013
                        }
                      ],
                      "others": -0.0155,
                      "total": 6.8138,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.04106
                        },
                        {
                          "name": "touches",
                          "margin": 0.022064
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.018679
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.013272
                        },
                        {
                          "name": "rating",
                          "margin": 0.013038
                        }
                      ],
                      "others_margin": -0.015579
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 41,
                  "role_matches": 1,
                  "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.0053, quality 0.669)",
              "stats": {
                "interceptions": 0.3121,
                "tackles": 0.6594,
                "tackles_won": 0.516,
                "clearances": 0.7087,
                "aerial_won": 0.1941,
                "total_shots": 0.5018,
                "rating": 6.8138,
                "minutes": 21.0,
                "total_pass": 38.8508,
                "accurate_pass": 33.3502,
                "duels_won": 4.4843,
                "total_long_balls": 2.6512,
                "accurate_long_balls": 1.4895,
                "total_own_half_passes": 15.3076,
                "accurate_own_half_passes": 13.8326,
                "total_opp_half_passes": 23.5432,
                "accurate_opp_half_passes": 19.5176,
                "crosses_total": 1.795,
                "crosses_accurate": 0.2542,
                "touches": 59.678,
                "possession_lost": 10.2489,
                "dispossessed": 0.5467,
                "duels_lost": 2.5918,
                "aerial_lost": 0.4084,
                "total_contest": 2.183,
                "won_contest": 1.4593,
                "ball_recovery": 4.9452,
                "challenges_lost": 0.5567,
                "fouls": 0.3924,
                "fouls_drawn": 1.0642,
                "blocks": 0.5726,
                "goals": 0.0777,
                "goal_rate": 0.0777,
                "assists": 0.05,
                "assist_rate": 0.05,
                "expected_goals": 0.0523,
                "expected_assists": 0.0692,
                "shots_on_target": 0.2395,
                "big_chances_created": 0.0739,
                "xgot": 0.0326,
                "ball_carries": 16.8623,
                "total_progression": 78.3522,
                "progressive_carries": 2.4193,
                "key_pass": 0.5623,
                "shots_off_target": 0.2623
              },
              "params": {
                "market_value_eur": 24000000,
                "quality_factor": 0.6685,
                "boost_factor": 1.0053,
                "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.0141)",
              "stats": {
                "interceptions": 0.3088,
                "tackles": 0.6594,
                "tackles_won": 0.5142,
                "clearances": 0.7087,
                "aerial_won": 0.1941,
                "total_shots": 0.4969,
                "rating": 6.8138,
                "minutes": 21.0,
                "total_pass": 38.8508,
                "accurate_pass": 33.3502,
                "duels_won": 4.4843,
                "total_long_balls": 2.6512,
                "accurate_long_balls": 1.4895,
                "total_own_half_passes": 15.3076,
                "accurate_own_half_passes": 13.8326,
                "total_opp_half_passes": 23.5432,
                "accurate_opp_half_passes": 19.5176,
                "crosses_total": 1.7762,
                "crosses_accurate": 0.2542,
                "touches": 59.678,
                "possession_lost": 10.2489,
                "dispossessed": 0.5467,
                "duels_lost": 2.5918,
                "aerial_lost": 0.4084,
                "total_contest": 2.183,
                "won_contest": 1.4593,
                "ball_recovery": 4.9452,
                "challenges_lost": 0.5567,
                "fouls": 0.3891,
                "fouls_drawn": 1.0569,
                "blocks": 0.5726,
                "goals": 0.0766,
                "goal_rate": 0.0766,
                "assists": 0.0493,
                "assist_rate": 0.0493,
                "expected_goals": 0.0523,
                "expected_assists": 0.0692,
                "shots_on_target": 0.2361,
                "big_chances_created": 0.0739,
                "xgot": 0.0326,
                "ball_carries": 16.8623,
                "total_progression": 78.3522,
                "progressive_carries": 2.4193,
                "key_pass": 0.5623,
                "shots_off_target": 0.2623
              },
              "params": {
                "blend_weight": 0.0141,
                "history_matches": 41,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2333,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Villarreal"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 1.795,
                  "after": 1.7762
                },
                {
                  "stat": "wasFouled",
                  "before": 1.0642,
                  "after": 1.0569
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 21.0 to 14.5 expected minutes (appearance prob 0.24)",
              "stats": {
                "interceptions": 0.213,
                "tackles": 0.4549,
                "tackles_won": 0.3547,
                "clearances": 0.4889,
                "aerial_won": 0.1339,
                "total_shots": 0.3439,
                "rating": 6.8138,
                "minutes": 14.49,
                "total_pass": 26.8022,
                "accurate_pass": 23.0074,
                "duels_won": 3.0936,
                "total_long_balls": 1.829,
                "accurate_long_balls": 1.0276,
                "total_own_half_passes": 10.5603,
                "accurate_own_half_passes": 9.5428,
                "total_opp_half_passes": 16.2418,
                "accurate_opp_half_passes": 13.4647,
                "crosses_total": 1.2254,
                "crosses_accurate": 0.1754,
                "touches": 41.1703,
                "possession_lost": 7.0705,
                "dispossessed": 0.5467,
                "duels_lost": 1.788,
                "aerial_lost": 0.4084,
                "total_contest": 1.506,
                "won_contest": 1.0067,
                "ball_recovery": 3.4116,
                "challenges_lost": 0.5567,
                "fouls": 0.2684,
                "fouls_drawn": 0.7291,
                "blocks": 0.395,
                "goals": 0.0528,
                "goal_rate": 0.0528,
                "assists": 0.034,
                "assist_rate": 0.034,
                "expected_goals": 0.0361,
                "expected_assists": 0.0477,
                "shots_on_target": 0.1629,
                "big_chances_created": 0.051,
                "xgot": 0.0225,
                "ball_carries": 11.6329,
                "total_progression": 54.0532,
                "progressive_carries": 1.669,
                "key_pass": 0.3879,
                "shots_off_target": 0.181,
                "bench_appearance_probability": 0.236,
                "bench_expected_minutes": 14.49
              },
              "params": {
                "expected_minutes": 14.49,
                "projection_minutes": 21.0,
                "minutes_scale": 0.6899,
                "appearance_probability": 0.236
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.213,
                "tackles": 0.4549,
                "tackles_won": 0.3547,
                "clearances": 0.4889,
                "aerial_won": 0.1339,
                "total_shots": 0.3439,
                "rating": 6.8138,
                "minutes": 14.49,
                "total_pass": 26.8022,
                "accurate_pass": 23.0074,
                "duels_won": 3.0936,
                "total_long_balls": 1.829,
                "accurate_long_balls": 1.0276,
                "total_own_half_passes": 10.5603,
                "accurate_own_half_passes": 9.5428,
                "total_opp_half_passes": 16.2418,
                "accurate_opp_half_passes": 13.4647,
                "crosses_total": 1.2254,
                "crosses_accurate": 0.1754,
                "touches": 41.1703,
                "possession_lost": 7.0705,
                "dispossessed": 0.5467,
                "duels_lost": 1.788,
                "aerial_lost": 0.4084,
                "total_contest": 1.506,
                "won_contest": 1.0067,
                "ball_recovery": 3.4116,
                "challenges_lost": 0.5567,
                "fouls": 0.2684,
                "fouls_drawn": 0.7291,
                "blocks": 0.395,
                "goals": 0.0528,
                "goal_rate": 0.0528,
                "assists": 0.034,
                "assist_rate": 0.034,
                "expected_goals": 0.0361,
                "expected_assists": 0.0477,
                "shots_on_target": 0.1629,
                "big_chances_created": 0.051,
                "xgot": 0.0225,
                "ball_carries": 11.6329,
                "total_progression": 54.0532,
                "progressive_carries": 1.669,
                "key_pass": 0.3879,
                "shots_off_target": 0.181,
                "bench_appearance_probability": 0.236,
                "bench_expected_minutes": 14.49
              },
              "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.213,
                "tackles": 0.4549,
                "tackles_won": 0.3547,
                "clearances": 0.4889,
                "aerial_won": 0.1339,
                "total_shots": 0.3439,
                "rating": 6.8138,
                "minutes": 14.49,
                "total_pass": 26.8022,
                "accurate_pass": 23.0074,
                "duels_won": 3.0936,
                "total_long_balls": 1.829,
                "accurate_long_balls": 1.0276,
                "total_own_half_passes": 10.5603,
                "accurate_own_half_passes": 9.5428,
                "total_opp_half_passes": 16.2418,
                "accurate_opp_half_passes": 13.4647,
                "crosses_total": 1.2254,
                "crosses_accurate": 0.1754,
                "touches": 41.1703,
                "possession_lost": 7.0705,
                "dispossessed": 0.5467,
                "duels_lost": 1.788,
                "aerial_lost": 0.4084,
                "total_contest": 1.506,
                "won_contest": 1.0067,
                "ball_recovery": 3.4116,
                "challenges_lost": 0.5567,
                "fouls": 0.2684,
                "fouls_drawn": 0.7291,
                "blocks": 0.395,
                "goal_rate": 0.0528,
                "goals": 0,
                "assist_rate": 0.034,
                "assists": 0,
                "expected_goals": 0.0361,
                "expected_assists": 0.0477,
                "shots_on_target": 0.1629,
                "big_chances_created": 0.051,
                "xgot": 0.0225,
                "ball_carries": 11.6329,
                "total_progression": 54.0532,
                "progressive_carries": 1.669,
                "key_pass": 0.3879,
                "shots_off_target": 0.181,
                "bench_appearance_probability": 0.236,
                "bench_expected_minutes": 14.49,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.335,
                "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.236,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 9 by projected rating, fifa_overall 80.0; not used by the projection)",
              "stats": {
                "interceptions": 0.213,
                "tackles": 0.4549,
                "tackles_won": 0.3547,
                "clearances": 0.4889,
                "aerial_won": 0.1339,
                "total_shots": 0.3439,
                "rating": 6.8138,
                "minutes": 14.49,
                "total_pass": 26.8022,
                "accurate_pass": 23.0074,
                "duels_won": 3.0936,
                "total_long_balls": 1.829,
                "accurate_long_balls": 1.0276,
                "total_own_half_passes": 10.5603,
                "accurate_own_half_passes": 9.5428,
                "total_opp_half_passes": 16.2418,
                "accurate_opp_half_passes": 13.4647,
                "crosses_total": 1.2254,
                "crosses_accurate": 0.1754,
                "touches": 41.1703,
                "possession_lost": 7.0705,
                "dispossessed": 0.5467,
                "duels_lost": 1.788,
                "aerial_lost": 0.4084,
                "total_contest": 1.506,
                "won_contest": 1.0067,
                "ball_recovery": 3.4116,
                "challenges_lost": 0.5567,
                "fouls": 0.2684,
                "fouls_drawn": 0.7291,
                "blocks": 0.395,
                "goal_rate": 0.0528,
                "goals": 0,
                "assist_rate": 0.034,
                "assists": 0,
                "expected_goals": 0.0361,
                "expected_assists": 0.0477,
                "shots_on_target": 0.1629,
                "big_chances_created": 0.051,
                "xgot": 0.0225,
                "ball_carries": 11.6329,
                "total_progression": 54.0532,
                "progressive_carries": 1.669,
                "key_pass": 0.3879,
                "shots_off_target": 0.181,
                "bench_appearance_probability": 0.236,
                "bench_expected_minutes": 14.49,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.335,
                "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": 80.0
              },
              "params": {
                "match_squad_rank": 9,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1032,
                "fifa_rank": 764.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 80.0
              }
            }
          ]
        },
        "Logan Costa": {
          "player_id": 911853,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 2,
          "height": 188,
          "market_value": 14600000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 1,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.6947,
            "minutes": 14,
            "total_pass": 25,
            "accurate_pass": 23,
            "duels_won": 1,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 15,
            "accurate_own_half_passes": 14,
            "total_opp_half_passes": 10,
            "accurate_opp_half_passes": 9,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 27,
            "possession_lost": 2.0276,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0198,
            "expected_assists": 0.0146,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 9,
            "total_progression": 46,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.323,
            "bench_expected_minutes": 14.12,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.335,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "match_id": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 83,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0572,
                "expected_assists": 0.0285,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 52,
                "accurate_pass": 48,
                "clearances": 1,
                "aerial_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": 14083735,
              "match_date": "2026-05-24",
              "home_team": "Villarreal",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 15,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0015,
                "total_shots": 0,
                "total_pass": 14,
                "accurate_pass": 13,
                "tackles": 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": 14083682,
              "match_date": "2026-05-17",
              "home_team": "Rayo Vallecano",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 13,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0173,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 12,
                "key_pass": 1,
                "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": 3313,
            "combined_rank_score": 1271.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 578.0,
            "sofascore_rating": 6.8,
            "sofascore_appearances": 2.0,
            "fifa_rank": 1965.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6947,
            "source_file": "data/player_rankings.csv",
            "player_name": "Logan Costa",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Luca Ranieri",
                  "ranking": 3308
                },
                {
                  "player_name": "Răzvan Marin",
                  "ranking": 3309
                },
                {
                  "player_name": "Diego Coppola",
                  "ranking": 3310
                },
                {
                  "player_name": "Pablo Rosario",
                  "ranking": 3311
                },
                {
                  "player_name": "Víctor Gómez",
                  "ranking": 3312
                }
              ],
              "lower": [
                {
                  "player_name": "Santiago Ascacíbar",
                  "ranking": 3314
                },
                {
                  "player_name": "Rio Ngumoha",
                  "ranking": 3315
                },
                {
                  "player_name": "Kyle Walker-Peters",
                  "ranking": 3316
                },
                {
                  "player_name": "Alberto Costa",
                  "ranking": 3317
                },
                {
                  "player_name": "Tajon Buchanan",
                  "ranking": 3318
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.438,
          "history_matches": 3,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "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": 3,
            "data_confidence": 0.438,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 14.116228879425961,
            "bench_appearance_prob": 0.32346494906481643,
            "market_value_adjustment": 1.0131,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "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 (3 historical appearances) to 14.1 expected mins (appearance prob 0.32); 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.3006,
                "tackles": 0.4899,
                "tackles_won": 0.3079,
                "clearances": 1.0257,
                "aerial_won": 0.3873,
                "total_shots": 0.209,
                "rating": 6.6947,
                "minutes": 16.04,
                "total_pass": 28.2099,
                "accurate_pass": 26.3246,
                "duels_won": 0.7191,
                "total_long_balls": 1.7279,
                "accurate_long_balls": 1.3392,
                "total_own_half_passes": 17.105,
                "accurate_own_half_passes": 15.9971,
                "total_opp_half_passes": 11.105,
                "accurate_opp_half_passes": 10.3275,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 30.4257,
                "possession_lost": 2.2741,
                "dispossessed": 0.0,
                "duels_lost": 0.2809,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.3392,
                "challenges_lost": 0.0,
                "fouls": 0.2809,
                "fouls_drawn": 0.0,
                "blocks": 0.3887,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0222,
                "expected_assists": 0.0164,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.2779,
                "total_progression": 51.8315,
                "progressive_carries": 0.0,
                "key_pass": 0.2809,
                "shots_off_target": 0.209
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-10T10:05:07.485697+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 622,
                    "rows": 20280
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 83.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-24",
                    "opponent": "Atlético Madrid",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.3304,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Rayo Vallecano",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.2809,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 0.7191,
                  "aerialWon": 0.3887,
                  "totalClearance_p90": 2.404,
                  "totalTackle": 0.3304,
                  "totalPass": 28.2099
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.3005896210670471,
                    "model_output": 0.3006,
                    "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.4725
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0514
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0125
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0085
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0066
                        }
                      ],
                      "others": -0.0052,
                      "total": 0.3006,
                      "log_link": true,
                      "margin_base": -0.154,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.80117
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.143254
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.038098
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.026822
                        },
                        {
                          "name": "touches",
                          "margin": -0.021383
                        }
                      ],
                      "others_margin": -0.017282
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.4898712635040283,
                    "model_output": 0.4899,
                    "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.7791
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0398
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": -0.0278
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0253
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0232
                        }
                      ],
                      "others": -0.0088,
                      "total": 0.4899,
                      "log_link": true,
                      "margin_base": 0.332089,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.818547
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.066889
                        },
                        {
                          "name": "tackle_success_rate",
                          "margin": -0.049577
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.047393
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.045528
                        }
                      ],
                      "others_margin": -0.017767
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.307908833026886,
                    "model_output": 0.3079,
                    "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.464
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0233
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0192
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0174
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.011
                        }
                      ],
                      "others": -0.0336,
                      "total": 0.3079,
                      "log_link": true,
                      "margin_base": -0.157413,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.783192
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.061409
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.053762
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.051384
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.032752
                        }
                      ],
                      "others_margin": -0.103543
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.0257186889648438,
                    "model_output": 1.0257,
                    "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.1441
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.2544
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.1096
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0996
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0598
                        }
                      ],
                      "others": 0.0426,
                      "total": 1.0257,
                      "log_link": true,
                      "margin_base": 1.238783,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.970821
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.216424
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.109973
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.100373
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.059024
                        }
                      ],
                      "others_margin": 0.04248
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.38725683093070984,
                    "model_output": 0.3873,
                    "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.8093
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.191
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0416
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0353
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0325
                        }
                      ],
                      "others": 0.0444,
                      "total": 0.3873,
                      "log_link": true,
                      "margin_base": 0.323553,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.880967
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.405621
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.115249
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.098609
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.090555
                        }
                      ],
                      "others_margin": 0.121562
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.20903044939041138,
                    "model_output": 0.209,
                    "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.2332
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0182
                        },
                        {
                          "name": "wonTackle",
                          "contribution": 0.0168
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0167
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0132
                        }
                      ],
                      "others": -0.034,
                      "total": 0.209,
                      "log_link": false,
                      "margin_base": 0.471132,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.233153
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.018193
                        },
                        {
                          "name": "wonTackle",
                          "margin": 0.016831
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.016687
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.013184
                        }
                      ],
                      "others_margin": -0.034101
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.694717884063721,
                    "model_output": 6.6947,
                    "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": "tackle_success_rate",
                          "contribution": -0.0242
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0196
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0191
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0122
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0119
                        }
                      ],
                      "others": -0.0278,
                      "total": 6.6947,
                      "log_link": false,
                      "margin_base": 6.785131,
                      "item_margins": [
                        {
                          "name": "tackle_success_rate",
                          "margin": -0.024233
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.019632
                        },
                        {
                          "name": "rating",
                          "margin": -0.019132
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": 0.01218
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.011924
                        }
                      ],
                      "others_margin": -0.027671
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 3,
                  "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.0131, quality 0.575)",
              "stats": {
                "interceptions": 0.3045,
                "tackles": 0.4963,
                "tackles_won": 0.3119,
                "clearances": 1.0392,
                "aerial_won": 0.3923,
                "total_shots": 0.2118,
                "rating": 6.6947,
                "minutes": 16.04,
                "total_pass": 28.5794,
                "accurate_pass": 26.6695,
                "duels_won": 0.7285,
                "total_long_balls": 1.7505,
                "accurate_long_balls": 1.3567,
                "total_own_half_passes": 17.3291,
                "accurate_own_half_passes": 16.2067,
                "total_opp_half_passes": 11.2505,
                "accurate_opp_half_passes": 10.4628,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 30.8243,
                "possession_lost": 2.3039,
                "dispossessed": 0.0,
                "duels_lost": 0.2846,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.3567,
                "challenges_lost": 0.0,
                "fouls": 0.2846,
                "fouls_drawn": 0.0,
                "blocks": 0.3938,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0225,
                "expected_assists": 0.0166,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.4125,
                "total_progression": 52.5105,
                "progressive_carries": 0.0,
                "key_pass": 0.2846,
                "shots_off_target": 0.2117
              },
              "params": {
                "market_value_eur": 14600000,
                "quality_factor": 0.5748,
                "boost_factor": 1.0131,
                "reference_quality": 0.505,
                "history_matches": 3,
                "history_shrink": 0.625,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 16.0 to 14.1 expected minutes (appearance prob 0.32)",
              "stats": {
                "interceptions": 0.268,
                "tackles": 0.4368,
                "tackles_won": 0.2745,
                "clearances": 0.9146,
                "aerial_won": 0.3452,
                "total_shots": 0.1864,
                "rating": 6.6947,
                "minutes": 14.12,
                "total_pass": 25.1517,
                "accurate_pass": 23.4709,
                "duels_won": 0.6411,
                "total_long_balls": 1.5406,
                "accurate_long_balls": 1.194,
                "total_own_half_passes": 15.2507,
                "accurate_own_half_passes": 14.2629,
                "total_opp_half_passes": 9.9012,
                "accurate_opp_half_passes": 9.2079,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 27.1274,
                "possession_lost": 2.0276,
                "dispossessed": 0.0,
                "duels_lost": 0.2505,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.194,
                "challenges_lost": 0.0,
                "fouls": 0.2505,
                "fouls_drawn": 0.0,
                "blocks": 0.3466,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0198,
                "expected_assists": 0.0146,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 9.1637,
                "total_progression": 46.2126,
                "progressive_carries": 0.0,
                "key_pass": 0.2505,
                "shots_off_target": 0.1863,
                "bench_appearance_probability": 0.323,
                "bench_expected_minutes": 14.12
              },
              "params": {
                "expected_minutes": 14.12,
                "projection_minutes": 16.04,
                "minutes_scale": 0.8801,
                "appearance_probability": 0.323
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.268,
                "tackles": 0.4368,
                "tackles_won": 0.2745,
                "clearances": 0.9146,
                "aerial_won": 0.3452,
                "total_shots": 0.1864,
                "rating": 6.6947,
                "minutes": 14.12,
                "total_pass": 25.1517,
                "accurate_pass": 23.4709,
                "duels_won": 0.6411,
                "total_long_balls": 1.5406,
                "accurate_long_balls": 1.194,
                "total_own_half_passes": 15.2507,
                "accurate_own_half_passes": 14.2629,
                "total_opp_half_passes": 9.9012,
                "accurate_opp_half_passes": 9.2079,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 27.1274,
                "possession_lost": 2.0276,
                "dispossessed": 0.0,
                "duels_lost": 0.2505,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.194,
                "challenges_lost": 0.0,
                "fouls": 0.2505,
                "fouls_drawn": 0.0,
                "blocks": 0.3466,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0198,
                "expected_assists": 0.0146,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 9.1637,
                "total_progression": 46.2126,
                "progressive_carries": 0.0,
                "key_pass": 0.2505,
                "shots_off_target": 0.1863,
                "bench_appearance_probability": 0.323,
                "bench_expected_minutes": 14.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": {
                "interceptions": 0.268,
                "tackles": 0.4368,
                "tackles_won": 0.2745,
                "clearances": 0.9146,
                "aerial_won": 0.3452,
                "total_shots": 0.1864,
                "rating": 6.6947,
                "minutes": 14.12,
                "total_pass": 25.1517,
                "accurate_pass": 23.4709,
                "duels_won": 0.6411,
                "total_long_balls": 1.5406,
                "accurate_long_balls": 1.194,
                "total_own_half_passes": 15.2507,
                "accurate_own_half_passes": 14.2629,
                "total_opp_half_passes": 9.9012,
                "accurate_opp_half_passes": 9.2079,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 27.1274,
                "possession_lost": 2.0276,
                "dispossessed": 0.0,
                "duels_lost": 0.2505,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.194,
                "challenges_lost": 0.0,
                "fouls": 0.2505,
                "fouls_drawn": 0.0,
                "blocks": 0.3466,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0198,
                "expected_assists": 0.0146,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 9.1637,
                "total_progression": 46.2126,
                "progressive_carries": 0.0,
                "key_pass": 0.2505,
                "shots_off_target": 0.1863,
                "bench_appearance_probability": 0.323,
                "bench_expected_minutes": 14.12,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.335,
                "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.323,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 17 by projected rating, fifa_overall 76.0; not used by the projection)",
              "stats": {
                "interceptions": 0.268,
                "tackles": 0.4368,
                "tackles_won": 0.2745,
                "clearances": 0.9146,
                "aerial_won": 0.3452,
                "total_shots": 0.1864,
                "rating": 6.6947,
                "minutes": 14.12,
                "total_pass": 25.1517,
                "accurate_pass": 23.4709,
                "duels_won": 0.6411,
                "total_long_balls": 1.5406,
                "accurate_long_balls": 1.194,
                "total_own_half_passes": 15.2507,
                "accurate_own_half_passes": 14.2629,
                "total_opp_half_passes": 9.9012,
                "accurate_opp_half_passes": 9.2079,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 27.1274,
                "possession_lost": 2.0276,
                "dispossessed": 0.0,
                "duels_lost": 0.2505,
                "aerial_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.194,
                "challenges_lost": 0.0,
                "fouls": 0.2505,
                "fouls_drawn": 0.0,
                "blocks": 0.3466,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0198,
                "expected_assists": 0.0146,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 9.1637,
                "total_progression": 46.2126,
                "progressive_carries": 0.0,
                "key_pass": 0.2505,
                "shots_off_target": 0.1863,
                "bench_appearance_probability": 0.323,
                "bench_expected_minutes": 14.12,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.335,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 76.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3313,
                "fifa_rank": 1965.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 76.0
              }
            }
          ]
        },
        "Tajon Buchanan": {
          "player_id": 973290,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 17,
          "height": 183,
          "market_value": 13000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1369,
            "assist_rate": 0.1066,
            "assists": 0,
            "expected_goals": 0.1146,
            "goal_rate": 0.1115,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.7526,
            "minutes": 28,
            "total_pass": 11,
            "accurate_pass": 10,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 7,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 19,
            "possession_lost": 5.6594,
            "dispossessed": 0.1509,
            "duels_lost": 2,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1103,
            "ball_carries": 9,
            "total_progression": 57,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.573,
            "bench_expected_minutes": 28.25,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.335,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.062,
            "projected_assists": 0,
            "assist_probability": 0.0733,
            "finishing_factor": 1.2235,
            "creation_factor": 0.988,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "match_id": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 79,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.136,
                "expected_assists": 0.0719,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 29,
                "accurate_pass": 25,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 2,
                "aerial_won": 1,
                "duels_won": 6,
                "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": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4075,
                "expected_assists": 0.6325,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 27,
                "accurate_pass": 26,
                "key_pass": 3,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 1,
                "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": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 55,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0398,
                "expected_assists": 0.0496,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 21,
                "accurate_pass": 18,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 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": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 28,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0346,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 16,
                "key_pass": 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": 16416290,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 63,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0194,
                "expected_assists": 0.1545,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 24,
                "accurate_pass": 22,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_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": 16416302,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 29,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4605,
                "expected_assists": 0.0072,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 10,
                "accurate_pass": 9,
                "interceptions": 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": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 34,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0764,
                "expected_assists": 0.0032,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 11,
                "accurate_pass": 10,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083682,
              "match_date": "2026-05-17",
              "home_team": "Rayo Vallecano",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 45,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0862,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 7,
                "tackles": 2,
                "tackles_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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083644,
              "match_date": "2026-05-13",
              "home_team": "Villarreal",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 30,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0206,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 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": 14083573,
              "match_date": "2026-05-10",
              "home_team": "Mallorca",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 71,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0583,
                "expected_assists": 0.0099,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 19,
                "accurate_pass": 14,
                "tackles": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 3318,
            "combined_rank_score": 1275.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 584.0,
            "sofascore_rating": 6.7941,
            "sofascore_appearances": 34.0,
            "fifa_rank": 1967.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7526,
            "source_file": "data/player_rankings.csv",
            "player_name": "Tajon Buchanan",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Logan Costa",
                  "ranking": 3313
                },
                {
                  "player_name": "Santiago Ascacíbar",
                  "ranking": 3314
                },
                {
                  "player_name": "Rio Ngumoha",
                  "ranking": 3315
                },
                {
                  "player_name": "Kyle Walker-Peters",
                  "ranking": 3316
                },
                {
                  "player_name": "Alberto Costa",
                  "ranking": 3317
                }
              ],
              "lower": [
                {
                  "player_name": "Dion Drena Beljo",
                  "ranking": 3319
                },
                {
                  "player_name": "Aimar Oroz",
                  "ranking": 3320
                },
                {
                  "player_name": "Konstantinos Koulierakis",
                  "ranking": 3321
                },
                {
                  "player_name": "Óliver Torres",
                  "ranking": 3322
                },
                {
                  "player_name": "Daley Blind",
                  "ranking": 3323
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.764,
          "history_matches": 41,
          "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": 41,
            "data_confidence": 0.764,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 28.25,
            "bench_appearance_prob": 0.573,
            "market_value_adjustment": 1.0017,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 33.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0933
            },
            "rationale": "Bench projection scaled from XGBoost M_service (41 historical appearances) to 28.2 expected mins (appearance prob 0.57); FBref playing time empirical prior: 2.0 sub appearances, 33.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.7006,
                "expected_assists": 0.0941,
                "assists": 0.0929,
                "assist_rate": 0.0929,
                "expected_goals": 0.071,
                "goals": 0.0972,
                "goal_rate": 0.0972,
                "shots_on_target": 0.2359,
                "total_shots": 0.7953,
                "rating": 6.7526,
                "minutes": 24.52,
                "total_pass": 9.7017,
                "accurate_pass": 8.2485,
                "duels_won": 1.1392,
                "total_long_balls": 0.361,
                "accurate_long_balls": 0.2578,
                "total_own_half_passes": 2.6027,
                "accurate_own_half_passes": 2.2138,
                "total_opp_half_passes": 7.099,
                "accurate_opp_half_passes": 6.0348,
                "crosses_total": 1.316,
                "crosses_accurate": 0.0196,
                "touches": 16.6116,
                "possession_lost": 4.9039,
                "dispossessed": 0.1506,
                "duels_lost": 1.5291,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.3353,
                "tackles_won": 0.1504,
                "tackles": 0.2321,
                "clearances": 0.2655,
                "total_contest": 0.6696,
                "won_contest": 0.1965,
                "challenges_lost": 0.4053,
                "fouls": 0.5443,
                "fouls_drawn": 0.7106,
                "blocks": 0.0,
                "big_chances_created": 0.0426,
                "big_chances_missed": 0.1529,
                "xgot": 0.0684,
                "ball_carries": 7.501,
                "total_progression": 49.7858,
                "progressive_carries": 1.6409,
                "shots_off_target": 0.5594
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-10T10:05:58.420391+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Levante UD",
                    "minutes": 79.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Real Betis",
                    "minutes": 55.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.0922,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.0666,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 34.0,
                    "is_starting": false,
                    "weight": 0.0566,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Rayo Vallecano",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Sevilla",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.0409,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Mallorca",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 1.3775,
                  "creative_index": 0.4788,
                  "expectedGoals": 0.1246,
                  "expectedAssists": 0.1232,
                  "onTargetScoringAttempt": 0.4544
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.7006076574325562,
                    "model_output": 0.7006,
                    "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.3642
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0289
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0287
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0272
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0166
                        }
                      ],
                      "others": 0.0772,
                      "total": 0.7006,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.529245
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.053931
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.050801
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.045841
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.027007
                        }
                      ],
                      "others_margin": 0.116674
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.09408166259527206,
                    "model_output": 0.0941,
                    "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.0312
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0097
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0045
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0037
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0032
                        }
                      ],
                      "others": 0.0184,
                      "total": 0.0941,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.451778
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.163183
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.067037
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.052811
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.043752
                        }
                      ],
                      "others_margin": 0.217451
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.09292640537023544,
                    "model_output": 0.0929,
                    "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.0179
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0063
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0056
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0057
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0032
                        }
                      ],
                      "others": 0.0048,
                      "total": 0.0929,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.235522
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.089188
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.072711
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.06894
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.037064
                        }
                      ],
                      "others_margin": 0.054077
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.07103639096021652,
                    "model_output": 0.071,
                    "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.0446
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0102
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0069
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0066
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0037
                        }
                      ],
                      "others": -0.0062,
                      "total": 0.071,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.639531
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.185883
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.108499
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.094151
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.048682
                        }
                      ],
                      "others_margin": -0.082329
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.09721723943948746,
                    "model_output": 0.0972,
                    "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.0351
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0104
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0112
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0102
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.011
                        }
                      ],
                      "others": -0.0081,
                      "total": 0.0972,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.444932
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.15326
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.143421
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.114519
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.109783
                        }
                      ],
                      "others_margin": -0.080444
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2358749508857727,
                    "model_output": 0.2359,
                    "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.1643
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0383
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0188
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0144
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0105
                        }
                      ],
                      "others": -0.0058,
                      "total": 0.2359,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.707715
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.215058
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.090527
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.064291
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.044622
                        }
                      ],
                      "others_margin": -0.024199
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.7952731251716614,
                    "model_output": 0.7953,
                    "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.5783
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.2241
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0449
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0433
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.038
                        }
                      ],
                      "others": 0.0328,
                      "total": 0.7953,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.578337
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.224051
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.044917
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.043298
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.037996
                        }
                      ],
                      "others_margin": 0.032883
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.752574920654297,
                    "model_output": 6.7526,
                    "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.0845
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.029
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0263
                        },
                        {
                          "name": "rating",
                          "contribution": -0.021
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0091
                        }
                      ],
                      "others": 0.0028,
                      "total": 6.7526,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.08455
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.029015
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.026272
                        },
                        {
                          "name": "rating",
                          "margin": -0.021037
                        },
                        {
                          "name": "totalProgression",
                          "margin": 0.009132
                        }
                      ],
                      "others_margin": 0.002902
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 41,
                  "role_matches": 16,
                  "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.0017, quality 0.557)",
              "stats": {
                "key_pass": 0.7018,
                "expected_assists": 0.0942,
                "assists": 0.0931,
                "assist_rate": 0.0931,
                "expected_goals": 0.0712,
                "goals": 0.0974,
                "goal_rate": 0.0974,
                "shots_on_target": 0.2363,
                "total_shots": 0.7967,
                "rating": 6.7526,
                "minutes": 24.52,
                "total_pass": 9.7182,
                "accurate_pass": 8.2625,
                "duels_won": 1.1411,
                "total_long_balls": 0.3616,
                "accurate_long_balls": 0.2582,
                "total_own_half_passes": 2.6071,
                "accurate_own_half_passes": 2.2176,
                "total_opp_half_passes": 7.1111,
                "accurate_opp_half_passes": 6.0451,
                "crosses_total": 1.3182,
                "crosses_accurate": 0.0196,
                "touches": 16.6398,
                "possession_lost": 4.9122,
                "dispossessed": 0.1509,
                "duels_lost": 1.5317,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.3359,
                "tackles_won": 0.1507,
                "tackles": 0.2325,
                "clearances": 0.266,
                "total_contest": 0.6707,
                "won_contest": 0.1968,
                "challenges_lost": 0.406,
                "fouls": 0.5452,
                "fouls_drawn": 0.7118,
                "blocks": 0.0,
                "big_chances_created": 0.0427,
                "big_chances_missed": 0.1532,
                "xgot": 0.0685,
                "ball_carries": 7.5138,
                "total_progression": 49.8704,
                "progressive_carries": 1.6437,
                "shots_off_target": 0.5604
              },
              "params": {
                "market_value_eur": 13000000,
                "quality_factor": 0.557,
                "boost_factor": 1.0017,
                "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.0066)",
              "stats": {
                "key_pass": 0.7018,
                "expected_assists": 0.0942,
                "assists": 0.0925,
                "assist_rate": 0.0925,
                "expected_goals": 0.0712,
                "goals": 0.0968,
                "goal_rate": 0.0968,
                "shots_on_target": 0.2373,
                "total_shots": 0.7965,
                "rating": 6.7526,
                "minutes": 24.52,
                "total_pass": 9.7182,
                "accurate_pass": 8.2625,
                "duels_won": 1.1411,
                "total_long_balls": 0.3616,
                "accurate_long_balls": 0.2582,
                "total_own_half_passes": 2.6071,
                "accurate_own_half_passes": 2.2176,
                "total_opp_half_passes": 7.1111,
                "accurate_opp_half_passes": 6.0451,
                "crosses_total": 1.3211,
                "crosses_accurate": 0.0196,
                "touches": 16.6398,
                "possession_lost": 4.9122,
                "dispossessed": 0.1509,
                "duels_lost": 1.5317,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.335,
                "tackles_won": 0.1523,
                "tackles": 0.2325,
                "clearances": 0.266,
                "total_contest": 0.6707,
                "won_contest": 0.1968,
                "challenges_lost": 0.406,
                "fouls": 0.5455,
                "fouls_drawn": 0.7148,
                "blocks": 0.0,
                "big_chances_created": 0.0427,
                "big_chances_missed": 0.1532,
                "xgot": 0.0685,
                "ball_carries": 7.5138,
                "total_progression": 49.8704,
                "progressive_carries": 1.6437,
                "shots_off_target": 0.5604
              },
              "params": {
                "blend_weight": 0.0066,
                "history_matches": 41,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2724,
                "prior_reliability": 0.0933,
                "competition": "La Liga",
                "squad": "Villarreal"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 24.5 to 28.2 expected minutes (appearance prob 0.57)",
              "stats": {
                "key_pass": 0.8086,
                "expected_assists": 0.1085,
                "assists": 0.1066,
                "assist_rate": 0.1066,
                "expected_goals": 0.082,
                "goals": 0.1115,
                "goal_rate": 0.1115,
                "shots_on_target": 0.2734,
                "total_shots": 0.919,
                "rating": 6.7526,
                "minutes": 28.25,
                "total_pass": 11.1965,
                "accurate_pass": 9.5194,
                "duels_won": 1.3147,
                "total_long_balls": 0.4166,
                "accurate_long_balls": 0.2975,
                "total_own_half_passes": 3.0037,
                "accurate_own_half_passes": 2.5549,
                "total_opp_half_passes": 8.1928,
                "accurate_opp_half_passes": 6.9647,
                "crosses_total": 1.5221,
                "crosses_accurate": 0.0226,
                "touches": 19.1711,
                "possession_lost": 5.6594,
                "dispossessed": 0.1509,
                "duels_lost": 1.7647,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.386,
                "tackles_won": 0.1755,
                "tackles": 0.2679,
                "clearances": 0.3065,
                "total_contest": 0.7727,
                "won_contest": 0.2267,
                "challenges_lost": 0.406,
                "fouls": 0.6285,
                "fouls_drawn": 0.8235,
                "blocks": 0.0,
                "big_chances_created": 0.0492,
                "big_chances_missed": 0.1765,
                "xgot": 0.0789,
                "ball_carries": 8.6568,
                "total_progression": 57.4567,
                "progressive_carries": 1.8937,
                "shots_off_target": 0.6456,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 28.25
              },
              "params": {
                "expected_minutes": 28.25,
                "projection_minutes": 24.52,
                "minutes_scale": 1.1521,
                "appearance_probability": 0.573
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.8086,
                "expected_assists": 0.1085,
                "assists": 0.1066,
                "assist_rate": 0.1066,
                "expected_goals": 0.082,
                "goals": 0.1115,
                "goal_rate": 0.1115,
                "shots_on_target": 0.2734,
                "total_shots": 0.919,
                "rating": 6.7526,
                "minutes": 28.25,
                "total_pass": 11.1965,
                "accurate_pass": 9.5194,
                "duels_won": 1.3147,
                "total_long_balls": 0.4166,
                "accurate_long_balls": 0.2975,
                "total_own_half_passes": 3.0037,
                "accurate_own_half_passes": 2.5549,
                "total_opp_half_passes": 8.1928,
                "accurate_opp_half_passes": 6.9647,
                "crosses_total": 1.5221,
                "crosses_accurate": 0.0226,
                "touches": 19.1711,
                "possession_lost": 5.6594,
                "dispossessed": 0.1509,
                "duels_lost": 1.7647,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.386,
                "tackles_won": 0.1755,
                "tackles": 0.2679,
                "clearances": 0.3065,
                "total_contest": 0.7727,
                "won_contest": 0.2267,
                "challenges_lost": 0.406,
                "fouls": 0.6285,
                "fouls_drawn": 0.8235,
                "blocks": 0.0,
                "big_chances_created": 0.0492,
                "big_chances_missed": 0.1765,
                "xgot": 0.0789,
                "ball_carries": 8.6568,
                "total_progression": 57.4567,
                "progressive_carries": 1.8937,
                "shots_off_target": 0.6456,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 28.25
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.74 (squad xG sum 1.2479, xG scale 1.3975, xA scale 1.2613, team xA 1.40 = 0.80 x lambda)",
              "stats": {
                "key_pass": 0.8086,
                "expected_assists": 0.1369,
                "assist_rate": 0.1066,
                "assists": 0,
                "expected_goals": 0.1146,
                "goal_rate": 0.1115,
                "goals": 0,
                "shots_on_target": 0.2734,
                "total_shots": 0.919,
                "rating": 6.7526,
                "minutes": 28.25,
                "total_pass": 11.1965,
                "accurate_pass": 9.5194,
                "duels_won": 1.3147,
                "total_long_balls": 0.4166,
                "accurate_long_balls": 0.2975,
                "total_own_half_passes": 3.0037,
                "accurate_own_half_passes": 2.5549,
                "total_opp_half_passes": 8.1928,
                "accurate_opp_half_passes": 6.9647,
                "crosses_total": 1.5221,
                "crosses_accurate": 0.0226,
                "touches": 19.1711,
                "possession_lost": 5.6594,
                "dispossessed": 0.1509,
                "duels_lost": 1.7647,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.386,
                "tackles_won": 0.1755,
                "tackles": 0.2679,
                "clearances": 0.3065,
                "total_contest": 0.7727,
                "won_contest": 0.2267,
                "challenges_lost": 0.406,
                "fouls": 0.6285,
                "fouls_drawn": 0.8235,
                "blocks": 0.0,
                "big_chances_created": 0.0492,
                "big_chances_missed": 0.1765,
                "xgot": 0.1103,
                "ball_carries": 8.6568,
                "total_progression": 57.4567,
                "progressive_carries": 1.8937,
                "shots_off_target": 0.6456,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 28.25,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.335,
                "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": 1.2235,
                "creation_factor": 0.988
              },
              "params": {
                "team_lambda": 1.744,
                "squad_xg_sum": 1.2479,
                "squad_xa_sum": 1.1061,
                "team_expected_assists": 1.3952,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3975,
                "xa_scale": 1.2613,
                "opponent_lambda": 3.394,
                "scoreline_reset": true,
                "appearance_weight": 0.573
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.082,
                  "after": 0.1146
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1085,
                  "after": 0.1369
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 16 by projected rating, fifa_overall 76.0; not used by the projection)",
              "stats": {
                "key_pass": 0.8086,
                "expected_assists": 0.1369,
                "assist_rate": 0.1066,
                "assists": 0,
                "expected_goals": 0.1146,
                "goal_rate": 0.1115,
                "goals": 0,
                "shots_on_target": 0.2734,
                "total_shots": 0.919,
                "rating": 6.7526,
                "minutes": 28.25,
                "total_pass": 11.1965,
                "accurate_pass": 9.5194,
                "duels_won": 1.3147,
                "total_long_balls": 0.4166,
                "accurate_long_balls": 0.2975,
                "total_own_half_passes": 3.0037,
                "accurate_own_half_passes": 2.5549,
                "total_opp_half_passes": 8.1928,
                "accurate_opp_half_passes": 6.9647,
                "crosses_total": 1.5221,
                "crosses_accurate": 0.0226,
                "touches": 19.1711,
                "possession_lost": 5.6594,
                "dispossessed": 0.1509,
                "duels_lost": 1.7647,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.386,
                "tackles_won": 0.1755,
                "tackles": 0.2679,
                "clearances": 0.3065,
                "total_contest": 0.7727,
                "won_contest": 0.2267,
                "challenges_lost": 0.406,
                "fouls": 0.6285,
                "fouls_drawn": 0.8235,
                "blocks": 0.0,
                "big_chances_created": 0.0492,
                "big_chances_missed": 0.1765,
                "xgot": 0.1103,
                "ball_carries": 8.6568,
                "total_progression": 57.4567,
                "progressive_carries": 1.8937,
                "shots_off_target": 0.6456,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 28.25,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.335,
                "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": 1.2235,
                "creation_factor": 0.988,
                "fifa_overall": 76.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3318,
                "fifa_rank": 1967.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 76.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.8086,
                "expected_assists": 0.1369,
                "assist_rate": 0.1066,
                "assists": 0,
                "expected_goals": 0.1146,
                "goal_rate": 0.1115,
                "goals": 0,
                "shots_on_target": 0.2734,
                "total_shots": 0.919,
                "rating": 6.7526,
                "minutes": 28.25,
                "total_pass": 11.1965,
                "accurate_pass": 9.5194,
                "duels_won": 1.3147,
                "total_long_balls": 0.4166,
                "accurate_long_balls": 0.2975,
                "total_own_half_passes": 3.0037,
                "accurate_own_half_passes": 2.5549,
                "total_opp_half_passes": 8.1928,
                "accurate_opp_half_passes": 6.9647,
                "crosses_total": 1.5221,
                "crosses_accurate": 0.0226,
                "touches": 19.1711,
                "possession_lost": 5.6594,
                "dispossessed": 0.1509,
                "duels_lost": 1.7647,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.386,
                "tackles_won": 0.1755,
                "tackles": 0.2679,
                "clearances": 0.3065,
                "total_contest": 0.7727,
                "won_contest": 0.2267,
                "challenges_lost": 0.406,
                "fouls": 0.6285,
                "fouls_drawn": 0.8235,
                "blocks": 0.0,
                "big_chances_created": 0.0492,
                "big_chances_missed": 0.1765,
                "xgot": 0.1103,
                "ball_carries": 8.6568,
                "total_progression": 57.4567,
                "progressive_carries": 1.8937,
                "shots_off_target": 0.6456,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 28.25,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.335,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.062,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2235,
                "creation_factor": 0.988,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.062,
                "scorer_weight": 0.0803,
                "squad_weight_total": 1.8926,
                "weight_share": 0.0425,
                "finishing_factor": 1.2235,
                "appearance_weight": 0.573,
                "weight_rank": 6,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alberto Moleiro",
                    "weight": 0.4579,
                    "already": 0,
                    "effective_weight": 0.4579,
                    "runner_up": "Ayoze Pérez",
                    "runner_up_effective_weight": 0.4407
                  }
                ]
              }
            },
            {
              "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.8086,
                "expected_assists": 0.1369,
                "assist_rate": 0.1066,
                "assists": 0,
                "expected_goals": 0.1146,
                "goal_rate": 0.1115,
                "goals": 0,
                "shots_on_target": 0.2734,
                "total_shots": 0.919,
                "rating": 6.7526,
                "minutes": 28.25,
                "total_pass": 11.1965,
                "accurate_pass": 9.5194,
                "duels_won": 1.3147,
                "total_long_balls": 0.4166,
                "accurate_long_balls": 0.2975,
                "total_own_half_passes": 3.0037,
                "accurate_own_half_passes": 2.5549,
                "total_opp_half_passes": 8.1928,
                "accurate_opp_half_passes": 6.9647,
                "crosses_total": 1.5221,
                "crosses_accurate": 0.0226,
                "touches": 19.1711,
                "possession_lost": 5.6594,
                "dispossessed": 0.1509,
                "duels_lost": 1.7647,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.386,
                "tackles_won": 0.1755,
                "tackles": 0.2679,
                "clearances": 0.3065,
                "total_contest": 0.7727,
                "won_contest": 0.2267,
                "challenges_lost": 0.406,
                "fouls": 0.6285,
                "fouls_drawn": 0.8235,
                "blocks": 0.0,
                "big_chances_created": 0.0492,
                "big_chances_missed": 0.1765,
                "xgot": 0.1103,
                "ball_carries": 8.6568,
                "total_progression": 57.4567,
                "progressive_carries": 1.8937,
                "shots_off_target": 0.6456,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 28.25,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.335,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.062,
                "projected_assists": 0,
                "assist_probability": 0.0733,
                "finishing_factor": 1.2235,
                "creation_factor": 0.988,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0733,
                "provider_weight": 0.0775,
                "squad_weight_total": 1.4371,
                "weight_share": 0.0539,
                "creation_factor": 0.988,
                "appearance_weight": 0.573,
                "weight_rank": 9,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ilias Akhomach",
                    "weight": 0.2045,
                    "already": 0,
                    "effective_weight": 0.2045,
                    "runner_up": "Renato Veiga",
                    "runner_up_effective_weight": 0.1341,
                    "blocked_own_goal": [
                      "Alberto Moleiro"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Nathan-Dylan Saliba": {
          "player_id": 1093229,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 24,
          "height": 173,
          "market_value": 9200000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0261,
            "assist_rate": 0.0278,
            "assists": 0,
            "expected_goals": 0.0377,
            "goal_rate": 0.0423,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7656,
            "minutes": 22,
            "total_pass": 42,
            "accurate_pass": 38,
            "duels_won": 5,
            "total_long_balls": 2,
            "accurate_long_balls": 2,
            "total_own_half_passes": 16,
            "accurate_own_half_passes": 16,
            "total_opp_half_passes": 25,
            "accurate_opp_half_passes": 22,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 54,
            "possession_lost": 6.4657,
            "dispossessed": 0.9612,
            "duels_lost": 3,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 3,
            "clearances": 1,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 13,
            "total_progression": 44,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.512,
            "bench_expected_minutes": 22.27,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.335,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0189,
            "projected_assists": 0,
            "assist_probability": 0.0132,
            "finishing_factor": 1.1987,
            "creation_factor": 1.1004,
            "fifa_overall": 71.0
          },
          "latest_10_games": [
            {
              "match_id": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1143,
                "expected_assists": 0.0184,
                "total_shots": 3,
                "shots_off_target": 1,
                "total_pass": 39,
                "accurate_pass": 36,
                "tackles": 5,
                "tackles_won": 2,
                "interceptions": 3,
                "aerial_won": 1,
                "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": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 80,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0195,
                "total_shots": 0,
                "total_pass": 43,
                "accurate_pass": 39,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 36,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0253,
                "total_shots": 0,
                "total_pass": 37,
                "accurate_pass": 32,
                "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": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1151,
                "expected_assists": 0.1364,
                "total_shots": 1,
                "total_pass": 73,
                "accurate_pass": 67,
                "key_pass": 1,
                "tackles": 5,
                "tackles_won": 3,
                "interceptions": 3,
                "clearances": 3,
                "aerial_won": 3,
                "duels_won": 10,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 4406,
            "combined_rank_score": 2430.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 4706.0,
            "fifa_overall": 71.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7656,
            "source_file": "data/player_rankings.csv",
            "player_name": "Nathan-Dylan Saliba",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Francés",
                  "ranking": 4401
                },
                {
                  "player_name": "Florin Tănase",
                  "ranking": 4402
                },
                {
                  "player_name": "Víctor García",
                  "ranking": 4403
                },
                {
                  "player_name": "Kings Kangwa",
                  "ranking": 4404
                },
                {
                  "player_name": "Soualiho Meïté",
                  "ranking": 4405
                }
              ],
              "lower": [
                {
                  "player_name": "Luca Koleosho",
                  "ranking": 4407
                },
                {
                  "player_name": "Anastasios Bakasetas",
                  "ranking": 4408
                },
                {
                  "player_name": "Rick van Drongelen",
                  "ranking": 4409
                },
                {
                  "player_name": "Rodrigo Echeverría",
                  "ranking": 4410
                },
                {
                  "player_name": "Romaine Mundle",
                  "ranking": 4411
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.5,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "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": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 22.271536137511767,
            "bench_appearance_prob": 0.5123425517050804,
            "market_value_adjustment": 1.0013,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (4 historical appearances) to 22.3 expected mins (appearance prob 0.51)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.316,
                "expected_assists": 0.0229,
                "assists": 0.0308,
                "assist_rate": 0.0308,
                "expected_goals": 0.0298,
                "goals": 0.0468,
                "goal_rate": 0.0468,
                "shots_on_target": 0.1057,
                "total_shots": 0.3544,
                "rating": 6.7656,
                "minutes": 24.67,
                "total_pass": 46.166,
                "accurate_pass": 41.8676,
                "duels_won": 5.6843,
                "total_long_balls": 2.1587,
                "accurate_long_balls": 1.7393,
                "total_own_half_passes": 18.1723,
                "accurate_own_half_passes": 17.352,
                "total_opp_half_passes": 27.9937,
                "accurate_opp_half_passes": 24.5157,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 59.952,
                "possession_lost": 7.1527,
                "dispossessed": 0.96,
                "duels_lost": 3.7803,
                "aerial_won": 1.1587,
                "aerial_lost": 0.5065,
                "interceptions": 1.5196,
                "tackles_won": 1.4725,
                "tackles": 3.0661,
                "clearances": 1.1116,
                "total_contest": 1.5806,
                "won_contest": 0.4595,
                "challenges_lost": 0.3854,
                "fouls": 0.8073,
                "fouls_drawn": 1.0,
                "blocks": 0.1927,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 14.5101,
                "total_progression": 48.9681,
                "progressive_carries": 1.04,
                "shots_off_target": 0.2487
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-10T10:05:58.420391+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Málaga CF",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Real Betis",
                    "minutes": 36.0,
                    "is_starting": false,
                    "weight": 0.2267,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 7.7
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "totalShots": 1.1342,
                  "creative_index": 0.1029,
                  "expectedGoals": 0.0581,
                  "expectedAssists": 0.043,
                  "onTargetScoringAttempt": 0.0
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.3159984052181244,
                    "model_output": 0.316,
                    "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.3828
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0466
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0359
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0238
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0202
                        }
                      ],
                      "others": -0.0609,
                      "total": 0.316,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.56556
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.097146
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.081904
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.0583
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.052301
                        }
                      ],
                      "others_margin": -0.175991
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.02285037748515606,
                    "model_output": 0.0229,
                    "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.0387
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0104
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0035
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0024
                        },
                        {
                          "name": "goalAssist",
                          "contribution": -0.0012
                        }
                      ],
                      "others": -0.0067,
                      "total": 0.0229,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.600614
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.250918
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.100182
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.074658
                        },
                        {
                          "name": "goalAssist",
                          "margin": -0.039793
                        }
                      ],
                      "others_margin": -0.256575
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.030772078782320023,
                    "model_output": 0.0308,
                    "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.0201
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0142
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.004
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0037
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0034
                        }
                      ],
                      "others": -0.009,
                      "total": 0.0308,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.268372
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.246466
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.081266
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.081131
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.0807
                        }
                      ],
                      "others_margin": -0.260805
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.029836736619472504,
                    "model_output": 0.0298,
                    "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.0393
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0104
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0054
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0043
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0033
                        }
                      ],
                      "others": -0.0127,
                      "total": 0.0298,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.537318
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.208427
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.113958
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.090202
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.074239
                        }
                      ],
                      "others_margin": -0.355869
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.04681028053164482,
                    "model_output": 0.0468,
                    "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.0299
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.01
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0098
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0066
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0041
                        }
                      ],
                      "others": -0.0104,
                      "total": 0.0468,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.366023
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.137373
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.135251
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.1016
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.069567
                        }
                      ],
                      "others_margin": -0.20017
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.10572756826877594,
                    "model_output": 0.1057,
                    "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.1445
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0284
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0195
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.014
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0128
                        }
                      ],
                      "others": -0.0559,
                      "total": 0.1057,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.590726
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.14714
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.098349
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.077099
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.076183
                        }
                      ],
                      "others_margin": -0.424633
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.3544071614742279,
                    "model_output": 0.3544,
                    "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.3886
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0507
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0446
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0306
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0253
                        }
                      ],
                      "others": -0.1855,
                      "total": 0.3544,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.38864
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.050667
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.044585
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.030626
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.025278
                        }
                      ],
                      "others_margin": -0.18543
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.765617370605469,
                    "model_output": 6.7656,
                    "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.1116
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0885
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0233
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0193
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0166
                        }
                      ],
                      "others": -0.0396,
                      "total": 6.7656,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.111641
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.088517
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.023274
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.019258
                        },
                        {
                          "name": "rating",
                          "margin": -0.016645
                        }
                      ],
                      "others_margin": -0.039468
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 4,
                  "role_matches": 1,
                  "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.0013, quality 0.513)",
              "stats": {
                "key_pass": 0.3164,
                "expected_assists": 0.0229,
                "assists": 0.0308,
                "assist_rate": 0.0308,
                "expected_goals": 0.0299,
                "goals": 0.0469,
                "goal_rate": 0.0469,
                "shots_on_target": 0.1059,
                "total_shots": 0.3549,
                "rating": 6.7656,
                "minutes": 24.67,
                "total_pass": 46.226,
                "accurate_pass": 41.922,
                "duels_won": 5.6917,
                "total_long_balls": 2.1615,
                "accurate_long_balls": 1.7416,
                "total_own_half_passes": 18.1959,
                "accurate_own_half_passes": 17.3746,
                "total_opp_half_passes": 28.0301,
                "accurate_opp_half_passes": 24.5476,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 60.0299,
                "possession_lost": 7.162,
                "dispossessed": 0.9612,
                "duels_lost": 3.7852,
                "aerial_won": 1.1602,
                "aerial_lost": 0.5072,
                "interceptions": 1.5216,
                "tackles_won": 1.4744,
                "tackles": 3.0701,
                "clearances": 1.113,
                "total_contest": 1.5827,
                "won_contest": 0.4601,
                "challenges_lost": 0.3859,
                "fouls": 0.8083,
                "fouls_drawn": 1.0013,
                "blocks": 0.193,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 14.529,
                "total_progression": 49.0318,
                "progressive_carries": 1.0414,
                "shots_off_target": 0.249
              },
              "params": {
                "market_value_eur": 9200000,
                "quality_factor": 0.513,
                "boost_factor": 1.0013,
                "reference_quality": 0.505,
                "history_matches": 4,
                "history_shrink": 0.5556,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 24.7 to 22.3 expected minutes (appearance prob 0.51)",
              "stats": {
                "key_pass": 0.2856,
                "expected_assists": 0.0207,
                "assists": 0.0278,
                "assist_rate": 0.0278,
                "expected_goals": 0.027,
                "goals": 0.0423,
                "goal_rate": 0.0423,
                "shots_on_target": 0.0956,
                "total_shots": 0.3204,
                "rating": 6.7656,
                "minutes": 22.27,
                "total_pass": 41.7318,
                "accurate_pass": 37.8463,
                "duels_won": 5.1383,
                "total_long_balls": 1.9514,
                "accurate_long_balls": 1.5723,
                "total_own_half_passes": 16.4269,
                "accurate_own_half_passes": 15.6854,
                "total_opp_half_passes": 25.305,
                "accurate_opp_half_passes": 22.161,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 54.1937,
                "possession_lost": 6.4657,
                "dispossessed": 0.9612,
                "duels_lost": 3.4172,
                "aerial_won": 1.0474,
                "aerial_lost": 0.5072,
                "interceptions": 1.3737,
                "tackles_won": 1.3311,
                "tackles": 2.7716,
                "clearances": 1.0048,
                "total_contest": 1.4288,
                "won_contest": 0.4154,
                "challenges_lost": 0.3859,
                "fouls": 0.7297,
                "fouls_drawn": 0.904,
                "blocks": 0.1742,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.1165,
                "total_progression": 44.2648,
                "progressive_carries": 0.9402,
                "shots_off_target": 0.2248,
                "bench_appearance_probability": 0.512,
                "bench_expected_minutes": 22.27
              },
              "params": {
                "expected_minutes": 22.27,
                "projection_minutes": 24.67,
                "minutes_scale": 0.9028,
                "appearance_probability": 0.512
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.2856,
                "expected_assists": 0.0207,
                "assists": 0.0278,
                "assist_rate": 0.0278,
                "expected_goals": 0.027,
                "goals": 0.0423,
                "goal_rate": 0.0423,
                "shots_on_target": 0.0956,
                "total_shots": 0.3204,
                "rating": 6.7656,
                "minutes": 22.27,
                "total_pass": 41.7318,
                "accurate_pass": 37.8463,
                "duels_won": 5.1383,
                "total_long_balls": 1.9514,
                "accurate_long_balls": 1.5723,
                "total_own_half_passes": 16.4269,
                "accurate_own_half_passes": 15.6854,
                "total_opp_half_passes": 25.305,
                "accurate_opp_half_passes": 22.161,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 54.1937,
                "possession_lost": 6.4657,
                "dispossessed": 0.9612,
                "duels_lost": 3.4172,
                "aerial_won": 1.0474,
                "aerial_lost": 0.5072,
                "interceptions": 1.3737,
                "tackles_won": 1.3311,
                "tackles": 2.7716,
                "clearances": 1.0048,
                "total_contest": 1.4288,
                "won_contest": 0.4154,
                "challenges_lost": 0.3859,
                "fouls": 0.7297,
                "fouls_drawn": 0.904,
                "blocks": 0.1742,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.1165,
                "total_progression": 44.2648,
                "progressive_carries": 0.9402,
                "shots_off_target": 0.2248,
                "bench_appearance_probability": 0.512,
                "bench_expected_minutes": 22.27
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.74 (squad xG sum 1.2479, xG scale 1.3975, xA scale 1.2613, team xA 1.40 = 0.80 x lambda)",
              "stats": {
                "key_pass": 0.2856,
                "expected_assists": 0.0261,
                "assist_rate": 0.0278,
                "assists": 0,
                "expected_goals": 0.0377,
                "goal_rate": 0.0423,
                "goals": 0,
                "shots_on_target": 0.0956,
                "total_shots": 0.3204,
                "rating": 6.7656,
                "minutes": 22.27,
                "total_pass": 41.7318,
                "accurate_pass": 37.8463,
                "duels_won": 5.1383,
                "total_long_balls": 1.9514,
                "accurate_long_balls": 1.5723,
                "total_own_half_passes": 16.4269,
                "accurate_own_half_passes": 15.6854,
                "total_opp_half_passes": 25.305,
                "accurate_opp_half_passes": 22.161,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 54.1937,
                "possession_lost": 6.4657,
                "dispossessed": 0.9612,
                "duels_lost": 3.4172,
                "aerial_won": 1.0474,
                "aerial_lost": 0.5072,
                "interceptions": 1.3737,
                "tackles_won": 1.3311,
                "tackles": 2.7716,
                "clearances": 1.0048,
                "total_contest": 1.4288,
                "won_contest": 0.4154,
                "challenges_lost": 0.3859,
                "fouls": 0.7297,
                "fouls_drawn": 0.904,
                "blocks": 0.1742,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.1165,
                "total_progression": 44.2648,
                "progressive_carries": 0.9402,
                "shots_off_target": 0.2248,
                "bench_appearance_probability": 0.512,
                "bench_expected_minutes": 22.27,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.335,
                "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": 1.1987,
                "creation_factor": 1.1004
              },
              "params": {
                "team_lambda": 1.744,
                "squad_xg_sum": 1.2479,
                "squad_xa_sum": 1.1061,
                "team_expected_assists": 1.3952,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3975,
                "xa_scale": 1.2613,
                "opponent_lambda": 3.394,
                "scoreline_reset": true,
                "appearance_weight": 0.512
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.027,
                  "after": 0.0377
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0207,
                  "after": 0.0261
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 15 by projected rating, fifa_overall 71.0; not used by the projection)",
              "stats": {
                "key_pass": 0.2856,
                "expected_assists": 0.0261,
                "assist_rate": 0.0278,
                "assists": 0,
                "expected_goals": 0.0377,
                "goal_rate": 0.0423,
                "goals": 0,
                "shots_on_target": 0.0956,
                "total_shots": 0.3204,
                "rating": 6.7656,
                "minutes": 22.27,
                "total_pass": 41.7318,
                "accurate_pass": 37.8463,
                "duels_won": 5.1383,
                "total_long_balls": 1.9514,
                "accurate_long_balls": 1.5723,
                "total_own_half_passes": 16.4269,
                "accurate_own_half_passes": 15.6854,
                "total_opp_half_passes": 25.305,
                "accurate_opp_half_passes": 22.161,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 54.1937,
                "possession_lost": 6.4657,
                "dispossessed": 0.9612,
                "duels_lost": 3.4172,
                "aerial_won": 1.0474,
                "aerial_lost": 0.5072,
                "interceptions": 1.3737,
                "tackles_won": 1.3311,
                "tackles": 2.7716,
                "clearances": 1.0048,
                "total_contest": 1.4288,
                "won_contest": 0.4154,
                "challenges_lost": 0.3859,
                "fouls": 0.7297,
                "fouls_drawn": 0.904,
                "blocks": 0.1742,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.1165,
                "total_progression": 44.2648,
                "progressive_carries": 0.9402,
                "shots_off_target": 0.2248,
                "bench_appearance_probability": 0.512,
                "bench_expected_minutes": 22.27,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.335,
                "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": 1.1987,
                "creation_factor": 1.1004,
                "fifa_overall": 71.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": 4406,
                "fifa_rank": 4706.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 71.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.2856,
                "expected_assists": 0.0261,
                "assist_rate": 0.0278,
                "assists": 0,
                "expected_goals": 0.0377,
                "goal_rate": 0.0423,
                "goals": 0,
                "shots_on_target": 0.0956,
                "total_shots": 0.3204,
                "rating": 6.7656,
                "minutes": 22.27,
                "total_pass": 41.7318,
                "accurate_pass": 37.8463,
                "duels_won": 5.1383,
                "total_long_balls": 1.9514,
                "accurate_long_balls": 1.5723,
                "total_own_half_passes": 16.4269,
                "accurate_own_half_passes": 15.6854,
                "total_opp_half_passes": 25.305,
                "accurate_opp_half_passes": 22.161,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 54.1937,
                "possession_lost": 6.4657,
                "dispossessed": 0.9612,
                "duels_lost": 3.4172,
                "aerial_won": 1.0474,
                "aerial_lost": 0.5072,
                "interceptions": 1.3737,
                "tackles_won": 1.3311,
                "tackles": 2.7716,
                "clearances": 1.0048,
                "total_contest": 1.4288,
                "won_contest": 0.4154,
                "challenges_lost": 0.3859,
                "fouls": 0.7297,
                "fouls_drawn": 0.904,
                "blocks": 0.1742,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.1165,
                "total_progression": 44.2648,
                "progressive_carries": 0.9402,
                "shots_off_target": 0.2248,
                "bench_appearance_probability": 0.512,
                "bench_expected_minutes": 22.27,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.335,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0189,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1987,
                "creation_factor": 1.1004,
                "fifa_overall": 71.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0189,
                "scorer_weight": 0.0231,
                "squad_weight_total": 1.8926,
                "weight_share": 0.0122,
                "finishing_factor": 1.1987,
                "appearance_weight": 0.512,
                "weight_rank": 11,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alberto Moleiro",
                    "weight": 0.4579,
                    "already": 0,
                    "effective_weight": 0.4579,
                    "runner_up": "Ayoze Pérez",
                    "runner_up_effective_weight": 0.4407
                  }
                ]
              }
            },
            {
              "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.2856,
                "expected_assists": 0.0261,
                "assist_rate": 0.0278,
                "assists": 0,
                "expected_goals": 0.0377,
                "goal_rate": 0.0423,
                "goals": 0,
                "shots_on_target": 0.0956,
                "total_shots": 0.3204,
                "rating": 6.7656,
                "minutes": 22.27,
                "total_pass": 41.7318,
                "accurate_pass": 37.8463,
                "duels_won": 5.1383,
                "total_long_balls": 1.9514,
                "accurate_long_balls": 1.5723,
                "total_own_half_passes": 16.4269,
                "accurate_own_half_passes": 15.6854,
                "total_opp_half_passes": 25.305,
                "accurate_opp_half_passes": 22.161,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 54.1937,
                "possession_lost": 6.4657,
                "dispossessed": 0.9612,
                "duels_lost": 3.4172,
                "aerial_won": 1.0474,
                "aerial_lost": 0.5072,
                "interceptions": 1.3737,
                "tackles_won": 1.3311,
                "tackles": 2.7716,
                "clearances": 1.0048,
                "total_contest": 1.4288,
                "won_contest": 0.4154,
                "challenges_lost": 0.3859,
                "fouls": 0.7297,
                "fouls_drawn": 0.904,
                "blocks": 0.1742,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.1165,
                "total_progression": 44.2648,
                "progressive_carries": 0.9402,
                "shots_off_target": 0.2248,
                "bench_appearance_probability": 0.512,
                "bench_expected_minutes": 22.27,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.335,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0189,
                "projected_assists": 0,
                "assist_probability": 0.0132,
                "finishing_factor": 1.1987,
                "creation_factor": 1.1004,
                "fifa_overall": 71.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0132,
                "provider_weight": 0.0147,
                "squad_weight_total": 1.4371,
                "weight_share": 0.0102,
                "creation_factor": 1.1004,
                "appearance_weight": 0.512,
                "weight_rank": 12,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ilias Akhomach",
                    "weight": 0.2045,
                    "already": 0,
                    "effective_weight": 0.2045,
                    "runner_up": "Renato Veiga",
                    "runner_up_effective_weight": 0.1341,
                    "blocked_own_goal": [
                      "Alberto Moleiro"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Georges Mikautadze": {
          "player_id": 1009372,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 9,
          "height": 176,
          "market_value": 32000000,
          "stats": {
            "expected_goals": 0.1715,
            "goal_rate": 0.1289,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.0909,
            "key_pass": 1,
            "rating": 6.8025,
            "minutes": 26,
            "total_pass": 9,
            "accurate_pass": 8,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 7,
            "accurate_opp_half_passes": 5,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 17,
            "possession_lost": 4.5638,
            "dispossessed": 0.6899,
            "duels_lost": 3,
            "aerial_lost": 0,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "assist_rate": 0.0312,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.3563,
            "offsides": 0,
            "ball_carries": 7,
            "total_progression": 33,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.358,
            "bench_expected_minutes": 26.46,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.335,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 23,
                "rating": 7.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.6685,
                "expected_assists": 0.0025,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 7,
                "accurate_pass": 7,
                "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": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 27,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4251,
                "expected_assists": 0.5678,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 10,
                "accurate_pass": 9,
                "key_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5212,
                "expected_assists": 0.0343,
                "total_shots": 4,
                "shots_on_target": 4,
                "total_pass": 34,
                "accurate_pass": 27,
                "key_pass": 2,
                "interceptions": 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": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 28,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1751,
                "expected_assists": 0.0337,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 16,
                "accurate_pass": 13,
                "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": 16416290,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 82,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.215,
                "expected_assists": 0.1187,
                "total_shots": 1,
                "total_pass": 24,
                "accurate_pass": 20,
                "key_pass": 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": 16416302,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 79,
                "rating": 7.2,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.7893,
                "expected_assists": 0.2452,
                "total_shots": 5,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 21,
                "accurate_pass": 17,
                "key_pass": 1,
                "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": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.2206,
                "expected_assists": 0.4077,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 28,
                "accurate_pass": 25,
                "key_pass": 2,
                "clearances": 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": 14083735,
              "match_date": "2026-05-24",
              "home_team": "Villarreal",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 89,
                "rating": 8.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.0145,
                "expected_assists": 0.023,
                "total_shots": 3,
                "shots_on_target": 3,
                "total_pass": 21,
                "accurate_pass": 19,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083644,
              "match_date": "2026-05-13",
              "home_team": "Villarreal",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 70,
                "rating": 7.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.5722,
                "expected_assists": 0.0397,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 18,
                "accurate_pass": 16,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083573,
              "match_date": "2026-05-10",
              "home_team": "Mallorca",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 20,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0387,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 4,
                "key_pass": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 1648,
            "combined_rank_score": 667.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 371.0,
            "sofascore_rating": 6.9688,
            "sofascore_appearances": 32.0,
            "fifa_rank": 964.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8025,
            "source_file": "data/player_rankings.csv",
            "player_name": "Georges Mikautadze",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Andrew Robertson",
                  "ranking": 1643
                },
                {
                  "player_name": "Dango Ouattara",
                  "ranking": 1644
                },
                {
                  "player_name": "Aziz Kholmurodov",
                  "ranking": 1645
                },
                {
                  "player_name": "Uroš Kojić",
                  "ranking": 1646
                },
                {
                  "player_name": "Josh Risdon",
                  "ranking": 1647
                }
              ],
              "lower": [
                {
                  "player_name": "Trai Hume",
                  "ranking": 1649
                },
                {
                  "player_name": "Alfonso Pedraza",
                  "ranking": 1650
                },
                {
                  "player_name": "Lukáš Provod",
                  "ranking": 1651
                },
                {
                  "player_name": "Isi Palazón",
                  "ranking": 1652
                },
                {
                  "player_name": "Walter Benítez",
                  "ranking": 1653
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.778,
          "history_matches": 39,
          "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": 39,
            "data_confidence": 0.778,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 26.45879280513034,
            "bench_appearance_prob": 0.358,
            "market_value_adjustment": 1.0077,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.3571428571428571,
              "assists_per90": 0.3571428571428571,
              "prior_reliability": 0.1867
            },
            "rationale": "Bench projection scaled from XGBoost F_service (39 historical appearances) to 26.5 expected mins (appearance prob 0.36); 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.1665,
                "goals": 0.1254,
                "goal_rate": 0.1254,
                "shots_on_target": 0.543,
                "total_shots": 1.1862,
                "expected_assists": 0.0882,
                "key_pass": 0.6855,
                "rating": 6.8025,
                "minutes": 25.89,
                "total_pass": 9.038,
                "accurate_pass": 7.6608,
                "duels_won": 1.6074,
                "total_long_balls": 0.2384,
                "accurate_long_balls": 0.0905,
                "total_opp_half_passes": 6.4323,
                "accurate_opp_half_passes": 5.2598,
                "crosses_total": 0.531,
                "crosses_accurate": 0.1074,
                "touches": 16.0575,
                "possession_lost": 4.4316,
                "dispossessed": 0.6846,
                "duels_lost": 2.4484,
                "aerial_lost": 0.4461,
                "total_contest": 2.0051,
                "won_contest": 0.7787,
                "ball_recovery": 0.8037,
                "challenges_lost": 0.0913,
                "fouls": 0.1069,
                "fouls_drawn": 0.6969,
                "assists": 0.0293,
                "assist_rate": 0.0293,
                "interceptions": 0.0561,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0776,
                "blocks": 0.0,
                "big_chances_created": 0.2862,
                "big_chances_missed": 0.3872,
                "xgot": 0.3459,
                "offsides": 0.0,
                "ball_carries": 6.4095,
                "total_progression": 32.2257,
                "progressive_carries": 1.6022,
                "shots_off_target": 0.6432
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-10T10:06:30.670657+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Levante UD",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.1503,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Málaga CF",
                    "minutes": 27.0,
                    "is_starting": false,
                    "weight": 0.1277,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.0923,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 79.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-24",
                    "opponent": "Atlético Madrid",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 8.1
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Sevilla",
                    "minutes": 70.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Mallorca",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.0348,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.5297,
                  "totalOppositionHalfPasses": 12.836,
                  "accurateOppositionHalfPasses": 10.5195,
                  "accuratePass": 14.2665,
                  "totalShots": 2.3849
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.16652637720108032,
                    "model_output": 0.1665,
                    "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.0362
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0106
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0103
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0092
                        }
                      ],
                      "others": -0.0038,
                      "total": 0.1665,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.649233
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.299108
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.072951
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.066228
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.055745
                        }
                      ],
                      "others_margin": -0.022722
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.12542176246643066,
                    "model_output": 0.1254,
                    "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.1018
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0252
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0085
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0074
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0068
                        }
                      ],
                      "others": 0.004,
                      "total": 0.1254,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.692093
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.221049
                        },
                        {
                          "name": "goals",
                          "margin": 0.064806
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.055806
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.054182
                        }
                      ],
                      "others_margin": 0.031018
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5430046319961548,
                    "model_output": 0.543,
                    "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.2241
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0435
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.037
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0341
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.023
                        }
                      ],
                      "others": 0.0925,
                      "total": 0.543,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.540168
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.130104
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.098673
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.083159
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.052484
                        }
                      ],
                      "others_margin": 0.186907
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.1862300634384155,
                    "model_output": 1.1862,
                    "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.6721
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.228
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0659
                        },
                        {
                          "name": "shotOffTarget",
                          "contribution": 0.0427
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0422
                        }
                      ],
                      "others": 0.1008,
                      "total": 1.1862,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.672068
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.228043
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.06593
                        },
                        {
                          "name": "shotOffTarget",
                          "margin": 0.042738
                        },
                        {
                          "name": "goals",
                          "margin": 0.042153
                        }
                      ],
                      "others_margin": 0.100728
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.08823876827955246,
                    "model_output": 0.0882,
                    "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.0178
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0072
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0074
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": 0.0029
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0026
                        }
                      ],
                      "others": 0.0216,
                      "total": 0.0882,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.323982
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.143094
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.129271
                        },
                        {
                          "name": "duelWon_p90",
                          "margin": 0.045726
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.03967
                        }
                      ],
                      "others_margin": 0.282965
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.6854925155639648,
                    "model_output": 0.6855,
                    "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.2342
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0519
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0254
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0216
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0206
                        }
                      ],
                      "others": 0.1262,
                      "total": 0.6855,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.426831
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.111568
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.050389
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": 0.040897
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.03752
                        }
                      ],
                      "others_margin": 0.2034
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.802546501159668,
                    "model_output": 6.8025,
                    "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.0948
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0451
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0298
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0219
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0137
                        }
                      ],
                      "others": 0.0246,
                      "total": 6.8025,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.094795
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.045074
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.029816
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.021919
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.013702
                        }
                      ],
                      "others_margin": 0.02467
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 39,
                  "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.0077, quality 0.732)",
              "stats": {
                "expected_goals": 0.1678,
                "goals": 0.1264,
                "goal_rate": 0.1264,
                "shots_on_target": 0.5472,
                "total_shots": 1.1954,
                "expected_assists": 0.0889,
                "key_pass": 0.6908,
                "rating": 6.8025,
                "minutes": 25.89,
                "total_pass": 9.1076,
                "accurate_pass": 7.7198,
                "duels_won": 1.6198,
                "total_long_balls": 0.2402,
                "accurate_long_balls": 0.0912,
                "total_opp_half_passes": 6.4818,
                "accurate_opp_half_passes": 5.3003,
                "crosses_total": 0.5351,
                "crosses_accurate": 0.1082,
                "touches": 16.1811,
                "possession_lost": 4.4657,
                "dispossessed": 0.6899,
                "duels_lost": 2.4673,
                "aerial_lost": 0.4495,
                "total_contest": 2.0205,
                "won_contest": 0.7847,
                "ball_recovery": 0.8099,
                "challenges_lost": 0.092,
                "fouls": 0.1077,
                "fouls_drawn": 0.7023,
                "assists": 0.0295,
                "assist_rate": 0.0295,
                "interceptions": 0.0565,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0782,
                "blocks": 0.0,
                "big_chances_created": 0.2884,
                "big_chances_missed": 0.3902,
                "xgot": 0.3486,
                "offsides": 0.0,
                "ball_carries": 6.4589,
                "total_progression": 32.4738,
                "progressive_carries": 1.6145,
                "shots_off_target": 0.6482
              },
              "params": {
                "market_value_eur": 32000000,
                "quality_factor": 0.732,
                "boost_factor": 1.0077,
                "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.0138)",
              "stats": {
                "expected_goals": 0.1678,
                "goals": 0.1261,
                "goal_rate": 0.1261,
                "shots_on_target": 0.5454,
                "total_shots": 1.1932,
                "expected_assists": 0.0889,
                "key_pass": 0.6908,
                "rating": 6.8025,
                "minutes": 25.89,
                "total_pass": 9.1076,
                "accurate_pass": 7.7198,
                "duels_won": 1.6198,
                "total_long_balls": 0.2402,
                "accurate_long_balls": 0.0912,
                "total_opp_half_passes": 6.4818,
                "accurate_opp_half_passes": 5.3003,
                "crosses_total": 0.5306,
                "crosses_accurate": 0.1082,
                "touches": 16.1811,
                "possession_lost": 4.4657,
                "dispossessed": 0.6899,
                "duels_lost": 2.4673,
                "aerial_lost": 0.4495,
                "total_contest": 2.0205,
                "won_contest": 0.7847,
                "ball_recovery": 0.8099,
                "challenges_lost": 0.092,
                "fouls": 0.109,
                "fouls_drawn": 0.6954,
                "assists": 0.0305,
                "assist_rate": 0.0305,
                "interceptions": 0.0557,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0782,
                "blocks": 0.0,
                "big_chances_created": 0.2884,
                "big_chances_missed": 0.3902,
                "xgot": 0.3486,
                "offsides": 0.0014,
                "ball_carries": 6.4589,
                "total_progression": 32.4738,
                "progressive_carries": 1.6145,
                "shots_off_target": 0.6482
              },
              "params": {
                "blend_weight": 0.0138,
                "history_matches": 39,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2877,
                "prior_reliability": 0.1867,
                "competition": "La Liga",
                "squad": "Villarreal"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 0.7023,
                  "after": 0.6954
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 25.9 to 26.5 expected minutes (appearance prob 0.36)",
              "stats": {
                "expected_goals": 0.1715,
                "goals": 0.1289,
                "goal_rate": 0.1289,
                "shots_on_target": 0.5574,
                "total_shots": 1.2198,
                "expected_assists": 0.0909,
                "key_pass": 0.706,
                "rating": 6.8025,
                "minutes": 26.46,
                "total_pass": 9.3077,
                "accurate_pass": 7.8894,
                "duels_won": 1.6554,
                "total_long_balls": 0.2455,
                "accurate_long_balls": 0.0932,
                "total_opp_half_passes": 6.6242,
                "accurate_opp_half_passes": 5.4167,
                "crosses_total": 0.5423,
                "crosses_accurate": 0.1106,
                "touches": 16.5366,
                "possession_lost": 4.5638,
                "dispossessed": 0.6899,
                "duels_lost": 2.5215,
                "aerial_lost": 0.4495,
                "total_contest": 2.0649,
                "won_contest": 0.8019,
                "ball_recovery": 0.8277,
                "challenges_lost": 0.092,
                "fouls": 0.1114,
                "fouls_drawn": 0.7107,
                "assists": 0.0312,
                "assist_rate": 0.0312,
                "interceptions": 0.0569,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0799,
                "blocks": 0.0,
                "big_chances_created": 0.2947,
                "big_chances_missed": 0.3988,
                "xgot": 0.3563,
                "offsides": 0.0014,
                "ball_carries": 6.6008,
                "total_progression": 33.1872,
                "progressive_carries": 1.65,
                "shots_off_target": 0.6624,
                "bench_appearance_probability": 0.358,
                "bench_expected_minutes": 26.46
              },
              "params": {
                "expected_minutes": 26.46,
                "projection_minutes": 25.89,
                "minutes_scale": 1.022,
                "appearance_probability": 0.358
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1715,
                "goals": 0.1289,
                "goal_rate": 0.1289,
                "shots_on_target": 0.5574,
                "total_shots": 1.2198,
                "expected_assists": 0.0909,
                "key_pass": 0.706,
                "rating": 6.8025,
                "minutes": 26.46,
                "total_pass": 9.3077,
                "accurate_pass": 7.8894,
                "duels_won": 1.6554,
                "total_long_balls": 0.2455,
                "accurate_long_balls": 0.0932,
                "total_opp_half_passes": 6.6242,
                "accurate_opp_half_passes": 5.4167,
                "crosses_total": 0.5423,
                "crosses_accurate": 0.1106,
                "touches": 16.5366,
                "possession_lost": 4.5638,
                "dispossessed": 0.6899,
                "duels_lost": 2.5215,
                "aerial_lost": 0.4495,
                "total_contest": 2.0649,
                "won_contest": 0.8019,
                "ball_recovery": 0.8277,
                "challenges_lost": 0.092,
                "fouls": 0.1114,
                "fouls_drawn": 0.7107,
                "assists": 0.0312,
                "assist_rate": 0.0312,
                "interceptions": 0.0569,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0799,
                "blocks": 0.0,
                "big_chances_created": 0.2947,
                "big_chances_missed": 0.3988,
                "xgot": 0.3563,
                "offsides": 0.0014,
                "ball_carries": 6.6008,
                "total_progression": 33.1872,
                "progressive_carries": 1.65,
                "shots_off_target": 0.6624,
                "bench_appearance_probability": 0.358,
                "bench_expected_minutes": 26.46
              },
              "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.1715,
                "goal_rate": 0.1289,
                "goals": 0,
                "shots_on_target": 0.5574,
                "total_shots": 1.2198,
                "expected_assists": 0.0909,
                "key_pass": 0.706,
                "rating": 6.8025,
                "minutes": 26.46,
                "total_pass": 9.3077,
                "accurate_pass": 7.8894,
                "duels_won": 1.6554,
                "total_long_balls": 0.2455,
                "accurate_long_balls": 0.0932,
                "total_opp_half_passes": 6.6242,
                "accurate_opp_half_passes": 5.4167,
                "crosses_total": 0.5423,
                "crosses_accurate": 0.1106,
                "touches": 16.5366,
                "possession_lost": 4.5638,
                "dispossessed": 0.6899,
                "duels_lost": 2.5215,
                "aerial_lost": 0.4495,
                "total_contest": 2.0649,
                "won_contest": 0.8019,
                "ball_recovery": 0.8277,
                "challenges_lost": 0.092,
                "fouls": 0.1114,
                "fouls_drawn": 0.7107,
                "assist_rate": 0.0312,
                "assists": 0,
                "interceptions": 0.0569,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0799,
                "blocks": 0.0,
                "big_chances_created": 0.2947,
                "big_chances_missed": 0.3988,
                "xgot": 0.3563,
                "offsides": 0.0014,
                "ball_carries": 6.6008,
                "total_progression": 33.1872,
                "progressive_carries": 1.65,
                "shots_off_target": 0.6624,
                "bench_appearance_probability": 0.358,
                "bench_expected_minutes": 26.46,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.335,
                "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.358,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 11 by projected rating, fifa_overall 79.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.1715,
                "goal_rate": 0.1289,
                "goals": 0,
                "shots_on_target": 0.5574,
                "total_shots": 1.2198,
                "expected_assists": 0.0909,
                "key_pass": 0.706,
                "rating": 6.8025,
                "minutes": 26.46,
                "total_pass": 9.3077,
                "accurate_pass": 7.8894,
                "duels_won": 1.6554,
                "total_long_balls": 0.2455,
                "accurate_long_balls": 0.0932,
                "total_opp_half_passes": 6.6242,
                "accurate_opp_half_passes": 5.4167,
                "crosses_total": 0.5423,
                "crosses_accurate": 0.1106,
                "touches": 16.5366,
                "possession_lost": 4.5638,
                "dispossessed": 0.6899,
                "duels_lost": 2.5215,
                "aerial_lost": 0.4495,
                "total_contest": 2.0649,
                "won_contest": 0.8019,
                "ball_recovery": 0.8277,
                "challenges_lost": 0.092,
                "fouls": 0.1114,
                "fouls_drawn": 0.7107,
                "assist_rate": 0.0312,
                "assists": 0,
                "interceptions": 0.0569,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0799,
                "blocks": 0.0,
                "big_chances_created": 0.2947,
                "big_chances_missed": 0.3988,
                "xgot": 0.3563,
                "offsides": 0.0014,
                "ball_carries": 6.6008,
                "total_progression": 33.1872,
                "progressive_carries": 1.65,
                "shots_off_target": 0.6624,
                "bench_appearance_probability": 0.358,
                "bench_expected_minutes": 26.46,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.335,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 11,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1648,
                "fifa_rank": 964.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            }
          ]
        },
        "Manor Solomon": {
          "player_id": 862223,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 6,
          "height": 167,
          "market_value": 7800000,
          "stats": {
            "expected_goals": 0.1277,
            "goal_rate": 0.0945,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0677,
            "key_pass": 1,
            "rating": 6.6402,
            "minutes": 26,
            "total_pass": 10,
            "accurate_pass": 9,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 6,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 18,
            "possession_lost": 5.0493,
            "dispossessed": 0.1406,
            "duels_lost": 1,
            "aerial_lost": 0,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.2076,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0832,
            "offsides": 0,
            "ball_carries": 7,
            "total_progression": 7,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.569,
            "bench_expected_minutes": 25.53,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.335,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0682,
            "projected_assists": 0,
            "assist_probability": 0.0372,
            "finishing_factor": 1.0219,
            "creation_factor": 1.25,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "match_id": 14083159,
              "match_date": "2025-12-06",
              "home_team": "Villarreal",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Getafe",
              "stats": {
                "minutes": 20,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0336,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083134,
              "match_date": "2025-11-22",
              "home_team": "Villarreal",
              "away_team": "Mallorca",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 16,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0128,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 8,
                "tackles": 1,
                "tackles_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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083690,
              "match_date": "2025-10-18",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 9,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0862,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 5,
                "key_pass": 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": 14083586,
              "match_date": "2025-09-27",
              "home_team": "Villarreal",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 72,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0272,
                "total_shots": 0,
                "total_pass": 17,
                "accurate_pass": 15,
                "duels_won": 4,
                "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": 14083443,
              "match_date": "2025-09-23",
              "home_team": "Sevilla",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 13,
                "rating": 7.4,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3877,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_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"
            },
            {
              "match_id": 14083351,
              "match_date": "2025-09-20",
              "home_team": "Villarreal",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 23,
                "rating": 7.0,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0302,
                "expected_assists": 0.2625,
                "total_shots": 1,
                "total_pass": 8,
                "accurate_pass": 6,
                "key_pass": 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": 2850,
            "combined_rank_score": 964.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 137.0,
            "sofascore_rating": 7.3571,
            "sofascore_appearances": 7.0,
            "fifa_rank": 1792.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6402,
            "source_file": "data/player_rankings.csv",
            "player_name": "Manor Solomon",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Barrenetxea",
                  "ranking": 2845
                },
                {
                  "player_name": "Sergio Canales",
                  "ranking": 2846
                },
                {
                  "player_name": "Josip Šutalo",
                  "ranking": 2847
                },
                {
                  "player_name": "Orlando Mosquera",
                  "ranking": 2848
                },
                {
                  "player_name": "Kristian Dimitrov",
                  "ranking": 2849
                }
              ],
              "lower": [
                {
                  "player_name": "Jørgen Strand Larsen",
                  "ranking": 2851
                },
                {
                  "player_name": "Ulugbek Khoshimov",
                  "ranking": 2852
                },
                {
                  "player_name": "Kian Ronan",
                  "ranking": 2853
                },
                {
                  "player_name": "Carlos Richards",
                  "ranking": 2854
                },
                {
                  "player_name": "Cheick Doucouré",
                  "ranking": 2855
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.625,
          "history_matches": 6,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "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": 6,
            "data_confidence": 0.625,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.52527948921528,
            "bench_appearance_prob": 0.5693308858734218,
            "market_value_adjustment": 0.9988,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (6 historical appearances) to 25.5 expected mins (appearance prob 0.57)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0619,
                "goals": 0.0641,
                "goal_rate": 0.0641,
                "shots_on_target": 0.21,
                "total_shots": 0.5771,
                "expected_assists": 0.0365,
                "key_pass": 0.3757,
                "rating": 6.6402,
                "minutes": 17.29,
                "total_pass": 6.7957,
                "accurate_pass": 5.8093,
                "duels_won": 1.0095,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.3396,
                "accurate_opp_half_passes": 4.3532,
                "crosses_total": 1.0275,
                "crosses_accurate": 0.3356,
                "touches": 12.0454,
                "possession_lost": 3.4243,
                "dispossessed": 0.1408,
                "duels_lost": 0.9116,
                "aerial_lost": 0.0,
                "total_contest": 1.1159,
                "won_contest": 0.5107,
                "ball_recovery": 1.152,
                "challenges_lost": 0.1656,
                "fouls": 0.0,
                "fouls_drawn": 0.2696,
                "assists": 0.1408,
                "assist_rate": 0.1408,
                "interceptions": 0.0,
                "tackles_won": 0.2292,
                "tackles": 0.2292,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1927,
                "big_chances_missed": 0.0,
                "xgot": 0.0403,
                "offsides": 0.2696,
                "ball_carries": 4.4595,
                "total_progression": 4.6086,
                "shots_off_target": 0.3671
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-10T10:06:30.670657+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2025-12-06",
                    "opponent": "Getafe",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.2408,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2025-11-22",
                    "opponent": "Mallorca",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.2047,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2025-10-18",
                    "opponent": "Real Betis",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.174,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2025-09-27",
                    "opponent": "Athletic Club",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.1479,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2025-09-23",
                    "opponent": "Sevilla",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.1257,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2025-09-20",
                    "opponent": "Osasuna",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.1069,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.052,
                  "totalOppositionHalfPasses": 6.2229,
                  "accurateOppositionHalfPasses": 5.2539,
                  "accuratePass": 7.2939,
                  "totalShots": 0.2326
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.06193104013800621,
                    "model_output": 0.0619,
                    "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.0948
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.018
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0043
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0034
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0028
                        }
                      ],
                      "others": -0.0138,
                      "total": 0.0619,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.646901
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.189151
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.051422
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.042124
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.036705
                        }
                      ],
                      "others_margin": -0.200754
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.0640861913561821,
                    "model_output": 0.0641,
                    "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.0834
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0205
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0099
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0053
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0036
                        }
                      ],
                      "others": -0.0169,
                      "total": 0.0641,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.52638
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.186985
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.103882
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.06075
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.043232
                        }
                      ],
                      "others_margin": -0.235433
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.20995546877384186,
                    "model_output": 0.21,
                    "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.2199
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0241
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.022
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0177
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0104
                        }
                      ],
                      "others": -0.0537,
                      "total": 0.21,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.526934
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.079004
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.078191
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.067554
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.040376
                        }
                      ],
                      "others_margin": -0.227757
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.577052116394043,
                    "model_output": 0.5771,
                    "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.49
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1318
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.044
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0289
                        },
                        {
                          "name": "shotOffTarget",
                          "contribution": -0.0195
                        }
                      ],
                      "others": -0.0874,
                      "total": 0.5771,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.490009
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.131751
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.04402
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.028867
                        },
                        {
                          "name": "shotOffTarget",
                          "margin": -0.019481
                        }
                      ],
                      "others_margin": -0.087526
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03647364675998688,
                    "model_output": 0.0365,
                    "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.0174
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0049
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.003
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0026
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0023
                        }
                      ],
                      "others": -0.0082,
                      "total": 0.0365,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.314803
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.11031
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.068745
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.060239
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.053125
                        }
                      ],
                      "others_margin": -0.203229
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.3756578266620636,
                    "model_output": 0.3757,
                    "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.2568
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.028
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0231
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0222
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0165
                        }
                      ],
                      "others": 0.0021,
                      "total": 0.3757,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.479766
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.069504
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.057576
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.055359
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.043154
                        }
                      ],
                      "others_margin": 0.005691
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.640173435211182,
                    "model_output": 6.6402,
                    "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.0462
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0132
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0122
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0119
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0115
                        }
                      ],
                      "others": -0.027,
                      "total": 6.6402,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.04624
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.013153
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.012197
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.011947
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.011501
                        }
                      ],
                      "others_margin": -0.02695
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 6,
                  "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 0.9988, quality 0.496)",
              "stats": {
                "expected_goals": 0.0619,
                "goals": 0.064,
                "goal_rate": 0.064,
                "shots_on_target": 0.2097,
                "total_shots": 0.5764,
                "expected_assists": 0.0364,
                "key_pass": 0.3752,
                "rating": 6.6402,
                "minutes": 17.29,
                "total_pass": 6.7875,
                "accurate_pass": 5.8023,
                "duels_won": 1.0083,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.3332,
                "accurate_opp_half_passes": 4.348,
                "crosses_total": 1.0263,
                "crosses_accurate": 0.3352,
                "touches": 12.0309,
                "possession_lost": 3.4202,
                "dispossessed": 0.1406,
                "duels_lost": 0.9105,
                "aerial_lost": 0.0,
                "total_contest": 1.1146,
                "won_contest": 0.5101,
                "ball_recovery": 1.1506,
                "challenges_lost": 0.1654,
                "fouls": 0.0,
                "fouls_drawn": 0.2693,
                "assists": 0.1406,
                "assist_rate": 0.1406,
                "interceptions": 0.0,
                "tackles_won": 0.2289,
                "tackles": 0.2289,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1925,
                "big_chances_missed": 0.0,
                "xgot": 0.0403,
                "offsides": 0.2693,
                "ball_carries": 4.4541,
                "total_progression": 4.6031,
                "shots_off_target": 0.3667
              },
              "params": {
                "market_value_eur": 7800000,
                "quality_factor": 0.4963,
                "boost_factor": 0.9988,
                "reference_quality": 0.505,
                "history_matches": 6,
                "history_shrink": 0.4545,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 17.3 to 25.5 expected minutes (appearance prob 0.57)",
              "stats": {
                "expected_goals": 0.0914,
                "goals": 0.0945,
                "goal_rate": 0.0945,
                "shots_on_target": 0.3096,
                "total_shots": 0.851,
                "expected_assists": 0.0537,
                "key_pass": 0.5539,
                "rating": 6.6402,
                "minutes": 25.53,
                "total_pass": 10.0204,
                "accurate_pass": 8.566,
                "duels_won": 1.4886,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.8734,
                "accurate_opp_half_passes": 6.419,
                "crosses_total": 1.5151,
                "crosses_accurate": 0.4949,
                "touches": 17.7613,
                "possession_lost": 5.0493,
                "dispossessed": 0.1406,
                "duels_lost": 1.3442,
                "aerial_lost": 0.0,
                "total_contest": 1.6455,
                "won_contest": 0.7531,
                "ball_recovery": 1.6986,
                "challenges_lost": 0.1654,
                "fouls": 0.0,
                "fouls_drawn": 0.3976,
                "assists": 0.2076,
                "assist_rate": 0.2076,
                "interceptions": 0.0,
                "tackles_won": 0.3379,
                "tackles": 0.3379,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.2842,
                "big_chances_missed": 0.0,
                "xgot": 0.0595,
                "offsides": 0.2693,
                "ball_carries": 6.5756,
                "total_progression": 6.7956,
                "shots_off_target": 0.5414,
                "bench_appearance_probability": 0.569,
                "bench_expected_minutes": 25.53
              },
              "params": {
                "expected_minutes": 25.53,
                "projection_minutes": 17.29,
                "minutes_scale": 1.4763,
                "appearance_probability": 0.569
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0914,
                "goals": 0.0945,
                "goal_rate": 0.0945,
                "shots_on_target": 0.3096,
                "total_shots": 0.851,
                "expected_assists": 0.0537,
                "key_pass": 0.5539,
                "rating": 6.6402,
                "minutes": 25.53,
                "total_pass": 10.0204,
                "accurate_pass": 8.566,
                "duels_won": 1.4886,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.8734,
                "accurate_opp_half_passes": 6.419,
                "crosses_total": 1.5151,
                "crosses_accurate": 0.4949,
                "touches": 17.7613,
                "possession_lost": 5.0493,
                "dispossessed": 0.1406,
                "duels_lost": 1.3442,
                "aerial_lost": 0.0,
                "total_contest": 1.6455,
                "won_contest": 0.7531,
                "ball_recovery": 1.6986,
                "challenges_lost": 0.1654,
                "fouls": 0.0,
                "fouls_drawn": 0.3976,
                "assists": 0.2076,
                "assist_rate": 0.2076,
                "interceptions": 0.0,
                "tackles_won": 0.3379,
                "tackles": 0.3379,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.2842,
                "big_chances_missed": 0.0,
                "xgot": 0.0595,
                "offsides": 0.2693,
                "ball_carries": 6.5756,
                "total_progression": 6.7956,
                "shots_off_target": 0.5414,
                "bench_appearance_probability": 0.569,
                "bench_expected_minutes": 25.53
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.74 (squad xG sum 1.2479, xG scale 1.3975, xA scale 1.2613, team xA 1.40 = 0.80 x lambda)",
              "stats": {
                "expected_goals": 0.1277,
                "goal_rate": 0.0945,
                "goals": 0,
                "shots_on_target": 0.3096,
                "total_shots": 0.851,
                "expected_assists": 0.0677,
                "key_pass": 0.5539,
                "rating": 6.6402,
                "minutes": 25.53,
                "total_pass": 10.0204,
                "accurate_pass": 8.566,
                "duels_won": 1.4886,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.8734,
                "accurate_opp_half_passes": 6.419,
                "crosses_total": 1.5151,
                "crosses_accurate": 0.4949,
                "touches": 17.7613,
                "possession_lost": 5.0493,
                "dispossessed": 0.1406,
                "duels_lost": 1.3442,
                "aerial_lost": 0.0,
                "total_contest": 1.6455,
                "won_contest": 0.7531,
                "ball_recovery": 1.6986,
                "challenges_lost": 0.1654,
                "fouls": 0.0,
                "fouls_drawn": 0.3976,
                "assist_rate": 0.2076,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.3379,
                "tackles": 0.3379,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.2842,
                "big_chances_missed": 0.0,
                "xgot": 0.0832,
                "offsides": 0.2693,
                "ball_carries": 6.5756,
                "total_progression": 6.7956,
                "shots_off_target": 0.5414,
                "bench_appearance_probability": 0.569,
                "bench_expected_minutes": 25.53,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.335,
                "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": 1.0219,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.744,
                "squad_xg_sum": 1.2479,
                "squad_xa_sum": 1.1061,
                "team_expected_assists": 1.3952,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3975,
                "xa_scale": 1.2613,
                "opponent_lambda": 3.394,
                "scoreline_reset": true,
                "appearance_weight": 0.569
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0914,
                  "after": 0.1277
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0537,
                  "after": 0.0677
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 18 by projected rating, fifa_overall 76.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.1277,
                "goal_rate": 0.0945,
                "goals": 0,
                "shots_on_target": 0.3096,
                "total_shots": 0.851,
                "expected_assists": 0.0677,
                "key_pass": 0.5539,
                "rating": 6.6402,
                "minutes": 25.53,
                "total_pass": 10.0204,
                "accurate_pass": 8.566,
                "duels_won": 1.4886,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.8734,
                "accurate_opp_half_passes": 6.419,
                "crosses_total": 1.5151,
                "crosses_accurate": 0.4949,
                "touches": 17.7613,
                "possession_lost": 5.0493,
                "dispossessed": 0.1406,
                "duels_lost": 1.3442,
                "aerial_lost": 0.0,
                "total_contest": 1.6455,
                "won_contest": 0.7531,
                "ball_recovery": 1.6986,
                "challenges_lost": 0.1654,
                "fouls": 0.0,
                "fouls_drawn": 0.3976,
                "assist_rate": 0.2076,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.3379,
                "tackles": 0.3379,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.2842,
                "big_chances_missed": 0.0,
                "xgot": 0.0832,
                "offsides": 0.2693,
                "ball_carries": 6.5756,
                "total_progression": 6.7956,
                "shots_off_target": 0.5414,
                "bench_appearance_probability": 0.569,
                "bench_expected_minutes": 25.53,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.335,
                "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": 1.0219,
                "creation_factor": 1.25,
                "fifa_overall": 76.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": 2850,
                "fifa_rank": 1792.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 76.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.1277,
                "goal_rate": 0.0945,
                "goals": 0,
                "shots_on_target": 0.3096,
                "total_shots": 0.851,
                "expected_assists": 0.0677,
                "key_pass": 0.5539,
                "rating": 6.6402,
                "minutes": 25.53,
                "total_pass": 10.0204,
                "accurate_pass": 8.566,
                "duels_won": 1.4886,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.8734,
                "accurate_opp_half_passes": 6.419,
                "crosses_total": 1.5151,
                "crosses_accurate": 0.4949,
                "touches": 17.7613,
                "possession_lost": 5.0493,
                "dispossessed": 0.1406,
                "duels_lost": 1.3442,
                "aerial_lost": 0.0,
                "total_contest": 1.6455,
                "won_contest": 0.7531,
                "ball_recovery": 1.6986,
                "challenges_lost": 0.1654,
                "fouls": 0.0,
                "fouls_drawn": 0.3976,
                "assist_rate": 0.2076,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.3379,
                "tackles": 0.3379,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.2842,
                "big_chances_missed": 0.0,
                "xgot": 0.0832,
                "offsides": 0.2693,
                "ball_carries": 6.5756,
                "total_progression": 6.7956,
                "shots_off_target": 0.5414,
                "bench_appearance_probability": 0.569,
                "bench_expected_minutes": 25.53,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.335,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0682,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0219,
                "creation_factor": 1.25,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0682,
                "scorer_weight": 0.0743,
                "squad_weight_total": 1.8926,
                "weight_share": 0.0392,
                "finishing_factor": 1.0219,
                "appearance_weight": 0.569,
                "weight_rank": 7,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alberto Moleiro",
                    "weight": 0.4579,
                    "already": 0,
                    "effective_weight": 0.4579,
                    "runner_up": "Ayoze Pérez",
                    "runner_up_effective_weight": 0.4407
                  }
                ]
              }
            },
            {
              "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.1277,
                "goal_rate": 0.0945,
                "goals": 0,
                "shots_on_target": 0.3096,
                "total_shots": 0.851,
                "expected_assists": 0.0677,
                "key_pass": 0.5539,
                "rating": 6.6402,
                "minutes": 25.53,
                "total_pass": 10.0204,
                "accurate_pass": 8.566,
                "duels_won": 1.4886,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.8734,
                "accurate_opp_half_passes": 6.419,
                "crosses_total": 1.5151,
                "crosses_accurate": 0.4949,
                "touches": 17.7613,
                "possession_lost": 5.0493,
                "dispossessed": 0.1406,
                "duels_lost": 1.3442,
                "aerial_lost": 0.0,
                "total_contest": 1.6455,
                "won_contest": 0.7531,
                "ball_recovery": 1.6986,
                "challenges_lost": 0.1654,
                "fouls": 0.0,
                "fouls_drawn": 0.3976,
                "assist_rate": 0.2076,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.3379,
                "tackles": 0.3379,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.2842,
                "big_chances_missed": 0.0,
                "xgot": 0.0832,
                "offsides": 0.2693,
                "ball_carries": 6.5756,
                "total_progression": 6.7956,
                "shots_off_target": 0.5414,
                "bench_appearance_probability": 0.569,
                "bench_expected_minutes": 25.53,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.335,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0682,
                "projected_assists": 0,
                "assist_probability": 0.0372,
                "finishing_factor": 1.0219,
                "creation_factor": 1.25,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0372,
                "provider_weight": 0.0482,
                "squad_weight_total": 1.4371,
                "weight_share": 0.0335,
                "creation_factor": 1.25,
                "appearance_weight": 0.569,
                "weight_rank": 11,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ilias Akhomach",
                    "weight": 0.2045,
                    "already": 0,
                    "effective_weight": 0.2045,
                    "runner_up": "Renato Veiga",
                    "runner_up_effective_weight": 0.1341,
                    "blocked_own_goal": [
                      "Alberto Moleiro"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "substitutes": {
        "Tajon Buchanan": {
          "player_id": 973290,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 17,
          "height": 183,
          "market_value": 13000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1369,
            "assist_rate": 0.1066,
            "assists": 0,
            "expected_goals": 0.1146,
            "goal_rate": 0.1115,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.7526,
            "minutes": 28,
            "total_pass": 11,
            "accurate_pass": 10,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 7,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 19,
            "possession_lost": 5.6594,
            "dispossessed": 0.1509,
            "duels_lost": 2,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1103,
            "ball_carries": 9,
            "total_progression": 57,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.573,
            "bench_expected_minutes": 28.25,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.335,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.062,
            "projected_assists": 0,
            "assist_probability": 0.0733,
            "finishing_factor": 1.2235,
            "creation_factor": 0.988,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "match_id": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 79,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.136,
                "expected_assists": 0.0719,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 29,
                "accurate_pass": 25,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 2,
                "aerial_won": 1,
                "duels_won": 6,
                "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": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4075,
                "expected_assists": 0.6325,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 27,
                "accurate_pass": 26,
                "key_pass": 3,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 1,
                "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": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 55,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0398,
                "expected_assists": 0.0496,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 21,
                "accurate_pass": 18,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 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": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 28,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0346,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 16,
                "key_pass": 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": 16416290,
              "match_date": "2026-08-28",
              "home_team": "Deportivo Alavés",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 63,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0194,
                "expected_assists": 0.1545,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 24,
                "accurate_pass": 22,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_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": 16416302,
              "match_date": "2026-08-23",
              "home_team": "Atlético Madrid",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 29,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4605,
                "expected_assists": 0.0072,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 10,
                "accurate_pass": 9,
                "interceptions": 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": 16421061,
              "match_date": "2026-08-16",
              "home_team": "Real Racing Club",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Real Racing Club",
              "stats": {
                "minutes": 34,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0764,
                "expected_assists": 0.0032,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 11,
                "accurate_pass": 10,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083682,
              "match_date": "2026-05-17",
              "home_team": "Rayo Vallecano",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 45,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0862,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 7,
                "tackles": 2,
                "tackles_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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083644,
              "match_date": "2026-05-13",
              "home_team": "Villarreal",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 30,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0206,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 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": 14083573,
              "match_date": "2026-05-10",
              "home_team": "Mallorca",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 71,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0583,
                "expected_assists": 0.0099,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 19,
                "accurate_pass": 14,
                "tackles": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 3318,
            "combined_rank_score": 1275.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 584.0,
            "sofascore_rating": 6.7941,
            "sofascore_appearances": 34.0,
            "fifa_rank": 1967.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7526,
            "source_file": "data/player_rankings.csv",
            "player_name": "Tajon Buchanan",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Logan Costa",
                  "ranking": 3313
                },
                {
                  "player_name": "Santiago Ascacíbar",
                  "ranking": 3314
                },
                {
                  "player_name": "Rio Ngumoha",
                  "ranking": 3315
                },
                {
                  "player_name": "Kyle Walker-Peters",
                  "ranking": 3316
                },
                {
                  "player_name": "Alberto Costa",
                  "ranking": 3317
                }
              ],
              "lower": [
                {
                  "player_name": "Dion Drena Beljo",
                  "ranking": 3319
                },
                {
                  "player_name": "Aimar Oroz",
                  "ranking": 3320
                },
                {
                  "player_name": "Konstantinos Koulierakis",
                  "ranking": 3321
                },
                {
                  "player_name": "Óliver Torres",
                  "ranking": 3322
                },
                {
                  "player_name": "Daley Blind",
                  "ranking": 3323
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.764,
          "history_matches": 41,
          "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": 41,
            "data_confidence": 0.764,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 28.25,
            "bench_appearance_prob": 0.573,
            "market_value_adjustment": 1.0017,
            "fbref_prior_metrics": {
              "squad": "Villarreal",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 33.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0933
            },
            "rationale": "Bench projection scaled from XGBoost M_service (41 historical appearances) to 28.2 expected mins (appearance prob 0.57); FBref playing time empirical prior: 2.0 sub appearances, 33.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.7006,
                "expected_assists": 0.0941,
                "assists": 0.0929,
                "assist_rate": 0.0929,
                "expected_goals": 0.071,
                "goals": 0.0972,
                "goal_rate": 0.0972,
                "shots_on_target": 0.2359,
                "total_shots": 0.7953,
                "rating": 6.7526,
                "minutes": 24.52,
                "total_pass": 9.7017,
                "accurate_pass": 8.2485,
                "duels_won": 1.1392,
                "total_long_balls": 0.361,
                "accurate_long_balls": 0.2578,
                "total_own_half_passes": 2.6027,
                "accurate_own_half_passes": 2.2138,
                "total_opp_half_passes": 7.099,
                "accurate_opp_half_passes": 6.0348,
                "crosses_total": 1.316,
                "crosses_accurate": 0.0196,
                "touches": 16.6116,
                "possession_lost": 4.9039,
                "dispossessed": 0.1506,
                "duels_lost": 1.5291,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.3353,
                "tackles_won": 0.1504,
                "tackles": 0.2321,
                "clearances": 0.2655,
                "total_contest": 0.6696,
                "won_contest": 0.1965,
                "challenges_lost": 0.4053,
                "fouls": 0.5443,
                "fouls_drawn": 0.7106,
                "blocks": 0.0,
                "big_chances_created": 0.0426,
                "big_chances_missed": 0.1529,
                "xgot": 0.0684,
                "ball_carries": 7.501,
                "total_progression": 49.7858,
                "progressive_carries": 1.6409,
                "shots_off_target": 0.5594
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-10T10:05:58.420391+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Levante UD",
                    "minutes": 79.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Real Betis",
                    "minutes": 55.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.0922,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-28",
                    "opponent": "Deportivo Alavés",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Atlético Madrid",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.0666,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Real Racing Club",
                    "minutes": 34.0,
                    "is_starting": false,
                    "weight": 0.0566,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Rayo Vallecano",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Sevilla",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.0409,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Mallorca",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 1.3775,
                  "creative_index": 0.4788,
                  "expectedGoals": 0.1246,
                  "expectedAssists": 0.1232,
                  "onTargetScoringAttempt": 0.4544
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.7006076574325562,
                    "model_output": 0.7006,
                    "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.3642
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0289
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0287
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0272
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0166
                        }
                      ],
                      "others": 0.0772,
                      "total": 0.7006,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.529245
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.053931
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.050801
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.045841
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.027007
                        }
                      ],
                      "others_margin": 0.116674
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.09408166259527206,
                    "model_output": 0.0941,
                    "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.0312
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0097
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0045
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": 0.0037
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0032
                        }
                      ],
                      "others": 0.0184,
                      "total": 0.0941,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.451778
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.163183
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.067037
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": 0.052811
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.043752
                        }
                      ],
                      "others_margin": 0.217451
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.09292640537023544,
                    "model_output": 0.0929,
                    "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.0179
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0063
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0056
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0057
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0032
                        }
                      ],
                      "others": 0.0048,
                      "total": 0.0929,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.235522
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.089188
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.072711
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.06894
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.037064
                        }
                      ],
                      "others_margin": 0.054077
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.07103639096021652,
                    "model_output": 0.071,
                    "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.0446
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0102
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0069
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0066
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0037
                        }
                      ],
                      "others": -0.0062,
                      "total": 0.071,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.639531
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.185883
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.108499
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.094151
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.048682
                        }
                      ],
                      "others_margin": -0.082329
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.09721723943948746,
                    "model_output": 0.0972,
                    "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.0351
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0104
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0112
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0102
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.011
                        }
                      ],
                      "others": -0.0081,
                      "total": 0.0972,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.444932
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.15326
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.143421
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.114519
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.109783
                        }
                      ],
                      "others_margin": -0.080444
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2358749508857727,
                    "model_output": 0.2359,
                    "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.1643
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0383
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0188
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0144
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0105
                        }
                      ],
                      "others": -0.0058,
                      "total": 0.2359,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.707715
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.215058
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.090527
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.064291
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.044622
                        }
                      ],
                      "others_margin": -0.024199
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.7952731251716614,
                    "model_output": 0.7953,
                    "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.5783
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.2241
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0449
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0433
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.038
                        }
                      ],
                      "others": 0.0328,
                      "total": 0.7953,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.578337
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.224051
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.044917
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.043298
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.037996
                        }
                      ],
                      "others_margin": 0.032883
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.752574920654297,
                    "model_output": 6.7526,
                    "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.0845
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.029
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0263
                        },
                        {
                          "name": "rating",
                          "contribution": -0.021
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0091
                        }
                      ],
                      "others": 0.0028,
                      "total": 6.7526,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.08455
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.029015
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.026272
                        },
                        {
                          "name": "rating",
                          "margin": -0.021037
                        },
                        {
                          "name": "totalProgression",
                          "margin": 0.009132
                        }
                      ],
                      "others_margin": 0.002902
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 41,
                  "role_matches": 16,
                  "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.0017, quality 0.557)",
              "stats": {
                "key_pass": 0.7018,
                "expected_assists": 0.0942,
                "assists": 0.0931,
                "assist_rate": 0.0931,
                "expected_goals": 0.0712,
                "goals": 0.0974,
                "goal_rate": 0.0974,
                "shots_on_target": 0.2363,
                "total_shots": 0.7967,
                "rating": 6.7526,
                "minutes": 24.52,
                "total_pass": 9.7182,
                "accurate_pass": 8.2625,
                "duels_won": 1.1411,
                "total_long_balls": 0.3616,
                "accurate_long_balls": 0.2582,
                "total_own_half_passes": 2.6071,
                "accurate_own_half_passes": 2.2176,
                "total_opp_half_passes": 7.1111,
                "accurate_opp_half_passes": 6.0451,
                "crosses_total": 1.3182,
                "crosses_accurate": 0.0196,
                "touches": 16.6398,
                "possession_lost": 4.9122,
                "dispossessed": 0.1509,
                "duels_lost": 1.5317,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.3359,
                "tackles_won": 0.1507,
                "tackles": 0.2325,
                "clearances": 0.266,
                "total_contest": 0.6707,
                "won_contest": 0.1968,
                "challenges_lost": 0.406,
                "fouls": 0.5452,
                "fouls_drawn": 0.7118,
                "blocks": 0.0,
                "big_chances_created": 0.0427,
                "big_chances_missed": 0.1532,
                "xgot": 0.0685,
                "ball_carries": 7.5138,
                "total_progression": 49.8704,
                "progressive_carries": 1.6437,
                "shots_off_target": 0.5604
              },
              "params": {
                "market_value_eur": 13000000,
                "quality_factor": 0.557,
                "boost_factor": 1.0017,
                "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.0066)",
              "stats": {
                "key_pass": 0.7018,
                "expected_assists": 0.0942,
                "assists": 0.0925,
                "assist_rate": 0.0925,
                "expected_goals": 0.0712,
                "goals": 0.0968,
                "goal_rate": 0.0968,
                "shots_on_target": 0.2373,
                "total_shots": 0.7965,
                "rating": 6.7526,
                "minutes": 24.52,
                "total_pass": 9.7182,
                "accurate_pass": 8.2625,
                "duels_won": 1.1411,
                "total_long_balls": 0.3616,
                "accurate_long_balls": 0.2582,
                "total_own_half_passes": 2.6071,
                "accurate_own_half_passes": 2.2176,
                "total_opp_half_passes": 7.1111,
                "accurate_opp_half_passes": 6.0451,
                "crosses_total": 1.3211,
                "crosses_accurate": 0.0196,
                "touches": 16.6398,
                "possession_lost": 4.9122,
                "dispossessed": 0.1509,
                "duels_lost": 1.5317,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.335,
                "tackles_won": 0.1523,
                "tackles": 0.2325,
                "clearances": 0.266,
                "total_contest": 0.6707,
                "won_contest": 0.1968,
                "challenges_lost": 0.406,
                "fouls": 0.5455,
                "fouls_drawn": 0.7148,
                "blocks": 0.0,
                "big_chances_created": 0.0427,
                "big_chances_missed": 0.1532,
                "xgot": 0.0685,
                "ball_carries": 7.5138,
                "total_progression": 49.8704,
                "progressive_carries": 1.6437,
                "shots_off_target": 0.5604
              },
              "params": {
                "blend_weight": 0.0066,
                "history_matches": 41,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2724,
                "prior_reliability": 0.0933,
                "competition": "La Liga",
                "squad": "Villarreal"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 24.5 to 28.2 expected minutes (appearance prob 0.57)",
              "stats": {
                "key_pass": 0.8086,
                "expected_assists": 0.1085,
                "assists": 0.1066,
                "assist_rate": 0.1066,
                "expected_goals": 0.082,
                "goals": 0.1115,
                "goal_rate": 0.1115,
                "shots_on_target": 0.2734,
                "total_shots": 0.919,
                "rating": 6.7526,
                "minutes": 28.25,
                "total_pass": 11.1965,
                "accurate_pass": 9.5194,
                "duels_won": 1.3147,
                "total_long_balls": 0.4166,
                "accurate_long_balls": 0.2975,
                "total_own_half_passes": 3.0037,
                "accurate_own_half_passes": 2.5549,
                "total_opp_half_passes": 8.1928,
                "accurate_opp_half_passes": 6.9647,
                "crosses_total": 1.5221,
                "crosses_accurate": 0.0226,
                "touches": 19.1711,
                "possession_lost": 5.6594,
                "dispossessed": 0.1509,
                "duels_lost": 1.7647,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.386,
                "tackles_won": 0.1755,
                "tackles": 0.2679,
                "clearances": 0.3065,
                "total_contest": 0.7727,
                "won_contest": 0.2267,
                "challenges_lost": 0.406,
                "fouls": 0.6285,
                "fouls_drawn": 0.8235,
                "blocks": 0.0,
                "big_chances_created": 0.0492,
                "big_chances_missed": 0.1765,
                "xgot": 0.0789,
                "ball_carries": 8.6568,
                "total_progression": 57.4567,
                "progressive_carries": 1.8937,
                "shots_off_target": 0.6456,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 28.25
              },
              "params": {
                "expected_minutes": 28.25,
                "projection_minutes": 24.52,
                "minutes_scale": 1.1521,
                "appearance_probability": 0.573
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.8086,
                "expected_assists": 0.1085,
                "assists": 0.1066,
                "assist_rate": 0.1066,
                "expected_goals": 0.082,
                "goals": 0.1115,
                "goal_rate": 0.1115,
                "shots_on_target": 0.2734,
                "total_shots": 0.919,
                "rating": 6.7526,
                "minutes": 28.25,
                "total_pass": 11.1965,
                "accurate_pass": 9.5194,
                "duels_won": 1.3147,
                "total_long_balls": 0.4166,
                "accurate_long_balls": 0.2975,
                "total_own_half_passes": 3.0037,
                "accurate_own_half_passes": 2.5549,
                "total_opp_half_passes": 8.1928,
                "accurate_opp_half_passes": 6.9647,
                "crosses_total": 1.5221,
                "crosses_accurate": 0.0226,
                "touches": 19.1711,
                "possession_lost": 5.6594,
                "dispossessed": 0.1509,
                "duels_lost": 1.7647,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.386,
                "tackles_won": 0.1755,
                "tackles": 0.2679,
                "clearances": 0.3065,
                "total_contest": 0.7727,
                "won_contest": 0.2267,
                "challenges_lost": 0.406,
                "fouls": 0.6285,
                "fouls_drawn": 0.8235,
                "blocks": 0.0,
                "big_chances_created": 0.0492,
                "big_chances_missed": 0.1765,
                "xgot": 0.0789,
                "ball_carries": 8.6568,
                "total_progression": 57.4567,
                "progressive_carries": 1.8937,
                "shots_off_target": 0.6456,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 28.25
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.74 (squad xG sum 1.2479, xG scale 1.3975, xA scale 1.2613, team xA 1.40 = 0.80 x lambda)",
              "stats": {
                "key_pass": 0.8086,
                "expected_assists": 0.1369,
                "assist_rate": 0.1066,
                "assists": 0,
                "expected_goals": 0.1146,
                "goal_rate": 0.1115,
                "goals": 0,
                "shots_on_target": 0.2734,
                "total_shots": 0.919,
                "rating": 6.7526,
                "minutes": 28.25,
                "total_pass": 11.1965,
                "accurate_pass": 9.5194,
                "duels_won": 1.3147,
                "total_long_balls": 0.4166,
                "accurate_long_balls": 0.2975,
                "total_own_half_passes": 3.0037,
                "accurate_own_half_passes": 2.5549,
                "total_opp_half_passes": 8.1928,
                "accurate_opp_half_passes": 6.9647,
                "crosses_total": 1.5221,
                "crosses_accurate": 0.0226,
                "touches": 19.1711,
                "possession_lost": 5.6594,
                "dispossessed": 0.1509,
                "duels_lost": 1.7647,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.386,
                "tackles_won": 0.1755,
                "tackles": 0.2679,
                "clearances": 0.3065,
                "total_contest": 0.7727,
                "won_contest": 0.2267,
                "challenges_lost": 0.406,
                "fouls": 0.6285,
                "fouls_drawn": 0.8235,
                "blocks": 0.0,
                "big_chances_created": 0.0492,
                "big_chances_missed": 0.1765,
                "xgot": 0.1103,
                "ball_carries": 8.6568,
                "total_progression": 57.4567,
                "progressive_carries": 1.8937,
                "shots_off_target": 0.6456,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 28.25,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.335,
                "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": 1.2235,
                "creation_factor": 0.988
              },
              "params": {
                "team_lambda": 1.744,
                "squad_xg_sum": 1.2479,
                "squad_xa_sum": 1.1061,
                "team_expected_assists": 1.3952,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3975,
                "xa_scale": 1.2613,
                "opponent_lambda": 3.394,
                "scoreline_reset": true,
                "appearance_weight": 0.573
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.082,
                  "after": 0.1146
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1085,
                  "after": 0.1369
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 16 by projected rating, fifa_overall 76.0; not used by the projection)",
              "stats": {
                "key_pass": 0.8086,
                "expected_assists": 0.1369,
                "assist_rate": 0.1066,
                "assists": 0,
                "expected_goals": 0.1146,
                "goal_rate": 0.1115,
                "goals": 0,
                "shots_on_target": 0.2734,
                "total_shots": 0.919,
                "rating": 6.7526,
                "minutes": 28.25,
                "total_pass": 11.1965,
                "accurate_pass": 9.5194,
                "duels_won": 1.3147,
                "total_long_balls": 0.4166,
                "accurate_long_balls": 0.2975,
                "total_own_half_passes": 3.0037,
                "accurate_own_half_passes": 2.5549,
                "total_opp_half_passes": 8.1928,
                "accurate_opp_half_passes": 6.9647,
                "crosses_total": 1.5221,
                "crosses_accurate": 0.0226,
                "touches": 19.1711,
                "possession_lost": 5.6594,
                "dispossessed": 0.1509,
                "duels_lost": 1.7647,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.386,
                "tackles_won": 0.1755,
                "tackles": 0.2679,
                "clearances": 0.3065,
                "total_contest": 0.7727,
                "won_contest": 0.2267,
                "challenges_lost": 0.406,
                "fouls": 0.6285,
                "fouls_drawn": 0.8235,
                "blocks": 0.0,
                "big_chances_created": 0.0492,
                "big_chances_missed": 0.1765,
                "xgot": 0.1103,
                "ball_carries": 8.6568,
                "total_progression": 57.4567,
                "progressive_carries": 1.8937,
                "shots_off_target": 0.6456,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 28.25,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.335,
                "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": 1.2235,
                "creation_factor": 0.988,
                "fifa_overall": 76.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3318,
                "fifa_rank": 1967.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 76.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.8086,
                "expected_assists": 0.1369,
                "assist_rate": 0.1066,
                "assists": 0,
                "expected_goals": 0.1146,
                "goal_rate": 0.1115,
                "goals": 0,
                "shots_on_target": 0.2734,
                "total_shots": 0.919,
                "rating": 6.7526,
                "minutes": 28.25,
                "total_pass": 11.1965,
                "accurate_pass": 9.5194,
                "duels_won": 1.3147,
                "total_long_balls": 0.4166,
                "accurate_long_balls": 0.2975,
                "total_own_half_passes": 3.0037,
                "accurate_own_half_passes": 2.5549,
                "total_opp_half_passes": 8.1928,
                "accurate_opp_half_passes": 6.9647,
                "crosses_total": 1.5221,
                "crosses_accurate": 0.0226,
                "touches": 19.1711,
                "possession_lost": 5.6594,
                "dispossessed": 0.1509,
                "duels_lost": 1.7647,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.386,
                "tackles_won": 0.1755,
                "tackles": 0.2679,
                "clearances": 0.3065,
                "total_contest": 0.7727,
                "won_contest": 0.2267,
                "challenges_lost": 0.406,
                "fouls": 0.6285,
                "fouls_drawn": 0.8235,
                "blocks": 0.0,
                "big_chances_created": 0.0492,
                "big_chances_missed": 0.1765,
                "xgot": 0.1103,
                "ball_carries": 8.6568,
                "total_progression": 57.4567,
                "progressive_carries": 1.8937,
                "shots_off_target": 0.6456,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 28.25,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.335,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.062,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2235,
                "creation_factor": 0.988,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.062,
                "scorer_weight": 0.0803,
                "squad_weight_total": 1.8926,
                "weight_share": 0.0425,
                "finishing_factor": 1.2235,
                "appearance_weight": 0.573,
                "weight_rank": 6,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alberto Moleiro",
                    "weight": 0.4579,
                    "already": 0,
                    "effective_weight": 0.4579,
                    "runner_up": "Ayoze Pérez",
                    "runner_up_effective_weight": 0.4407
                  }
                ]
              }
            },
            {
              "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.8086,
                "expected_assists": 0.1369,
                "assist_rate": 0.1066,
                "assists": 0,
                "expected_goals": 0.1146,
                "goal_rate": 0.1115,
                "goals": 0,
                "shots_on_target": 0.2734,
                "total_shots": 0.919,
                "rating": 6.7526,
                "minutes": 28.25,
                "total_pass": 11.1965,
                "accurate_pass": 9.5194,
                "duels_won": 1.3147,
                "total_long_balls": 0.4166,
                "accurate_long_balls": 0.2975,
                "total_own_half_passes": 3.0037,
                "accurate_own_half_passes": 2.5549,
                "total_opp_half_passes": 8.1928,
                "accurate_opp_half_passes": 6.9647,
                "crosses_total": 1.5221,
                "crosses_accurate": 0.0226,
                "touches": 19.1711,
                "possession_lost": 5.6594,
                "dispossessed": 0.1509,
                "duels_lost": 1.7647,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.386,
                "tackles_won": 0.1755,
                "tackles": 0.2679,
                "clearances": 0.3065,
                "total_contest": 0.7727,
                "won_contest": 0.2267,
                "challenges_lost": 0.406,
                "fouls": 0.6285,
                "fouls_drawn": 0.8235,
                "blocks": 0.0,
                "big_chances_created": 0.0492,
                "big_chances_missed": 0.1765,
                "xgot": 0.1103,
                "ball_carries": 8.6568,
                "total_progression": 57.4567,
                "progressive_carries": 1.8937,
                "shots_off_target": 0.6456,
                "bench_appearance_probability": 0.573,
                "bench_expected_minutes": 28.25,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.335,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.062,
                "projected_assists": 0,
                "assist_probability": 0.0733,
                "finishing_factor": 1.2235,
                "creation_factor": 0.988,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0733,
                "provider_weight": 0.0775,
                "squad_weight_total": 1.4371,
                "weight_share": 0.0539,
                "creation_factor": 0.988,
                "appearance_weight": 0.573,
                "weight_rank": 9,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ilias Akhomach",
                    "weight": 0.2045,
                    "already": 0,
                    "effective_weight": 0.2045,
                    "runner_up": "Renato Veiga",
                    "runner_up_effective_weight": 0.1341,
                    "blocked_own_goal": [
                      "Alberto Moleiro"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Manor Solomon": {
          "player_id": 862223,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 6,
          "height": 167,
          "market_value": 7800000,
          "stats": {
            "expected_goals": 0.1277,
            "goal_rate": 0.0945,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0677,
            "key_pass": 1,
            "rating": 6.6402,
            "minutes": 26,
            "total_pass": 10,
            "accurate_pass": 9,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 6,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 18,
            "possession_lost": 5.0493,
            "dispossessed": 0.1406,
            "duels_lost": 1,
            "aerial_lost": 0,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.2076,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0832,
            "offsides": 0,
            "ball_carries": 7,
            "total_progression": 7,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.569,
            "bench_expected_minutes": 25.53,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.335,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0682,
            "projected_assists": 0,
            "assist_probability": 0.0372,
            "finishing_factor": 1.0219,
            "creation_factor": 1.25,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "match_id": 14083159,
              "match_date": "2025-12-06",
              "home_team": "Villarreal",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Getafe",
              "stats": {
                "minutes": 20,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0336,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083134,
              "match_date": "2025-11-22",
              "home_team": "Villarreal",
              "away_team": "Mallorca",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 16,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0128,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 8,
                "tackles": 1,
                "tackles_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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083690,
              "match_date": "2025-10-18",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 9,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0862,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 5,
                "key_pass": 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": 14083586,
              "match_date": "2025-09-27",
              "home_team": "Villarreal",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 72,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0272,
                "total_shots": 0,
                "total_pass": 17,
                "accurate_pass": 15,
                "duels_won": 4,
                "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": 14083443,
              "match_date": "2025-09-23",
              "home_team": "Sevilla",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 13,
                "rating": 7.4,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3877,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_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"
            },
            {
              "match_id": 14083351,
              "match_date": "2025-09-20",
              "home_team": "Villarreal",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 23,
                "rating": 7.0,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0302,
                "expected_assists": 0.2625,
                "total_shots": 1,
                "total_pass": 8,
                "accurate_pass": 6,
                "key_pass": 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": 2850,
            "combined_rank_score": 964.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 137.0,
            "sofascore_rating": 7.3571,
            "sofascore_appearances": 7.0,
            "fifa_rank": 1792.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6402,
            "source_file": "data/player_rankings.csv",
            "player_name": "Manor Solomon",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Barrenetxea",
                  "ranking": 2845
                },
                {
                  "player_name": "Sergio Canales",
                  "ranking": 2846
                },
                {
                  "player_name": "Josip Šutalo",
                  "ranking": 2847
                },
                {
                  "player_name": "Orlando Mosquera",
                  "ranking": 2848
                },
                {
                  "player_name": "Kristian Dimitrov",
                  "ranking": 2849
                }
              ],
              "lower": [
                {
                  "player_name": "Jørgen Strand Larsen",
                  "ranking": 2851
                },
                {
                  "player_name": "Ulugbek Khoshimov",
                  "ranking": 2852
                },
                {
                  "player_name": "Kian Ronan",
                  "ranking": 2853
                },
                {
                  "player_name": "Carlos Richards",
                  "ranking": 2854
                },
                {
                  "player_name": "Cheick Doucouré",
                  "ranking": 2855
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.625,
          "history_matches": 6,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "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": 6,
            "data_confidence": 0.625,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.52527948921528,
            "bench_appearance_prob": 0.5693308858734218,
            "market_value_adjustment": 0.9988,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (6 historical appearances) to 25.5 expected mins (appearance prob 0.57)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0619,
                "goals": 0.0641,
                "goal_rate": 0.0641,
                "shots_on_target": 0.21,
                "total_shots": 0.5771,
                "expected_assists": 0.0365,
                "key_pass": 0.3757,
                "rating": 6.6402,
                "minutes": 17.29,
                "total_pass": 6.7957,
                "accurate_pass": 5.8093,
                "duels_won": 1.0095,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.3396,
                "accurate_opp_half_passes": 4.3532,
                "crosses_total": 1.0275,
                "crosses_accurate": 0.3356,
                "touches": 12.0454,
                "possession_lost": 3.4243,
                "dispossessed": 0.1408,
                "duels_lost": 0.9116,
                "aerial_lost": 0.0,
                "total_contest": 1.1159,
                "won_contest": 0.5107,
                "ball_recovery": 1.152,
                "challenges_lost": 0.1656,
                "fouls": 0.0,
                "fouls_drawn": 0.2696,
                "assists": 0.1408,
                "assist_rate": 0.1408,
                "interceptions": 0.0,
                "tackles_won": 0.2292,
                "tackles": 0.2292,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1927,
                "big_chances_missed": 0.0,
                "xgot": 0.0403,
                "offsides": 0.2696,
                "ball_carries": 4.4595,
                "total_progression": 4.6086,
                "shots_off_target": 0.3671
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-10T10:06:30.670657+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 603,
                    "rows": 15398
                  }
                },
                "player_history": [
                  {
                    "match_date": "2025-12-06",
                    "opponent": "Getafe",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.2408,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2025-11-22",
                    "opponent": "Mallorca",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.2047,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2025-10-18",
                    "opponent": "Real Betis",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.174,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2025-09-27",
                    "opponent": "Athletic Club",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.1479,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2025-09-23",
                    "opponent": "Sevilla",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.1257,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2025-09-20",
                    "opponent": "Osasuna",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.1069,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 0.0,
                  "expectedGoals": 0.052,
                  "totalOppositionHalfPasses": 6.2229,
                  "accurateOppositionHalfPasses": 5.2539,
                  "accuratePass": 7.2939,
                  "totalShots": 0.2326
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.06193104013800621,
                    "model_output": 0.0619,
                    "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.0948
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.018
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0043
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0034
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0028
                        }
                      ],
                      "others": -0.0138,
                      "total": 0.0619,
                      "log_link": true,
                      "margin_base": -1.614679,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.646901
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.189151
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.051422
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.042124
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.036705
                        }
                      ],
                      "others_margin": -0.200754
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.0640861913561821,
                    "model_output": 0.0641,
                    "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.0834
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0205
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0099
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0053
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0036
                        }
                      ],
                      "others": -0.0169,
                      "total": 0.0641,
                      "log_link": true,
                      "margin_base": -1.590865,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.52638
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.186985
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.103882
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.06075
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.043232
                        }
                      ],
                      "others_margin": -0.235433
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.20995546877384186,
                    "model_output": 0.21,
                    "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.2199
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0241
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.022
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0177
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0104
                        }
                      ],
                      "others": -0.0537,
                      "total": 0.21,
                      "log_link": true,
                      "margin_base": -0.621795,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.526934
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.079004
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.078191
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.067554
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.040376
                        }
                      ],
                      "others_margin": -0.227757
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.577052116394043,
                    "model_output": 0.5771,
                    "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.49
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1318
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.044
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0289
                        },
                        {
                          "name": "shotOffTarget",
                          "contribution": -0.0195
                        }
                      ],
                      "others": -0.0874,
                      "total": 0.5771,
                      "log_link": false,
                      "margin_base": 1.378707,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.490009
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.131751
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.04402
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.028867
                        },
                        {
                          "name": "shotOffTarget",
                          "margin": -0.019481
                        }
                      ],
                      "others_margin": -0.087526
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03647364675998688,
                    "model_output": 0.0365,
                    "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.0174
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0049
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.003
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0026
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0023
                        }
                      ],
                      "others": -0.0082,
                      "total": 0.0365,
                      "log_link": true,
                      "margin_base": -2.744455,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.314803
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.11031
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.068745
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.060239
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.053125
                        }
                      ],
                      "others_margin": -0.203229
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.3756578266620636,
                    "model_output": 0.3757,
                    "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.2568
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.028
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0231
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0222
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0165
                        }
                      ],
                      "others": 0.0021,
                      "total": 0.3757,
                      "log_link": true,
                      "margin_base": -0.394559,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.479766
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.069504
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.057576
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.055359
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.043154
                        }
                      ],
                      "others_margin": 0.005691
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.640173435211182,
                    "model_output": 6.6402,
                    "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.0462
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0132
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0122
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0119
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0115
                        }
                      ],
                      "others": -0.027,
                      "total": 6.6402,
                      "log_link": false,
                      "margin_base": 6.762162,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.04624
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.013153
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.012197
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.011947
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.011501
                        }
                      ],
                      "others_margin": -0.02695
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 6,
                  "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 0.9988, quality 0.496)",
              "stats": {
                "expected_goals": 0.0619,
                "goals": 0.064,
                "goal_rate": 0.064,
                "shots_on_target": 0.2097,
                "total_shots": 0.5764,
                "expected_assists": 0.0364,
                "key_pass": 0.3752,
                "rating": 6.6402,
                "minutes": 17.29,
                "total_pass": 6.7875,
                "accurate_pass": 5.8023,
                "duels_won": 1.0083,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 5.3332,
                "accurate_opp_half_passes": 4.348,
                "crosses_total": 1.0263,
                "crosses_accurate": 0.3352,
                "touches": 12.0309,
                "possession_lost": 3.4202,
                "dispossessed": 0.1406,
                "duels_lost": 0.9105,
                "aerial_lost": 0.0,
                "total_contest": 1.1146,
                "won_contest": 0.5101,
                "ball_recovery": 1.1506,
                "challenges_lost": 0.1654,
                "fouls": 0.0,
                "fouls_drawn": 0.2693,
                "assists": 0.1406,
                "assist_rate": 0.1406,
                "interceptions": 0.0,
                "tackles_won": 0.2289,
                "tackles": 0.2289,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1925,
                "big_chances_missed": 0.0,
                "xgot": 0.0403,
                "offsides": 0.2693,
                "ball_carries": 4.4541,
                "total_progression": 4.6031,
                "shots_off_target": 0.3667
              },
              "params": {
                "market_value_eur": 7800000,
                "quality_factor": 0.4963,
                "boost_factor": 0.9988,
                "reference_quality": 0.505,
                "history_matches": 6,
                "history_shrink": 0.4545,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 17.3 to 25.5 expected minutes (appearance prob 0.57)",
              "stats": {
                "expected_goals": 0.0914,
                "goals": 0.0945,
                "goal_rate": 0.0945,
                "shots_on_target": 0.3096,
                "total_shots": 0.851,
                "expected_assists": 0.0537,
                "key_pass": 0.5539,
                "rating": 6.6402,
                "minutes": 25.53,
                "total_pass": 10.0204,
                "accurate_pass": 8.566,
                "duels_won": 1.4886,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.8734,
                "accurate_opp_half_passes": 6.419,
                "crosses_total": 1.5151,
                "crosses_accurate": 0.4949,
                "touches": 17.7613,
                "possession_lost": 5.0493,
                "dispossessed": 0.1406,
                "duels_lost": 1.3442,
                "aerial_lost": 0.0,
                "total_contest": 1.6455,
                "won_contest": 0.7531,
                "ball_recovery": 1.6986,
                "challenges_lost": 0.1654,
                "fouls": 0.0,
                "fouls_drawn": 0.3976,
                "assists": 0.2076,
                "assist_rate": 0.2076,
                "interceptions": 0.0,
                "tackles_won": 0.3379,
                "tackles": 0.3379,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.2842,
                "big_chances_missed": 0.0,
                "xgot": 0.0595,
                "offsides": 0.2693,
                "ball_carries": 6.5756,
                "total_progression": 6.7956,
                "shots_off_target": 0.5414,
                "bench_appearance_probability": 0.569,
                "bench_expected_minutes": 25.53
              },
              "params": {
                "expected_minutes": 25.53,
                "projection_minutes": 17.29,
                "minutes_scale": 1.4763,
                "appearance_probability": 0.569
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0914,
                "goals": 0.0945,
                "goal_rate": 0.0945,
                "shots_on_target": 0.3096,
                "total_shots": 0.851,
                "expected_assists": 0.0537,
                "key_pass": 0.5539,
                "rating": 6.6402,
                "minutes": 25.53,
                "total_pass": 10.0204,
                "accurate_pass": 8.566,
                "duels_won": 1.4886,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.8734,
                "accurate_opp_half_passes": 6.419,
                "crosses_total": 1.5151,
                "crosses_accurate": 0.4949,
                "touches": 17.7613,
                "possession_lost": 5.0493,
                "dispossessed": 0.1406,
                "duels_lost": 1.3442,
                "aerial_lost": 0.0,
                "total_contest": 1.6455,
                "won_contest": 0.7531,
                "ball_recovery": 1.6986,
                "challenges_lost": 0.1654,
                "fouls": 0.0,
                "fouls_drawn": 0.3976,
                "assists": 0.2076,
                "assist_rate": 0.2076,
                "interceptions": 0.0,
                "tackles_won": 0.3379,
                "tackles": 0.3379,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.2842,
                "big_chances_missed": 0.0,
                "xgot": 0.0595,
                "offsides": 0.2693,
                "ball_carries": 6.5756,
                "total_progression": 6.7956,
                "shots_off_target": 0.5414,
                "bench_appearance_probability": 0.569,
                "bench_expected_minutes": 25.53
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.74 (squad xG sum 1.2479, xG scale 1.3975, xA scale 1.2613, team xA 1.40 = 0.80 x lambda)",
              "stats": {
                "expected_goals": 0.1277,
                "goal_rate": 0.0945,
                "goals": 0,
                "shots_on_target": 0.3096,
                "total_shots": 0.851,
                "expected_assists": 0.0677,
                "key_pass": 0.5539,
                "rating": 6.6402,
                "minutes": 25.53,
                "total_pass": 10.0204,
                "accurate_pass": 8.566,
                "duels_won": 1.4886,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.8734,
                "accurate_opp_half_passes": 6.419,
                "crosses_total": 1.5151,
                "crosses_accurate": 0.4949,
                "touches": 17.7613,
                "possession_lost": 5.0493,
                "dispossessed": 0.1406,
                "duels_lost": 1.3442,
                "aerial_lost": 0.0,
                "total_contest": 1.6455,
                "won_contest": 0.7531,
                "ball_recovery": 1.6986,
                "challenges_lost": 0.1654,
                "fouls": 0.0,
                "fouls_drawn": 0.3976,
                "assist_rate": 0.2076,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.3379,
                "tackles": 0.3379,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.2842,
                "big_chances_missed": 0.0,
                "xgot": 0.0832,
                "offsides": 0.2693,
                "ball_carries": 6.5756,
                "total_progression": 6.7956,
                "shots_off_target": 0.5414,
                "bench_appearance_probability": 0.569,
                "bench_expected_minutes": 25.53,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.335,
                "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": 1.0219,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.744,
                "squad_xg_sum": 1.2479,
                "squad_xa_sum": 1.1061,
                "team_expected_assists": 1.3952,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3975,
                "xa_scale": 1.2613,
                "opponent_lambda": 3.394,
                "scoreline_reset": true,
                "appearance_weight": 0.569
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0914,
                  "after": 0.1277
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0537,
                  "after": 0.0677
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 18 by projected rating, fifa_overall 76.0; not used by the projection)",
              "stats": {
                "expected_goals": 0.1277,
                "goal_rate": 0.0945,
                "goals": 0,
                "shots_on_target": 0.3096,
                "total_shots": 0.851,
                "expected_assists": 0.0677,
                "key_pass": 0.5539,
                "rating": 6.6402,
                "minutes": 25.53,
                "total_pass": 10.0204,
                "accurate_pass": 8.566,
                "duels_won": 1.4886,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.8734,
                "accurate_opp_half_passes": 6.419,
                "crosses_total": 1.5151,
                "crosses_accurate": 0.4949,
                "touches": 17.7613,
                "possession_lost": 5.0493,
                "dispossessed": 0.1406,
                "duels_lost": 1.3442,
                "aerial_lost": 0.0,
                "total_contest": 1.6455,
                "won_contest": 0.7531,
                "ball_recovery": 1.6986,
                "challenges_lost": 0.1654,
                "fouls": 0.0,
                "fouls_drawn": 0.3976,
                "assist_rate": 0.2076,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.3379,
                "tackles": 0.3379,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.2842,
                "big_chances_missed": 0.0,
                "xgot": 0.0832,
                "offsides": 0.2693,
                "ball_carries": 6.5756,
                "total_progression": 6.7956,
                "shots_off_target": 0.5414,
                "bench_appearance_probability": 0.569,
                "bench_expected_minutes": 25.53,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.335,
                "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": 1.0219,
                "creation_factor": 1.25,
                "fifa_overall": 76.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": 2850,
                "fifa_rank": 1792.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 76.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.1277,
                "goal_rate": 0.0945,
                "goals": 0,
                "shots_on_target": 0.3096,
                "total_shots": 0.851,
                "expected_assists": 0.0677,
                "key_pass": 0.5539,
                "rating": 6.6402,
                "minutes": 25.53,
                "total_pass": 10.0204,
                "accurate_pass": 8.566,
                "duels_won": 1.4886,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.8734,
                "accurate_opp_half_passes": 6.419,
                "crosses_total": 1.5151,
                "crosses_accurate": 0.4949,
                "touches": 17.7613,
                "possession_lost": 5.0493,
                "dispossessed": 0.1406,
                "duels_lost": 1.3442,
                "aerial_lost": 0.0,
                "total_contest": 1.6455,
                "won_contest": 0.7531,
                "ball_recovery": 1.6986,
                "challenges_lost": 0.1654,
                "fouls": 0.0,
                "fouls_drawn": 0.3976,
                "assist_rate": 0.2076,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.3379,
                "tackles": 0.3379,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.2842,
                "big_chances_missed": 0.0,
                "xgot": 0.0832,
                "offsides": 0.2693,
                "ball_carries": 6.5756,
                "total_progression": 6.7956,
                "shots_off_target": 0.5414,
                "bench_appearance_probability": 0.569,
                "bench_expected_minutes": 25.53,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.335,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0682,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0219,
                "creation_factor": 1.25,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0682,
                "scorer_weight": 0.0743,
                "squad_weight_total": 1.8926,
                "weight_share": 0.0392,
                "finishing_factor": 1.0219,
                "appearance_weight": 0.569,
                "weight_rank": 7,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alberto Moleiro",
                    "weight": 0.4579,
                    "already": 0,
                    "effective_weight": 0.4579,
                    "runner_up": "Ayoze Pérez",
                    "runner_up_effective_weight": 0.4407
                  }
                ]
              }
            },
            {
              "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.1277,
                "goal_rate": 0.0945,
                "goals": 0,
                "shots_on_target": 0.3096,
                "total_shots": 0.851,
                "expected_assists": 0.0677,
                "key_pass": 0.5539,
                "rating": 6.6402,
                "minutes": 25.53,
                "total_pass": 10.0204,
                "accurate_pass": 8.566,
                "duels_won": 1.4886,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 7.8734,
                "accurate_opp_half_passes": 6.419,
                "crosses_total": 1.5151,
                "crosses_accurate": 0.4949,
                "touches": 17.7613,
                "possession_lost": 5.0493,
                "dispossessed": 0.1406,
                "duels_lost": 1.3442,
                "aerial_lost": 0.0,
                "total_contest": 1.6455,
                "won_contest": 0.7531,
                "ball_recovery": 1.6986,
                "challenges_lost": 0.1654,
                "fouls": 0.0,
                "fouls_drawn": 0.3976,
                "assist_rate": 0.2076,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.3379,
                "tackles": 0.3379,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.2842,
                "big_chances_missed": 0.0,
                "xgot": 0.0832,
                "offsides": 0.2693,
                "ball_carries": 6.5756,
                "total_progression": 6.7956,
                "shots_off_target": 0.5414,
                "bench_appearance_probability": 0.569,
                "bench_expected_minutes": 25.53,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.335,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0682,
                "projected_assists": 0,
                "assist_probability": 0.0372,
                "finishing_factor": 1.0219,
                "creation_factor": 1.25,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0372,
                "provider_weight": 0.0482,
                "squad_weight_total": 1.4371,
                "weight_share": 0.0335,
                "creation_factor": 1.25,
                "appearance_weight": 0.569,
                "weight_rank": 11,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ilias Akhomach",
                    "weight": 0.2045,
                    "already": 0,
                    "effective_weight": 0.2045,
                    "runner_up": "Renato Veiga",
                    "runner_up_effective_weight": 0.1341,
                    "blocked_own_goal": [
                      "Alberto Moleiro"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Nathan-Dylan Saliba": {
          "player_id": 1093229,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 24,
          "height": 173,
          "market_value": 9200000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0261,
            "assist_rate": 0.0278,
            "assists": 0,
            "expected_goals": 0.0377,
            "goal_rate": 0.0423,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7656,
            "minutes": 22,
            "total_pass": 42,
            "accurate_pass": 38,
            "duels_won": 5,
            "total_long_balls": 2,
            "accurate_long_balls": 2,
            "total_own_half_passes": 16,
            "accurate_own_half_passes": 16,
            "total_opp_half_passes": 25,
            "accurate_opp_half_passes": 22,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 54,
            "possession_lost": 6.4657,
            "dispossessed": 0.9612,
            "duels_lost": 3,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 3,
            "clearances": 1,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 13,
            "total_progression": 44,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.512,
            "bench_expected_minutes": 22.27,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.335,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0189,
            "projected_assists": 0,
            "assist_probability": 0.0132,
            "finishing_factor": 1.1987,
            "creation_factor": 1.1004,
            "fifa_overall": 71.0
          },
          "latest_10_games": [
            {
              "match_id": 16416294,
              "match_date": "2026-09-20",
              "home_team": "Villarreal",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1143,
                "expected_assists": 0.0184,
                "total_shots": 3,
                "shots_off_target": 1,
                "total_pass": 39,
                "accurate_pass": 36,
                "tackles": 5,
                "tackles_won": 2,
                "interceptions": 3,
                "aerial_won": 1,
                "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": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 80,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0195,
                "total_shots": 0,
                "total_pass": 43,
                "accurate_pass": 39,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Villarreal",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 36,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0253,
                "total_shots": 0,
                "total_pass": 37,
                "accurate_pass": 32,
                "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": 16416324,
              "match_date": "2026-09-05",
              "home_team": "Villarreal",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Villarreal",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1151,
                "expected_assists": 0.1364,
                "total_shots": 1,
                "total_pass": 73,
                "accurate_pass": 67,
                "key_pass": 1,
                "tackles": 5,
                "tackles_won": 3,
                "interceptions": 3,
                "clearances": 3,
                "aerial_won": 3,
                "duels_won": 10,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 4406,
            "combined_rank_score": 2430.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 4706.0,
            "fifa_overall": 71.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7656,
            "source_file": "data/player_rankings.csv",
            "player_name": "Nathan-Dylan Saliba",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Francés",
                  "ranking": 4401
                },
                {
                  "player_name": "Florin Tănase",
                  "ranking": 4402
                },
                {
                  "player_name": "Víctor García",
                  "ranking": 4403
                },
                {
                  "player_name": "Kings Kangwa",
                  "ranking": 4404
                },
                {
                  "player_name": "Soualiho Meïté",
                  "ranking": 4405
                }
              ],
              "lower": [
                {
                  "player_name": "Luca Koleosho",
                  "ranking": 4407
                },
                {
                  "player_name": "Anastasios Bakasetas",
                  "ranking": 4408
                },
                {
                  "player_name": "Rick van Drongelen",
                  "ranking": 4409
                },
                {
                  "player_name": "Rodrigo Echeverría",
                  "ranking": 4410
                },
                {
                  "player_name": "Romaine Mundle",
                  "ranking": 4411
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.5,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "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": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 22.271536137511767,
            "bench_appearance_prob": 0.5123425517050804,
            "market_value_adjustment": 1.0013,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (4 historical appearances) to 22.3 expected mins (appearance prob 0.51)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.316,
                "expected_assists": 0.0229,
                "assists": 0.0308,
                "assist_rate": 0.0308,
                "expected_goals": 0.0298,
                "goals": 0.0468,
                "goal_rate": 0.0468,
                "shots_on_target": 0.1057,
                "total_shots": 0.3544,
                "rating": 6.7656,
                "minutes": 24.67,
                "total_pass": 46.166,
                "accurate_pass": 41.8676,
                "duels_won": 5.6843,
                "total_long_balls": 2.1587,
                "accurate_long_balls": 1.7393,
                "total_own_half_passes": 18.1723,
                "accurate_own_half_passes": 17.352,
                "total_opp_half_passes": 27.9937,
                "accurate_opp_half_passes": 24.5157,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 59.952,
                "possession_lost": 7.1527,
                "dispossessed": 0.96,
                "duels_lost": 3.7803,
                "aerial_won": 1.1587,
                "aerial_lost": 0.5065,
                "interceptions": 1.5196,
                "tackles_won": 1.4725,
                "tackles": 3.0661,
                "clearances": 1.1116,
                "total_contest": 1.5806,
                "won_contest": 0.4595,
                "challenges_lost": 0.3854,
                "fouls": 0.8073,
                "fouls_drawn": 1.0,
                "blocks": 0.1927,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 14.5101,
                "total_progression": 48.9681,
                "progressive_carries": 1.04,
                "shots_off_target": 0.2487
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-10T10:05:58.420391+00:00",
                  "trained_on": {
                    "matches": 1318,
                    "players": 892,
                    "rows": 23283
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Málaga CF",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Real Betis",
                    "minutes": 36.0,
                    "is_starting": false,
                    "weight": 0.2267,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1927,
                    "rating": 7.7
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "totalShots": 1.1342,
                  "creative_index": 0.1029,
                  "expectedGoals": 0.0581,
                  "expectedAssists": 0.043,
                  "onTargetScoringAttempt": 0.0
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.3159984052181244,
                    "model_output": 0.316,
                    "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.3828
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0466
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0359
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0238
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0202
                        }
                      ],
                      "others": -0.0609,
                      "total": 0.316,
                      "log_link": true,
                      "margin_base": -0.120816,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.56556
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.097146
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.081904
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.0583
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.052301
                        }
                      ],
                      "others_margin": -0.175991
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.02285037748515606,
                    "model_output": 0.0229,
                    "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.0387
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0104
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0035
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0024
                        },
                        {
                          "name": "goalAssist",
                          "contribution": -0.0012
                        }
                      ],
                      "others": -0.0067,
                      "total": 0.0229,
                      "log_link": true,
                      "margin_base": -2.456047,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.600614
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.250918
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.100182
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.074658
                        },
                        {
                          "name": "goalAssist",
                          "margin": -0.039793
                        }
                      ],
                      "others_margin": -0.256575
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.030772078782320023,
                    "model_output": 0.0308,
                    "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.0201
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0142
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.004
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0037
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0034
                        }
                      ],
                      "others": -0.009,
                      "total": 0.0308,
                      "log_link": true,
                      "margin_base": -2.462406,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.268372
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.246466
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.081266
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.081131
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.0807
                        }
                      ],
                      "others_margin": -0.260805
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.029836736619472504,
                    "model_output": 0.0298,
                    "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.0393
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0104
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0054
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0043
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0033
                        }
                      ],
                      "others": -0.0127,
                      "total": 0.0298,
                      "log_link": true,
                      "margin_base": -2.359917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.537318
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.208427
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.113958
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.090202
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.074239
                        }
                      ],
                      "others_margin": -0.355869
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.04681028053164482,
                    "model_output": 0.0468,
                    "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.0299
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.01
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0098
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0066
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0041
                        }
                      ],
                      "others": -0.0104,
                      "total": 0.0468,
                      "log_link": true,
                      "margin_base": -2.326414,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.366023
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.137373
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.135251
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.1016
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.069567
                        }
                      ],
                      "others_margin": -0.20017
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.10572756826877594,
                    "model_output": 0.1057,
                    "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.1445
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0284
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0195
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.014
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0128
                        }
                      ],
                      "others": -0.0559,
                      "total": 0.1057,
                      "log_link": true,
                      "margin_base": -1.127039,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.590726
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.14714
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.098349
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.077099
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.076183
                        }
                      ],
                      "others_margin": -0.424633
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.3544071614742279,
                    "model_output": 0.3544,
                    "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.3886
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0507
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0446
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0306
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0253
                        }
                      ],
                      "others": -0.1855,
                      "total": 0.3544,
                      "log_link": false,
                      "margin_base": 0.990465,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.38864
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.050667
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.044585
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.030626
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.025278
                        }
                      ],
                      "others_margin": -0.18543
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.765617370605469,
                    "model_output": 6.7656,
                    "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.1116
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0885
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0233
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0193
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0166
                        }
                      ],
                      "others": -0.0396,
                      "total": 6.7656,
                      "log_link": false,
                      "margin_base": 6.848871,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.111641
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.088517
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.023274
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.019258
                        },
                        {
                          "name": "rating",
                          "margin": -0.016645
                        }
                      ],
                      "others_margin": -0.039468
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 4,
                  "role_matches": 1,
                  "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.0013, quality 0.513)",
              "stats": {
                "key_pass": 0.3164,
                "expected_assists": 0.0229,
                "assists": 0.0308,
                "assist_rate": 0.0308,
                "expected_goals": 0.0299,
                "goals": 0.0469,
                "goal_rate": 0.0469,
                "shots_on_target": 0.1059,
                "total_shots": 0.3549,
                "rating": 6.7656,
                "minutes": 24.67,
                "total_pass": 46.226,
                "accurate_pass": 41.922,
                "duels_won": 5.6917,
                "total_long_balls": 2.1615,
                "accurate_long_balls": 1.7416,
                "total_own_half_passes": 18.1959,
                "accurate_own_half_passes": 17.3746,
                "total_opp_half_passes": 28.0301,
                "accurate_opp_half_passes": 24.5476,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 60.0299,
                "possession_lost": 7.162,
                "dispossessed": 0.9612,
                "duels_lost": 3.7852,
                "aerial_won": 1.1602,
                "aerial_lost": 0.5072,
                "interceptions": 1.5216,
                "tackles_won": 1.4744,
                "tackles": 3.0701,
                "clearances": 1.113,
                "total_contest": 1.5827,
                "won_contest": 0.4601,
                "challenges_lost": 0.3859,
                "fouls": 0.8083,
                "fouls_drawn": 1.0013,
                "blocks": 0.193,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 14.529,
                "total_progression": 49.0318,
                "progressive_carries": 1.0414,
                "shots_off_target": 0.249
              },
              "params": {
                "market_value_eur": 9200000,
                "quality_factor": 0.513,
                "boost_factor": 1.0013,
                "reference_quality": 0.505,
                "history_matches": 4,
                "history_shrink": 0.5556,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 24.7 to 22.3 expected minutes (appearance prob 0.51)",
              "stats": {
                "key_pass": 0.2856,
                "expected_assists": 0.0207,
                "assists": 0.0278,
                "assist_rate": 0.0278,
                "expected_goals": 0.027,
                "goals": 0.0423,
                "goal_rate": 0.0423,
                "shots_on_target": 0.0956,
                "total_shots": 0.3204,
                "rating": 6.7656,
                "minutes": 22.27,
                "total_pass": 41.7318,
                "accurate_pass": 37.8463,
                "duels_won": 5.1383,
                "total_long_balls": 1.9514,
                "accurate_long_balls": 1.5723,
                "total_own_half_passes": 16.4269,
                "accurate_own_half_passes": 15.6854,
                "total_opp_half_passes": 25.305,
                "accurate_opp_half_passes": 22.161,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 54.1937,
                "possession_lost": 6.4657,
                "dispossessed": 0.9612,
                "duels_lost": 3.4172,
                "aerial_won": 1.0474,
                "aerial_lost": 0.5072,
                "interceptions": 1.3737,
                "tackles_won": 1.3311,
                "tackles": 2.7716,
                "clearances": 1.0048,
                "total_contest": 1.4288,
                "won_contest": 0.4154,
                "challenges_lost": 0.3859,
                "fouls": 0.7297,
                "fouls_drawn": 0.904,
                "blocks": 0.1742,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.1165,
                "total_progression": 44.2648,
                "progressive_carries": 0.9402,
                "shots_off_target": 0.2248,
                "bench_appearance_probability": 0.512,
                "bench_expected_minutes": 22.27
              },
              "params": {
                "expected_minutes": 22.27,
                "projection_minutes": 24.67,
                "minutes_scale": 0.9028,
                "appearance_probability": 0.512
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.2856,
                "expected_assists": 0.0207,
                "assists": 0.0278,
                "assist_rate": 0.0278,
                "expected_goals": 0.027,
                "goals": 0.0423,
                "goal_rate": 0.0423,
                "shots_on_target": 0.0956,
                "total_shots": 0.3204,
                "rating": 6.7656,
                "minutes": 22.27,
                "total_pass": 41.7318,
                "accurate_pass": 37.8463,
                "duels_won": 5.1383,
                "total_long_balls": 1.9514,
                "accurate_long_balls": 1.5723,
                "total_own_half_passes": 16.4269,
                "accurate_own_half_passes": 15.6854,
                "total_opp_half_passes": 25.305,
                "accurate_opp_half_passes": 22.161,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 54.1937,
                "possession_lost": 6.4657,
                "dispossessed": 0.9612,
                "duels_lost": 3.4172,
                "aerial_won": 1.0474,
                "aerial_lost": 0.5072,
                "interceptions": 1.3737,
                "tackles_won": 1.3311,
                "tackles": 2.7716,
                "clearances": 1.0048,
                "total_contest": 1.4288,
                "won_contest": 0.4154,
                "challenges_lost": 0.3859,
                "fouls": 0.7297,
                "fouls_drawn": 0.904,
                "blocks": 0.1742,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.1165,
                "total_progression": 44.2648,
                "progressive_carries": 0.9402,
                "shots_off_target": 0.2248,
                "bench_appearance_probability": 0.512,
                "bench_expected_minutes": 22.27
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled so squad sum equals team lambda 1.74 (squad xG sum 1.2479, xG scale 1.3975, xA scale 1.2613, team xA 1.40 = 0.80 x lambda)",
              "stats": {
                "key_pass": 0.2856,
                "expected_assists": 0.0261,
                "assist_rate": 0.0278,
                "assists": 0,
                "expected_goals": 0.0377,
                "goal_rate": 0.0423,
                "goals": 0,
                "shots_on_target": 0.0956,
                "total_shots": 0.3204,
                "rating": 6.7656,
                "minutes": 22.27,
                "total_pass": 41.7318,
                "accurate_pass": 37.8463,
                "duels_won": 5.1383,
                "total_long_balls": 1.9514,
                "accurate_long_balls": 1.5723,
                "total_own_half_passes": 16.4269,
                "accurate_own_half_passes": 15.6854,
                "total_opp_half_passes": 25.305,
                "accurate_opp_half_passes": 22.161,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 54.1937,
                "possession_lost": 6.4657,
                "dispossessed": 0.9612,
                "duels_lost": 3.4172,
                "aerial_won": 1.0474,
                "aerial_lost": 0.5072,
                "interceptions": 1.3737,
                "tackles_won": 1.3311,
                "tackles": 2.7716,
                "clearances": 1.0048,
                "total_contest": 1.4288,
                "won_contest": 0.4154,
                "challenges_lost": 0.3859,
                "fouls": 0.7297,
                "fouls_drawn": 0.904,
                "blocks": 0.1742,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.1165,
                "total_progression": 44.2648,
                "progressive_carries": 0.9402,
                "shots_off_target": 0.2248,
                "bench_appearance_probability": 0.512,
                "bench_expected_minutes": 22.27,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.335,
                "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": 1.1987,
                "creation_factor": 1.1004
              },
              "params": {
                "team_lambda": 1.744,
                "squad_xg_sum": 1.2479,
                "squad_xa_sum": 1.1061,
                "team_expected_assists": 1.3952,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.3975,
                "xa_scale": 1.2613,
                "opponent_lambda": 3.394,
                "scoreline_reset": true,
                "appearance_weight": 0.512
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.027,
                  "after": 0.0377
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0207,
                  "after": 0.0261
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Global ranking attached for display (match squad rank 15 by projected rating, fifa_overall 71.0; not used by the projection)",
              "stats": {
                "key_pass": 0.2856,
                "expected_assists": 0.0261,
                "assist_rate": 0.0278,
                "assists": 0,
                "expected_goals": 0.0377,
                "goal_rate": 0.0423,
                "goals": 0,
                "shots_on_target": 0.0956,
                "total_shots": 0.3204,
                "rating": 6.7656,
                "minutes": 22.27,
                "total_pass": 41.7318,
                "accurate_pass": 37.8463,
                "duels_won": 5.1383,
                "total_long_balls": 1.9514,
                "accurate_long_balls": 1.5723,
                "total_own_half_passes": 16.4269,
                "accurate_own_half_passes": 15.6854,
                "total_opp_half_passes": 25.305,
                "accurate_opp_half_passes": 22.161,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 54.1937,
                "possession_lost": 6.4657,
                "dispossessed": 0.9612,
                "duels_lost": 3.4172,
                "aerial_won": 1.0474,
                "aerial_lost": 0.5072,
                "interceptions": 1.3737,
                "tackles_won": 1.3311,
                "tackles": 2.7716,
                "clearances": 1.0048,
                "total_contest": 1.4288,
                "won_contest": 0.4154,
                "challenges_lost": 0.3859,
                "fouls": 0.7297,
                "fouls_drawn": 0.904,
                "blocks": 0.1742,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.1165,
                "total_progression": 44.2648,
                "progressive_carries": 0.9402,
                "shots_off_target": 0.2248,
                "bench_appearance_probability": 0.512,
                "bench_expected_minutes": 22.27,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.335,
                "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": 1.1987,
                "creation_factor": 1.1004,
                "fifa_overall": 71.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": 4406,
                "fifa_rank": 4706.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 71.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.2856,
                "expected_assists": 0.0261,
                "assist_rate": 0.0278,
                "assists": 0,
                "expected_goals": 0.0377,
                "goal_rate": 0.0423,
                "goals": 0,
                "shots_on_target": 0.0956,
                "total_shots": 0.3204,
                "rating": 6.7656,
                "minutes": 22.27,
                "total_pass": 41.7318,
                "accurate_pass": 37.8463,
                "duels_won": 5.1383,
                "total_long_balls": 1.9514,
                "accurate_long_balls": 1.5723,
                "total_own_half_passes": 16.4269,
                "accurate_own_half_passes": 15.6854,
                "total_opp_half_passes": 25.305,
                "accurate_opp_half_passes": 22.161,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 54.1937,
                "possession_lost": 6.4657,
                "dispossessed": 0.9612,
                "duels_lost": 3.4172,
                "aerial_won": 1.0474,
                "aerial_lost": 0.5072,
                "interceptions": 1.3737,
                "tackles_won": 1.3311,
                "tackles": 2.7716,
                "clearances": 1.0048,
                "total_contest": 1.4288,
                "won_contest": 0.4154,
                "challenges_lost": 0.3859,
                "fouls": 0.7297,
                "fouls_drawn": 0.904,
                "blocks": 0.1742,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.1165,
                "total_progression": 44.2648,
                "progressive_carries": 0.9402,
                "shots_off_target": 0.2248,
                "bench_appearance_probability": 0.512,
                "bench_expected_minutes": 22.27,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.335,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0189,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1987,
                "creation_factor": 1.1004,
                "fifa_overall": 71.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0189,
                "scorer_weight": 0.0231,
                "squad_weight_total": 1.8926,
                "weight_share": 0.0122,
                "finishing_factor": 1.1987,
                "appearance_weight": 0.512,
                "weight_rank": 11,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alberto Moleiro",
                    "weight": 0.4579,
                    "already": 0,
                    "effective_weight": 0.4579,
                    "runner_up": "Ayoze Pérez",
                    "runner_up_effective_weight": 0.4407
                  }
                ]
              }
            },
            {
              "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.2856,
                "expected_assists": 0.0261,
                "assist_rate": 0.0278,
                "assists": 0,
                "expected_goals": 0.0377,
                "goal_rate": 0.0423,
                "goals": 0,
                "shots_on_target": 0.0956,
                "total_shots": 0.3204,
                "rating": 6.7656,
                "minutes": 22.27,
                "total_pass": 41.7318,
                "accurate_pass": 37.8463,
                "duels_won": 5.1383,
                "total_long_balls": 1.9514,
                "accurate_long_balls": 1.5723,
                "total_own_half_passes": 16.4269,
                "accurate_own_half_passes": 15.6854,
                "total_opp_half_passes": 25.305,
                "accurate_opp_half_passes": 22.161,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 54.1937,
                "possession_lost": 6.4657,
                "dispossessed": 0.9612,
                "duels_lost": 3.4172,
                "aerial_won": 1.0474,
                "aerial_lost": 0.5072,
                "interceptions": 1.3737,
                "tackles_won": 1.3311,
                "tackles": 2.7716,
                "clearances": 1.0048,
                "total_contest": 1.4288,
                "won_contest": 0.4154,
                "challenges_lost": 0.3859,
                "fouls": 0.7297,
                "fouls_drawn": 0.904,
                "blocks": 0.1742,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 13.1165,
                "total_progression": 44.2648,
                "progressive_carries": 0.9402,
                "shots_off_target": 0.2248,
                "bench_appearance_probability": 0.512,
                "bench_expected_minutes": 22.27,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.335,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0189,
                "projected_assists": 0,
                "assist_probability": 0.0132,
                "finishing_factor": 1.1987,
                "creation_factor": 1.1004,
                "fifa_overall": 71.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0132,
                "provider_weight": 0.0147,
                "squad_weight_total": 1.4371,
                "weight_share": 0.0102,
                "creation_factor": 1.1004,
                "appearance_weight": 0.512,
                "weight_rank": 12,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Ilias Akhomach",
                    "weight": 0.2045,
                    "already": 0,
                    "effective_weight": 0.2045,
                    "runner_up": "Renato Veiga",
                    "runner_up_effective_weight": 0.1341,
                    "blocked_own_goal": [
                      "Alberto Moleiro"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 1,
        "expected_goals": 1.74,
        "expected_assists": 1.4,
        "total_shots": 13,
        "shots_on_target": 3,
        "total_passes": 523,
        "interceptions": 7,
        "tackles": 16,
        "avg_rating": 6.98,
        "possession_estimated_pct": 48.2,
        "pressing_actions_per_90": 7.1
      }
    }
  },
  "antagonist_report": {
    "home_attacking_duels": [
      {
        "attacker": "Arda Güler",
        "attacker_role": "LW",
        "attacker_market_value": 87000000,
        "attacker_height": 176,
        "attacker_skill_quality": 0.887,
        "defenders": [
          "Sergi Cardona"
        ],
        "defender_roles": [
          "RB"
        ],
        "def_skill_quality_avg": 0.506,
        "duel_zone": "Left Wing vs Right Back — Flank Battle",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.592,
        "xg_contribution": 0.2166,
        "xg_multiplier": 1.165,
        "shots_in_zone": 2.2,
        "dribbles_attempted": 4,
        "dribbles_successful": 2.1,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 2.7,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Sergi Cardona",
            "role": "RB",
            "market_value": 8600000,
            "tackles_attempted": 2.0,
            "tackles_won": 1.5,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.408
          }
        ],
        "duel_analysis": "Arda Güler (LW) is slightly favored against Sergi Cardona in a direct 1v1 contest. Duel win probability: 59%. The quality gap is significant (€87M vs €9M avg). Matchup xG multiplier ×1.17 (×1.00 = his usual level). Projected xG contribution: 0.217 — creating consistent moderate threat."
      },
      {
        "attacker": "Bernardo Silva",
        "attacker_role": "RW",
        "attacker_market_value": 21000000,
        "attacker_height": 173,
        "attacker_skill_quality": 0.641,
        "defenders": [
          "Santiago Mouriño"
        ],
        "defender_roles": [
          "LB"
        ],
        "def_skill_quality_avg": 0.625,
        "duel_zone": "Right Wing vs Left Back — Flank Battle",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.401,
        "xg_contribution": 0.0632,
        "xg_multiplier": 0.8844,
        "shots_in_zone": 1.7,
        "dribbles_attempted": 4,
        "dribbles_successful": 1.4,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 2.2,
        "fouls_drawn": 1.3,
        "pressing_intensity_on_attacker": "MEDIUM",
        "defender_stats": [
          {
            "player": "Santiago Mouriño",
            "role": "LB",
            "market_value": 19400000,
            "tackles_attempted": 2.1,
            "tackles_won": 1.7,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 1.0,
            "clearances_in_zone": 0.9,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.599
          }
        ],
        "duel_analysis": "Bernardo Silva (RW) faces tough defensive resistance against Santiago Mouriño in a direct 1v1 contest. Duel win probability: 40%.  Matchup xG multiplier ×0.88 (×1.00 = his usual level). Projected xG contribution: 0.063 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Jude Bellingham",
        "attacker_role": "CAM",
        "attacker_market_value": 151000000,
        "attacker_height": 188,
        "attacker_skill_quality": 0.899,
        "defenders": [
          "Pape Gueye"
        ],
        "defender_roles": [
          "CM"
        ],
        "def_skill_quality_avg": 0.775,
        "duel_zone": "CAM vs CM",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.47,
        "xg_contribution": 0.2069,
        "xg_multiplier": 1.0736,
        "shots_in_zone": 2.3,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.2,
        "aerial_duels": 2,
        "aerial_won": 1.2,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.4,
        "pressing_intensity_on_attacker": "HIGH",
        "defender_stats": [
          {
            "player": "Pape Gueye",
            "role": "CM",
            "market_value": 39000000,
            "tackles_attempted": 2.2,
            "tackles_won": 1.8,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.2,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.53
          }
        ],
        "duel_analysis": "Jude Bellingham (CAM) is slightly favored against Pape Gueye in a direct 1v1 contest. Duel win probability: 47%. The quality gap is significant (€151M vs €39M avg). Matchup xG multiplier ×1.07 (×1.00 = his usual level). Projected xG contribution: 0.207 — creating consistent moderate threat."
      },
      {
        "attacker": "Kylian Mbappé",
        "attacker_role": "ST",
        "attacker_market_value": 212000000,
        "attacker_height": 180,
        "attacker_skill_quality": 0.9,
        "defenders": [
          "Renato Veiga",
          "Pau Navarro"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.642,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.26,
        "xg_contribution": 0.7663,
        "xg_multiplier": 1.0884,
        "shots_in_zone": 2.4,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.5,
        "aerial_duels": 3,
        "aerial_won": 1.6,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.8,
        "pressing_intensity_on_attacker": "MEDIUM",
        "defender_stats": [
          {
            "player": "Renato Veiga",
            "role": "CB",
            "market_value": 29000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.0,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 1.0,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.74
          },
          {
            "player": "Pau Navarro",
            "role": "CB",
            "market_value": 14600000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.74
          }
        ],
        "duel_analysis": "Kylian Mbappé (ST) is slightly favored against Renato Veiga and Pau Navarro in a 2-defender block. Duel win probability: 26%. The quality gap is significant (€212M vs €22M avg). Matchup xG multiplier ×1.09 (×1.00 = his usual level). Projected xG contribution: 0.766 — creating consistent moderate threat."
      },
      {
        "attacker": "Vinícius Júnior",
        "attacker_role": "ST",
        "attacker_market_value": 146000000,
        "attacker_height": 176,
        "attacker_skill_quality": 0.899,
        "defenders": [
          "Renato Veiga",
          "Pau Navarro"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.642,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.244,
        "xg_contribution": 0.3248,
        "xg_multiplier": 1.0644,
        "shots_in_zone": 2.3,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.4,
        "aerial_duels": 3,
        "aerial_won": 1.4,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.8,
        "pressing_intensity_on_attacker": "MEDIUM",
        "defender_stats": [
          {
            "player": "Renato Veiga",
            "role": "CB",
            "market_value": 29000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.0,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.1,
            "clearances_in_zone": 1.0,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.756
          },
          {
            "player": "Pau Navarro",
            "role": "CB",
            "market_value": 14600000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.756
          }
        ],
        "duel_analysis": "Vinícius Júnior (ST) is slightly favored against Renato Veiga and Pau Navarro in a 2-defender block. Duel win probability: 24%. The quality gap is significant (€146M vs €22M avg). Matchup xG multiplier ×1.06 (×1.00 = his usual level). Projected xG contribution: 0.325 — creating consistent moderate threat."
      },
      {
        "attacker": "Aurélien Tchouaméni",
        "attacker_role": "CDM",
        "attacker_market_value": 73000000,
        "attacker_height": 188,
        "attacker_skill_quality": 0.875,
        "defenders": [
          "Pape Gueye"
        ],
        "defender_roles": [
          "CM"
        ],
        "def_skill_quality_avg": 0.775,
        "duel_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.444,
        "xg_contribution": 0.0532,
        "xg_multiplier": 1.065,
        "shots_in_zone": 1.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.8,
        "aerial_duels": 2,
        "aerial_won": 1.2,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.4,
        "pressing_intensity_on_attacker": "HIGH",
        "defender_stats": [
          {
            "player": "Pape Gueye",
            "role": "CM",
            "market_value": 39000000,
            "tackles_attempted": 2.2,
            "tackles_won": 1.8,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.2,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.556
          }
        ],
        "duel_analysis": "Aurélien Tchouaméni (CDM) is slightly favored against Pape Gueye in a direct 1v1 contest. Duel win probability: 44%. The quality gap is significant (€73M vs €39M avg). Matchup xG multiplier ×1.06 (×1.00 = his usual level). Projected xG contribution: 0.053 — creating consistent moderate threat."
      },
      {
        "attacker": "Denzel Dumfries",
        "attacker_role": "CDM",
        "attacker_market_value": 26000000,
        "attacker_height": 188,
        "attacker_skill_quality": 0.686,
        "defenders": [
          "Pape Gueye"
        ],
        "defender_roles": [
          "CM"
        ],
        "def_skill_quality_avg": 0.775,
        "duel_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.37,
        "xg_contribution": 0.084,
        "xg_multiplier": 0.9561,
        "shots_in_zone": 0.9,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.7,
        "aerial_duels": 2,
        "aerial_won": 1.2,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.4,
        "pressing_intensity_on_attacker": "HIGH",
        "defender_stats": [
          {
            "player": "Pape Gueye",
            "role": "CM",
            "market_value": 39000000,
            "tackles_attempted": 2.2,
            "tackles_won": 1.9,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.2,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.63
          }
        ],
        "duel_analysis": "Denzel Dumfries (CDM) is evenly matched against Pape Gueye in a direct 1v1 contest. Duel win probability: 37%.  Matchup xG multiplier ×0.96 (×1.00 = his usual level). Projected xG contribution: 0.084 — with neither side clearly dominant."
      }
    ],
    "away_attacking_duels": [
      {
        "attacker": "Ayoze Pérez",
        "attacker_role": "ST",
        "attacker_market_value": 5400000,
        "attacker_height": 180,
        "attacker_skill_quality": 0.467,
        "defenders": [
          "Ibrahima Konaté",
          "Antonio Rüdiger"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.643,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.2954,
        "xg_multiplier": 0.7836,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 1.6,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.5,
        "pressing_intensity_on_attacker": "MEDIUM",
        "defender_stats": [
          {
            "player": "Ibrahima Konaté",
            "role": "CB",
            "market_value": 46000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.0,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.3,
            "clearances_in_zone": 1.1,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Antonio Rüdiger",
            "role": "CB",
            "market_value": 6200000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Ayoze Pérez (ST) is heavily outmatched defensively against Ibrahima Konaté and Antonio Rüdiger in a 2-defender block. Duel win probability: 18%. The quality gap is significant (€5M vs €26M avg). Matchup xG multiplier ×0.78 (×1.00 = his usual level). Projected xG contribution: 0.295 — with very limited chance creation expected."
      },
      {
        "attacker": "Alberto Moleiro",
        "attacker_role": "ST",
        "attacker_market_value": 54000000,
        "attacker_height": 172,
        "attacker_skill_quality": 0.837,
        "defenders": [
          "Ibrahima Konaté",
          "Antonio Rüdiger"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.643,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.211,
        "xg_contribution": 0.2995,
        "xg_multiplier": 1.0165,
        "shots_in_zone": 2.2,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.4,
        "aerial_duels": 3,
        "aerial_won": 1.3,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.8,
        "pressing_intensity_on_attacker": "MEDIUM",
        "defender_stats": [
          {
            "player": "Ibrahima Konaté",
            "role": "CB",
            "market_value": 46000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.0,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.3,
            "clearances_in_zone": 1.1,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.789
          },
          {
            "player": "Antonio Rüdiger",
            "role": "CB",
            "market_value": 6200000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.789
          }
        ],
        "duel_analysis": "Alberto Moleiro (ST) is evenly matched against Ibrahima Konaté and Antonio Rüdiger in a 2-defender block. Duel win probability: 21%. The quality gap is significant (€54M vs €26M avg). Matchup xG multiplier ×1.02 (×1.00 = his usual level). Projected xG contribution: 0.299 — with neither side clearly dominant."
      },
      {
        "attacker": "Gerard Moreno",
        "attacker_role": "ST",
        "attacker_market_value": 2400000,
        "attacker_height": 180,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Ibrahima Konaté",
          "Antonio Rüdiger"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.643,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.2208,
        "xg_multiplier": 0.764,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 1.6,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.4,
        "pressing_intensity_on_attacker": "MEDIUM",
        "defender_stats": [
          {
            "player": "Ibrahima Konaté",
            "role": "CB",
            "market_value": 46000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.0,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.3,
            "clearances_in_zone": 1.1,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Antonio Rüdiger",
            "role": "CB",
            "market_value": 6200000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Gerard Moreno (ST) is heavily outmatched defensively against Ibrahima Konaté and Antonio Rüdiger in a 2-defender block. Duel win probability: 18%. The quality gap is significant (€2M vs €26M avg). Matchup xG multiplier ×0.76 (×1.00 = his usual level). Projected xG contribution: 0.221 — with very limited chance creation expected."
      },
      {
        "attacker": "Ilias Akhomach",
        "attacker_role": "ST",
        "attacker_market_value": 11100000,
        "attacker_height": 175,
        "attacker_skill_quality": 0.535,
        "defenders": [
          "Ibrahima Konaté",
          "Antonio Rüdiger"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.643,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.0913,
        "xg_multiplier": 0.8169,
        "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.5,
        "pressing_intensity_on_attacker": "MEDIUM",
        "defender_stats": [
          {
            "player": "Ibrahima Konaté",
            "role": "CB",
            "market_value": 46000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.0,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.3,
            "clearances_in_zone": 1.1,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Antonio Rüdiger",
            "role": "CB",
            "market_value": 6200000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.7,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Ilias Akhomach (ST) faces tough defensive resistance against Ibrahima Konaté and Antonio Rüdiger in a 2-defender block. Duel win probability: 18%.  Matchup xG multiplier ×0.82 (×1.00 = his usual level). Projected xG contribution: 0.091 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Santi Comesaña",
        "attacker_role": "LM",
        "attacker_market_value": 8400000,
        "attacker_height": 187,
        "attacker_skill_quality": 0.503,
        "defenders": [
          "Thibaut Courtois"
        ],
        "defender_roles": [
          "GK"
        ],
        "def_skill_quality_avg": 0.574,
        "duel_zone": "Left Mid vs Right Back — Wide Channel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.29,
        "xg_contribution": 0.0407,
        "xg_multiplier": 0.8083,
        "shots_in_zone": 1.2,
        "dribbles_attempted": 3,
        "dribbles_successful": 0.8,
        "aerial_duels": 2,
        "aerial_won": 1.2,
        "crosses_in_zone": 2.2,
        "fouls_drawn": 1.4,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Thibaut Courtois",
            "role": "GK",
            "market_value": 14500000,
            "tackles_attempted": 2.0,
            "tackles_won": 1.8,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.71
          }
        ],
        "duel_analysis": "Santi Comesaña (LM) faces tough defensive resistance against Thibaut Courtois in a direct 1v1 contest. Duel win probability: 29%.  Matchup xG multiplier ×0.81 (×1.00 = his usual level). Projected xG contribution: 0.041 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Pape Gueye",
        "attacker_role": "CM",
        "attacker_market_value": 39000000,
        "attacker_height": 187,
        "attacker_skill_quality": 0.775,
        "defenders": [
          "Aurélien Tchouaméni"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.875,
        "duel_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.406,
        "xg_contribution": 0.0966,
        "xg_multiplier": 0.935,
        "shots_in_zone": 1.6,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.1,
        "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": "Aurélien Tchouaméni",
            "role": "CDM",
            "market_value": 73000000,
            "tackles_attempted": 2.3,
            "tackles_won": 1.9,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.4,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.594
          }
        ],
        "duel_analysis": "Pape Gueye (CM) faces tough defensive resistance against Aurélien Tchouaméni in a direct 1v1 contest. Duel win probability: 41%. The quality gap is significant (€39M vs €73M avg). Matchup xG multiplier ×0.94 (×1.00 = his usual level). Projected xG contribution: 0.097 — and is restricted in space and time on the ball."
      }
    ],
    "midfield_battle": {
      "home_midfield_power": 0.848,
      "away_midfield_power": 0.614,
      "home_creative_power": 0.785,
      "away_creative_power": 0.544,
      "home_defensive_power": 0.624,
      "away_defensive_power": 0.544,
      "home_dominance_ratio": 0.58,
      "home_midfield_count": 5,
      "away_midfield_count": 2,
      "home_midfield_players": [
        "Jude Bellingham",
        "Arda Güler",
        "Aurélien Tchouaméni",
        "Bernardo Silva",
        "Denzel Dumfries"
      ],
      "away_midfield_players": [
        "Pape Gueye",
        "Santi Comesaña"
      ],
      "possession_advantage": "home",
      "estimated_possession_home_pct": 51.8,
      "estimated_possession_away_pct": 48.2,
      "home_pressing_actions_per_90": 7.9,
      "away_pressing_actions_per_90": 7.1,
      "home_key_passes_projected": 6.2,
      "away_key_passes_projected": 4.8,
      "home_throughball_threat": 3.0,
      "away_throughball_threat": 2.2,
      "key_personal_duel": "Jude Bellingham vs Pape Gueye",
      "midfield_lambda_factor_home": 1.03,
      "midfield_lambda_factor_away": 0.978
    },
    "formation_analysis": {
      "home_formation": "4-2-3-1",
      "away_formation": "4-4-2",
      "home_tactical_bonus": 0.07,
      "away_tactical_bonus": -0.04,
      "formation_verdict": "4-2-3-1 creates structural superiority against 4-4-2. Home team should exploit wider spaces and numerical advantages in transition."
    },
    "home_lambda": 3.394,
    "away_lambda": 1.744,
    "home_top_threat_zones": [
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
    ],
    "away_top_threat_zones": [
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
    ],
    "home_player_antagonists": {
      "Arda Güler": {
        "opponents": [
          "Sergi Cardona",
          "Santi Comesaña"
        ],
        "primary_zone": "Left Wing vs Right Back — Flank Battle",
        "source": "attacking_duel, midfield_pairing"
      },
      "Bernardo Silva": {
        "opponents": [
          "Santiago Mouriño",
          "Pape Gueye"
        ],
        "primary_zone": "Right Wing vs Left Back — Flank Battle",
        "source": "attacking_duel, midfield_pairing"
      },
      "Jude Bellingham": {
        "opponents": [
          "Pape Gueye"
        ],
        "primary_zone": "CAM vs CM",
        "source": "attacking_duel, midfield_pairing"
      },
      "Kylian Mbappé": {
        "opponents": [
          "Renato Veiga",
          "Pau Navarro"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Vinícius Júnior": {
        "opponents": [
          "Renato Veiga",
          "Pau Navarro"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Aurélien Tchouaméni": {
        "opponents": [
          "Pape Gueye",
          "Santi Comesaña"
        ],
        "primary_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
        "source": "attacking_duel, defensive_duel, midfield_pairing"
      },
      "Denzel Dumfries": {
        "opponents": [
          "Pape Gueye"
        ],
        "primary_zone": "Holding Mid vs Central Mid — Midfield Anchor Duel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Ibrahima Konaté": {
        "opponents": [
          "Ayoze Pérez",
          "Alberto Moleiro",
          "Gerard Moreno",
          "Ilias Akhomach"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Antonio Rüdiger": {
        "opponents": [
          "Ayoze Pérez",
          "Alberto Moleiro",
          "Gerard Moreno",
          "Ilias Akhomach"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Thibaut Courtois": {
        "opponents": [
          "Santi Comesaña"
        ],
        "primary_zone": "Left Mid vs Right Back — Wide Channel",
        "source": "defensive_duel"
      },
      "Álvaro Carreras": {
        "opponents": [
          "Alberto Moleiro"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "away_player_antagonists": {
      "Sergi Cardona": {
        "opponents": [
          "Arda Güler"
        ],
        "primary_zone": "Left Wing vs Right Back — Flank Battle",
        "source": "defensive_duel"
      },
      "Santiago Mouriño": {
        "opponents": [
          "Bernardo Silva"
        ],
        "primary_zone": "Right Wing vs Left Back — Flank Battle",
        "source": "defensive_duel"
      },
      "Pape Gueye": {
        "opponents": [
          "Jude Bellingham",
          "Aurélien Tchouaméni",
          "Denzel Dumfries",
          "Bernardo Silva"
        ],
        "primary_zone": "CAM vs CM",
        "source": "defensive_duel, attacking_duel, midfield_pairing"
      },
      "Renato Veiga": {
        "opponents": [
          "Kylian Mbappé",
          "Vinícius Júnior"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Pau Navarro": {
        "opponents": [
          "Kylian Mbappé",
          "Vinícius Júnior"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Ayoze Pérez": {
        "opponents": [
          "Ibrahima Konaté",
          "Antonio Rüdiger"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Alberto Moleiro": {
        "opponents": [
          "Ibrahima Konaté",
          "Antonio Rüdiger"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Gerard Moreno": {
        "opponents": [
          "Ibrahima Konaté",
          "Antonio Rüdiger"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Ilias Akhomach": {
        "opponents": [
          "Ibrahima Konaté",
          "Antonio Rüdiger"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Santi Comesaña": {
        "opponents": [
          "Thibaut Courtois",
          "Aurélien Tchouaméni",
          "Arda Güler"
        ],
        "primary_zone": "Left Mid vs Right Back — Wide Channel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Péter Gulácsi": {
        "opponents": [
          "Kylian Mbappé",
          "Vinícius Júnior"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "key_tactical_insight": "Home midfield dominates with ~52% possession expected (Jude Bellingham vs Pape Gueye). Total antagonist xG — Home: 1.72, Away: 1.04. 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.15,
      "home_gk_opposition_factor": 1.0107,
      "away_gk_opposition_factor": 0.9548,
      "home_set_piece_bonus": 0.18,
      "away_set_piece_bonus": 0.1095,
      "home_defensive_solidity_vs": 0.9497,
      "away_defensive_solidity_vs": 0.9298,
      "home_midfield_factor": 1.03,
      "away_midfield_factor": 0.978,
      "stage_discount": 1.0,
      "quality_gap_applied": true,
      "home_avg_quality": 0.7907,
      "away_avg_quality": 0.5972,
      "avg_quality_gap": 0.1936,
      "squad_value_gap_log": 1.4151,
      "top5_value_gap_log": 1.4086,
      "attack_value_gap_log": 1.7177,
      "elite_count_gap": 6,
      "combined_quality_gap": 0.4528,
      "stronger_lambda_boost": 0.249,
      "weaker_lambda_suppression": 0.1449,
      "home_lambda_chain": [
        {
          "label": "league_anchor",
          "value": 1.35
        },
        {
          "label": "duel_blend",
          "raw_xg": 1.715,
          "n_duels": 7,
          "duel_confidence": 0.75,
          "result": 1.6238
        },
        {
          "label": "midfield_factor",
          "factor": 1.03,
          "result": 1.6725
        },
        {
          "label": "formation_bonus",
          "factor": 1.07,
          "result": 1.7895
        },
        {
          "label": "home_advantage",
          "factor": 1.15,
          "result": 2.058
        },
        {
          "label": "standing_factor",
          "factor": 1.1237,
          "result": 2.3125
        },
        {
          "label": "gk_opposition",
          "factor": 1.0107,
          "result": 2.3372
        },
        {
          "label": "defensive_solidity",
          "factor": 0.9497,
          "result": 2.2195
        },
        {
          "label": "set_piece_bonus",
          "bonus": 0.18,
          "result": 2.3995
        },
        {
          "label": "engine_clamp",
          "pre": 2.3995,
          "result": 2.3995,
          "band": [
            0.6,
            4.0
          ],
          "clamped": false
        },
        {
          "label": "quality_gap",
          "applied": true,
          "combined_quality_gap": 0.4528,
          "factor": 1.249,
          "pre": 2.3995,
          "result": 2.9971
        },
        {
          "label": "stage_discount",
          "applied": false,
          "factor": 1.0,
          "result": 2.9971
        },
        {
          "label": "bench_bonus",
          "side": "home",
          "bonus": 0.22,
          "result": 3.217
        },
        {
          "label": "fbref_blend",
          "side": "home",
          "applied": true,
          "blending_weight": 0.228,
          "empirical_lambda": 2.9556,
          "result": 3.1574
        },
        {
          "label": "router_clamp",
          "pre": 3.1574,
          "result": 3.157,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "second_leg",
          "applied": true,
          "factor": 1.02,
          "result": 3.22
        },
        {
          "label": "h2h_adjustment",
          "applied": false,
          "multiplier": 1.0,
          "pre": 3.22,
          "result": 3.22,
          "available": false
        },
        {
          "label": "mismatch_pressure",
          "applied": true,
          "factor": 1.1182,
          "pre": 3.22,
          "result": 3.601
        },
        {
          "label": "underdog_floor",
          "applied": false,
          "reason": "lambda gap >= 1.25 (clear mismatch)",
          "result": 3.601
        },
        {
          "label": "redistribution",
          "applied": true,
          "factor": 0.9426,
          "input_total": 5.138,
          "result": 3.3942
        },
        {
          "label": "final_clamp",
          "applied": true,
          "pre": 3.3942,
          "result": 3.394,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "competition_calibration",
          "applied": false,
          "reason": "no_sofascore_matches_data",
          "samples": 0,
          "scale": 1.0,
          "observed_total_goals": 0.0,
          "result": 3.394
        }
      ],
      "away_lambda_chain": [
        {
          "label": "league_anchor",
          "value": 1.35
        },
        {
          "label": "duel_blend",
          "raw_xg": 1.0443,
          "n_duels": 6,
          "duel_confidence": 0.75,
          "result": 1.1207
        },
        {
          "label": "midfield_factor",
          "factor": 0.978,
          "result": 1.0961
        },
        {
          "label": "formation_bonus",
          "factor": 0.96,
          "result": 1.0522
        },
        {
          "label": "home_advantage",
          "factor": 1.0,
          "result": 1.0522
        },
        {
          "label": "standing_factor",
          "factor": 0.988,
          "result": 1.0396
        },
        {
          "label": "gk_opposition",
          "factor": 0.9548,
          "result": 0.9926
        },
        {
          "label": "defensive_solidity",
          "factor": 0.9298,
          "result": 0.9229
        },
        {
          "label": "set_piece_bonus",
          "bonus": 0.1095,
          "result": 1.0324
        },
        {
          "label": "engine_clamp",
          "pre": 1.0324,
          "result": 1.0324,
          "band": [
            0.6,
            4.0
          ],
          "clamped": false
        },
        {
          "label": "quality_gap",
          "applied": true,
          "combined_quality_gap": 0.4528,
          "factor": 0.8551,
          "pre": 1.0324,
          "result": 0.8828
        },
        {
          "label": "stage_discount",
          "applied": false,
          "factor": 1.0,
          "result": 0.8828
        },
        {
          "label": "bench_bonus",
          "side": "away",
          "bonus": 0.2158,
          "result": 1.0988
        },
        {
          "label": "fbref_blend",
          "side": "away",
          "applied": true,
          "blending_weight": 0.228,
          "empirical_lambda": 3.2889,
          "result": 1.5981
        },
        {
          "label": "router_clamp",
          "pre": 1.5981,
          "result": 1.598,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "second_leg",
          "applied": true,
          "factor": 1.2,
          "result": 1.918
        },
        {
          "label": "h2h_adjustment",
          "applied": false,
          "multiplier": 1.0,
          "pre": 1.918,
          "result": 1.918,
          "available": false
        },
        {
          "label": "mismatch_pressure",
          "applied": true,
          "factor": 0.9647,
          "pre": 1.918,
          "result": 1.85
        },
        {
          "label": "underdog_floor",
          "applied": false,
          "reason": "lambda gap >= 1.25 (clear mismatch)",
          "result": 1.85
        },
        {
          "label": "redistribution",
          "applied": true,
          "factor": 0.9426,
          "input_total": 5.138,
          "result": 1.7438
        },
        {
          "label": "final_clamp",
          "applied": true,
          "pre": 1.7438,
          "result": 1.744,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "competition_calibration",
          "applied": false,
          "reason": "no_sofascore_matches_data",
          "samples": 0,
          "scale": 1.0,
          "observed_total_goals": 0.0,
          "result": 1.744
        }
      ],
      "home_bench_lambda_bonus": 0.22,
      "away_bench_lambda_bonus": 0.2158,
      "home_bench_players_modelled": 7,
      "away_bench_players_modelled": 7,
      "fbref_team_priors": {
        "applied": true,
        "home_squad": "Real Madrid",
        "away_squad": "Villarreal",
        "home_goals_per90": 3.0,
        "away_goals_against_per90": 1.33,
        "away_goals_per90": 1.3333333333333333,
        "home_goals_against_per90": 3.33,
        "home_empirical_lambda": 2.956,
        "away_empirical_lambda": 3.289,
        "blending_weight": 0.228
      },
      "mismatch_score_pressure_applied": true,
      "mismatch_score_pressure_gap": 0.4528,
      "mismatch_favorite_lambda_boost": 1.1182,
      "mismatch_underdog_lambda_factor": 0.9647,
      "pre_mismatch_home_lambda": 3.22,
      "pre_mismatch_away_lambda": 1.918,
      "competitive_underdog_floor_applied": false,
      "pre_calibration_home_lambda": 3.1574,
      "pre_calibration_away_lambda": 1.5981,
      "competition_calibration_applied": false,
      "competition_calibration_reason": "no_sofascore_matches_data",
      "competition_calibration_samples": 0,
      "competition_observed_total_goals": 0.0,
      "competition_calibration_scale": 1.0,
      "neutral_share_preserved": false,
      "final_home_lambda": 3.394,
      "final_away_lambda": 1.744
    }
  },
  "home_standing": {
    "available": true,
    "team_position": 4,
    "opponent_position": 9,
    "standing_lambda_multiplier": 1.1237,
    "attack_index": 1.324,
    "defense_concede_index": 0.994,
    "form_multiplier": 1.03,
    "team_attack_rate_contextual": 2.01,
    "opp_defense_rate_contextual": 1.51,
    "team_ppg": 1.79,
    "opponent_ppg": 1.25
  },
  "away_standing": {
    "available": true,
    "team_position": 9,
    "opponent_position": 4,
    "standing_lambda_multiplier": 0.988,
    "attack_index": 1.027,
    "defense_concede_index": 0.959,
    "form_multiplier": 0.97,
    "team_attack_rate_contextual": 1.56,
    "opp_defense_rate_contextual": 1.46,
    "team_ppg": 1.25,
    "opponent_ppg": 1.79
  },
  "xgboost_reasoning": {
    "summary": "Antagonist + XGBoost match analysis for Real Madrid vs Villarreal. 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 4-4-2 (duel lambdas: Home 3.157, Away 1.598). Final calibrated Poisson lambdas: Home 3.394, Away 1.744 (most likely score 3-1).",
    "competition": "LaLiga",
    "model_coverage": {
      "home_starters_count": 11,
      "home_xgboost_players": 11,
      "home_fbref_players": 10,
      "away_starters_count": 11,
      "away_xgboost_players": 11,
      "away_fbref_players": 8,
      "home_bench_modelled": 7,
      "away_bench_modelled": 7
    },
    "team_priors": {
      "applied": true,
      "home_squad": "Real Madrid",
      "away_squad": "Villarreal",
      "home_goals_per90": 3.0,
      "away_goals_against_per90": 1.33,
      "away_goals_per90": 1.3333333333333333,
      "home_goals_against_per90": 3.33,
      "home_empirical_lambda": 2.956,
      "away_empirical_lambda": 3.289,
      "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": 3.394,
      "away_lambda": 1.744,
      "micro_duel_home_lambda": 3.157,
      "micro_duel_away_lambda": 1.598
    },
    "calibration_and_pressure": {
      "competition_calibration_applied": false,
      "competition_calibration_scale": 1.0,
      "mismatch_pressure_applied": true,
      "underdog_floor_applied": false
    }
  },
  "timestamp": "2026-10-10T13:33:50Z",
  "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
  }
}