{
  "match_info": {
    "home_team": "Espanyol",
    "away_team": "Atlético Madrid",
    "tournament": "LaLiga",
    "date": "20261017",
    "timezone": "America/New_York",
    "home_formation": "4-2-3-1",
    "away_formation": "4-2-3-1",
    "lineup_status": "unconfirmed_official",
    "lineup_source": "/matches/get-lineups",
    "lineup_confirmed": false,
    "lineup_confidence": 0.75
  },
  "prediction": {
    "most_likely_score": "1-2",
    "home_goals": 1,
    "away_goals": 2,
    "most_likely_score_probability": 0.0928,
    "match_resolution": "regulation",
    "predicted_winner": "Atlético Madrid",
    "tiebreaker": {
      "applies": false,
      "method": "none",
      "regulation_draw_probability": 0.1947,
      "shootout_home_win_probability": null,
      "shootout_away_win_probability": null,
      "penalty_home_goals": null,
      "penalty_away_goals": null,
      "penalty_score": null,
      "penalty_winner": null,
      "penalty_winner_goals": null,
      "penalty_loser_goals": null,
      "penalty_result": null,
      "home_advance_probability": null,
      "away_advance_probability": null,
      "projected_winner": null,
      "projected_winner_probability": null,
      "final_score_after_penalties": null,
      "deciding_stage": null,
      "deciding_scoreline": null,
      "deciding_scoreline_probability": null,
      "deciding_route_probability": null,
      "reason": "Tie-breaker not required for this match context."
    },
    "top_5_scorelines": [
      {
        "score": "1-2",
        "probability": 0.0928
      },
      {
        "score": "1-1",
        "probability": 0.0803
      },
      {
        "score": "1-3",
        "probability": 0.0719
      },
      {
        "score": "0-2",
        "probability": 0.0694
      },
      {
        "score": "2-2",
        "probability": 0.062
      }
    ],
    "scoreline_probabilities": {
      "0-0": 0.0262,
      "0-1": 0.0593,
      "0-2": 0.0694,
      "0-3": 0.0538,
      "0-4": 0.0313,
      "0-5": 0.0145,
      "0-6": 0.0056,
      "0-7": 0.0019,
      "0-8": 0.0005,
      "1-0": 0.0339,
      "1-1": 0.0803,
      "1-2": 0.0928,
      "1-3": 0.0719,
      "1-4": 0.0418,
      "1-5": 0.0194,
      "1-6": 0.0075,
      "1-7": 0.0025,
      "1-8": 0.0007,
      "2-0": 0.023,
      "2-1": 0.0534,
      "2-2": 0.062,
      "2-3": 0.0481,
      "2-4": 0.028,
      "2-5": 0.013,
      "2-6": 0.005,
      "2-7": 0.0017,
      "3-0": 0.0102,
      "3-1": 0.0238,
      "3-2": 0.0277,
      "3-3": 0.0214,
      "3-4": 0.0125,
      "3-5": 0.0058,
      "3-6": 0.0022,
      "3-7": 0.0007,
      "4-0": 0.0034,
      "4-1": 0.008,
      "4-2": 0.0092,
      "4-3": 0.0072,
      "4-4": 0.0042,
      "4-5": 0.0019,
      "4-6": 0.0008,
      "5-0": 0.0009,
      "5-1": 0.0021,
      "5-2": 0.0025,
      "5-3": 0.0019,
      "5-4": 0.0011,
      "5-5": 0.0005,
      "6-2": 0.0006
    },
    "outcome": {
      "home_win": 0.2107,
      "draw": 0.1947,
      "away_win": 0.5946
    },
    "markets": {
      "over_2_5_goals": 0.708,
      "under_2_5_goals": 0.292,
      "btts_yes": 0.6657,
      "btts_no": 0.3343,
      "home_clean_sheet": 0.0978,
      "away_clean_sheet": 0.2626
    },
    "home_ratings": {
      "DR": 6.77,
      "MCR": 6.89,
      "ATR": 6.87,
      "GK": 7.02
    },
    "away_ratings": {
      "DR": 6.91,
      "MCR": 7.08,
      "ATR": 6.91,
      "GK": 6.98
    },
    "insights": {
      "summary": "Antagonist matchup analysis for Espanyol vs Atlético Madrid. Most likely scoreline: 1-2. Lambdas derived from 6 home and 7 away individual player duels. Head-to-head: Espanyol 1W-5D-4L vs Atlético Madrid over 10 meetings.",
      "key_player": "Projected scorer(s): Roberto Fernández, Jonathan David, Ademola Lookman",
      "tactical_analysis": "Tactical parity between 4-2-3-1 and 4-2-3-1. Match outcome driven primarily by individual player quality. Away midfield dictates play with ~53% possession expected (Javier Hernández vs Pablo Barrios). Total antagonist xG — Home: 0.82, Away: 1.28. 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.76,
    "home_lambda": 1.337,
    "away_lambda": 2.325,
    "h2h": {
      "available": true,
      "meetings": 10,
      "home_wins": 1,
      "away_wins": 4,
      "draws": 5,
      "home_multiplier": 0.9786,
      "away_multiplier": 1.0214
    },
    "modal_scoreline": null,
    "modal_scoreline_probability": null,
    "headline_policy": null
  },
  "pregame_baseline": {
    "fair_win_probability": {
      "home_win": 0.2107,
      "draw": 0.1947,
      "away_win": 0.5946
    },
    "favorite": "Atlético Madrid",
    "favorite_win_probability": 0.5946,
    "fair_spread": -0.988,
    "fair_total": 3.662,
    "prop_estimates": [
      {
        "market": "team_total_goals",
        "selection": "Espanyol",
        "estimate": 1.337,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "team_total_goals",
        "selection": "Atlético Madrid",
        "estimate": 2.325,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "over_2_5_goals",
        "selection": "yes",
        "estimate": 2.5,
        "probability": 0.708,
        "unit": "probability"
      },
      {
        "market": "both_teams_to_score",
        "selection": "yes",
        "estimate": 1.0,
        "probability": 0.6657,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Espanyol",
        "estimate": 1.0,
        "probability": 0.0978,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Atlético Madrid",
        "estimate": 1.0,
        "probability": 0.2626,
        "unit": "probability"
      },
      {
        "market": "anytime_goal",
        "selection": "Roberto Fernández (Espanyol)",
        "estimate": 0.467,
        "probability": 0.3731,
        "unit": "xG"
      },
      {
        "market": "anytime_goal",
        "selection": "Jonathan David (Atlético Madrid)",
        "estimate": 0.6659,
        "probability": 0.4862,
        "unit": "xG"
      },
      {
        "market": "assist",
        "selection": "Bryan Zaragoza (Espanyol)",
        "estimate": 0.1694,
        "probability": 0.1558,
        "unit": "xA"
      },
      {
        "market": "assist",
        "selection": "Alejandro Grimaldo (Atlético Madrid)",
        "estimate": 0.2159,
        "probability": 0.1942,
        "unit": "xA"
      }
    ],
    "expected_pace": {
      "tempo": "high",
      "expected_total_goals": 3.662,
      "expected_total_shots": 27,
      "expected_total_passes": 948,
      "expected_pressing_actions_per_90": 14.0,
      "possession_home_pct": 46.6,
      "possession_away_pct": 53.4,
      "notes": "Atlético Madrid projects to control midfield possession"
    },
    "expected_game_script": {
      "favorite": "Atlético Madrid",
      "favorite_win_probability": 0.5946,
      "script": "Atlético Madrid is the fair winner side, but the baseline remains favorite-led: fair spread -0.99 goals and fair total 3.66.",
      "first_half": "Expect high tempo while both sides test the matchup thesis; shot baseline is about 14 first-half attempts.",
      "second_half": "If level after halftime, midfield control and bench quality should decide territory; Espanyol must keep the match inside one goal.",
      "late_game": "A Atlético Madrid lead likely shifts toward control and counters; a draw state keeps set pieces and transition chances live."
    },
    "key_matchup_thesis": "Atlético Madrid chance creation leans on Jonathan David against Leandro Cabrera, Quilindschy Hartman in Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle; Atlético Madrid projects to control midfield possession.",
    "expected_rotation_usage_behavior": [
      "Espanyol: starters carry the main goal usage through Roberto Fernández; bench watchlist: Gabriel Moscardo, Javi Puado, Vanja Drkušić.",
      "Atlético Madrid: starters carry the main goal usage through Jonathan David, Ademola Lookman; bench watchlist: Julián Alvarez, Alex Baena, Morten Hjulmand.",
      "Assist usage should flow through Javier Hernández, Alejandro Grimaldo; late lineup changes should re-score these allocations."
    ],
    "pregame_play_by_play": [
      "0-15: Atlético Madrid tries to establish the projected edge; track possession and first-shot share.",
      "15-45: Baseline expects high tempo, about 14 total first-half shots, and 1.83 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 Espanyol is chasing, transition and set-piece volume become the primary live deviation signal; a draw state keeps set pieces and transition chances live."
    ],
    "invalidation_triggers": [
      "Early red card, injury, or goalkeeper change for Atlético Madrid.",
      "Espanyol 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": {
    "Espanyol": {
      "formation": "4-2-3-1",
      "players": {
        "Roberto Fernández": {
          "player_id": 1392592,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 9,
          "height": 186,
          "market_value": 21000000,
          "stats": {
            "expected_goals": 0.467,
            "goal_rate": 0.414,
            "goals": 1,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.0475,
            "key_pass": 1,
            "rating": 6.8095,
            "minutes": 84,
            "total_pass": 11,
            "accurate_pass": 8,
            "duels_won": 4,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 7,
            "accurate_opp_half_passes": 5,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 23,
            "possession_lost": 7.0517,
            "dispossessed": 0.5272,
            "duels_lost": 6,
            "aerial_lost": 3,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 1,
            "fouls": 2,
            "fouls_drawn": 1,
            "assist_rate": 0.0303,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 1,
            "xgot": 0.5616,
            "offsides": 1,
            "ball_carries": 5,
            "total_progression": 1,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.9341,
            "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": "Robin Le Normand, Cristian Romero",
            "opponent_faced": "Robin Le Normand, Cristian Romero",
            "antagonist_source": "attacking_duel",
            "projected_goals": 1,
            "goal_probability": 0.3731,
            "projected_assists": 0,
            "assist_probability": 0.0464,
            "finishing_factor": 1.0933,
            "creation_factor": 0.87,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 82,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5599,
                "expected_assists": 0.0074,
                "total_shots": 4,
                "shots_on_target": 3,
                "total_pass": 11,
                "accurate_pass": 9,
                "tackles": 3,
                "tackles_won": 3,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 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": 16416299,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1692,
                "expected_assists": 0.0031,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 4,
                "accurate_pass": 4,
                "aerial_won": 3,
                "duels_won": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416345,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2843,
                "expected_assists": 0.0447,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 15,
                "accurate_pass": 9,
                "key_pass": 1,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 80,
                "rating": 7.2,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.3134,
                "expected_assists": 0.1532,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 12,
                "accurate_pass": 4,
                "clearances": 1,
                "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": 16416323,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.259,
                "expected_assists": 0.0027,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 7,
                "accurate_pass": 6,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 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": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 83,
                "rating": 7.4,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2734,
                "expected_assists": 0.0482,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 19,
                "accurate_pass": 14,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 3,
                "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": 16416306,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.62,
                "expected_assists": 0.0121,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 10,
                "accurate_pass": 8,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "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": 16421053,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 8.7,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4597,
                "expected_assists": 0.0976,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 12,
                "accurate_pass": 7,
                "key_pass": 2,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 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": 67,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.1713,
                "expected_assists": 0.0008,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 14,
                "accurate_pass": 11,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 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": 14083696,
              "match_date": "2026-05-17",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 26,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_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"
            }
          ],
          "ranking": {
            "global_player_rank": 3459,
            "combined_rank_score": 1454.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 6.0,
            "sofascore_rating": 8.7,
            "sofascore_appearances": 1.0,
            "fifa_rank": 2903.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8095,
            "source_file": "data/player_rankings.csv",
            "player_name": "Roberto Fernández",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Marco Sportiello",
                  "ranking": 3454
                },
                {
                  "player_name": "Arsène Kouassi",
                  "ranking": 3455
                },
                {
                  "player_name": "Leif Davis",
                  "ranking": 3456
                },
                {
                  "player_name": "Ismaëlo Ganiou",
                  "ranking": 3457
                },
                {
                  "player_name": "Olivier Giroud",
                  "ranking": 3458
                }
              ],
              "lower": [
                {
                  "player_name": "Eric Dier",
                  "ranking": 3460
                },
                {
                  "player_name": "Benjamin Nygren",
                  "ranking": 3461
                },
                {
                  "player_name": "Arnau Tenas",
                  "ranking": 3462
                },
                {
                  "player_name": "Yvon Mvogo",
                  "ranking": 3463
                },
                {
                  "player_name": "Duje Ćaleta-Car",
                  "ranking": 3464
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.779,
          "history_matches": 46,
          "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": 46,
            "data_confidence": 0.779,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.004,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 262.0,
              "goals_per90": 1.0344827586206895,
              "assists_per90": 0.0,
              "shots_per90": 2.06,
              "shots_on_target_pct": 50.0,
              "prior_reliability": 0.1933
            },
            "rationale": "XGBoost regressor (F_service) evaluated 46 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Espanyol, rel: 0.19, gls/90: 1.0344827586206895, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.3992,
                "goals": 0.435,
                "goal_rate": 0.435,
                "shots_on_target": 1.1573,
                "total_shots": 2.2936,
                "expected_assists": 0.0421,
                "key_pass": 0.5556,
                "rating": 6.8095,
                "minutes": 83.55,
                "total_pass": 11.0297,
                "accurate_pass": 7.6664,
                "duels_won": 4.369,
                "total_long_balls": 0.3954,
                "accurate_long_balls": 0.1725,
                "total_opp_half_passes": 7.4394,
                "accurate_opp_half_passes": 4.6436,
                "crosses_total": 0.1591,
                "crosses_accurate": 0.0095,
                "touches": 22.5587,
                "possession_lost": 7.0236,
                "dispossessed": 0.5251,
                "duels_lost": 5.4958,
                "aerial_lost": 2.7931,
                "total_contest": 0.498,
                "won_contest": 0.2761,
                "ball_recovery": 0.8798,
                "challenges_lost": 0.5251,
                "fouls": 1.6239,
                "fouls_drawn": 1.449,
                "assists": 0.0306,
                "assist_rate": 0.0306,
                "interceptions": 0.1422,
                "tackles_won": 0.6907,
                "tackles": 0.7257,
                "clearances": 1.1484,
                "blocks": 0.1247,
                "big_chances_created": 0.0058,
                "big_chances_missed": 0.7241,
                "xgot": 0.4802,
                "offsides": 1.2005,
                "ball_carries": 5.0306,
                "total_progression": 0.979,
                "progressive_carries": 0.348,
                "shots_off_target": 1.1363
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-16T10:32:26.279343+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Málaga CF",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.1501,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1084,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0783,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Sociedad",
                    "minutes": 83.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 8.7
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Sociedad",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Osasuna",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.0348,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalOppositionHalfPasses": 7.0008,
                  "expectedGoals": 0.4392,
                  "accurateOppositionHalfPasses": 4.3574,
                  "accuratePass": 7.2391,
                  "totalShots": 2.3257
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.3992152214050293,
                    "model_output": 0.3992,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0666
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0428
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0241
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0161
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0166
                        }
                      ],
                      "others": 0.0355,
                      "total": 0.3992,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.290571
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.150181
                        },
                        {
                          "name": "goals",
                          "margin": 0.075598
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.047362
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.046774
                        }
                      ],
                      "others_margin": 0.093175
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.43499401211738586,
                    "model_output": 0.435,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0666
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.042
                        },
                        {
                          "name": "goals",
                          "contribution": 0.026
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0273
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0188
                        }
                      ],
                      "others": 0.0509,
                      "total": 0.435,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.283166
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.144613
                        },
                        {
                          "name": "goals",
                          "margin": 0.079921
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.077821
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.050201
                        }
                      ],
                      "others_margin": 0.124644
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 1.1573258638381958,
                    "model_output": 1.1573,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1777
                        },
                        {
                          "name": "goals",
                          "contribution": 0.067
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0666
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0692
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0714
                        }
                      ],
                      "others": 0.1678,
                      "total": 1.1573,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.285572
                        },
                        {
                          "name": "goals",
                          "margin": 0.089592
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.081714
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.078358
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.074877
                        }
                      ],
                      "others_margin": 0.156548
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 2.293602228164673,
                    "model_output": 2.2936,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5152
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1402
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.1284
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0901
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0646
                        }
                      ],
                      "others": -0.0187,
                      "total": 2.2936,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.515165
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.140214
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.128386
                        },
                        {
                          "name": "goals",
                          "margin": 0.09009
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.06456
                        }
                      ],
                      "others_margin": -0.018655
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.04214762896299362,
                    "model_output": 0.0421,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0182
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0101
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0082
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0051
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0027
                        }
                      ],
                      "others": -0.0142,
                      "total": 0.0421,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.249621
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.131199
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.120248
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.083088
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.047617
                        }
                      ],
                      "others_margin": -0.288536
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.5555574893951416,
                    "model_output": 0.5556,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1861
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0546
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0496
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0439
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0333
                        }
                      ],
                      "others": -0.1225,
                      "total": 0.5556,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.244009
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.065697
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.063624
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.059915
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.047947
                        }
                      ],
                      "others_margin": -0.199147
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.809474468231201,
                    "model_output": 6.8095,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.057
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.026
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0252
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0205
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0134
                        }
                      ],
                      "others": -0.0492,
                      "total": 6.8095,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.056999
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.026038
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.025217
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.020515
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.013392
                        }
                      ],
                      "others_margin": -0.049257
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 46,
                  "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.0040, quality 0.641)",
              "stats": {
                "expected_goals": 0.4008,
                "goals": 0.4367,
                "goal_rate": 0.4367,
                "shots_on_target": 1.162,
                "total_shots": 2.3028,
                "expected_assists": 0.0423,
                "key_pass": 0.5578,
                "rating": 6.8095,
                "minutes": 83.55,
                "total_pass": 11.0738,
                "accurate_pass": 7.6971,
                "duels_won": 4.3865,
                "total_long_balls": 0.397,
                "accurate_long_balls": 0.1732,
                "total_opp_half_passes": 7.4692,
                "accurate_opp_half_passes": 4.6622,
                "crosses_total": 0.1597,
                "crosses_accurate": 0.0095,
                "touches": 22.6489,
                "possession_lost": 7.0517,
                "dispossessed": 0.5272,
                "duels_lost": 5.5178,
                "aerial_lost": 2.8043,
                "total_contest": 0.5,
                "won_contest": 0.2772,
                "ball_recovery": 0.8833,
                "challenges_lost": 0.5272,
                "fouls": 1.6304,
                "fouls_drawn": 1.4548,
                "assists": 0.0307,
                "assist_rate": 0.0307,
                "interceptions": 0.1428,
                "tackles_won": 0.6935,
                "tackles": 0.7286,
                "clearances": 1.153,
                "blocks": 0.1252,
                "big_chances_created": 0.0058,
                "big_chances_missed": 0.727,
                "xgot": 0.4821,
                "offsides": 1.2053,
                "ball_carries": 5.0507,
                "total_progression": 0.9829,
                "progressive_carries": 0.3494,
                "shots_off_target": 1.1408
              },
              "params": {
                "market_value_eur": 21000000,
                "quality_factor": 0.6408,
                "boost_factor": 1.004,
                "reference_quality": 0.505,
                "history_matches": 46,
                "history_shrink": 0.098,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0123)",
              "stats": {
                "expected_goals": 0.4008,
                "goals": 0.4432,
                "goal_rate": 0.4432,
                "shots_on_target": 1.1595,
                "total_shots": 2.298,
                "expected_assists": 0.0423,
                "key_pass": 0.5578,
                "rating": 6.8095,
                "minutes": 83.55,
                "total_pass": 11.0738,
                "accurate_pass": 7.6971,
                "duels_won": 4.3865,
                "total_long_balls": 0.397,
                "accurate_long_balls": 0.1732,
                "total_opp_half_passes": 7.4692,
                "accurate_opp_half_passes": 4.6622,
                "crosses_total": 0.1617,
                "crosses_accurate": 0.0095,
                "touches": 22.6489,
                "possession_lost": 7.0517,
                "dispossessed": 0.5272,
                "duels_lost": 5.5178,
                "aerial_lost": 2.8043,
                "total_contest": 0.5,
                "won_contest": 0.2772,
                "ball_recovery": 0.8833,
                "challenges_lost": 0.5272,
                "fouls": 1.6221,
                "fouls_drawn": 1.4566,
                "assists": 0.0303,
                "assist_rate": 0.0303,
                "interceptions": 0.145,
                "tackles_won": 0.6889,
                "tackles": 0.7286,
                "clearances": 1.153,
                "blocks": 0.1252,
                "big_chances_created": 0.0058,
                "big_chances_missed": 0.727,
                "xgot": 0.4821,
                "offsides": 1.1905,
                "ball_carries": 5.0507,
                "total_progression": 0.9829,
                "progressive_carries": 0.3494,
                "shots_off_target": 1.1408
              },
              "params": {
                "blend_weight": 0.0123,
                "history_matches": 46,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9283,
                "prior_reliability": 0.1933,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "totalOffside",
                  "before": 1.2053,
                  "after": 1.1905
                },
                {
                  "stat": "fouls",
                  "before": 1.6304,
                  "after": 1.6221
                },
                {
                  "stat": "goals",
                  "before": 0.4367,
                  "after": 0.4432
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.4008,
                "goals": 0.4432,
                "goal_rate": 0.4432,
                "shots_on_target": 1.1595,
                "total_shots": 2.3003,
                "expected_assists": 0.0423,
                "key_pass": 0.5578,
                "rating": 6.8095,
                "minutes": 83.55,
                "total_pass": 11.0738,
                "accurate_pass": 7.6971,
                "duels_won": 4.3865,
                "total_long_balls": 0.397,
                "accurate_long_balls": 0.1732,
                "total_opp_half_passes": 7.4692,
                "accurate_opp_half_passes": 4.6622,
                "crosses_total": 0.1617,
                "crosses_accurate": 0.0095,
                "touches": 22.6489,
                "possession_lost": 7.0517,
                "dispossessed": 0.5272,
                "duels_lost": 5.5178,
                "aerial_lost": 2.8043,
                "total_contest": 0.5,
                "won_contest": 0.2772,
                "ball_recovery": 0.8833,
                "challenges_lost": 0.5272,
                "fouls": 1.6221,
                "fouls_drawn": 1.4566,
                "assists": 0.0303,
                "assist_rate": 0.0303,
                "interceptions": 0.145,
                "tackles_won": 0.6889,
                "tackles": 0.7286,
                "clearances": 1.153,
                "blocks": 0.1252,
                "big_chances_created": 0.0058,
                "big_chances_missed": 0.727,
                "xgot": 0.4821,
                "offsides": 1.1905,
                "ball_carries": 5.0507,
                "total_progression": 0.9829,
                "progressive_carries": 0.3494,
                "shots_off_target": 1.1408
              },
              "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.3744,
                "goals": 0.414,
                "goal_rate": 0.414,
                "shots_on_target": 1.0831,
                "total_shots": 2.1487,
                "expected_assists": 0.0423,
                "key_pass": 0.5578,
                "rating": 6.8095,
                "minutes": 83.55,
                "total_pass": 11.0738,
                "accurate_pass": 7.6971,
                "duels_won": 4.3865,
                "total_long_balls": 0.397,
                "accurate_long_balls": 0.1732,
                "total_opp_half_passes": 7.4692,
                "accurate_opp_half_passes": 4.6622,
                "crosses_total": 0.1617,
                "crosses_accurate": 0.0095,
                "touches": 22.6489,
                "possession_lost": 7.0517,
                "dispossessed": 0.5272,
                "duels_lost": 5.5178,
                "aerial_lost": 2.8043,
                "total_contest": 0.5,
                "won_contest": 0.2772,
                "ball_recovery": 0.8833,
                "challenges_lost": 0.5272,
                "fouls": 1.6221,
                "fouls_drawn": 1.4566,
                "assists": 0.0303,
                "assist_rate": 0.0303,
                "interceptions": 0.145,
                "tackles_won": 0.6889,
                "tackles": 0.7286,
                "clearances": 1.153,
                "blocks": 0.1252,
                "big_chances_created": 0.0058,
                "big_chances_missed": 0.6791,
                "xgot": 0.4503,
                "offsides": 1.1905,
                "ball_carries": 5.0507,
                "total_progression": 0.9829,
                "progressive_carries": 0.3494,
                "shots_off_target": 1.0656,
                "duel_xg_multiplier": 0.9341,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.8,
                "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": "Robin Le Normand, Cristian Romero",
                "opponent_faced": "Robin Le Normand, Cristian Romero",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Robin Le Normand, Cristian Romero",
                  "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.9341,
                  "skill_edge": -0.0448,
                  "height_edge": 0.0,
                  "attacker_skill": 0.6408,
                  "defender_skill": 0.7403,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Robin Le Normand",
                      "market_value": 17200000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.6589
                    },
                    {
                      "player": "Cristian Romero",
                      "market_value": 37000000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.8218
                    }
                  ],
                  "xg_override": 0.3744
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.3003,
                  "after": 2.1487
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 1.1595,
                  "after": 1.0831
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.1408,
                  "after": 1.0656
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.727,
                  "after": 0.6791
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.4821,
                  "after": 0.4503
                },
                {
                  "stat": "goals",
                  "before": 0.4432,
                  "after": 0.414
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.4008,
                  "after": 0.3744
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.3744,
                "goal_rate": 0.414,
                "goals": 0,
                "shots_on_target": 1.0831,
                "total_shots": 2.1487,
                "expected_assists": 0.0423,
                "key_pass": 0.5578,
                "rating": 6.8095,
                "minutes": 83.55,
                "total_pass": 11.0738,
                "accurate_pass": 7.6971,
                "duels_won": 4.3865,
                "total_long_balls": 0.397,
                "accurate_long_balls": 0.1732,
                "total_opp_half_passes": 7.4692,
                "accurate_opp_half_passes": 4.6622,
                "crosses_total": 0.1617,
                "crosses_accurate": 0.0095,
                "touches": 22.6489,
                "possession_lost": 7.0517,
                "dispossessed": 0.5272,
                "duels_lost": 5.5178,
                "aerial_lost": 2.8043,
                "total_contest": 0.5,
                "won_contest": 0.2772,
                "ball_recovery": 0.8833,
                "challenges_lost": 0.5272,
                "fouls": 1.6221,
                "fouls_drawn": 1.4566,
                "assist_rate": 0.0303,
                "assists": 0,
                "interceptions": 0.145,
                "tackles_won": 0.6889,
                "tackles": 0.7286,
                "clearances": 1.153,
                "blocks": 0.1252,
                "big_chances_created": 0.0058,
                "big_chances_missed": 0.6791,
                "xgot": 0.4503,
                "offsides": 1.1905,
                "ball_carries": 5.0507,
                "total_progression": 0.9829,
                "progressive_carries": 0.3494,
                "shots_off_target": 1.0656,
                "duel_xg_multiplier": 0.9341,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.8,
                "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": "Robin Le Normand, Cristian Romero",
                "opponent_faced": "Robin Le Normand, Cristian Romero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.34 (squad xG sum 1.0719, xG scale 1.2473, xA scale 1.1232, team xA 1.07 = 0.80 x lambda)",
              "stats": {
                "expected_goals": 0.467,
                "goal_rate": 0.414,
                "goals": 0,
                "shots_on_target": 1.0831,
                "total_shots": 2.1487,
                "expected_assists": 0.0475,
                "key_pass": 0.5578,
                "rating": 6.8095,
                "minutes": 83.55,
                "total_pass": 11.0738,
                "accurate_pass": 7.6971,
                "duels_won": 4.3865,
                "total_long_balls": 0.397,
                "accurate_long_balls": 0.1732,
                "total_opp_half_passes": 7.4692,
                "accurate_opp_half_passes": 4.6622,
                "crosses_total": 0.1617,
                "crosses_accurate": 0.0095,
                "touches": 22.6489,
                "possession_lost": 7.0517,
                "dispossessed": 0.5272,
                "duels_lost": 5.5178,
                "aerial_lost": 2.8043,
                "total_contest": 0.5,
                "won_contest": 0.2772,
                "ball_recovery": 0.8833,
                "challenges_lost": 0.5272,
                "fouls": 1.6221,
                "fouls_drawn": 1.4566,
                "assist_rate": 0.0303,
                "assists": 0,
                "interceptions": 0.145,
                "tackles_won": 0.6889,
                "tackles": 0.7286,
                "clearances": 1.153,
                "blocks": 0.1252,
                "big_chances_created": 0.0058,
                "big_chances_missed": 0.6791,
                "xgot": 0.5616,
                "offsides": 1.1905,
                "ball_carries": 5.0507,
                "total_progression": 0.9829,
                "progressive_carries": 0.3494,
                "shots_off_target": 1.0656,
                "duel_xg_multiplier": 0.9341,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.8,
                "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": "Robin Le Normand, Cristian Romero",
                "opponent_faced": "Robin Le Normand, Cristian Romero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0933,
                "creation_factor": 0.87
              },
              "params": {
                "team_lambda": 1.337,
                "squad_xg_sum": 1.0719,
                "squad_xa_sum": 0.9523,
                "team_expected_assists": 1.0696,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2473,
                "xa_scale": 1.1232,
                "opponent_lambda": 2.325,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.3744,
                  "after": 0.467
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0423,
                  "after": 0.0475
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 6 by projected rating, fifa_overall 74.0)",
              "stats": {
                "expected_goals": 0.467,
                "goal_rate": 0.414,
                "goals": 0,
                "shots_on_target": 1.0831,
                "total_shots": 2.1487,
                "expected_assists": 0.0475,
                "key_pass": 0.5578,
                "rating": 6.8095,
                "minutes": 83.55,
                "total_pass": 11.0738,
                "accurate_pass": 7.6971,
                "duels_won": 4.3865,
                "total_long_balls": 0.397,
                "accurate_long_balls": 0.1732,
                "total_opp_half_passes": 7.4692,
                "accurate_opp_half_passes": 4.6622,
                "crosses_total": 0.1617,
                "crosses_accurate": 0.0095,
                "touches": 22.6489,
                "possession_lost": 7.0517,
                "dispossessed": 0.5272,
                "duels_lost": 5.5178,
                "aerial_lost": 2.8043,
                "total_contest": 0.5,
                "won_contest": 0.2772,
                "ball_recovery": 0.8833,
                "challenges_lost": 0.5272,
                "fouls": 1.6221,
                "fouls_drawn": 1.4566,
                "assist_rate": 0.0303,
                "assists": 0,
                "interceptions": 0.145,
                "tackles_won": 0.6889,
                "tackles": 0.7286,
                "clearances": 1.153,
                "blocks": 0.1252,
                "big_chances_created": 0.0058,
                "big_chances_missed": 0.6791,
                "xgot": 0.5616,
                "offsides": 1.1905,
                "ball_carries": 5.0507,
                "total_progression": 0.9829,
                "progressive_carries": 0.3494,
                "shots_off_target": 1.0656,
                "duel_xg_multiplier": 0.9341,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.8,
                "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": "Robin Le Normand, Cristian Romero",
                "opponent_faced": "Robin Le Normand, Cristian Romero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0933,
                "creation_factor": 0.87,
                "fifa_overall": 74.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": 3459,
                "fifa_rank": 2903.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": {
                "expected_goals": 0.467,
                "goal_rate": 0.414,
                "goals": 1,
                "shots_on_target": 1.0831,
                "total_shots": 2.1487,
                "expected_assists": 0.0475,
                "key_pass": 0.5578,
                "rating": 6.8095,
                "minutes": 83.55,
                "total_pass": 11.0738,
                "accurate_pass": 7.6971,
                "duels_won": 4.3865,
                "total_long_balls": 0.397,
                "accurate_long_balls": 0.1732,
                "total_opp_half_passes": 7.4692,
                "accurate_opp_half_passes": 4.6622,
                "crosses_total": 0.1617,
                "crosses_accurate": 0.0095,
                "touches": 22.6489,
                "possession_lost": 7.0517,
                "dispossessed": 0.5272,
                "duels_lost": 5.5178,
                "aerial_lost": 2.8043,
                "total_contest": 0.5,
                "won_contest": 0.2772,
                "ball_recovery": 0.8833,
                "challenges_lost": 0.5272,
                "fouls": 1.6221,
                "fouls_drawn": 1.4566,
                "assist_rate": 0.0303,
                "assists": 0,
                "interceptions": 0.145,
                "tackles_won": 0.6889,
                "tackles": 0.7286,
                "clearances": 1.153,
                "blocks": 0.1252,
                "big_chances_created": 0.0058,
                "big_chances_missed": 0.6791,
                "xgot": 0.5616,
                "offsides": 1.1905,
                "ball_carries": 5.0507,
                "total_progression": 0.9829,
                "progressive_carries": 0.3494,
                "shots_off_target": 1.0656,
                "duel_xg_multiplier": 0.9341,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.8,
                "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": "Robin Le Normand, Cristian Romero",
                "opponent_faced": "Robin Le Normand, Cristian Romero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.3731,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0933,
                "creation_factor": 0.87,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 1,
                "goal_probability": 0.3731,
                "goal_rate": 0.414,
                "scorer_weight": 0.5106,
                "squad_weight_total": 1.4295,
                "weight_share": 0.3572,
                "finishing_factor": 1.0933,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.5106,
                    "already": 0,
                    "effective_weight": 0.5106,
                    "runner_up": "Javier Hernández",
                    "runner_up_effective_weight": 0.166
                  }
                ]
              }
            },
            {
              "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.467,
                "goal_rate": 0.414,
                "goals": 1,
                "shots_on_target": 1.0831,
                "total_shots": 2.1487,
                "expected_assists": 0.0475,
                "key_pass": 0.5578,
                "rating": 6.8095,
                "minutes": 83.55,
                "total_pass": 11.0738,
                "accurate_pass": 7.6971,
                "duels_won": 4.3865,
                "total_long_balls": 0.397,
                "accurate_long_balls": 0.1732,
                "total_opp_half_passes": 7.4692,
                "accurate_opp_half_passes": 4.6622,
                "crosses_total": 0.1617,
                "crosses_accurate": 0.0095,
                "touches": 22.6489,
                "possession_lost": 7.0517,
                "dispossessed": 0.5272,
                "duels_lost": 5.5178,
                "aerial_lost": 2.8043,
                "total_contest": 0.5,
                "won_contest": 0.2772,
                "ball_recovery": 0.8833,
                "challenges_lost": 0.5272,
                "fouls": 1.6221,
                "fouls_drawn": 1.4566,
                "assist_rate": 0.0303,
                "assists": 0,
                "interceptions": 0.145,
                "tackles_won": 0.6889,
                "tackles": 0.7286,
                "clearances": 1.153,
                "blocks": 0.1252,
                "big_chances_created": 0.0058,
                "big_chances_missed": 0.6791,
                "xgot": 0.5616,
                "offsides": 1.1905,
                "ball_carries": 5.0507,
                "total_progression": 0.9829,
                "progressive_carries": 0.3494,
                "shots_off_target": 1.0656,
                "duel_xg_multiplier": 0.9341,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.8,
                "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": "Robin Le Normand, Cristian Romero",
                "opponent_faced": "Robin Le Normand, Cristian Romero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.3731,
                "projected_assists": 0,
                "assist_probability": 0.0464,
                "finishing_factor": 1.0933,
                "creation_factor": 0.87,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0464,
                "assist_rate": 0.0303,
                "provider_weight": 0.0413,
                "squad_weight_total": 1.0297,
                "weight_share": 0.0401,
                "creation_factor": 0.87,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Javier Hernández",
                    "weight": 0.193,
                    "already": 0,
                    "effective_weight": 0.193,
                    "runner_up": "Bryan Zaragoza",
                    "runner_up_effective_weight": 0.1355,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Bryan Zaragoza": {
          "player_id": 1084730,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 15,
          "height": 165,
          "market_value": 7500000,
          "stats": {
            "expected_goals": 0.1209,
            "goal_rate": 0.128,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.1694,
            "key_pass": 1,
            "rating": 7.0792,
            "minutes": 76,
            "total_pass": 23,
            "accurate_pass": 18,
            "duels_won": 5,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 17,
            "accurate_opp_half_passes": 13,
            "crosses_total": 5,
            "crosses_accurate": 1,
            "touches": 43,
            "possession_lost": 14.3582,
            "dispossessed": 0.3188,
            "duels_lost": 5,
            "aerial_lost": 0,
            "total_contest": 5,
            "won_contest": 2,
            "ball_recovery": 3,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "assist_rate": 0.0527,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.2162,
            "offsides": 0,
            "ball_carries": 20,
            "total_progression": 102,
            "progressive_carries": 5,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.748,
            "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": "Robin Le Normand, Cristian Romero",
            "opponent_faced": "Robin Le Normand, Cristian Romero",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.1139,
            "projected_assists": 0,
            "assist_probability": 0.1558,
            "finishing_factor": 1.2117,
            "creation_factor": 0.8,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 73,
                "rating": 8.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1478,
                "expected_assists": 0.0293,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 21,
                "accurate_pass": 19,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "duels_won": 9,
                "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": 16416299,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Elche",
              "stats": {
                "minutes": 67,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0526,
                "expected_assists": 0.2013,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 29,
                "accurate_pass": 21,
                "key_pass": 1,
                "tackles": 1,
                "tackles_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": 16416345,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 45,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0702,
                "expected_assists": 0.1012,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 18,
                "accurate_pass": 13,
                "key_pass": 2,
                "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": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 10,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416323,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 15,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.3444,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 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": 14083136,
              "match_date": "2026-01-25",
              "home_team": "Real Sociedad",
              "away_team": "Celta Vigo",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Celta Vigo",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3202,
                "expected_assists": 0.3853,
                "total_shots": 4,
                "shots_on_target": 2,
                "total_pass": 38,
                "accurate_pass": 33,
                "key_pass": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083226,
              "match_date": "2026-01-18",
              "home_team": "Celta Vigo",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Celta Vigo",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 8.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.8167,
                "expected_assists": 0.2286,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 26,
                "accurate_pass": 18,
                "key_pass": 1,
                "tackles": 2,
                "duels_won": 9,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083219,
              "match_date": "2026-01-12",
              "home_team": "Sevilla",
              "away_team": "Celta Vigo",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Celta Vigo",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 67,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1125,
                "expected_assists": 0.0294,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 15,
                "accurate_pass": 11,
                "key_pass": 1,
                "duels_won": 7,
                "ball_recovery": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083196,
              "match_date": "2026-01-03",
              "home_team": "Celta Vigo",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Celta Vigo",
              "opponent": "Valencia",
              "stats": {
                "minutes": 67,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0545,
                "expected_assists": 0.3315,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 13,
                "accurate_pass": 12,
                "key_pass": 1,
                "duels_won": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083192,
              "match_date": "2025-12-20",
              "home_team": "Real Oviedo",
              "away_team": "Celta Vigo",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Celta Vigo",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 63,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0124,
                "expected_assists": 0.079,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 15,
                "accurate_pass": 12,
                "key_pass": 2,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 3033,
            "combined_rank_score": 1005.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 497.0,
            "sofascore_rating": 6.8611,
            "sofascore_appearances": 19.0,
            "fifa_rank": 1513.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 2,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0792,
            "source_file": "data/player_rankings.csv",
            "player_name": "Bryan Zaragoza",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Dumitru Celeadnic",
                  "ranking": 3028
                },
                {
                  "player_name": "Leo Kapilevich",
                  "ranking": 3029
                },
                {
                  "player_name": "Jens Petter Hauge",
                  "ranking": 3030
                },
                {
                  "player_name": "James Justin",
                  "ranking": 3031
                },
                {
                  "player_name": "Jens Hofer",
                  "ranking": 3032
                }
              ],
              "lower": [
                {
                  "player_name": "Wout Weghorst",
                  "ranking": 3034
                },
                {
                  "player_name": "Jake Azzopardi",
                  "ranking": 3035
                },
                {
                  "player_name": "Ki Hyun Lee",
                  "ranking": 3036
                },
                {
                  "player_name": "Jaume Cuéllar",
                  "ranking": 3037
                },
                {
                  "player_name": "Daniel Cordero",
                  "ranking": 3038
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 24,
          "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": 24,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9994,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (F_service) evaluated 24 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1295,
                "goals": 0.1712,
                "goal_rate": 0.1712,
                "shots_on_target": 0.5357,
                "total_shots": 1.6293,
                "expected_assists": 0.1508,
                "key_pass": 1.4308,
                "rating": 7.0792,
                "minutes": 76.26,
                "total_pass": 23.3134,
                "accurate_pass": 18.4549,
                "duels_won": 4.8576,
                "total_long_balls": 1.9995,
                "accurate_long_balls": 1.0815,
                "total_opp_half_passes": 16.7577,
                "accurate_opp_half_passes": 12.8067,
                "crosses_total": 4.6629,
                "crosses_accurate": 1.1374,
                "touches": 43.2169,
                "possession_lost": 14.3668,
                "dispossessed": 0.319,
                "duels_lost": 4.8794,
                "aerial_lost": 0.3963,
                "total_contest": 5.1763,
                "won_contest": 2.406,
                "ball_recovery": 2.6626,
                "challenges_lost": 0.7976,
                "fouls": 0.5961,
                "fouls_drawn": 1.4767,
                "assists": 0.0527,
                "assist_rate": 0.0527,
                "interceptions": 0.0448,
                "tackles_won": 0.544,
                "tackles": 0.9301,
                "clearances": 0.1948,
                "blocks": 0.0,
                "big_chances_created": 0.2469,
                "big_chances_missed": 0.0,
                "xgot": 0.2318,
                "offsides": 0.2959,
                "ball_carries": 20.1299,
                "total_progression": 102.1853,
                "progressive_carries": 5.2983,
                "shots_off_target": 1.0935
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-16T10:32:26.279343+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Málaga CF",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.1531,
                    "rating": 8.3
                  },
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Elche",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.1301,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1106,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.094,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.0799,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-01-25",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0679,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-01-18",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0577,
                    "rating": 8.3
                  },
                  {
                    "match_date": "2026-01-12",
                    "opponent": "Sevilla",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.0491,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-01-03",
                    "opponent": "Valencia",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.0417,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2025-12-20",
                    "opponent": "Real Oviedo",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.0355,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalOppositionHalfPasses": 14.1814,
                  "expectedGoals": 0.1216,
                  "accurateOppositionHalfPasses": 10.3118,
                  "accuratePass": 14.9458,
                  "totalShots": 1.3337
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1295449137687683,
                    "model_output": 0.1295,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0585
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0501
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": -0.0159
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0136
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0121
                        }
                      ],
                      "others": -0.0348,
                      "total": 0.1295,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.259292
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.217904
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": -0.080504
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.07428
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.071333
                        }
                      ],
                      "others_margin": -0.237081
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.17124739289283752,
                    "model_output": 0.1712,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0651
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0492
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0137
                        },
                        {
                          "name": "goals",
                          "contribution": 0.013
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": -0.0112
                        }
                      ],
                      "others": -0.0362,
                      "total": 0.1712,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.277579
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.2023
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.064415
                        },
                        {
                          "name": "goals",
                          "margin": 0.061322
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": -0.052784
                        }
                      ],
                      "others_margin": -0.191259
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5357497334480286,
                    "model_output": 0.5357,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1561
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0802
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0325
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.025
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": -0.0221
                        }
                      ],
                      "others": 0.0018,
                      "total": 0.5357,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.254954
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.122893
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.054429
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.043932
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": -0.040528
                        }
                      ],
                      "others_margin": 0.003287
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.6292675733566284,
                    "model_output": 1.6293,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4228
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0575
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.049
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0483
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0371
                        }
                      ],
                      "others": -0.0496,
                      "total": 1.6293,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.422785
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.05745
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.049038
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.048288
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.037054
                        }
                      ],
                      "others_margin": -0.049635
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.15077243745326996,
                    "model_output": 0.1508,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0135
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0104
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0077
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0083
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0084
                        }
                      ],
                      "others": 0.0383,
                      "total": 0.1508,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.190838
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.125236
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.083436
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.082704
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.077245
                        }
                      ],
                      "others_margin": 0.294067
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 1.430830478668213,
                    "model_output": 1.4308,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1639
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.1115
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0651
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0659
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0517
                        }
                      ],
                      "others": 0.2993,
                      "total": 1.4308,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.217823
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.12505
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.066408
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.063007
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.04679
                        }
                      ],
                      "others_margin": 0.234639
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.079163074493408,
                    "model_output": 7.0792,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0785
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0774
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0442
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0341
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0288
                        }
                      ],
                      "others": 0.0492,
                      "total": 7.0792,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.078478
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.077402
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.04424
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.034139
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.028805
                        }
                      ],
                      "others_margin": 0.049097
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 24,
                  "role_matches": 15,
                  "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.9994, quality 0.493)",
              "stats": {
                "expected_goals": 0.1295,
                "goals": 0.1711,
                "goal_rate": 0.1711,
                "shots_on_target": 0.5354,
                "total_shots": 1.6283,
                "expected_assists": 0.1507,
                "key_pass": 1.43,
                "rating": 7.0792,
                "minutes": 76.26,
                "total_pass": 23.2994,
                "accurate_pass": 18.4438,
                "duels_won": 4.8547,
                "total_long_balls": 1.9983,
                "accurate_long_balls": 1.0809,
                "total_opp_half_passes": 16.7476,
                "accurate_opp_half_passes": 12.799,
                "crosses_total": 4.6601,
                "crosses_accurate": 1.1367,
                "touches": 43.191,
                "possession_lost": 14.3582,
                "dispossessed": 0.3188,
                "duels_lost": 4.8765,
                "aerial_lost": 0.3961,
                "total_contest": 5.1732,
                "won_contest": 2.4046,
                "ball_recovery": 2.661,
                "challenges_lost": 0.7971,
                "fouls": 0.5957,
                "fouls_drawn": 1.4758,
                "assists": 0.0527,
                "assist_rate": 0.0527,
                "interceptions": 0.0448,
                "tackles_won": 0.5437,
                "tackles": 0.9295,
                "clearances": 0.1947,
                "blocks": 0.0,
                "big_chances_created": 0.2468,
                "big_chances_missed": 0.0,
                "xgot": 0.2317,
                "offsides": 0.2957,
                "ball_carries": 20.1178,
                "total_progression": 102.124,
                "progressive_carries": 5.2951,
                "shots_off_target": 1.0928
              },
              "params": {
                "market_value_eur": 7500000,
                "quality_factor": 0.4927,
                "boost_factor": 0.9994,
                "reference_quality": 0.505,
                "history_matches": 24,
                "history_shrink": 0.1724,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1295,
                "goals": 0.1711,
                "goal_rate": 0.1711,
                "shots_on_target": 0.5354,
                "total_shots": 1.6283,
                "expected_assists": 0.1507,
                "key_pass": 1.43,
                "rating": 7.0792,
                "minutes": 76.26,
                "total_pass": 23.2994,
                "accurate_pass": 18.4438,
                "duels_won": 4.8547,
                "total_long_balls": 1.9983,
                "accurate_long_balls": 1.0809,
                "total_opp_half_passes": 16.7476,
                "accurate_opp_half_passes": 12.799,
                "crosses_total": 4.6601,
                "crosses_accurate": 1.1367,
                "touches": 43.191,
                "possession_lost": 14.3582,
                "dispossessed": 0.3188,
                "duels_lost": 4.8765,
                "aerial_lost": 0.3961,
                "total_contest": 5.1732,
                "won_contest": 2.4046,
                "ball_recovery": 2.661,
                "challenges_lost": 0.7971,
                "fouls": 0.5957,
                "fouls_drawn": 1.4758,
                "assists": 0.0527,
                "assist_rate": 0.0527,
                "interceptions": 0.0448,
                "tackles_won": 0.5437,
                "tackles": 0.9295,
                "clearances": 0.1947,
                "blocks": 0.0,
                "big_chances_created": 0.2468,
                "big_chances_missed": 0.0,
                "xgot": 0.2317,
                "offsides": 0.2957,
                "ball_carries": 20.1178,
                "total_progression": 102.124,
                "progressive_carries": 5.2951,
                "shots_off_target": 1.0928
              },
              "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.0969,
                "goals": 0.128,
                "goal_rate": 0.128,
                "shots_on_target": 0.4005,
                "total_shots": 1.218,
                "expected_assists": 0.1507,
                "key_pass": 1.43,
                "rating": 7.0792,
                "minutes": 76.26,
                "total_pass": 23.2994,
                "accurate_pass": 18.4438,
                "duels_won": 4.8547,
                "total_long_balls": 1.9983,
                "accurate_long_balls": 1.0809,
                "total_opp_half_passes": 16.7476,
                "accurate_opp_half_passes": 12.799,
                "crosses_total": 4.6601,
                "crosses_accurate": 1.1367,
                "touches": 43.191,
                "possession_lost": 14.3582,
                "dispossessed": 0.3188,
                "duels_lost": 4.8765,
                "aerial_lost": 0.3961,
                "total_contest": 5.1732,
                "won_contest": 2.4046,
                "ball_recovery": 2.661,
                "challenges_lost": 0.7971,
                "fouls": 0.5957,
                "fouls_drawn": 1.4758,
                "assists": 0.0527,
                "assist_rate": 0.0527,
                "interceptions": 0.0448,
                "tackles_won": 0.5437,
                "tackles": 0.9295,
                "clearances": 0.1947,
                "blocks": 0.0,
                "big_chances_created": 0.2468,
                "big_chances_missed": 0.0,
                "xgot": 0.1733,
                "offsides": 0.2957,
                "ball_carries": 20.1178,
                "total_progression": 102.124,
                "progressive_carries": 5.2951,
                "shots_off_target": 0.8174,
                "duel_xg_multiplier": 0.748,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.0,
                "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": "Robin Le Normand, Cristian Romero",
                "opponent_faced": "Robin Le Normand, Cristian Romero",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Robin Le Normand, Cristian Romero",
                  "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.748,
                  "skill_edge": -0.1115,
                  "height_edge": -0.06,
                  "attacker_skill": 0.4927,
                  "defender_skill": 0.7403,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Robin Le Normand",
                      "market_value": 17200000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.6589
                    },
                    {
                      "player": "Cristian Romero",
                      "market_value": 37000000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.8218
                    }
                  ],
                  "xg_override": 0.0969
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.6283,
                  "after": 1.218
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.0928,
                  "after": 0.8174
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.5354,
                  "after": 0.4005
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.2317,
                  "after": 0.1733
                },
                {
                  "stat": "goals",
                  "before": 0.1711,
                  "after": 0.128
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1295,
                  "after": 0.0969
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.0969,
                "goal_rate": 0.128,
                "goals": 0,
                "shots_on_target": 0.4005,
                "total_shots": 1.218,
                "expected_assists": 0.1507,
                "key_pass": 1.43,
                "rating": 7.0792,
                "minutes": 76.26,
                "total_pass": 23.2994,
                "accurate_pass": 18.4438,
                "duels_won": 4.8547,
                "total_long_balls": 1.9983,
                "accurate_long_balls": 1.0809,
                "total_opp_half_passes": 16.7476,
                "accurate_opp_half_passes": 12.799,
                "crosses_total": 4.6601,
                "crosses_accurate": 1.1367,
                "touches": 43.191,
                "possession_lost": 14.3582,
                "dispossessed": 0.3188,
                "duels_lost": 4.8765,
                "aerial_lost": 0.3961,
                "total_contest": 5.1732,
                "won_contest": 2.4046,
                "ball_recovery": 2.661,
                "challenges_lost": 0.7971,
                "fouls": 0.5957,
                "fouls_drawn": 1.4758,
                "assist_rate": 0.0527,
                "assists": 0,
                "interceptions": 0.0448,
                "tackles_won": 0.5437,
                "tackles": 0.9295,
                "clearances": 0.1947,
                "blocks": 0.0,
                "big_chances_created": 0.2468,
                "big_chances_missed": 0.0,
                "xgot": 0.1733,
                "offsides": 0.2957,
                "ball_carries": 20.1178,
                "total_progression": 102.124,
                "progressive_carries": 5.2951,
                "shots_off_target": 0.8174,
                "duel_xg_multiplier": 0.748,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.0,
                "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": "Robin Le Normand, Cristian Romero",
                "opponent_faced": "Robin Le Normand, Cristian Romero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.34 (squad xG sum 1.0719, xG scale 1.2473, xA scale 1.1232, team xA 1.07 = 0.80 x lambda)",
              "stats": {
                "expected_goals": 0.1209,
                "goal_rate": 0.128,
                "goals": 0,
                "shots_on_target": 0.4005,
                "total_shots": 1.218,
                "expected_assists": 0.1694,
                "key_pass": 1.43,
                "rating": 7.0792,
                "minutes": 76.26,
                "total_pass": 23.2994,
                "accurate_pass": 18.4438,
                "duels_won": 4.8547,
                "total_long_balls": 1.9983,
                "accurate_long_balls": 1.0809,
                "total_opp_half_passes": 16.7476,
                "accurate_opp_half_passes": 12.799,
                "crosses_total": 4.6601,
                "crosses_accurate": 1.1367,
                "touches": 43.191,
                "possession_lost": 14.3582,
                "dispossessed": 0.3188,
                "duels_lost": 4.8765,
                "aerial_lost": 0.3961,
                "total_contest": 5.1732,
                "won_contest": 2.4046,
                "ball_recovery": 2.661,
                "challenges_lost": 0.7971,
                "fouls": 0.5957,
                "fouls_drawn": 1.4758,
                "assist_rate": 0.0527,
                "assists": 0,
                "interceptions": 0.0448,
                "tackles_won": 0.5437,
                "tackles": 0.9295,
                "clearances": 0.1947,
                "blocks": 0.0,
                "big_chances_created": 0.2468,
                "big_chances_missed": 0.0,
                "xgot": 0.2162,
                "offsides": 0.2957,
                "ball_carries": 20.1178,
                "total_progression": 102.124,
                "progressive_carries": 5.2951,
                "shots_off_target": 0.8174,
                "duel_xg_multiplier": 0.748,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.0,
                "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": "Robin Le Normand, Cristian Romero",
                "opponent_faced": "Robin Le Normand, Cristian Romero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2117,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.337,
                "squad_xg_sum": 1.0719,
                "squad_xa_sum": 0.9523,
                "team_expected_assists": 1.0696,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2473,
                "xa_scale": 1.1232,
                "opponent_lambda": 2.325,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0969,
                  "after": 0.1209
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1507,
                  "after": 0.1694
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 2 by projected rating, fifa_overall 77.0)",
              "stats": {
                "expected_goals": 0.1209,
                "goal_rate": 0.128,
                "goals": 0,
                "shots_on_target": 0.4005,
                "total_shots": 1.218,
                "expected_assists": 0.1694,
                "key_pass": 1.43,
                "rating": 7.0792,
                "minutes": 76.26,
                "total_pass": 23.2994,
                "accurate_pass": 18.4438,
                "duels_won": 4.8547,
                "total_long_balls": 1.9983,
                "accurate_long_balls": 1.0809,
                "total_opp_half_passes": 16.7476,
                "accurate_opp_half_passes": 12.799,
                "crosses_total": 4.6601,
                "crosses_accurate": 1.1367,
                "touches": 43.191,
                "possession_lost": 14.3582,
                "dispossessed": 0.3188,
                "duels_lost": 4.8765,
                "aerial_lost": 0.3961,
                "total_contest": 5.1732,
                "won_contest": 2.4046,
                "ball_recovery": 2.661,
                "challenges_lost": 0.7971,
                "fouls": 0.5957,
                "fouls_drawn": 1.4758,
                "assist_rate": 0.0527,
                "assists": 0,
                "interceptions": 0.0448,
                "tackles_won": 0.5437,
                "tackles": 0.9295,
                "clearances": 0.1947,
                "blocks": 0.0,
                "big_chances_created": 0.2468,
                "big_chances_missed": 0.0,
                "xgot": 0.2162,
                "offsides": 0.2957,
                "ball_carries": 20.1178,
                "total_progression": 102.124,
                "progressive_carries": 5.2951,
                "shots_off_target": 0.8174,
                "duel_xg_multiplier": 0.748,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.0,
                "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": "Robin Le Normand, Cristian Romero",
                "opponent_faced": "Robin Le Normand, Cristian Romero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2117,
                "creation_factor": 0.8,
                "fifa_overall": 77.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": 3033,
                "fifa_rank": 1513.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.1209,
                "goal_rate": 0.128,
                "goals": 0,
                "shots_on_target": 0.4005,
                "total_shots": 1.218,
                "expected_assists": 0.1694,
                "key_pass": 1.43,
                "rating": 7.0792,
                "minutes": 76.26,
                "total_pass": 23.2994,
                "accurate_pass": 18.4438,
                "duels_won": 4.8547,
                "total_long_balls": 1.9983,
                "accurate_long_balls": 1.0809,
                "total_opp_half_passes": 16.7476,
                "accurate_opp_half_passes": 12.799,
                "crosses_total": 4.6601,
                "crosses_accurate": 1.1367,
                "touches": 43.191,
                "possession_lost": 14.3582,
                "dispossessed": 0.3188,
                "duels_lost": 4.8765,
                "aerial_lost": 0.3961,
                "total_contest": 5.1732,
                "won_contest": 2.4046,
                "ball_recovery": 2.661,
                "challenges_lost": 0.7971,
                "fouls": 0.5957,
                "fouls_drawn": 1.4758,
                "assist_rate": 0.0527,
                "assists": 0,
                "interceptions": 0.0448,
                "tackles_won": 0.5437,
                "tackles": 0.9295,
                "clearances": 0.1947,
                "blocks": 0.0,
                "big_chances_created": 0.2468,
                "big_chances_missed": 0.0,
                "xgot": 0.2162,
                "offsides": 0.2957,
                "ball_carries": 20.1178,
                "total_progression": 102.124,
                "progressive_carries": 5.2951,
                "shots_off_target": 0.8174,
                "duel_xg_multiplier": 0.748,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.0,
                "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": "Robin Le Normand, Cristian Romero",
                "opponent_faced": "Robin Le Normand, Cristian Romero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1139,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2117,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1139,
                "goal_rate": 0.128,
                "scorer_weight": 0.1465,
                "squad_weight_total": 1.4295,
                "weight_share": 0.1025,
                "finishing_factor": 1.2117,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.5106,
                    "already": 0,
                    "effective_weight": 0.5106,
                    "runner_up": "Javier Hernández",
                    "runner_up_effective_weight": 0.166
                  }
                ]
              }
            },
            {
              "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.1209,
                "goal_rate": 0.128,
                "goals": 0,
                "shots_on_target": 0.4005,
                "total_shots": 1.218,
                "expected_assists": 0.1694,
                "key_pass": 1.43,
                "rating": 7.0792,
                "minutes": 76.26,
                "total_pass": 23.2994,
                "accurate_pass": 18.4438,
                "duels_won": 4.8547,
                "total_long_balls": 1.9983,
                "accurate_long_balls": 1.0809,
                "total_opp_half_passes": 16.7476,
                "accurate_opp_half_passes": 12.799,
                "crosses_total": 4.6601,
                "crosses_accurate": 1.1367,
                "touches": 43.191,
                "possession_lost": 14.3582,
                "dispossessed": 0.3188,
                "duels_lost": 4.8765,
                "aerial_lost": 0.3961,
                "total_contest": 5.1732,
                "won_contest": 2.4046,
                "ball_recovery": 2.661,
                "challenges_lost": 0.7971,
                "fouls": 0.5957,
                "fouls_drawn": 1.4758,
                "assist_rate": 0.0527,
                "assists": 0,
                "interceptions": 0.0448,
                "tackles_won": 0.5437,
                "tackles": 0.9295,
                "clearances": 0.1947,
                "blocks": 0.0,
                "big_chances_created": 0.2468,
                "big_chances_missed": 0.0,
                "xgot": 0.2162,
                "offsides": 0.2957,
                "ball_carries": 20.1178,
                "total_progression": 102.124,
                "progressive_carries": 5.2951,
                "shots_off_target": 0.8174,
                "duel_xg_multiplier": 0.748,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.0,
                "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": "Robin Le Normand, Cristian Romero",
                "opponent_faced": "Robin Le Normand, Cristian Romero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1139,
                "projected_assists": 0,
                "assist_probability": 0.1558,
                "finishing_factor": 1.2117,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1558,
                "assist_rate": 0.0527,
                "provider_weight": 0.1355,
                "squad_weight_total": 1.0297,
                "weight_share": 0.1316,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Javier Hernández",
                    "weight": 0.193,
                    "already": 0,
                    "effective_weight": 0.193,
                    "runner_up": "Bryan Zaragoza",
                    "runner_up_effective_weight": 0.1355,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Javier Hernández": {
          "player_id": 1514913,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 28,
          "height": 175,
          "market_value": 6400000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1544,
            "assist_rate": 0.2528,
            "assists": 1,
            "expected_goals": 0.15,
            "goal_rate": 0.1385,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "rating": 6.7616,
            "minutes": 78,
            "total_pass": 21,
            "accurate_pass": 17,
            "duels_won": 4,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_own_half_passes": 7,
            "accurate_own_half_passes": 6,
            "total_opp_half_passes": 13,
            "accurate_opp_half_passes": 11,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 40,
            "possession_lost": 14.5684,
            "dispossessed": 3.0049,
            "duels_lost": 8,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "total_contest": 3,
            "won_contest": 1,
            "challenges_lost": 1,
            "fouls": 2,
            "fouls_drawn": 2,
            "blocks": 0,
            "big_chances_created": 1,
            "big_chances_missed": 0,
            "xgot": 0.1244,
            "ball_carries": 14,
            "total_progression": 92,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.7646,
            "dribbles_attempted": 3,
            "dribbles_successful": 0.7,
            "crosses_attempted": 1.9,
            "duel_win_rate": 0.26,
            "pressing_faced": "LOW",
            "matchup_zone": "Left Wing vs Right Back — Flank Battle",
            "numerical_situation": "1v1",
            "opponent_defenders": "Jan Oblak",
            "opponent_faced": "Jan Oblak",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1393,
            "projected_assists": 1,
            "assist_probability": 0.1431,
            "finishing_factor": 1.1069,
            "creation_factor": 1.25,
            "fifa_overall": 86.0
          },
          "latest_10_games": [
            {
              "match_id": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 57,
                "rating": 6.8,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.1112,
                "expected_assists": 0.0252,
                "total_shots": 1,
                "total_pass": 20,
                "accurate_pass": 16,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 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": 16416299,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1111,
                "expected_assists": 0.0952,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 32,
                "accurate_pass": 27,
                "key_pass": 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": 16416345,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 74,
                "rating": 6.3,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.3039,
                "expected_assists": 0.1902,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 13,
                "accurate_pass": 11,
                "key_pass": 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": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 80,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0157,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 17,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "duels_won": 6,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416323,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 5.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0603,
                "expected_assists": 0.0188,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 21,
                "accurate_pass": 18,
                "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": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 70,
                "rating": 6.3,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0962,
                "expected_assists": 0.08,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 12,
                "accurate_pass": 8,
                "key_pass": 2,
                "tackles": 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": 16416306,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 75,
                "rating": 6.9,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.2864,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 15,
                "key_pass": 2,
                "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": 16421053,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 82,
                "rating": 7.3,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.1872,
                "expected_assists": 0.3474,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 26,
                "accurate_pass": 19,
                "key_pass": 3,
                "tackles": 3,
                "tackles_won": 2,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 198,
            "combined_rank_score": 125.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 157.0,
            "sofascore_rating": 7.3,
            "sofascore_appearances": 1.0,
            "fifa_rank": 93.0,
            "fifa_overall": 86.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7616,
            "source_file": "data/player_rankings.csv",
            "player_name": "Javier Hernández",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Yarden Shua",
                  "ranking": 193
                },
                {
                  "player_name": "Antonio Sivera",
                  "ranking": 194
                },
                {
                  "player_name": "Igor Lichnovsky",
                  "ranking": 195
                },
                {
                  "player_name": "Luis Rojas",
                  "ranking": 196
                },
                {
                  "player_name": "Armandas Kučys",
                  "ranking": 197
                }
              ],
              "lower": [
                {
                  "player_name": "Daler Tukhsanov",
                  "ranking": 199
                },
                {
                  "player_name": "Azamat Soyibov",
                  "ranking": 200
                },
                {
                  "player_name": "Kervin Andrade",
                  "ranking": 201
                },
                {
                  "player_name": "Guillermo Maripán",
                  "ranking": 202
                },
                {
                  "player_name": "Emil Tîmbur",
                  "ranking": 203
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.775,
          "history_matches": 8,
          "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": 8,
            "data_confidence": 0.775,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.997,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 224.0,
              "goals_per90": 0.0,
              "assists_per90": 1.2,
              "shots_per90": 1.21,
              "shots_on_target_pct": 33.3,
              "prior_reliability": 0.1667
            },
            "rationale": "XGBoost regressor (M_service) evaluated 8 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Espanyol, rel: 0.17, gls/90: 0.0, ast/90: 1.2)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1.4292,
                "expected_assists": 0.1379,
                "assists": 0.2192,
                "assist_rate": 0.2192,
                "expected_goals": 0.1579,
                "goals": 0.1896,
                "goal_rate": 0.1896,
                "shots_on_target": 0.6769,
                "total_shots": 1.7621,
                "rating": 6.7616,
                "minutes": 78.02,
                "total_pass": 20.6482,
                "accurate_pass": 16.9135,
                "duels_won": 3.6052,
                "total_long_balls": 1.0944,
                "accurate_long_balls": 0.5408,
                "total_own_half_passes": 7.1351,
                "accurate_own_half_passes": 6.2767,
                "total_opp_half_passes": 13.5131,
                "accurate_opp_half_passes": 10.6368,
                "crosses_total": 2.0242,
                "crosses_accurate": 0.3019,
                "touches": 39.6751,
                "possession_lost": 14.6122,
                "dispossessed": 3.0139,
                "duels_lost": 8.0833,
                "aerial_won": 0.2062,
                "aerial_lost": 0.5286,
                "interceptions": 0.1266,
                "tackles_won": 0.5916,
                "tackles": 0.9536,
                "clearances": 0.0661,
                "total_contest": 2.514,
                "won_contest": 0.8375,
                "challenges_lost": 1.2134,
                "fouls": 1.9039,
                "fouls_drawn": 1.6079,
                "blocks": 0.0,
                "big_chances_created": 0.5596,
                "big_chances_missed": 0.0,
                "xgot": 0.1308,
                "ball_carries": 14.0026,
                "total_progression": 92.1491,
                "progressive_carries": 2.3147,
                "shots_off_target": 1.0852
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-16T10:31:49.993480+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 895,
                    "rows": 24017
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Málaga CF",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.2062,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1753,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.149,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.1266,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1076,
                    "rating": 5.7
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Sociedad",
                    "minutes": 70.0,
                    "is_starting": true,
                    "weight": 0.0915,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Real Madrid",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.0778,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Levante UD",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.0661,
                    "rating": 7.3
                  }
                ],
                "feature_row": {
                  "history_matches": 8.0,
                  "is_starting_11": 1.0,
                  "totalShots": 1.6178,
                  "creative_index": 0.8223,
                  "expectedGoals": 0.1153,
                  "expectedAssists": 0.1068,
                  "onTargetScoringAttempt": 0.4979
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.4292386770248413,
                    "model_output": 1.4292,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.16
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1359
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0622
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0532
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0278
                      }
                    ],
                    "decomposition": {
                      "base": 0.893,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": 0.1694
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1259
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0676
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0489
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0439
                        }
                      ],
                      "others": 0.1683,
                      "total": 1.4292,
                      "log_link": true,
                      "margin_base": -0.113189,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": 0.17374
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.112014
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.055335
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.03818
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.034227
                        }
                      ],
                      "others_margin": 0.125289
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.13794709742069244,
                    "model_output": 0.1379,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1089
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1043
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1031
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0607
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0542
                      }
                    ],
                    "decomposition": {
                      "base": 0.0856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0097
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.008
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0052
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0046
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0047
                        }
                      ],
                      "others": 0.0201,
                      "total": 0.1379,
                      "log_link": true,
                      "margin_base": -2.457601,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.107781
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.080919
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.049221
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.041882
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.040863
                        }
                      ],
                      "others_margin": 0.156049
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.21921919286251068,
                    "model_output": 0.2192,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.057
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.052
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0301
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0295
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0109
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.01
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0104
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0113
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0124
                        }
                      ],
                      "others": 0.077,
                      "total": 0.2192,
                      "log_link": true,
                      "margin_base": -2.439072,
                      "item_margins": [
                        {
                          "name": "press_vulnerability",
                          "margin": 0.117291
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.097182
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.091906
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.091292
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.09105
                        }
                      ],
                      "others_margin": 0.432669
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.15785810351371765,
                    "model_output": 0.1579,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1269
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0844
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0755
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0372
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0272
                      }
                    ],
                    "decomposition": {
                      "base": 0.0943,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0225
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0139
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0155
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.008
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0056
                        }
                      ],
                      "others": 0.0093,
                      "total": 0.1579,
                      "log_link": true,
                      "margin_base": -2.361326,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": 0.21414
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.112346
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.111902
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.053057
                        },
                        {
                          "name": "goals",
                          "margin": -0.037234
                        }
                      ],
                      "others_margin": 0.061056
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.18959294259548187,
                    "model_output": 0.1896,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0894
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0486
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0452
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0389
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0978,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0289
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0142
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0126
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0126
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0124
                        }
                      ],
                      "others": 0.0111,
                      "total": 0.1896,
                      "log_link": true,
                      "margin_base": -2.324947,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.259265
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.106501
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.085612
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.078721
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.071896
                        }
                      ],
                      "others_margin": 0.060075
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.6768975853919983,
                    "model_output": 0.6769,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1038
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0848
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0823
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0306
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.3257,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0627
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0569
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0438
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0404
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0373
                        }
                      ],
                      "others": 0.1101,
                      "total": 0.6769,
                      "log_link": true,
                      "margin_base": -1.121688,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.176086
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.136809
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.093841
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.079433
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.068104
                        }
                      ],
                      "others_margin": 0.17718
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.76213800907135,
                    "model_output": 1.7621,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1304
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.1272
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0577
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0476
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0242
                      }
                    ],
                    "decomposition": {
                      "base": 0.9955,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.3488
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1686
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0576
                        },
                        {
                          "name": "goalAssist",
                          "contribution": 0.055
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0532
                        }
                      ],
                      "others": 0.1898,
                      "total": 1.7621,
                      "log_link": false,
                      "margin_base": 0.995535,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.348791
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.168562
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.057632
                        },
                        {
                          "name": "goalAssist",
                          "margin": 0.054999
                        },
                        {
                          "name": "goals",
                          "margin": -0.05322
                        }
                      ],
                      "others_margin": 0.18984
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.761565685272217,
                    "model_output": 6.7616,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0934
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0793
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0569
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0427
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 6.8531,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.032
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0233
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0213
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0213
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0204
                        }
                      ],
                      "others": -0.014,
                      "total": 6.7616,
                      "log_link": false,
                      "margin_base": 6.853057,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.031973
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.023345
                        },
                        {
                          "name": "rating",
                          "margin": -0.021271
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.021252
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.02041
                        }
                      ],
                      "others_margin": -0.014061
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 8,
                  "role_matches": 8,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9970, quality 0.479)",
              "stats": {
                "key_pass": 1.425,
                "expected_assists": 0.1375,
                "assists": 0.2186,
                "assist_rate": 0.2186,
                "expected_goals": 0.1574,
                "goals": 0.189,
                "goal_rate": 0.189,
                "shots_on_target": 0.6749,
                "total_shots": 1.7569,
                "rating": 6.7616,
                "minutes": 78.02,
                "total_pass": 20.5863,
                "accurate_pass": 16.8628,
                "duels_won": 3.5944,
                "total_long_balls": 1.0911,
                "accurate_long_balls": 0.5392,
                "total_own_half_passes": 7.1137,
                "accurate_own_half_passes": 6.2579,
                "total_opp_half_passes": 13.4726,
                "accurate_opp_half_passes": 10.6049,
                "crosses_total": 2.0181,
                "crosses_accurate": 0.301,
                "touches": 39.5561,
                "possession_lost": 14.5684,
                "dispossessed": 3.0049,
                "duels_lost": 8.0591,
                "aerial_won": 0.2056,
                "aerial_lost": 0.527,
                "interceptions": 0.1262,
                "tackles_won": 0.5898,
                "tackles": 0.9507,
                "clearances": 0.0659,
                "total_contest": 2.5065,
                "won_contest": 0.835,
                "challenges_lost": 1.2098,
                "fouls": 1.8982,
                "fouls_drawn": 1.6031,
                "blocks": 0.0,
                "big_chances_created": 0.5579,
                "big_chances_missed": 0.0,
                "xgot": 0.1304,
                "ball_carries": 13.9606,
                "total_progression": 91.8727,
                "progressive_carries": 2.3078,
                "shots_off_target": 1.0819
              },
              "params": {
                "market_value_eur": 6400000,
                "quality_factor": 0.4793,
                "boost_factor": 0.997,
                "reference_quality": 0.505,
                "history_matches": 8,
                "history_shrink": 0.3846,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0417)",
              "stats": {
                "key_pass": 1.425,
                "expected_assists": 0.1375,
                "assists": 0.2528,
                "assist_rate": 0.2528,
                "expected_goals": 0.1574,
                "goals": 0.1811,
                "goal_rate": 0.1811,
                "shots_on_target": 0.6612,
                "total_shots": 1.7274,
                "rating": 6.7616,
                "minutes": 78.02,
                "total_pass": 20.5863,
                "accurate_pass": 16.8628,
                "duels_won": 3.5944,
                "total_long_balls": 1.0911,
                "accurate_long_balls": 0.5392,
                "total_own_half_passes": 7.1137,
                "accurate_own_half_passes": 6.2579,
                "total_opp_half_passes": 13.4726,
                "accurate_opp_half_passes": 10.6049,
                "crosses_total": 1.9484,
                "crosses_accurate": 0.301,
                "touches": 39.5561,
                "possession_lost": 14.5684,
                "dispossessed": 3.0049,
                "duels_lost": 8.0591,
                "aerial_won": 0.2056,
                "aerial_lost": 0.527,
                "interceptions": 0.1209,
                "tackles_won": 0.5941,
                "tackles": 0.9507,
                "clearances": 0.0659,
                "total_contest": 2.5065,
                "won_contest": 0.835,
                "challenges_lost": 1.2098,
                "fouls": 1.9347,
                "fouls_drawn": 1.6374,
                "blocks": 0.0,
                "big_chances_created": 0.5579,
                "big_chances_missed": 0.0,
                "xgot": 0.1304,
                "ball_carries": 13.9606,
                "total_progression": 91.8727,
                "progressive_carries": 2.3078,
                "shots_off_target": 1.0819
              },
              "params": {
                "blend_weight": 0.0417,
                "history_matches": 8,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8669,
                "prior_reliability": 0.1667,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 2.0181,
                  "after": 1.9484
                },
                {
                  "stat": "fouls",
                  "before": 1.8982,
                  "after": 1.9347
                },
                {
                  "stat": "wasFouled",
                  "before": 1.6031,
                  "after": 1.6374
                },
                {
                  "stat": "goalAssist",
                  "before": 0.2186,
                  "after": 0.2528
                },
                {
                  "stat": "totalShots",
                  "before": 1.7569,
                  "after": 1.7274
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.6749,
                  "after": 0.6612
                },
                {
                  "stat": "goals",
                  "before": 0.189,
                  "after": 0.1811
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.1262,
                  "after": 0.1209
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.425,
                "expected_assists": 0.1375,
                "assists": 0.2528,
                "assist_rate": 0.2528,
                "expected_goals": 0.1574,
                "goals": 0.1811,
                "goal_rate": 0.1811,
                "shots_on_target": 0.6612,
                "total_shots": 1.7431,
                "rating": 6.7616,
                "minutes": 78.02,
                "total_pass": 20.5863,
                "accurate_pass": 16.8628,
                "duels_won": 3.5944,
                "total_long_balls": 1.0911,
                "accurate_long_balls": 0.5392,
                "total_own_half_passes": 7.1137,
                "accurate_own_half_passes": 6.2579,
                "total_opp_half_passes": 13.4726,
                "accurate_opp_half_passes": 10.6049,
                "crosses_total": 1.9484,
                "crosses_accurate": 0.301,
                "touches": 39.5561,
                "possession_lost": 14.5684,
                "dispossessed": 3.0049,
                "duels_lost": 8.0591,
                "aerial_won": 0.2056,
                "aerial_lost": 0.527,
                "interceptions": 0.1209,
                "tackles_won": 0.5941,
                "tackles": 0.9507,
                "clearances": 0.0659,
                "total_contest": 2.5065,
                "won_contest": 0.835,
                "challenges_lost": 1.2098,
                "fouls": 1.9347,
                "fouls_drawn": 1.6374,
                "blocks": 0.0,
                "big_chances_created": 0.5579,
                "big_chances_missed": 0.0,
                "xgot": 0.1304,
                "ball_carries": 13.9606,
                "total_progression": 91.8727,
                "progressive_carries": 2.3078,
                "shots_off_target": 1.0819
              },
              "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.425,
                "expected_assists": 0.1375,
                "assists": 0.2528,
                "assist_rate": 0.2528,
                "expected_goals": 0.1203,
                "goals": 0.1385,
                "goal_rate": 0.1385,
                "shots_on_target": 0.5056,
                "total_shots": 1.3328,
                "rating": 6.7616,
                "minutes": 78.02,
                "total_pass": 20.5863,
                "accurate_pass": 16.8628,
                "duels_won": 3.5944,
                "total_long_balls": 1.0911,
                "accurate_long_balls": 0.5392,
                "total_own_half_passes": 7.1137,
                "accurate_own_half_passes": 6.2579,
                "total_opp_half_passes": 13.4726,
                "accurate_opp_half_passes": 10.6049,
                "crosses_total": 1.9484,
                "crosses_accurate": 0.301,
                "touches": 39.5561,
                "possession_lost": 14.5684,
                "dispossessed": 3.0049,
                "duels_lost": 8.0591,
                "aerial_won": 0.9,
                "aerial_lost": 0.527,
                "interceptions": 0.1209,
                "tackles_won": 0.5941,
                "tackles": 0.9507,
                "clearances": 0.0659,
                "total_contest": 2.5065,
                "won_contest": 0.835,
                "challenges_lost": 1.2098,
                "fouls": 1.9347,
                "fouls_drawn": 1.6374,
                "blocks": 0.0,
                "big_chances_created": 0.5579,
                "big_chances_missed": 0.0,
                "xgot": 0.0997,
                "ball_carries": 13.9606,
                "total_progression": 91.8727,
                "progressive_carries": 2.3078,
                "shots_off_target": 0.8272,
                "duel_xg_multiplier": 0.7646,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.26,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jan Oblak",
                "opponent_faced": "Jan Oblak",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Jan Oblak",
                  "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                  "duel_win_rate": 0.26,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.7646,
                  "skill_edge": -0.1041,
                  "height_edge": -0.056,
                  "attacker_skill": 0.4793,
                  "defender_skill": 0.7107,
                  "attacker_role": "LW",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Jan Oblak",
                      "market_value": 16000000,
                      "role": "GK",
                      "price_index": 0.55,
                      "adjusted_quality": 0.7107
                    }
                  ],
                  "xg_override": 0.1203
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.2056,
                  "after": 0.9
                },
                {
                  "stat": "totalShots",
                  "before": 1.7431,
                  "after": 1.3328
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.0819,
                  "after": 0.8272
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.6612,
                  "after": 0.5056
                },
                {
                  "stat": "goals",
                  "before": 0.1811,
                  "after": 0.1385
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1574,
                  "after": 0.1203
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.1304,
                  "after": 0.0997
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 1.425,
                "expected_assists": 0.1375,
                "assist_rate": 0.2528,
                "assists": 0,
                "expected_goals": 0.1203,
                "goal_rate": 0.1385,
                "goals": 0,
                "shots_on_target": 0.5056,
                "total_shots": 1.3328,
                "rating": 6.7616,
                "minutes": 78.02,
                "total_pass": 20.5863,
                "accurate_pass": 16.8628,
                "duels_won": 3.5944,
                "total_long_balls": 1.0911,
                "accurate_long_balls": 0.5392,
                "total_own_half_passes": 7.1137,
                "accurate_own_half_passes": 6.2579,
                "total_opp_half_passes": 13.4726,
                "accurate_opp_half_passes": 10.6049,
                "crosses_total": 1.9484,
                "crosses_accurate": 0.301,
                "touches": 39.5561,
                "possession_lost": 14.5684,
                "dispossessed": 3.0049,
                "duels_lost": 8.0591,
                "aerial_won": 0.9,
                "aerial_lost": 0.527,
                "interceptions": 0.1209,
                "tackles_won": 0.5941,
                "tackles": 0.9507,
                "clearances": 0.0659,
                "total_contest": 2.5065,
                "won_contest": 0.835,
                "challenges_lost": 1.2098,
                "fouls": 1.9347,
                "fouls_drawn": 1.6374,
                "blocks": 0.0,
                "big_chances_created": 0.5579,
                "big_chances_missed": 0.0,
                "xgot": 0.0997,
                "ball_carries": 13.9606,
                "total_progression": 91.8727,
                "progressive_carries": 2.3078,
                "shots_off_target": 0.8272,
                "duel_xg_multiplier": 0.7646,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.26,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jan Oblak",
                "opponent_faced": "Jan Oblak",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.34 (squad xG sum 1.0719, xG scale 1.2473, xA scale 1.1232, team xA 1.07 = 0.80 x lambda)",
              "stats": {
                "key_pass": 1.425,
                "expected_assists": 0.1544,
                "assist_rate": 0.2528,
                "assists": 0,
                "expected_goals": 0.15,
                "goal_rate": 0.1385,
                "goals": 0,
                "shots_on_target": 0.5056,
                "total_shots": 1.3328,
                "rating": 6.7616,
                "minutes": 78.02,
                "total_pass": 20.5863,
                "accurate_pass": 16.8628,
                "duels_won": 3.5944,
                "total_long_balls": 1.0911,
                "accurate_long_balls": 0.5392,
                "total_own_half_passes": 7.1137,
                "accurate_own_half_passes": 6.2579,
                "total_opp_half_passes": 13.4726,
                "accurate_opp_half_passes": 10.6049,
                "crosses_total": 1.9484,
                "crosses_accurate": 0.301,
                "touches": 39.5561,
                "possession_lost": 14.5684,
                "dispossessed": 3.0049,
                "duels_lost": 8.0591,
                "aerial_won": 0.9,
                "aerial_lost": 0.527,
                "interceptions": 0.1209,
                "tackles_won": 0.5941,
                "tackles": 0.9507,
                "clearances": 0.0659,
                "total_contest": 2.5065,
                "won_contest": 0.835,
                "challenges_lost": 1.2098,
                "fouls": 1.9347,
                "fouls_drawn": 1.6374,
                "blocks": 0.0,
                "big_chances_created": 0.5579,
                "big_chances_missed": 0.0,
                "xgot": 0.1244,
                "ball_carries": 13.9606,
                "total_progression": 91.8727,
                "progressive_carries": 2.3078,
                "shots_off_target": 0.8272,
                "duel_xg_multiplier": 0.7646,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.26,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jan Oblak",
                "opponent_faced": "Jan Oblak",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1069,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.337,
                "squad_xg_sum": 1.0719,
                "squad_xa_sum": 0.9523,
                "team_expected_assists": 1.0696,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2473,
                "xa_scale": 1.1232,
                "opponent_lambda": 2.325,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1203,
                  "after": 0.15
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1375,
                  "after": 0.1544
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 10 by projected rating, fifa_overall 86.0)",
              "stats": {
                "key_pass": 1.425,
                "expected_assists": 0.1544,
                "assist_rate": 0.2528,
                "assists": 0,
                "expected_goals": 0.15,
                "goal_rate": 0.1385,
                "goals": 0,
                "shots_on_target": 0.5056,
                "total_shots": 1.3328,
                "rating": 6.7616,
                "minutes": 78.02,
                "total_pass": 20.5863,
                "accurate_pass": 16.8628,
                "duels_won": 3.5944,
                "total_long_balls": 1.0911,
                "accurate_long_balls": 0.5392,
                "total_own_half_passes": 7.1137,
                "accurate_own_half_passes": 6.2579,
                "total_opp_half_passes": 13.4726,
                "accurate_opp_half_passes": 10.6049,
                "crosses_total": 1.9484,
                "crosses_accurate": 0.301,
                "touches": 39.5561,
                "possession_lost": 14.5684,
                "dispossessed": 3.0049,
                "duels_lost": 8.0591,
                "aerial_won": 0.9,
                "aerial_lost": 0.527,
                "interceptions": 0.1209,
                "tackles_won": 0.5941,
                "tackles": 0.9507,
                "clearances": 0.0659,
                "total_contest": 2.5065,
                "won_contest": 0.835,
                "challenges_lost": 1.2098,
                "fouls": 1.9347,
                "fouls_drawn": 1.6374,
                "blocks": 0.0,
                "big_chances_created": 0.5579,
                "big_chances_missed": 0.0,
                "xgot": 0.1244,
                "ball_carries": 13.9606,
                "total_progression": 91.8727,
                "progressive_carries": 2.3078,
                "shots_off_target": 0.8272,
                "duel_xg_multiplier": 0.7646,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.26,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jan Oblak",
                "opponent_faced": "Jan Oblak",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1069,
                "creation_factor": 1.25,
                "fifa_overall": 86.0
              },
              "params": {
                "match_squad_rank": 10,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 198,
                "fifa_rank": 93.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 86.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1.425,
                "expected_assists": 0.1544,
                "assist_rate": 0.2528,
                "assists": 0,
                "expected_goals": 0.15,
                "goal_rate": 0.1385,
                "goals": 0,
                "shots_on_target": 0.5056,
                "total_shots": 1.3328,
                "rating": 6.7616,
                "minutes": 78.02,
                "total_pass": 20.5863,
                "accurate_pass": 16.8628,
                "duels_won": 3.5944,
                "total_long_balls": 1.0911,
                "accurate_long_balls": 0.5392,
                "total_own_half_passes": 7.1137,
                "accurate_own_half_passes": 6.2579,
                "total_opp_half_passes": 13.4726,
                "accurate_opp_half_passes": 10.6049,
                "crosses_total": 1.9484,
                "crosses_accurate": 0.301,
                "touches": 39.5561,
                "possession_lost": 14.5684,
                "dispossessed": 3.0049,
                "duels_lost": 8.0591,
                "aerial_won": 0.9,
                "aerial_lost": 0.527,
                "interceptions": 0.1209,
                "tackles_won": 0.5941,
                "tackles": 0.9507,
                "clearances": 0.0659,
                "total_contest": 2.5065,
                "won_contest": 0.835,
                "challenges_lost": 1.2098,
                "fouls": 1.9347,
                "fouls_drawn": 1.6374,
                "blocks": 0.0,
                "big_chances_created": 0.5579,
                "big_chances_missed": 0.0,
                "xgot": 0.1244,
                "ball_carries": 13.9606,
                "total_progression": 91.8727,
                "progressive_carries": 2.3078,
                "shots_off_target": 0.8272,
                "duel_xg_multiplier": 0.7646,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.26,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jan Oblak",
                "opponent_faced": "Jan Oblak",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1393,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1069,
                "creation_factor": 1.25,
                "fifa_overall": 86.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1393,
                "goal_rate": 0.1385,
                "scorer_weight": 0.166,
                "squad_weight_total": 1.4295,
                "weight_share": 0.1162,
                "finishing_factor": 1.1069,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.5106,
                    "already": 0,
                    "effective_weight": 0.5106,
                    "runner_up": "Javier Hernández",
                    "runner_up_effective_weight": 0.166
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 1.425,
                "expected_assists": 0.1544,
                "assist_rate": 0.2528,
                "assists": 1,
                "expected_goals": 0.15,
                "goal_rate": 0.1385,
                "goals": 0,
                "shots_on_target": 0.5056,
                "total_shots": 1.3328,
                "rating": 6.7616,
                "minutes": 78.02,
                "total_pass": 20.5863,
                "accurate_pass": 16.8628,
                "duels_won": 3.5944,
                "total_long_balls": 1.0911,
                "accurate_long_balls": 0.5392,
                "total_own_half_passes": 7.1137,
                "accurate_own_half_passes": 6.2579,
                "total_opp_half_passes": 13.4726,
                "accurate_opp_half_passes": 10.6049,
                "crosses_total": 1.9484,
                "crosses_accurate": 0.301,
                "touches": 39.5561,
                "possession_lost": 14.5684,
                "dispossessed": 3.0049,
                "duels_lost": 8.0591,
                "aerial_won": 0.9,
                "aerial_lost": 0.527,
                "interceptions": 0.1209,
                "tackles_won": 0.5941,
                "tackles": 0.9507,
                "clearances": 0.0659,
                "total_contest": 2.5065,
                "won_contest": 0.835,
                "challenges_lost": 1.2098,
                "fouls": 1.9347,
                "fouls_drawn": 1.6374,
                "blocks": 0.0,
                "big_chances_created": 0.5579,
                "big_chances_missed": 0.0,
                "xgot": 0.1244,
                "ball_carries": 13.9606,
                "total_progression": 91.8727,
                "progressive_carries": 2.3078,
                "shots_off_target": 0.8272,
                "duel_xg_multiplier": 0.7646,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.26,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Jan Oblak",
                "opponent_faced": "Jan Oblak",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1393,
                "projected_assists": 1,
                "assist_probability": 0.1431,
                "finishing_factor": 1.1069,
                "creation_factor": 1.25,
                "fifa_overall": 86.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 1,
                "assist_probability": 0.1431,
                "assist_rate": 0.2528,
                "provider_weight": 0.193,
                "squad_weight_total": 1.0297,
                "weight_share": 0.1874,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Javier Hernández",
                    "weight": 0.193,
                    "already": 0,
                    "effective_weight": 0.193,
                    "runner_up": "Bryan Zaragoza",
                    "runner_up_effective_weight": 0.1355,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Tyrhys Dolan": {
          "player_id": 1063015,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 24,
          "height": 170,
          "market_value": 10800000,
          "stats": {
            "expected_goals": 0.1116,
            "goal_rate": 0.108,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.1002,
            "key_pass": 1,
            "rating": 6.7251,
            "minutes": 79,
            "total_pass": 17,
            "accurate_pass": 15,
            "duels_won": 3,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 11,
            "accurate_opp_half_passes": 10,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 33,
            "possession_lost": 9.0679,
            "dispossessed": 0.9367,
            "duels_lost": 5,
            "aerial_lost": 1,
            "total_contest": 3,
            "won_contest": 1,
            "ball_recovery": 4,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "assist_rate": 0.083,
            "assists": 0,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0955,
            "offsides": 0,
            "ball_carries": 12,
            "total_progression": 78,
            "progressive_carries": 4,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.7739,
            "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": "Robin Le Normand, Cristian Romero",
            "opponent_faced": "Robin Le Normand, Cristian Romero",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.1056,
            "projected_assists": 0,
            "assist_probability": 0.0953,
            "finishing_factor": 1.1326,
            "creation_factor": 0.9555,
            "fifa_overall": 74.0
          },
          "latest_10_games": [
            {
              "match_id": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 82,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0879,
                "expected_assists": 0.0216,
                "total_shots": 1,
                "total_pass": 19,
                "accurate_pass": 17,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 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": 16416299,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Elche",
              "stats": {
                "minutes": 23,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1388,
                "expected_assists": 0.0858,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 13,
                "accurate_pass": 9,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 66,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1573,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 11,
                "clearances": 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": 16416323,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0118,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 19,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 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": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 83,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1341,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 15,
                "key_pass": 1,
                "interceptions": 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": "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": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 5.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1023,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 18,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 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": 16421053,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 81,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2108,
                "expected_assists": 0.0398,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 29,
                "accurate_pass": 24,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "duels_won": 2,
                "ball_recovery": 11
              },
              "has_player_stats": true,
              "league_name": "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": 0,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 45,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1364,
                "expected_assists": 0.0032,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 10,
                "accurate_pass": 9,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 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": "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": 76,
                "rating": 7.1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.5799,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 9,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": 90,
                "rating": 7.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2114,
                "expected_assists": 0.0036,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 8,
                "accurate_pass": 5,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 9
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 3488,
            "combined_rank_score": 1474.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 52.0,
            "sofascore_rating": 7.7,
            "sofascore_appearances": 1.0,
            "fifa_rank": 2897.0,
            "fifa_overall": 74.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7251,
            "source_file": "data/player_rankings.csv",
            "player_name": "Tyrhys Dolan",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Leandro González Pírez",
                  "ranking": 3483
                },
                {
                  "player_name": "Mahdi Camara",
                  "ranking": 3484
                },
                {
                  "player_name": "Saud Abdulhamid",
                  "ranking": 3485
                },
                {
                  "player_name": "Orel Mangala",
                  "ranking": 3486
                },
                {
                  "player_name": "Lassine Sinayoko",
                  "ranking": 3487
                }
              ],
              "lower": [
                {
                  "player_name": "Yann Gboho",
                  "ranking": 3489
                },
                {
                  "player_name": "Ansu Fati",
                  "ranking": 3490
                },
                {
                  "player_name": "Marcus Edwards",
                  "ranking": 3491
                },
                {
                  "player_name": "Ismaël Doukouré",
                  "ranking": 3492
                },
                {
                  "player_name": "Unai Marrero",
                  "ranking": 3493
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.778,
          "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.778,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0008,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 252.0,
              "goals_per90": 0.3571428571428571,
              "assists_per90": 0.0,
              "shots_per90": 1.43,
              "shots_on_target_pct": 25.0,
              "prior_reliability": 0.1867
            },
            "rationale": "XGBoost regressor (F_service) evaluated 43 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Espanyol, rel: 0.19, gls/90: 0.3571428571428571, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1156,
                "goals": 0.1372,
                "goal_rate": 0.1372,
                "shots_on_target": 0.4388,
                "total_shots": 1.2695,
                "expected_assists": 0.0891,
                "key_pass": 0.858,
                "rating": 6.7251,
                "minutes": 79.21,
                "total_pass": 17.2777,
                "accurate_pass": 14.8569,
                "duels_won": 3.1977,
                "total_long_balls": 0.7494,
                "accurate_long_balls": 0.1503,
                "total_opp_half_passes": 10.9382,
                "accurate_opp_half_passes": 9.5416,
                "crosses_total": 2.4638,
                "crosses_accurate": 0.422,
                "touches": 32.7011,
                "possession_lost": 9.0607,
                "dispossessed": 0.936,
                "duels_lost": 5.456,
                "aerial_lost": 0.7071,
                "total_contest": 2.6222,
                "won_contest": 0.9408,
                "ball_recovery": 4.3342,
                "challenges_lost": 0.8319,
                "fouls": 1.3702,
                "fouls_drawn": 1.2642,
                "assists": 0.084,
                "assist_rate": 0.084,
                "interceptions": 0.8665,
                "tackles_won": 0.6853,
                "tackles": 0.9452,
                "clearances": 0.5056,
                "blocks": 0.0779,
                "big_chances_created": 0.2581,
                "big_chances_missed": 0.0166,
                "xgot": 0.0989,
                "offsides": 0.1613,
                "ball_carries": 12.2436,
                "total_progression": 78.2373,
                "progressive_carries": 3.5466,
                "shots_off_target": 0.8307
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-16T10:32:26.279343+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Málaga CF",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.1501,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Elche",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.1276,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Sociedad",
                    "minutes": 83.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 5.8
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Levante UD",
                    "minutes": 81.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Sociedad",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0481,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Osasuna",
                    "minutes": 76.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalOppositionHalfPasses": 10.6121,
                  "expectedGoals": 0.064,
                  "accurateOppositionHalfPasses": 8.9544,
                  "accuratePass": 13.6543,
                  "totalShots": 0.9285
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.11557818204164505,
                    "model_output": 0.1156,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0602
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0542
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0176
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0131
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0119
                        }
                      ],
                      "others": -0.0453,
                      "total": 0.1156,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.266151
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.235854
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.090175
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.073098
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.071579
                        }
                      ],
                      "others_margin": -0.331336
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.13718532025814056,
                    "model_output": 0.1372,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0698
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0331
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0237
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0171
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0109
                        }
                      ],
                      "others": -0.0512,
                      "total": 0.1372,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.295217
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.129067
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.104051
                        },
                        {
                          "name": "goals",
                          "margin": -0.082347
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.056346
                        }
                      ],
                      "others_margin": -0.317038
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.4387654662132263,
                    "model_output": 0.4388,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1881
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0818
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0517
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0442
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0279
                        }
                      ],
                      "others": -0.1371,
                      "total": 0.4388,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.300021
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.119649
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.08371
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.077532
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.049722
                        }
                      ],
                      "others_margin": -0.272094
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.269468069076538,
                    "model_output": 1.2695,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4287
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1877
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0583
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.053
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0486
                        }
                      ],
                      "others": -0.1854,
                      "total": 1.2695,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.428706
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.187683
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.058342
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.053024
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.048567
                        }
                      ],
                      "others_margin": -0.185463
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.08914285898208618,
                    "model_output": 0.0891,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0134
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0073
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0054
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0054
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0045
                        }
                      ],
                      "others": -0.0003,
                      "total": 0.0891,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.18943
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.090075
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.066175
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.065471
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.051161
                        }
                      ],
                      "others_margin": -0.001968
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.8579856157302856,
                    "model_output": 0.858,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1912
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0477
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0372
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0333
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0219
                        }
                      ],
                      "others": 0.0231,
                      "total": 0.858,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.249978
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.05679
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.046673
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.041809
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.02657
                        }
                      ],
                      "others_margin": 0.0274
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.725142002105713,
                    "model_output": 6.7251,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0463
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0213
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0207
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0135
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": -0.0104
                        }
                      ],
                      "others": -0.0493,
                      "total": 6.7251,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.046332
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.021284
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.020734
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.013546
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": -0.010357
                        }
                      ],
                      "others_margin": -0.049366
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 43,
                  "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.0008, quality 0.532)",
              "stats": {
                "expected_goals": 0.1157,
                "goals": 0.1373,
                "goal_rate": 0.1373,
                "shots_on_target": 0.4391,
                "total_shots": 1.2705,
                "expected_assists": 0.0892,
                "key_pass": 0.8587,
                "rating": 6.7251,
                "minutes": 79.21,
                "total_pass": 17.2915,
                "accurate_pass": 14.8688,
                "duels_won": 3.2003,
                "total_long_balls": 0.75,
                "accurate_long_balls": 0.1504,
                "total_opp_half_passes": 10.947,
                "accurate_opp_half_passes": 9.5492,
                "crosses_total": 2.4658,
                "crosses_accurate": 0.4223,
                "touches": 32.7273,
                "possession_lost": 9.0679,
                "dispossessed": 0.9367,
                "duels_lost": 5.4604,
                "aerial_lost": 0.7077,
                "total_contest": 2.6243,
                "won_contest": 0.9416,
                "ball_recovery": 4.3377,
                "challenges_lost": 0.8326,
                "fouls": 1.3713,
                "fouls_drawn": 1.2652,
                "assists": 0.0841,
                "assist_rate": 0.0841,
                "interceptions": 0.8672,
                "tackles_won": 0.6858,
                "tackles": 0.946,
                "clearances": 0.506,
                "blocks": 0.078,
                "big_chances_created": 0.2583,
                "big_chances_missed": 0.0166,
                "xgot": 0.099,
                "offsides": 0.1614,
                "ball_carries": 12.2534,
                "total_progression": 78.2999,
                "progressive_carries": 3.5494,
                "shots_off_target": 0.8314
              },
              "params": {
                "market_value_eur": 10800000,
                "quality_factor": 0.5318,
                "boost_factor": 1.0008,
                "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.0126)",
              "stats": {
                "expected_goals": 0.1157,
                "goals": 0.1395,
                "goal_rate": 0.1395,
                "shots_on_target": 0.4376,
                "total_shots": 1.2703,
                "expected_assists": 0.0892,
                "key_pass": 0.8587,
                "rating": 6.7251,
                "minutes": 79.21,
                "total_pass": 17.2915,
                "accurate_pass": 14.8688,
                "duels_won": 3.2003,
                "total_long_balls": 0.75,
                "accurate_long_balls": 0.1504,
                "total_opp_half_passes": 10.947,
                "accurate_opp_half_passes": 9.5492,
                "crosses_total": 2.4664,
                "crosses_accurate": 0.4223,
                "touches": 32.7273,
                "possession_lost": 9.0679,
                "dispossessed": 0.9367,
                "duels_lost": 5.4604,
                "aerial_lost": 0.7077,
                "total_contest": 2.6243,
                "won_contest": 0.9416,
                "ball_recovery": 4.3377,
                "challenges_lost": 0.8326,
                "fouls": 1.3738,
                "fouls_drawn": 1.2651,
                "assists": 0.083,
                "assist_rate": 0.083,
                "interceptions": 0.8761,
                "tackles_won": 0.6851,
                "tackles": 0.946,
                "clearances": 0.506,
                "blocks": 0.078,
                "big_chances_created": 0.2583,
                "big_chances_missed": 0.0166,
                "xgot": 0.099,
                "offsides": 0.1633,
                "ball_carries": 12.2534,
                "total_progression": 78.2999,
                "progressive_carries": 3.5494,
                "shots_off_target": 0.8314
              },
              "params": {
                "blend_weight": 0.0126,
                "history_matches": 43,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8801,
                "prior_reliability": 0.1867,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 0.8672,
                  "after": 0.8761
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1157,
                "goals": 0.1395,
                "goal_rate": 0.1395,
                "shots_on_target": 0.4376,
                "total_shots": 1.2703,
                "expected_assists": 0.0892,
                "key_pass": 0.8587,
                "rating": 6.7251,
                "minutes": 79.21,
                "total_pass": 17.2915,
                "accurate_pass": 14.8688,
                "duels_won": 3.2003,
                "total_long_balls": 0.75,
                "accurate_long_balls": 0.1504,
                "total_opp_half_passes": 10.947,
                "accurate_opp_half_passes": 9.5492,
                "crosses_total": 2.4664,
                "crosses_accurate": 0.4223,
                "touches": 32.7273,
                "possession_lost": 9.0679,
                "dispossessed": 0.9367,
                "duels_lost": 5.4604,
                "aerial_lost": 0.7077,
                "total_contest": 2.6243,
                "won_contest": 0.9416,
                "ball_recovery": 4.3377,
                "challenges_lost": 0.8326,
                "fouls": 1.3738,
                "fouls_drawn": 1.2651,
                "assists": 0.083,
                "assist_rate": 0.083,
                "interceptions": 0.8761,
                "tackles_won": 0.6851,
                "tackles": 0.946,
                "clearances": 0.506,
                "blocks": 0.078,
                "big_chances_created": 0.2583,
                "big_chances_missed": 0.0166,
                "xgot": 0.099,
                "offsides": 0.1633,
                "ball_carries": 12.2534,
                "total_progression": 78.2999,
                "progressive_carries": 3.5494,
                "shots_off_target": 0.8314
              },
              "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.0895,
                "goals": 0.108,
                "goal_rate": 0.108,
                "shots_on_target": 0.3387,
                "total_shots": 0.9831,
                "expected_assists": 0.0892,
                "key_pass": 0.8587,
                "rating": 6.7251,
                "minutes": 79.21,
                "total_pass": 17.2915,
                "accurate_pass": 14.8688,
                "duels_won": 3.2003,
                "total_long_balls": 0.75,
                "accurate_long_balls": 0.1504,
                "total_opp_half_passes": 10.947,
                "accurate_opp_half_passes": 9.5492,
                "crosses_total": 2.4664,
                "crosses_accurate": 0.4223,
                "touches": 32.7273,
                "possession_lost": 9.0679,
                "dispossessed": 0.9367,
                "duels_lost": 5.4604,
                "aerial_lost": 0.7077,
                "total_contest": 2.6243,
                "won_contest": 0.9416,
                "ball_recovery": 4.3377,
                "challenges_lost": 0.8326,
                "fouls": 1.3738,
                "fouls_drawn": 1.2651,
                "assists": 0.083,
                "assist_rate": 0.083,
                "interceptions": 0.8761,
                "tackles_won": 0.6851,
                "tackles": 0.946,
                "clearances": 0.506,
                "blocks": 0.078,
                "big_chances_created": 0.2583,
                "big_chances_missed": 0.0128,
                "xgot": 0.0766,
                "offsides": 0.1633,
                "ball_carries": 12.2534,
                "total_progression": 78.2999,
                "progressive_carries": 3.5494,
                "shots_off_target": 0.6434,
                "duel_xg_multiplier": 0.7739,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.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": "Robin Le Normand, Cristian Romero",
                "opponent_faced": "Robin Le Normand, Cristian Romero",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Robin Le Normand, Cristian Romero",
                  "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.7739,
                  "skill_edge": -0.0938,
                  "height_edge": -0.06,
                  "attacker_skill": 0.5318,
                  "defender_skill": 0.7403,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Robin Le Normand",
                      "market_value": 17200000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.6589
                    },
                    {
                      "player": "Cristian Romero",
                      "market_value": 37000000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.8218
                    }
                  ],
                  "xg_override": 0.0895
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.2703,
                  "after": 0.9831
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.8314,
                  "after": 0.6434
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.4376,
                  "after": 0.3387
                },
                {
                  "stat": "goals",
                  "before": 0.1395,
                  "after": 0.108
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1157,
                  "after": 0.0895
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.099,
                  "after": 0.0766
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.0895,
                "goal_rate": 0.108,
                "goals": 0,
                "shots_on_target": 0.3387,
                "total_shots": 0.9831,
                "expected_assists": 0.0892,
                "key_pass": 0.8587,
                "rating": 6.7251,
                "minutes": 79.21,
                "total_pass": 17.2915,
                "accurate_pass": 14.8688,
                "duels_won": 3.2003,
                "total_long_balls": 0.75,
                "accurate_long_balls": 0.1504,
                "total_opp_half_passes": 10.947,
                "accurate_opp_half_passes": 9.5492,
                "crosses_total": 2.4664,
                "crosses_accurate": 0.4223,
                "touches": 32.7273,
                "possession_lost": 9.0679,
                "dispossessed": 0.9367,
                "duels_lost": 5.4604,
                "aerial_lost": 0.7077,
                "total_contest": 2.6243,
                "won_contest": 0.9416,
                "ball_recovery": 4.3377,
                "challenges_lost": 0.8326,
                "fouls": 1.3738,
                "fouls_drawn": 1.2651,
                "assist_rate": 0.083,
                "assists": 0,
                "interceptions": 0.8761,
                "tackles_won": 0.6851,
                "tackles": 0.946,
                "clearances": 0.506,
                "blocks": 0.078,
                "big_chances_created": 0.2583,
                "big_chances_missed": 0.0128,
                "xgot": 0.0766,
                "offsides": 0.1633,
                "ball_carries": 12.2534,
                "total_progression": 78.2999,
                "progressive_carries": 3.5494,
                "shots_off_target": 0.6434,
                "duel_xg_multiplier": 0.7739,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.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": "Robin Le Normand, Cristian Romero",
                "opponent_faced": "Robin Le Normand, Cristian Romero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.34 (squad xG sum 1.0719, xG scale 1.2473, xA scale 1.1232, team xA 1.07 = 0.80 x lambda)",
              "stats": {
                "expected_goals": 0.1116,
                "goal_rate": 0.108,
                "goals": 0,
                "shots_on_target": 0.3387,
                "total_shots": 0.9831,
                "expected_assists": 0.1002,
                "key_pass": 0.8587,
                "rating": 6.7251,
                "minutes": 79.21,
                "total_pass": 17.2915,
                "accurate_pass": 14.8688,
                "duels_won": 3.2003,
                "total_long_balls": 0.75,
                "accurate_long_balls": 0.1504,
                "total_opp_half_passes": 10.947,
                "accurate_opp_half_passes": 9.5492,
                "crosses_total": 2.4664,
                "crosses_accurate": 0.4223,
                "touches": 32.7273,
                "possession_lost": 9.0679,
                "dispossessed": 0.9367,
                "duels_lost": 5.4604,
                "aerial_lost": 0.7077,
                "total_contest": 2.6243,
                "won_contest": 0.9416,
                "ball_recovery": 4.3377,
                "challenges_lost": 0.8326,
                "fouls": 1.3738,
                "fouls_drawn": 1.2651,
                "assist_rate": 0.083,
                "assists": 0,
                "interceptions": 0.8761,
                "tackles_won": 0.6851,
                "tackles": 0.946,
                "clearances": 0.506,
                "blocks": 0.078,
                "big_chances_created": 0.2583,
                "big_chances_missed": 0.0128,
                "xgot": 0.0955,
                "offsides": 0.1633,
                "ball_carries": 12.2534,
                "total_progression": 78.2999,
                "progressive_carries": 3.5494,
                "shots_off_target": 0.6434,
                "duel_xg_multiplier": 0.7739,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.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": "Robin Le Normand, Cristian Romero",
                "opponent_faced": "Robin Le Normand, Cristian Romero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1326,
                "creation_factor": 0.9555
              },
              "params": {
                "team_lambda": 1.337,
                "squad_xg_sum": 1.0719,
                "squad_xa_sum": 0.9523,
                "team_expected_assists": 1.0696,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2473,
                "xa_scale": 1.1232,
                "opponent_lambda": 2.325,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0895,
                  "after": 0.1116
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0892,
                  "after": 0.1002
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 12 by projected rating, fifa_overall 74.0)",
              "stats": {
                "expected_goals": 0.1116,
                "goal_rate": 0.108,
                "goals": 0,
                "shots_on_target": 0.3387,
                "total_shots": 0.9831,
                "expected_assists": 0.1002,
                "key_pass": 0.8587,
                "rating": 6.7251,
                "minutes": 79.21,
                "total_pass": 17.2915,
                "accurate_pass": 14.8688,
                "duels_won": 3.2003,
                "total_long_balls": 0.75,
                "accurate_long_balls": 0.1504,
                "total_opp_half_passes": 10.947,
                "accurate_opp_half_passes": 9.5492,
                "crosses_total": 2.4664,
                "crosses_accurate": 0.4223,
                "touches": 32.7273,
                "possession_lost": 9.0679,
                "dispossessed": 0.9367,
                "duels_lost": 5.4604,
                "aerial_lost": 0.7077,
                "total_contest": 2.6243,
                "won_contest": 0.9416,
                "ball_recovery": 4.3377,
                "challenges_lost": 0.8326,
                "fouls": 1.3738,
                "fouls_drawn": 1.2651,
                "assist_rate": 0.083,
                "assists": 0,
                "interceptions": 0.8761,
                "tackles_won": 0.6851,
                "tackles": 0.946,
                "clearances": 0.506,
                "blocks": 0.078,
                "big_chances_created": 0.2583,
                "big_chances_missed": 0.0128,
                "xgot": 0.0955,
                "offsides": 0.1633,
                "ball_carries": 12.2534,
                "total_progression": 78.2999,
                "progressive_carries": 3.5494,
                "shots_off_target": 0.6434,
                "duel_xg_multiplier": 0.7739,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.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": "Robin Le Normand, Cristian Romero",
                "opponent_faced": "Robin Le Normand, Cristian Romero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1326,
                "creation_factor": 0.9555,
                "fifa_overall": 74.0
              },
              "params": {
                "match_squad_rank": 12,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3488,
                "fifa_rank": 2897.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": {
                "expected_goals": 0.1116,
                "goal_rate": 0.108,
                "goals": 0,
                "shots_on_target": 0.3387,
                "total_shots": 0.9831,
                "expected_assists": 0.1002,
                "key_pass": 0.8587,
                "rating": 6.7251,
                "minutes": 79.21,
                "total_pass": 17.2915,
                "accurate_pass": 14.8688,
                "duels_won": 3.2003,
                "total_long_balls": 0.75,
                "accurate_long_balls": 0.1504,
                "total_opp_half_passes": 10.947,
                "accurate_opp_half_passes": 9.5492,
                "crosses_total": 2.4664,
                "crosses_accurate": 0.4223,
                "touches": 32.7273,
                "possession_lost": 9.0679,
                "dispossessed": 0.9367,
                "duels_lost": 5.4604,
                "aerial_lost": 0.7077,
                "total_contest": 2.6243,
                "won_contest": 0.9416,
                "ball_recovery": 4.3377,
                "challenges_lost": 0.8326,
                "fouls": 1.3738,
                "fouls_drawn": 1.2651,
                "assist_rate": 0.083,
                "assists": 0,
                "interceptions": 0.8761,
                "tackles_won": 0.6851,
                "tackles": 0.946,
                "clearances": 0.506,
                "blocks": 0.078,
                "big_chances_created": 0.2583,
                "big_chances_missed": 0.0128,
                "xgot": 0.0955,
                "offsides": 0.1633,
                "ball_carries": 12.2534,
                "total_progression": 78.2999,
                "progressive_carries": 3.5494,
                "shots_off_target": 0.6434,
                "duel_xg_multiplier": 0.7739,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.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": "Robin Le Normand, Cristian Romero",
                "opponent_faced": "Robin Le Normand, Cristian Romero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1056,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1326,
                "creation_factor": 0.9555,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1056,
                "goal_rate": 0.108,
                "scorer_weight": 0.1264,
                "squad_weight_total": 1.4295,
                "weight_share": 0.0884,
                "finishing_factor": 1.1326,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.5106,
                    "already": 0,
                    "effective_weight": 0.5106,
                    "runner_up": "Javier Hernández",
                    "runner_up_effective_weight": 0.166
                  }
                ]
              }
            },
            {
              "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.1116,
                "goal_rate": 0.108,
                "goals": 0,
                "shots_on_target": 0.3387,
                "total_shots": 0.9831,
                "expected_assists": 0.1002,
                "key_pass": 0.8587,
                "rating": 6.7251,
                "minutes": 79.21,
                "total_pass": 17.2915,
                "accurate_pass": 14.8688,
                "duels_won": 3.2003,
                "total_long_balls": 0.75,
                "accurate_long_balls": 0.1504,
                "total_opp_half_passes": 10.947,
                "accurate_opp_half_passes": 9.5492,
                "crosses_total": 2.4664,
                "crosses_accurate": 0.4223,
                "touches": 32.7273,
                "possession_lost": 9.0679,
                "dispossessed": 0.9367,
                "duels_lost": 5.4604,
                "aerial_lost": 0.7077,
                "total_contest": 2.6243,
                "won_contest": 0.9416,
                "ball_recovery": 4.3377,
                "challenges_lost": 0.8326,
                "fouls": 1.3738,
                "fouls_drawn": 1.2651,
                "assist_rate": 0.083,
                "assists": 0,
                "interceptions": 0.8761,
                "tackles_won": 0.6851,
                "tackles": 0.946,
                "clearances": 0.506,
                "blocks": 0.078,
                "big_chances_created": 0.2583,
                "big_chances_missed": 0.0128,
                "xgot": 0.0955,
                "offsides": 0.1633,
                "ball_carries": 12.2534,
                "total_progression": 78.2999,
                "progressive_carries": 3.5494,
                "shots_off_target": 0.6434,
                "duel_xg_multiplier": 0.7739,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.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": "Robin Le Normand, Cristian Romero",
                "opponent_faced": "Robin Le Normand, Cristian Romero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.1056,
                "projected_assists": 0,
                "assist_probability": 0.0953,
                "finishing_factor": 1.1326,
                "creation_factor": 0.9555,
                "fifa_overall": 74.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0953,
                "assist_rate": 0.083,
                "provider_weight": 0.0957,
                "squad_weight_total": 1.0297,
                "weight_share": 0.093,
                "creation_factor": 0.9555,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Javier Hernández",
                    "weight": 0.193,
                    "already": 0,
                    "effective_weight": 0.193,
                    "runner_up": "Bryan Zaragoza",
                    "runner_up_effective_weight": 0.1355,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Pol Lozano": {
          "player_id": 826010,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 10,
          "height": 176,
          "market_value": 5800000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0704,
            "assist_rate": 0.0596,
            "assists": 0,
            "expected_goals": 0.0449,
            "goal_rate": 0.0438,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7674,
            "minutes": 76,
            "total_pass": 33,
            "accurate_pass": 28,
            "duels_won": 3,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 16,
            "accurate_own_half_passes": 14,
            "total_opp_half_passes": 18,
            "accurate_opp_half_passes": 14,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 45,
            "possession_lost": 7.6511,
            "dispossessed": 0.4871,
            "duels_lost": 4,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 2,
            "clearances": 1,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 1,
            "fouls": 2,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0781,
            "ball_carries": 10,
            "total_progression": 19,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "duel_xg_multiplier": 0.789,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.5,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.276,
            "pressing_faced": "ULTRA_HIGH",
            "matchup_zone": "CDM vs CDM",
            "numerical_situation": "1v1",
            "opponent_defenders": "Giuliano Simeone",
            "opponent_faced": "Giuliano Simeone",
            "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0439,
            "projected_assists": 0,
            "assist_probability": 0.068,
            "finishing_factor": 1.0907,
            "creation_factor": 0.9725,
            "fifa_overall": 75.0
          },
          "latest_10_games": [
            {
              "match_id": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0033,
                "total_shots": 0,
                "total_pass": 41,
                "accurate_pass": 34,
                "tackles": 4,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 2,
                "duels_won": 4,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416345,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 15,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0237,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 7,
                "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": 16416306,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 15,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0025,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 6,
                "tackles": 1,
                "tackles_won": 1,
                "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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421053,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 18,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0579,
                "expected_assists": 0.0198,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 11,
                "accurate_pass": 9,
                "key_pass": 1,
                "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": 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": 55,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0279,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 18,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 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": 0.0,
                "assists": 0,
                "expected_goals": 0.031,
                "expected_assists": 0.0576,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 48,
                "accurate_pass": 37,
                "tackles": 4,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 7,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": 0,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 18,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0977,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 7,
                "key_pass": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083221,
              "match_date": "2026-04-27",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 3,
                "rating": 4.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.001,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 2,
                "interceptions": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083330,
              "match_date": "2026-04-23",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 45,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0044,
                "total_shots": 0,
                "total_pass": 17,
                "accurate_pass": 11,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 5
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083113,
              "match_date": "2026-04-11",
              "home_team": "FC Barcelona",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 80,
                "rating": 7.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1075,
                "expected_assists": 0.4488,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 17,
                "accurate_pass": 15,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 3515,
            "combined_rank_score": 1491.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 578.0,
            "sofascore_rating": 6.8,
            "sofascore_appearances": 1.0,
            "fifa_rank": 2405.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 9,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7674,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pol Lozano",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Filip Ugrinić",
                  "ranking": 3510
                },
                {
                  "player_name": "Robin Zentner",
                  "ranking": 3511
                },
                {
                  "player_name": "Kevin Diks",
                  "ranking": 3512
                },
                {
                  "player_name": "Zuriko Davitashvili",
                  "ranking": 3513
                },
                {
                  "player_name": "Grischa Prömel",
                  "ranking": 3514
                }
              ],
              "lower": [
                {
                  "player_name": "Aurèle Amenda",
                  "ranking": 3516
                },
                {
                  "player_name": "Manu Morlanes",
                  "ranking": 3517
                },
                {
                  "player_name": "Alexis Claude-Maurice",
                  "ranking": 3518
                },
                {
                  "player_name": "Sebastián Cáceres",
                  "ranking": 3519
                },
                {
                  "player_name": "Anthony Caci",
                  "ranking": 3520
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.754,
          "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.754,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9988,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 0.0,
              "minutes": 35.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 2.57,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.0267
            },
            "rationale": "XGBoost regressor (M_service) evaluated 37 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Espanyol, rel: 0.03, 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.6811,
                "expected_assists": 0.0628,
                "assists": 0.0598,
                "assist_rate": 0.0598,
                "expected_goals": 0.0456,
                "goals": 0.0557,
                "goal_rate": 0.0557,
                "shots_on_target": 0.1869,
                "total_shots": 0.6095,
                "rating": 6.7674,
                "minutes": 75.56,
                "total_pass": 33.127,
                "accurate_pass": 28.0625,
                "duels_won": 3.4148,
                "total_long_balls": 1.5551,
                "accurate_long_balls": 0.768,
                "total_own_half_passes": 15.5499,
                "accurate_own_half_passes": 13.5957,
                "total_opp_half_passes": 17.5771,
                "accurate_opp_half_passes": 14.4668,
                "crosses_total": 0.9553,
                "crosses_accurate": 0.2773,
                "touches": 44.843,
                "possession_lost": 7.6603,
                "dispossessed": 0.4877,
                "duels_lost": 4.0386,
                "aerial_won": 0.4586,
                "aerial_lost": 0.7187,
                "interceptions": 0.7515,
                "tackles_won": 0.9782,
                "tackles": 1.8072,
                "clearances": 1.3837,
                "total_contest": 0.3751,
                "won_contest": 0.1458,
                "challenges_lost": 1.0431,
                "fouls": 1.5768,
                "fouls_drawn": 1.0033,
                "blocks": 0.1104,
                "big_chances_created": 0.0801,
                "big_chances_missed": 0.0,
                "xgot": 0.0794,
                "ball_carries": 10.1867,
                "total_progression": 19.1823,
                "progressive_carries": 0.518,
                "shots_off_target": 0.4226
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-16T10:31:49.993480+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 895,
                    "rows": 24017
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1504,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.1278,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Real Madrid",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.1086,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Levante UD",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.0923,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Osasuna",
                    "minutes": 55.0,
                    "is_starting": true,
                    "weight": 0.0785,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Sevilla",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.0567,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-04-27",
                    "opponent": "Levante UD",
                    "minutes": 3.0,
                    "is_starting": false,
                    "weight": 0.0482,
                    "rating": 4.6
                  },
                  {
                    "match_date": "2026-04-23",
                    "opponent": "Rayo Vallecano",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-04-11",
                    "opponent": "FC Barcelona",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.3272,
                  "creative_index": 0.2283,
                  "expectedGoals": 0.0189,
                  "expectedAssists": 0.043,
                  "onTargetScoringAttempt": 0.0587
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.6811099648475647,
                    "model_output": 0.6811,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.16
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1359
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0622
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0532
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0278
                      }
                    ],
                    "decomposition": {
                      "base": 0.893,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1232
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0937
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0664
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0462
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0255
                        }
                      ],
                      "others": -0.1033,
                      "total": 0.6811,
                      "log_link": true,
                      "margin_base": -0.113189,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.129234
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.096783
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.074671
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.055512
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.032013
                        }
                      ],
                      "others_margin": -0.141099
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.06281213462352753,
                    "model_output": 0.0628,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1089
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1043
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1031
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0607
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0542
                      }
                    ],
                    "decomposition": {
                      "base": 0.0856,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0107
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0106
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0078
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.005
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0034
                        }
                      ],
                      "others": -0.0065,
                      "total": 0.0628,
                      "log_link": true,
                      "margin_base": -2.457601,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.133464
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.132671
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.095456
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.06578
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.04794
                        }
                      ],
                      "others_margin": -0.100038
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.05980587750673294,
                    "model_output": 0.0598,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.057
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.052
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0301
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0295
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0087
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0075
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0065
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0052
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0043
                        }
                      ],
                      "others": -0.0102,
                      "total": 0.0598,
                      "log_link": true,
                      "margin_base": -2.439072,
                      "item_margins": [
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.105564
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.091297
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.078729
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.067753
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.059311
                        }
                      ],
                      "others_margin": -0.157519
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.04562390595674515,
                    "model_output": 0.0456,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1269
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0844
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0755
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0372
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0272
                      }
                    ],
                    "decomposition": {
                      "base": 0.0943,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0346
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.011
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0074
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0046
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0017
                        }
                      ],
                      "others": -0.0076,
                      "total": 0.0456,
                      "log_link": true,
                      "margin_base": -2.361326,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.457871
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.203927
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.141247
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.086342
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.03209
                        }
                      ],
                      "others_margin": -0.151195
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.05565612390637398,
                    "model_output": 0.0557,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0894
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0486
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0452
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0389
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0978,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0208
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0113
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0093
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0091
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0036
                        }
                      ],
                      "others": -0.0066,
                      "total": 0.0557,
                      "log_link": true,
                      "margin_base": -2.324947,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.239431
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.158273
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.132575
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.128567
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.056834
                        }
                      ],
                      "others_margin": -0.113086
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.18686632812023163,
                    "model_output": 0.1869,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1038
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0848
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0823
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0306
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.3257,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0899
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0443
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0281
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0162
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0082
                        }
                      ],
                      "others": -0.0083,
                      "total": 0.1869,
                      "log_link": true,
                      "margin_base": -1.121688,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.322906
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.208259
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.136789
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.076539
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.040907
                        }
                      ],
                      "others_margin": -0.043851
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.6094501614570618,
                    "model_output": 0.6095,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1304
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.1272
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0577
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0476
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0242
                      }
                    ],
                    "decomposition": {
                      "base": 0.9955,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2934
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.121
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0583
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.048
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0405
                        }
                      ],
                      "others": -0.0669,
                      "total": 0.6094,
                      "log_link": false,
                      "margin_base": 0.995535,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.293426
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.120962
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.058332
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.047976
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.040457
                        }
                      ],
                      "others_margin": -0.066855
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.7674384117126465,
                    "model_output": 6.7674,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0934
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0793
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0569
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0427
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 6.8531,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": -0.0381
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0365
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0244
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0081
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0081
                        }
                      ],
                      "others": -0.0193,
                      "total": 6.7674,
                      "log_link": false,
                      "margin_base": 6.853057,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.038116
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.03647
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.024369
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.00815
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.008128
                        }
                      ],
                      "others_margin": -0.019125
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 37,
                  "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 0.9988, quality 0.472)",
              "stats": {
                "key_pass": 0.6803,
                "expected_assists": 0.0627,
                "assists": 0.0597,
                "assist_rate": 0.0597,
                "expected_goals": 0.0456,
                "goals": 0.0556,
                "goal_rate": 0.0556,
                "shots_on_target": 0.1866,
                "total_shots": 0.6087,
                "rating": 6.7674,
                "minutes": 75.56,
                "total_pass": 33.0872,
                "accurate_pass": 28.0288,
                "duels_won": 3.4107,
                "total_long_balls": 1.5532,
                "accurate_long_balls": 0.7671,
                "total_own_half_passes": 15.5312,
                "accurate_own_half_passes": 13.5794,
                "total_opp_half_passes": 17.556,
                "accurate_opp_half_passes": 14.4494,
                "crosses_total": 0.9542,
                "crosses_accurate": 0.277,
                "touches": 44.7892,
                "possession_lost": 7.6511,
                "dispossessed": 0.4871,
                "duels_lost": 4.0338,
                "aerial_won": 0.458,
                "aerial_lost": 0.7178,
                "interceptions": 0.7506,
                "tackles_won": 0.977,
                "tackles": 1.805,
                "clearances": 1.382,
                "total_contest": 0.3746,
                "won_contest": 0.1456,
                "challenges_lost": 1.0418,
                "fouls": 1.5749,
                "fouls_drawn": 1.0021,
                "blocks": 0.1103,
                "big_chances_created": 0.08,
                "big_chances_missed": 0.0,
                "xgot": 0.0793,
                "ball_carries": 10.1745,
                "total_progression": 19.1593,
                "progressive_carries": 0.5174,
                "shots_off_target": 0.4221
              },
              "params": {
                "market_value_eur": 5800000,
                "quality_factor": 0.472,
                "boost_factor": 0.9988,
                "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.0021)",
              "stats": {
                "key_pass": 0.6803,
                "expected_assists": 0.0627,
                "assists": 0.0596,
                "assist_rate": 0.0596,
                "expected_goals": 0.0456,
                "goals": 0.0555,
                "goal_rate": 0.0555,
                "shots_on_target": 0.1862,
                "total_shots": 0.6119,
                "rating": 6.7674,
                "minutes": 75.56,
                "total_pass": 33.0872,
                "accurate_pass": 28.0288,
                "duels_won": 3.4107,
                "total_long_balls": 1.5532,
                "accurate_long_balls": 0.7671,
                "total_own_half_passes": 15.5312,
                "accurate_own_half_passes": 13.5794,
                "total_opp_half_passes": 17.556,
                "accurate_opp_half_passes": 14.4494,
                "crosses_total": 0.9522,
                "crosses_accurate": 0.277,
                "touches": 44.7892,
                "possession_lost": 7.6511,
                "dispossessed": 0.4871,
                "duels_lost": 4.0338,
                "aerial_won": 0.458,
                "aerial_lost": 0.7178,
                "interceptions": 0.749,
                "tackles_won": 0.9837,
                "tackles": 1.805,
                "clearances": 1.382,
                "total_contest": 0.3746,
                "won_contest": 0.1456,
                "challenges_lost": 1.0418,
                "fouls": 1.576,
                "fouls_drawn": 1.0,
                "blocks": 0.1103,
                "big_chances_created": 0.08,
                "big_chances_missed": 0.0,
                "xgot": 0.0793,
                "ball_carries": 10.1745,
                "total_progression": 19.1593,
                "progressive_carries": 0.5174,
                "shots_off_target": 0.4221
              },
              "params": {
                "blend_weight": 0.0021,
                "history_matches": 37,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8396,
                "prior_reliability": 0.0267,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.977,
                  "after": 0.9837
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.6803,
                "expected_assists": 0.0627,
                "assists": 0.0596,
                "assist_rate": 0.0596,
                "expected_goals": 0.0456,
                "goals": 0.0555,
                "goal_rate": 0.0555,
                "shots_on_target": 0.1862,
                "total_shots": 0.6119,
                "rating": 6.7674,
                "minutes": 75.56,
                "total_pass": 33.0872,
                "accurate_pass": 28.0288,
                "duels_won": 3.4107,
                "total_long_balls": 1.5532,
                "accurate_long_balls": 0.7671,
                "total_own_half_passes": 15.5312,
                "accurate_own_half_passes": 13.5794,
                "total_opp_half_passes": 17.556,
                "accurate_opp_half_passes": 14.4494,
                "crosses_total": 0.9522,
                "crosses_accurate": 0.277,
                "touches": 44.7892,
                "possession_lost": 7.6511,
                "dispossessed": 0.4871,
                "duels_lost": 4.0338,
                "aerial_won": 0.458,
                "aerial_lost": 0.7178,
                "interceptions": 0.749,
                "tackles_won": 0.9837,
                "tackles": 1.805,
                "clearances": 1.382,
                "total_contest": 0.3746,
                "won_contest": 0.1456,
                "challenges_lost": 1.0418,
                "fouls": 1.576,
                "fouls_drawn": 1.0,
                "blocks": 0.1103,
                "big_chances_created": 0.08,
                "big_chances_missed": 0.0,
                "xgot": 0.0793,
                "ball_carries": 10.1745,
                "total_progression": 19.1593,
                "progressive_carries": 0.5174,
                "shots_off_target": 0.4221
              },
              "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.6803,
                "expected_assists": 0.0627,
                "assists": 0.0596,
                "assist_rate": 0.0596,
                "expected_goals": 0.036,
                "goals": 0.0438,
                "goal_rate": 0.0438,
                "shots_on_target": 0.1469,
                "total_shots": 0.4828,
                "rating": 6.7674,
                "minutes": 75.56,
                "total_pass": 33.0872,
                "accurate_pass": 28.0288,
                "duels_won": 3.4107,
                "total_long_balls": 1.5532,
                "accurate_long_balls": 0.7671,
                "total_own_half_passes": 15.5312,
                "accurate_own_half_passes": 13.5794,
                "total_opp_half_passes": 17.556,
                "accurate_opp_half_passes": 14.4494,
                "crosses_total": 0.9522,
                "crosses_accurate": 0.277,
                "touches": 44.7892,
                "possession_lost": 7.6511,
                "dispossessed": 0.4871,
                "duels_lost": 4.0338,
                "aerial_won": 0.9,
                "aerial_lost": 0.7178,
                "interceptions": 0.749,
                "tackles_won": 0.9837,
                "tackles": 1.805,
                "clearances": 1.382,
                "total_contest": 0.3746,
                "won_contest": 0.1456,
                "challenges_lost": 1.0418,
                "fouls": 1.576,
                "fouls_drawn": 1.0,
                "blocks": 0.1103,
                "big_chances_created": 0.08,
                "big_chances_missed": 0.0,
                "xgot": 0.0626,
                "ball_carries": 10.1745,
                "total_progression": 19.1593,
                "progressive_carries": 0.5174,
                "shots_off_target": 0.333,
                "duel_xg_multiplier": 0.789,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.276,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Giuliano Simeone",
                "opponent_faced": "Giuliano Simeone",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Giuliano Simeone",
                  "matchup_zone": "CDM vs CDM",
                  "duel_win_rate": 0.276,
                  "pressing_faced": "ULTRA_HIGH",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.789,
                  "skill_edge": -0.1555,
                  "height_edge": 0.012,
                  "attacker_skill": 0.4845,
                  "defender_skill": 0.8301,
                  "attacker_role": "CDM",
                  "attacker_mv_price_index": 0.85,
                  "defender_adjusted_parts": [
                    {
                      "player": "Giuliano Simeone",
                      "market_value": 44000000,
                      "role": "CDM",
                      "price_index": 0.85,
                      "adjusted_quality": 0.8301
                    }
                  ],
                  "xg_override": 0.036
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.458,
                  "after": 0.9
                },
                {
                  "stat": "totalShots",
                  "before": 0.6119,
                  "after": 0.4828
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.4221,
                  "after": 0.333
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.1862,
                  "after": 0.1469
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.0793,
                  "after": 0.0626
                },
                {
                  "stat": "goals",
                  "before": 0.0555,
                  "after": 0.0438
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.0456,
                  "after": 0.036
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.6803,
                "expected_assists": 0.0627,
                "assist_rate": 0.0596,
                "assists": 0,
                "expected_goals": 0.036,
                "goal_rate": 0.0438,
                "goals": 0,
                "shots_on_target": 0.1469,
                "total_shots": 0.4828,
                "rating": 6.7674,
                "minutes": 75.56,
                "total_pass": 33.0872,
                "accurate_pass": 28.0288,
                "duels_won": 3.4107,
                "total_long_balls": 1.5532,
                "accurate_long_balls": 0.7671,
                "total_own_half_passes": 15.5312,
                "accurate_own_half_passes": 13.5794,
                "total_opp_half_passes": 17.556,
                "accurate_opp_half_passes": 14.4494,
                "crosses_total": 0.9522,
                "crosses_accurate": 0.277,
                "touches": 44.7892,
                "possession_lost": 7.6511,
                "dispossessed": 0.4871,
                "duels_lost": 4.0338,
                "aerial_won": 0.9,
                "aerial_lost": 0.7178,
                "interceptions": 0.749,
                "tackles_won": 0.9837,
                "tackles": 1.805,
                "clearances": 1.382,
                "total_contest": 0.3746,
                "won_contest": 0.1456,
                "challenges_lost": 1.0418,
                "fouls": 1.576,
                "fouls_drawn": 1.0,
                "blocks": 0.1103,
                "big_chances_created": 0.08,
                "big_chances_missed": 0.0,
                "xgot": 0.0626,
                "ball_carries": 10.1745,
                "total_progression": 19.1593,
                "progressive_carries": 0.5174,
                "shots_off_target": 0.333,
                "duel_xg_multiplier": 0.789,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.276,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Giuliano Simeone",
                "opponent_faced": "Giuliano Simeone",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.34 (squad xG sum 1.0719, xG scale 1.2473, xA scale 1.1232, team xA 1.07 = 0.80 x lambda)",
              "stats": {
                "key_pass": 0.6803,
                "expected_assists": 0.0704,
                "assist_rate": 0.0596,
                "assists": 0,
                "expected_goals": 0.0449,
                "goal_rate": 0.0438,
                "goals": 0,
                "shots_on_target": 0.1469,
                "total_shots": 0.4828,
                "rating": 6.7674,
                "minutes": 75.56,
                "total_pass": 33.0872,
                "accurate_pass": 28.0288,
                "duels_won": 3.4107,
                "total_long_balls": 1.5532,
                "accurate_long_balls": 0.7671,
                "total_own_half_passes": 15.5312,
                "accurate_own_half_passes": 13.5794,
                "total_opp_half_passes": 17.556,
                "accurate_opp_half_passes": 14.4494,
                "crosses_total": 0.9522,
                "crosses_accurate": 0.277,
                "touches": 44.7892,
                "possession_lost": 7.6511,
                "dispossessed": 0.4871,
                "duels_lost": 4.0338,
                "aerial_won": 0.9,
                "aerial_lost": 0.7178,
                "interceptions": 0.749,
                "tackles_won": 0.9837,
                "tackles": 1.805,
                "clearances": 1.382,
                "total_contest": 0.3746,
                "won_contest": 0.1456,
                "challenges_lost": 1.0418,
                "fouls": 1.576,
                "fouls_drawn": 1.0,
                "blocks": 0.1103,
                "big_chances_created": 0.08,
                "big_chances_missed": 0.0,
                "xgot": 0.0781,
                "ball_carries": 10.1745,
                "total_progression": 19.1593,
                "progressive_carries": 0.5174,
                "shots_off_target": 0.333,
                "duel_xg_multiplier": 0.789,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.276,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Giuliano Simeone",
                "opponent_faced": "Giuliano Simeone",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0907,
                "creation_factor": 0.9725
              },
              "params": {
                "team_lambda": 1.337,
                "squad_xg_sum": 1.0719,
                "squad_xa_sum": 0.9523,
                "team_expected_assists": 1.0696,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2473,
                "xa_scale": 1.1232,
                "opponent_lambda": 2.325,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.036,
                  "after": 0.0449
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0627,
                  "after": 0.0704
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 9 by projected rating, fifa_overall 75.0)",
              "stats": {
                "key_pass": 0.6803,
                "expected_assists": 0.0704,
                "assist_rate": 0.0596,
                "assists": 0,
                "expected_goals": 0.0449,
                "goal_rate": 0.0438,
                "goals": 0,
                "shots_on_target": 0.1469,
                "total_shots": 0.4828,
                "rating": 6.7674,
                "minutes": 75.56,
                "total_pass": 33.0872,
                "accurate_pass": 28.0288,
                "duels_won": 3.4107,
                "total_long_balls": 1.5532,
                "accurate_long_balls": 0.7671,
                "total_own_half_passes": 15.5312,
                "accurate_own_half_passes": 13.5794,
                "total_opp_half_passes": 17.556,
                "accurate_opp_half_passes": 14.4494,
                "crosses_total": 0.9522,
                "crosses_accurate": 0.277,
                "touches": 44.7892,
                "possession_lost": 7.6511,
                "dispossessed": 0.4871,
                "duels_lost": 4.0338,
                "aerial_won": 0.9,
                "aerial_lost": 0.7178,
                "interceptions": 0.749,
                "tackles_won": 0.9837,
                "tackles": 1.805,
                "clearances": 1.382,
                "total_contest": 0.3746,
                "won_contest": 0.1456,
                "challenges_lost": 1.0418,
                "fouls": 1.576,
                "fouls_drawn": 1.0,
                "blocks": 0.1103,
                "big_chances_created": 0.08,
                "big_chances_missed": 0.0,
                "xgot": 0.0781,
                "ball_carries": 10.1745,
                "total_progression": 19.1593,
                "progressive_carries": 0.5174,
                "shots_off_target": 0.333,
                "duel_xg_multiplier": 0.789,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.276,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Giuliano Simeone",
                "opponent_faced": "Giuliano Simeone",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0907,
                "creation_factor": 0.9725,
                "fifa_overall": 75.0
              },
              "params": {
                "match_squad_rank": 9,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3515,
                "fifa_rank": 2405.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": {
                "key_pass": 0.6803,
                "expected_assists": 0.0704,
                "assist_rate": 0.0596,
                "assists": 0,
                "expected_goals": 0.0449,
                "goal_rate": 0.0438,
                "goals": 0,
                "shots_on_target": 0.1469,
                "total_shots": 0.4828,
                "rating": 6.7674,
                "minutes": 75.56,
                "total_pass": 33.0872,
                "accurate_pass": 28.0288,
                "duels_won": 3.4107,
                "total_long_balls": 1.5532,
                "accurate_long_balls": 0.7671,
                "total_own_half_passes": 15.5312,
                "accurate_own_half_passes": 13.5794,
                "total_opp_half_passes": 17.556,
                "accurate_opp_half_passes": 14.4494,
                "crosses_total": 0.9522,
                "crosses_accurate": 0.277,
                "touches": 44.7892,
                "possession_lost": 7.6511,
                "dispossessed": 0.4871,
                "duels_lost": 4.0338,
                "aerial_won": 0.9,
                "aerial_lost": 0.7178,
                "interceptions": 0.749,
                "tackles_won": 0.9837,
                "tackles": 1.805,
                "clearances": 1.382,
                "total_contest": 0.3746,
                "won_contest": 0.1456,
                "challenges_lost": 1.0418,
                "fouls": 1.576,
                "fouls_drawn": 1.0,
                "blocks": 0.1103,
                "big_chances_created": 0.08,
                "big_chances_missed": 0.0,
                "xgot": 0.0781,
                "ball_carries": 10.1745,
                "total_progression": 19.1593,
                "progressive_carries": 0.5174,
                "shots_off_target": 0.333,
                "duel_xg_multiplier": 0.789,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.276,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Giuliano Simeone",
                "opponent_faced": "Giuliano Simeone",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0439,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0907,
                "creation_factor": 0.9725,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0439,
                "goal_rate": 0.0438,
                "scorer_weight": 0.049,
                "squad_weight_total": 1.4295,
                "weight_share": 0.0343,
                "finishing_factor": 1.0907,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.5106,
                    "already": 0,
                    "effective_weight": 0.5106,
                    "runner_up": "Javier Hernández",
                    "runner_up_effective_weight": 0.166
                  }
                ]
              }
            },
            {
              "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.6803,
                "expected_assists": 0.0704,
                "assist_rate": 0.0596,
                "assists": 0,
                "expected_goals": 0.0449,
                "goal_rate": 0.0438,
                "goals": 0,
                "shots_on_target": 0.1469,
                "total_shots": 0.4828,
                "rating": 6.7674,
                "minutes": 75.56,
                "total_pass": 33.0872,
                "accurate_pass": 28.0288,
                "duels_won": 3.4107,
                "total_long_balls": 1.5532,
                "accurate_long_balls": 0.7671,
                "total_own_half_passes": 15.5312,
                "accurate_own_half_passes": 13.5794,
                "total_opp_half_passes": 17.556,
                "accurate_opp_half_passes": 14.4494,
                "crosses_total": 0.9522,
                "crosses_accurate": 0.277,
                "touches": 44.7892,
                "possession_lost": 7.6511,
                "dispossessed": 0.4871,
                "duels_lost": 4.0338,
                "aerial_won": 0.9,
                "aerial_lost": 0.7178,
                "interceptions": 0.749,
                "tackles_won": 0.9837,
                "tackles": 1.805,
                "clearances": 1.382,
                "total_contest": 0.3746,
                "won_contest": 0.1456,
                "challenges_lost": 1.0418,
                "fouls": 1.576,
                "fouls_drawn": 1.0,
                "blocks": 0.1103,
                "big_chances_created": 0.08,
                "big_chances_missed": 0.0,
                "xgot": 0.0781,
                "ball_carries": 10.1745,
                "total_progression": 19.1593,
                "progressive_carries": 0.5174,
                "shots_off_target": 0.333,
                "duel_xg_multiplier": 0.789,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.276,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Giuliano Simeone",
                "opponent_faced": "Giuliano Simeone",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0439,
                "projected_assists": 0,
                "assist_probability": 0.068,
                "finishing_factor": 1.0907,
                "creation_factor": 0.9725,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.068,
                "assist_rate": 0.0596,
                "provider_weight": 0.0685,
                "squad_weight_total": 1.0297,
                "weight_share": 0.0665,
                "creation_factor": 0.9725,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Javier Hernández",
                    "weight": 0.193,
                    "already": 0,
                    "effective_weight": 0.193,
                    "runner_up": "Bryan Zaragoza",
                    "runner_up_effective_weight": 0.1355,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Edu Expósito": {
          "player_id": 877262,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 8,
          "height": 175,
          "market_value": 4500000,
          "stats": {
            "key_pass": 2,
            "expected_assists": 0.165,
            "assist_rate": 0.1029,
            "assists": 0,
            "expected_goals": 0.1232,
            "goal_rate": 0.1091,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 7.1524,
            "minutes": 83,
            "total_pass": 41,
            "accurate_pass": 35,
            "duels_won": 5,
            "total_long_balls": 4,
            "accurate_long_balls": 2,
            "total_own_half_passes": 15,
            "accurate_own_half_passes": 14,
            "total_opp_half_passes": 27,
            "accurate_opp_half_passes": 21,
            "crosses_total": 4,
            "crosses_accurate": 1,
            "touches": 60,
            "possession_lost": 13.225,
            "dispossessed": 1.0831,
            "duels_lost": 4,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 0,
            "tackles_won": 2,
            "tackles": 2,
            "clearances": 2,
            "total_contest": 2,
            "won_contest": 1,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0212,
            "ball_carries": 14,
            "total_progression": 67,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.7708,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.5,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.264,
            "pressing_faced": "ULTRA_HIGH",
            "matchup_zone": "CDM vs CDM",
            "numerical_situation": "1v1",
            "opponent_defenders": "Giuliano Simeone",
            "opponent_faced": "Giuliano Simeone",
            "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1159,
            "projected_assists": 0,
            "assist_probability": 0.1521,
            "finishing_factor": 1.0692,
            "creation_factor": 0.8,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 82,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0597,
                "expected_assists": 0.0258,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 29,
                "accurate_pass": 26,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 3,
                "clearances": 2,
                "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": 16416299,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 7.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1449,
                "expected_assists": 0.3741,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 81,
                "accurate_pass": 72,
                "key_pass": 6,
                "tackles": 4,
                "tackles_won": 4,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 3,
                "duels_won": 7,
                "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": 16416345,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 45,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3802,
                "expected_assists": 0.2161,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 30,
                "accurate_pass": 26,
                "key_pass": 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": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 89,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0458,
                "expected_assists": 0.1488,
                "total_shots": 1,
                "total_pass": 35,
                "accurate_pass": 32,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 7,
                "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": 16416323,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.141,
                "expected_assists": 0.6104,
                "total_shots": 1,
                "total_pass": 49,
                "accurate_pass": 39,
                "key_pass": 6,
                "interceptions": 1,
                "clearances": 1,
                "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": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 70,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1531,
                "expected_assists": 0.036,
                "total_shots": 3,
                "shots_off_target": 3,
                "total_pass": 39,
                "accurate_pass": 32,
                "tackles": 2,
                "tackles_won": 1,
                "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": 16416306,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 88,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0563,
                "expected_assists": 0.0376,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 47,
                "accurate_pass": 40,
                "tackles": 4,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 7,
                "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": 16421053,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 86,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1101,
                "expected_assists": 0.0395,
                "total_shots": 3,
                "shots_off_target": 1,
                "total_pass": 51,
                "accurate_pass": 47,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 8
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 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.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0279,
                "expected_assists": 0.0301,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 49,
                "accurate_pass": 34,
                "key_pass": 3,
                "tackles": 3,
                "interceptions": 1,
                "clearances": 3,
                "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": "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": 64,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0712,
                "expected_assists": 0.0573,
                "total_shots": 1,
                "total_pass": 15,
                "accurate_pass": 11,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 2628,
            "combined_rank_score": 921.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 289.0,
            "sofascore_rating": 7.0556,
            "sofascore_appearances": 36.0,
            "fifa_rank": 1553.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.1524,
            "source_file": "data/player_rankings.csv",
            "player_name": "Edu Expósito",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Francisco Jose Pozzo",
                  "ranking": 2623
                },
                {
                  "player_name": "Augustine Chidi Kwem",
                  "ranking": 2624
                },
                {
                  "player_name": "Otabek Ahadov",
                  "ranking": 2625
                },
                {
                  "player_name": "Rodrigo Sandoval",
                  "ranking": 2626
                },
                {
                  "player_name": "Ruben Loftus-Cheek",
                  "ranking": 2627
                }
              ],
              "lower": [
                {
                  "player_name": "Lucas Boyé",
                  "ranking": 2629
                },
                {
                  "player_name": "Duván Zapata",
                  "ranking": 2630
                },
                {
                  "player_name": "Tosin Adarabioyo",
                  "ranking": 2631
                },
                {
                  "player_name": "Selton Sanchez",
                  "ranking": 2632
                },
                {
                  "player_name": "Jung-Min Kim",
                  "ranking": 2633
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.777,
          "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.777,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9985,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 241.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 3.36,
              "shots_on_target_pct": 11.1,
              "prior_reliability": 0.18
            },
            "rationale": "XGBoost regressor (M_service) evaluated 44 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Espanyol, rel: 0.18, 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.5682,
                "expected_assists": 0.1471,
                "assists": 0.1043,
                "assist_rate": 0.1043,
                "expected_goals": 0.1284,
                "goals": 0.1436,
                "goal_rate": 0.1436,
                "shots_on_target": 0.519,
                "total_shots": 1.3984,
                "rating": 7.1524,
                "minutes": 83.07,
                "total_pass": 41.4734,
                "accurate_pass": 34.8539,
                "duels_won": 5.3053,
                "total_long_balls": 3.7744,
                "accurate_long_balls": 1.559,
                "total_own_half_passes": 14.8436,
                "accurate_own_half_passes": 13.8576,
                "total_opp_half_passes": 26.6298,
                "accurate_opp_half_passes": 20.9963,
                "crosses_total": 3.9133,
                "crosses_accurate": 1.0744,
                "touches": 60.3761,
                "possession_lost": 13.2449,
                "dispossessed": 1.0847,
                "duels_lost": 4.3942,
                "aerial_won": 0.8899,
                "aerial_lost": 1.0428,
                "interceptions": 0.4486,
                "tackles_won": 1.6143,
                "tackles": 2.3886,
                "clearances": 1.8281,
                "total_contest": 2.0088,
                "won_contest": 1.3824,
                "challenges_lost": 0.7612,
                "fouls": 0.9224,
                "fouls_drawn": 0.6599,
                "blocks": 0.0781,
                "big_chances_created": 0.3773,
                "big_chances_missed": 0.0106,
                "xgot": 0.022,
                "ball_carries": 14.5121,
                "total_progression": 67.1326,
                "progressive_carries": 1.6894,
                "shots_off_target": 0.8794
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-16T10:31:49.993480+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 895,
                    "rows": 24017
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Málaga CF",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.1501,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1085,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Sociedad",
                    "minutes": 70.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Real Madrid",
                    "minutes": 88.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Levante UD",
                    "minutes": 86.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Osasuna",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 1.7964,
                  "creative_index": 1.0445,
                  "expectedGoals": 0.1206,
                  "expectedAssists": 0.1719,
                  "onTargetScoringAttempt": 0.1669
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.5681800842285156,
                    "model_output": 1.5682,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.16
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1359
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0622
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0532
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0278
                      }
                    ],
                    "decomposition": {
                      "base": 0.893,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": 0.1916
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1251
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.1181
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0906
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0742
                        }
                      ],
                      "others": 0.0756,
                      "total": 1.5682,
                      "log_link": true,
                      "margin_base": -0.113189,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": 0.194344
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.109169
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.093167
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.066032
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.050991
                        }
                      ],
                      "others_margin": 0.049401
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.14712244272232056,
                    "model_output": 0.1471,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1089
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1043
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1031
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0607
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0542
                      }
                    ],
                    "decomposition": {
                      "base": 0.0856,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": 0.0114
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0128
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0119
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0098
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0048
                        }
                      ],
                      "others": 0.0108,
                      "total": 0.1471,
                      "log_link": true,
                      "margin_base": -2.457601,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": 0.12531
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.123761
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.102445
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.077278
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.036165
                        }
                      ],
                      "others_margin": 0.07615
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.10428868234157562,
                    "model_output": 0.1043,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.057
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.052
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0301
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0295
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": 0.0076
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0069
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0073
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0075
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0069
                        }
                      ],
                      "others": -0.0191,
                      "total": 0.1043,
                      "log_link": true,
                      "margin_base": -2.439072,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": 0.083631
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.06974
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.069495
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.066513
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.057802
                        }
                      ],
                      "others_margin": -0.168701
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1283504068851471,
                    "model_output": 0.1284,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1269
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0844
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0755
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0372
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0272
                      }
                    ],
                    "decomposition": {
                      "base": 0.0943,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0259
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0217
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0175
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0128
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0053
                        }
                      ],
                      "others": -0.0129,
                      "total": 0.1284,
                      "log_link": true,
                      "margin_base": -2.361326,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": 0.242437
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.165965
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.116554
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.083519
                        },
                        {
                          "name": "goals",
                          "margin": -0.036475
                        }
                      ],
                      "others_margin": -0.096627
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.14355036616325378,
                    "model_output": 0.1436,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0894
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0486
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0452
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0389
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0978,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0268
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0151
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0134
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0118
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0067
                        }
                      ],
                      "others": -0.0012,
                      "total": 0.1436,
                      "log_link": true,
                      "margin_base": -2.324947,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.242354
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.114333
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.100945
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.089584
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.047412
                        }
                      ],
                      "others_margin": -0.008859
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5189699530601501,
                    "model_output": 0.519,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1038
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0848
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0823
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0306
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.3257,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0815
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0704
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0644
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0332
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0174
                        }
                      ],
                      "others": -0.0072,
                      "total": 0.519,
                      "log_link": true,
                      "margin_base": -1.121688,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.223429
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.159449
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.126432
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.063261
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.033612
                        }
                      ],
                      "others_margin": -0.013882
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.3983498811721802,
                    "model_output": 1.3983,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1304
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.1272
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0577
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0476
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0242
                      }
                    ],
                    "decomposition": {
                      "base": 0.9955,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.3511
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1361
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0613
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0409
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0324
                        }
                      ],
                      "others": -0.0723,
                      "total": 1.3984,
                      "log_link": false,
                      "margin_base": 0.995535,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.351113
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.136134
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.061262
                        },
                        {
                          "name": "goals",
                          "margin": -0.040933
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.032393
                        }
                      ],
                      "others_margin": -0.072367
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.152424335479736,
                    "model_output": 7.1524,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0934
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0793
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0569
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0427
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 6.8531,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.1191
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.1077
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0272
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0226
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0149
                        }
                      ],
                      "others": 0.0078,
                      "total": 7.1524,
                      "log_link": false,
                      "margin_base": 6.853057,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.119052
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.107676
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.027235
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.02265
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.014855
                        }
                      ],
                      "others_margin": 0.007901
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 44,
                  "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 0.9985, quality 0.456)",
              "stats": {
                "key_pass": 1.5658,
                "expected_assists": 0.1469,
                "assists": 0.1041,
                "assist_rate": 0.1041,
                "expected_goals": 0.1282,
                "goals": 0.1433,
                "goal_rate": 0.1433,
                "shots_on_target": 0.5182,
                "total_shots": 1.3963,
                "rating": 7.1524,
                "minutes": 83.07,
                "total_pass": 41.4112,
                "accurate_pass": 34.8016,
                "duels_won": 5.2973,
                "total_long_balls": 3.7687,
                "accurate_long_balls": 1.5567,
                "total_own_half_passes": 14.8213,
                "accurate_own_half_passes": 13.8368,
                "total_opp_half_passes": 26.5899,
                "accurate_opp_half_passes": 20.9648,
                "crosses_total": 3.9074,
                "crosses_accurate": 1.0728,
                "touches": 60.2855,
                "possession_lost": 13.225,
                "dispossessed": 1.0831,
                "duels_lost": 4.3876,
                "aerial_won": 0.8886,
                "aerial_lost": 1.0412,
                "interceptions": 0.4479,
                "tackles_won": 1.6119,
                "tackles": 2.385,
                "clearances": 1.8254,
                "total_contest": 2.0058,
                "won_contest": 1.3803,
                "challenges_lost": 0.7601,
                "fouls": 0.921,
                "fouls_drawn": 0.6589,
                "blocks": 0.078,
                "big_chances_created": 0.3767,
                "big_chances_missed": 0.0106,
                "xgot": 0.022,
                "ball_carries": 14.4903,
                "total_progression": 67.0319,
                "progressive_carries": 1.6869,
                "shots_off_target": 0.8781
              },
              "params": {
                "market_value_eur": 4500000,
                "quality_factor": 0.456,
                "boost_factor": 0.9985,
                "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.0119)",
              "stats": {
                "key_pass": 1.5658,
                "expected_assists": 0.1469,
                "assists": 0.1029,
                "assist_rate": 0.1029,
                "expected_goals": 0.1282,
                "goals": 0.1416,
                "goal_rate": 0.1416,
                "shots_on_target": 0.5161,
                "total_shots": 1.4167,
                "rating": 7.1524,
                "minutes": 83.07,
                "total_pass": 41.4112,
                "accurate_pass": 34.8016,
                "duels_won": 5.2973,
                "total_long_balls": 3.7687,
                "accurate_long_balls": 1.5567,
                "total_own_half_passes": 14.8213,
                "accurate_own_half_passes": 13.8368,
                "total_opp_half_passes": 26.5899,
                "accurate_opp_half_passes": 20.9648,
                "crosses_total": 3.873,
                "crosses_accurate": 1.0728,
                "touches": 60.2855,
                "possession_lost": 13.225,
                "dispossessed": 1.0831,
                "duels_lost": 4.3876,
                "aerial_won": 0.8886,
                "aerial_lost": 1.0412,
                "interceptions": 0.4466,
                "tackles_won": 1.609,
                "tackles": 2.385,
                "clearances": 1.8254,
                "total_contest": 2.0058,
                "won_contest": 1.3803,
                "challenges_lost": 0.7601,
                "fouls": 0.9182,
                "fouls_drawn": 0.6592,
                "blocks": 0.078,
                "big_chances_created": 0.3767,
                "big_chances_missed": 0.0106,
                "xgot": 0.022,
                "ball_carries": 14.4903,
                "total_progression": 67.0319,
                "progressive_carries": 1.6869,
                "shots_off_target": 0.8781
              },
              "params": {
                "blend_weight": 0.0119,
                "history_matches": 44,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.923,
                "prior_reliability": 0.18,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 3.9074,
                  "after": 3.873
                },
                {
                  "stat": "totalShots",
                  "before": 1.3963,
                  "after": 1.4167
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.5658,
                "expected_assists": 0.1469,
                "assists": 0.1029,
                "assist_rate": 0.1029,
                "expected_goals": 0.1282,
                "goals": 0.1416,
                "goal_rate": 0.1416,
                "shots_on_target": 0.5161,
                "total_shots": 1.4167,
                "rating": 7.1524,
                "minutes": 83.07,
                "total_pass": 41.4112,
                "accurate_pass": 34.8016,
                "duels_won": 5.2973,
                "total_long_balls": 3.7687,
                "accurate_long_balls": 1.5567,
                "total_own_half_passes": 14.8213,
                "accurate_own_half_passes": 13.8368,
                "total_opp_half_passes": 26.5899,
                "accurate_opp_half_passes": 20.9648,
                "crosses_total": 3.873,
                "crosses_accurate": 1.0728,
                "touches": 60.2855,
                "possession_lost": 13.225,
                "dispossessed": 1.0831,
                "duels_lost": 4.3876,
                "aerial_won": 0.8886,
                "aerial_lost": 1.0412,
                "interceptions": 0.4466,
                "tackles_won": 1.609,
                "tackles": 2.385,
                "clearances": 1.8254,
                "total_contest": 2.0058,
                "won_contest": 1.3803,
                "challenges_lost": 0.7601,
                "fouls": 0.9182,
                "fouls_drawn": 0.6592,
                "blocks": 0.078,
                "big_chances_created": 0.3767,
                "big_chances_missed": 0.0106,
                "xgot": 0.022,
                "ball_carries": 14.4903,
                "total_progression": 67.0319,
                "progressive_carries": 1.6869,
                "shots_off_target": 0.8781
              },
              "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.5658,
                "expected_assists": 0.1469,
                "assists": 0.1029,
                "assist_rate": 0.1029,
                "expected_goals": 0.0988,
                "goals": 0.1091,
                "goal_rate": 0.1091,
                "shots_on_target": 0.3978,
                "total_shots": 1.092,
                "rating": 7.1524,
                "minutes": 83.07,
                "total_pass": 41.4112,
                "accurate_pass": 34.8016,
                "duels_won": 5.2973,
                "total_long_balls": 3.7687,
                "accurate_long_balls": 1.5567,
                "total_own_half_passes": 14.8213,
                "accurate_own_half_passes": 13.8368,
                "total_opp_half_passes": 26.5899,
                "accurate_opp_half_passes": 20.9648,
                "crosses_total": 3.873,
                "crosses_accurate": 1.0728,
                "touches": 60.2855,
                "possession_lost": 13.225,
                "dispossessed": 1.0831,
                "duels_lost": 4.3876,
                "aerial_won": 0.9,
                "aerial_lost": 1.0412,
                "interceptions": 0.4466,
                "tackles_won": 1.609,
                "tackles": 2.385,
                "clearances": 1.8254,
                "total_contest": 2.0058,
                "won_contest": 1.3803,
                "challenges_lost": 0.7601,
                "fouls": 0.9182,
                "fouls_drawn": 0.6592,
                "blocks": 0.078,
                "big_chances_created": 0.3767,
                "big_chances_missed": 0.0082,
                "xgot": 0.017,
                "ball_carries": 14.4903,
                "total_progression": 67.0319,
                "progressive_carries": 1.6869,
                "shots_off_target": 0.6768,
                "duel_xg_multiplier": 0.7708,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.264,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Giuliano Simeone",
                "opponent_faced": "Giuliano Simeone",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Giuliano Simeone",
                  "matchup_zone": "CDM vs CDM",
                  "duel_win_rate": 0.264,
                  "pressing_faced": "ULTRA_HIGH",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.7708,
                  "skill_edge": -0.1639,
                  "height_edge": 0.008,
                  "attacker_skill": 0.4658,
                  "defender_skill": 0.8301,
                  "attacker_role": "CDM",
                  "attacker_mv_price_index": 0.85,
                  "defender_adjusted_parts": [
                    {
                      "player": "Giuliano Simeone",
                      "market_value": 44000000,
                      "role": "CDM",
                      "price_index": 0.85,
                      "adjusted_quality": 0.8301
                    }
                  ],
                  "xg_override": 0.0988
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.4167,
                  "after": 1.092
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.8781,
                  "after": 0.6768
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.5161,
                  "after": 0.3978
                },
                {
                  "stat": "goals",
                  "before": 0.1416,
                  "after": 0.1091
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1282,
                  "after": 0.0988
                },
                {
                  "stat": "aerialWon",
                  "before": 0.8886,
                  "after": 0.9
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 1.5658,
                "expected_assists": 0.1469,
                "assist_rate": 0.1029,
                "assists": 0,
                "expected_goals": 0.0988,
                "goal_rate": 0.1091,
                "goals": 0,
                "shots_on_target": 0.3978,
                "total_shots": 1.092,
                "rating": 7.1524,
                "minutes": 83.07,
                "total_pass": 41.4112,
                "accurate_pass": 34.8016,
                "duels_won": 5.2973,
                "total_long_balls": 3.7687,
                "accurate_long_balls": 1.5567,
                "total_own_half_passes": 14.8213,
                "accurate_own_half_passes": 13.8368,
                "total_opp_half_passes": 26.5899,
                "accurate_opp_half_passes": 20.9648,
                "crosses_total": 3.873,
                "crosses_accurate": 1.0728,
                "touches": 60.2855,
                "possession_lost": 13.225,
                "dispossessed": 1.0831,
                "duels_lost": 4.3876,
                "aerial_won": 0.9,
                "aerial_lost": 1.0412,
                "interceptions": 0.4466,
                "tackles_won": 1.609,
                "tackles": 2.385,
                "clearances": 1.8254,
                "total_contest": 2.0058,
                "won_contest": 1.3803,
                "challenges_lost": 0.7601,
                "fouls": 0.9182,
                "fouls_drawn": 0.6592,
                "blocks": 0.078,
                "big_chances_created": 0.3767,
                "big_chances_missed": 0.0082,
                "xgot": 0.017,
                "ball_carries": 14.4903,
                "total_progression": 67.0319,
                "progressive_carries": 1.6869,
                "shots_off_target": 0.6768,
                "duel_xg_multiplier": 0.7708,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.264,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Giuliano Simeone",
                "opponent_faced": "Giuliano Simeone",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.34 (squad xG sum 1.0719, xG scale 1.2473, xA scale 1.1232, team xA 1.07 = 0.80 x lambda)",
              "stats": {
                "key_pass": 1.5658,
                "expected_assists": 0.165,
                "assist_rate": 0.1029,
                "assists": 0,
                "expected_goals": 0.1232,
                "goal_rate": 0.1091,
                "goals": 0,
                "shots_on_target": 0.3978,
                "total_shots": 1.092,
                "rating": 7.1524,
                "minutes": 83.07,
                "total_pass": 41.4112,
                "accurate_pass": 34.8016,
                "duels_won": 5.2973,
                "total_long_balls": 3.7687,
                "accurate_long_balls": 1.5567,
                "total_own_half_passes": 14.8213,
                "accurate_own_half_passes": 13.8368,
                "total_opp_half_passes": 26.5899,
                "accurate_opp_half_passes": 20.9648,
                "crosses_total": 3.873,
                "crosses_accurate": 1.0728,
                "touches": 60.2855,
                "possession_lost": 13.225,
                "dispossessed": 1.0831,
                "duels_lost": 4.3876,
                "aerial_won": 0.9,
                "aerial_lost": 1.0412,
                "interceptions": 0.4466,
                "tackles_won": 1.609,
                "tackles": 2.385,
                "clearances": 1.8254,
                "total_contest": 2.0058,
                "won_contest": 1.3803,
                "challenges_lost": 0.7601,
                "fouls": 0.9182,
                "fouls_drawn": 0.6592,
                "blocks": 0.078,
                "big_chances_created": 0.3767,
                "big_chances_missed": 0.0082,
                "xgot": 0.0212,
                "ball_carries": 14.4903,
                "total_progression": 67.0319,
                "progressive_carries": 1.6869,
                "shots_off_target": 0.6768,
                "duel_xg_multiplier": 0.7708,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.264,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Giuliano Simeone",
                "opponent_faced": "Giuliano Simeone",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0692,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.337,
                "squad_xg_sum": 1.0719,
                "squad_xa_sum": 0.9523,
                "team_expected_assists": 1.0696,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2473,
                "xa_scale": 1.1232,
                "opponent_lambda": 2.325,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0988,
                  "after": 0.1232
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1469,
                  "after": 0.165
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 1 by projected rating, fifa_overall 77.0)",
              "stats": {
                "key_pass": 1.5658,
                "expected_assists": 0.165,
                "assist_rate": 0.1029,
                "assists": 0,
                "expected_goals": 0.1232,
                "goal_rate": 0.1091,
                "goals": 0,
                "shots_on_target": 0.3978,
                "total_shots": 1.092,
                "rating": 7.1524,
                "minutes": 83.07,
                "total_pass": 41.4112,
                "accurate_pass": 34.8016,
                "duels_won": 5.2973,
                "total_long_balls": 3.7687,
                "accurate_long_balls": 1.5567,
                "total_own_half_passes": 14.8213,
                "accurate_own_half_passes": 13.8368,
                "total_opp_half_passes": 26.5899,
                "accurate_opp_half_passes": 20.9648,
                "crosses_total": 3.873,
                "crosses_accurate": 1.0728,
                "touches": 60.2855,
                "possession_lost": 13.225,
                "dispossessed": 1.0831,
                "duels_lost": 4.3876,
                "aerial_won": 0.9,
                "aerial_lost": 1.0412,
                "interceptions": 0.4466,
                "tackles_won": 1.609,
                "tackles": 2.385,
                "clearances": 1.8254,
                "total_contest": 2.0058,
                "won_contest": 1.3803,
                "challenges_lost": 0.7601,
                "fouls": 0.9182,
                "fouls_drawn": 0.6592,
                "blocks": 0.078,
                "big_chances_created": 0.3767,
                "big_chances_missed": 0.0082,
                "xgot": 0.0212,
                "ball_carries": 14.4903,
                "total_progression": 67.0319,
                "progressive_carries": 1.6869,
                "shots_off_target": 0.6768,
                "duel_xg_multiplier": 0.7708,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.264,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Giuliano Simeone",
                "opponent_faced": "Giuliano Simeone",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0692,
                "creation_factor": 0.8,
                "fifa_overall": 77.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": 2628,
                "fifa_rank": 1553.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1.5658,
                "expected_assists": 0.165,
                "assist_rate": 0.1029,
                "assists": 0,
                "expected_goals": 0.1232,
                "goal_rate": 0.1091,
                "goals": 0,
                "shots_on_target": 0.3978,
                "total_shots": 1.092,
                "rating": 7.1524,
                "minutes": 83.07,
                "total_pass": 41.4112,
                "accurate_pass": 34.8016,
                "duels_won": 5.2973,
                "total_long_balls": 3.7687,
                "accurate_long_balls": 1.5567,
                "total_own_half_passes": 14.8213,
                "accurate_own_half_passes": 13.8368,
                "total_opp_half_passes": 26.5899,
                "accurate_opp_half_passes": 20.9648,
                "crosses_total": 3.873,
                "crosses_accurate": 1.0728,
                "touches": 60.2855,
                "possession_lost": 13.225,
                "dispossessed": 1.0831,
                "duels_lost": 4.3876,
                "aerial_won": 0.9,
                "aerial_lost": 1.0412,
                "interceptions": 0.4466,
                "tackles_won": 1.609,
                "tackles": 2.385,
                "clearances": 1.8254,
                "total_contest": 2.0058,
                "won_contest": 1.3803,
                "challenges_lost": 0.7601,
                "fouls": 0.9182,
                "fouls_drawn": 0.6592,
                "blocks": 0.078,
                "big_chances_created": 0.3767,
                "big_chances_missed": 0.0082,
                "xgot": 0.0212,
                "ball_carries": 14.4903,
                "total_progression": 67.0319,
                "progressive_carries": 1.6869,
                "shots_off_target": 0.6768,
                "duel_xg_multiplier": 0.7708,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.264,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Giuliano Simeone",
                "opponent_faced": "Giuliano Simeone",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1159,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0692,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1159,
                "goal_rate": 0.1091,
                "scorer_weight": 0.1317,
                "squad_weight_total": 1.4295,
                "weight_share": 0.0921,
                "finishing_factor": 1.0692,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.5106,
                    "already": 0,
                    "effective_weight": 0.5106,
                    "runner_up": "Javier Hernández",
                    "runner_up_effective_weight": 0.166
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 1.5658,
                "expected_assists": 0.165,
                "assist_rate": 0.1029,
                "assists": 0,
                "expected_goals": 0.1232,
                "goal_rate": 0.1091,
                "goals": 0,
                "shots_on_target": 0.3978,
                "total_shots": 1.092,
                "rating": 7.1524,
                "minutes": 83.07,
                "total_pass": 41.4112,
                "accurate_pass": 34.8016,
                "duels_won": 5.2973,
                "total_long_balls": 3.7687,
                "accurate_long_balls": 1.5567,
                "total_own_half_passes": 14.8213,
                "accurate_own_half_passes": 13.8368,
                "total_opp_half_passes": 26.5899,
                "accurate_opp_half_passes": 20.9648,
                "crosses_total": 3.873,
                "crosses_accurate": 1.0728,
                "touches": 60.2855,
                "possession_lost": 13.225,
                "dispossessed": 1.0831,
                "duels_lost": 4.3876,
                "aerial_won": 0.9,
                "aerial_lost": 1.0412,
                "interceptions": 0.4466,
                "tackles_won": 1.609,
                "tackles": 2.385,
                "clearances": 1.8254,
                "total_contest": 2.0058,
                "won_contest": 1.3803,
                "challenges_lost": 0.7601,
                "fouls": 0.9182,
                "fouls_drawn": 0.6592,
                "blocks": 0.078,
                "big_chances_created": 0.3767,
                "big_chances_missed": 0.0082,
                "xgot": 0.0212,
                "ball_carries": 14.4903,
                "total_progression": 67.0319,
                "progressive_carries": 1.6869,
                "shots_off_target": 0.6768,
                "duel_xg_multiplier": 0.7708,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.264,
                "pressing_faced": "ULTRA_HIGH",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Giuliano Simeone",
                "opponent_faced": "Giuliano Simeone",
                "antagonist_source": "attacking_duel, defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1159,
                "projected_assists": 0,
                "assist_probability": 0.1521,
                "finishing_factor": 1.0692,
                "creation_factor": 0.8,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1521,
                "assist_rate": 0.1029,
                "provider_weight": 0.132,
                "squad_weight_total": 1.0297,
                "weight_share": 0.1282,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Javier Hernández",
                    "weight": 0.193,
                    "already": 0,
                    "effective_weight": 0.193,
                    "runner_up": "Bryan Zaragoza",
                    "runner_up_effective_weight": 0.1355,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Quilindschy Hartman": {
          "player_id": 1392044,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 3,
          "height": 183,
          "market_value": 11600000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.7096,
            "minutes": 86,
            "total_pass": 40,
            "accurate_pass": 31,
            "duels_won": 4,
            "total_long_balls": 6,
            "accurate_long_balls": 2,
            "total_own_half_passes": 21,
            "accurate_own_half_passes": 17,
            "total_opp_half_passes": 20,
            "accurate_opp_half_passes": 14,
            "crosses_total": 3,
            "crosses_accurate": 0,
            "touches": 62,
            "possession_lost": 14.1699,
            "dispossessed": 0.2227,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 4,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.1331,
            "assists": 0,
            "expected_goals": 0.0195,
            "expected_assists": 0.0951,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0055,
            "ball_carries": 9,
            "total_progression": 22,
            "progressive_carries": 0,
            "key_pass": 1,
            "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.736,
            "opponent_faced": "Jonathan David",
            "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.0193,
            "projected_assists": 0,
            "assist_probability": 0.0907,
            "finishing_factor": 0.8,
            "creation_factor": 1.25,
            "fifa_overall": 75.0
          },
          "latest_10_games": [
            {
              "match_id": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1146,
                "total_shots": 0,
                "total_pass": 44,
                "accurate_pass": 36,
                "tackles": 1,
                "tackles_won": 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": 16416299,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Elche",
              "stats": {
                "minutes": 45,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0124,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 25,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 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": 16416345,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0916,
                "total_shots": 0,
                "total_pass": 48,
                "accurate_pass": 41,
                "key_pass": 3,
                "tackles": 5,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 6,
                "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": 16416323,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 16,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1839,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 9,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14023940,
              "match_date": "2026-05-01",
              "home_team": "Leeds United",
              "away_team": "Burnley",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Burnley",
              "opponent": "Leeds United",
              "stats": {
                "minutes": 65,
                "rating": 5.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0024,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 17,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 3,
                "clearances": 1,
                "duels_won": 2,
                "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": 14024003,
              "match_date": "2026-04-22",
              "home_team": "Burnley",
              "away_team": "Manchester City",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Burnley",
              "opponent": "Manchester City",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1302,
                "expected_assists": 0.0021,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 31,
                "accurate_pass": 19,
                "tackles": 10,
                "tackles_won": 6,
                "interceptions": 2,
                "clearances": 4,
                "duels_won": 12,
                "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": 14025041,
              "match_date": "2026-04-19",
              "home_team": "Nottingham Forest",
              "away_team": "Burnley",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Burnley",
              "opponent": "Nottingham Forest",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.2214,
                "total_shots": 0,
                "total_pass": 51,
                "accurate_pass": 39,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 3,
                "clearances": 2,
                "duels_won": 4,
                "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": 14024002,
              "match_date": "2026-04-11",
              "home_team": "Burnley",
              "away_team": "Brighton & Hove Albion",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Burnley",
              "opponent": "Brighton & Hove Albion",
              "stats": {
                "minutes": 82,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0218,
                "total_shots": 0,
                "total_pass": 48,
                "accurate_pass": 36,
                "clearances": 3,
                "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": 14024016,
              "match_date": "2026-03-21",
              "home_team": "Fulham",
              "away_team": "Burnley",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Burnley",
              "opponent": "Fulham",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.019,
                "expected_assists": 0.2158,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 51,
                "accurate_pass": 45,
                "key_pass": 3,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 3,
                "clearances": 1,
                "duels_won": 3,
                "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": 14023988,
              "match_date": "2026-03-14",
              "home_team": "Burnley",
              "away_team": "Bournemouth",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Burnley",
              "opponent": "Bournemouth",
              "stats": {
                "minutes": 74,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0093,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 11,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_won": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 3658,
            "combined_rank_score": 1619.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 822.0,
            "sofascore_rating": 6.6,
            "sofascore_appearances": 1.0,
            "fifa_rank": 2417.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7096,
            "source_file": "data/player_rankings.csv",
            "player_name": "Quilindschy Hartman",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Miguel Almirón",
                  "ranking": 3653
                },
                {
                  "player_name": "Marko Livaja",
                  "ranking": 3654
                },
                {
                  "player_name": "Víctor Chust",
                  "ranking": 3655
                },
                {
                  "player_name": "Kevin Lomónaco",
                  "ranking": 3656
                },
                {
                  "player_name": "Giorgi Kochorashvili",
                  "ranking": 3657
                }
              ],
              "lower": [
                {
                  "player_name": "Oscar Dorley",
                  "ranking": 3659
                },
                {
                  "player_name": "Mykola Matviienko",
                  "ranking": 3660
                },
                {
                  "player_name": "Hamed Junior Traorè",
                  "ranking": 3661
                },
                {
                  "player_name": "Andrés Cubas",
                  "ranking": 3662
                },
                {
                  "player_name": "Raúl Rangel",
                  "ranking": 3663
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 25,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 25,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.0018,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 0.0,
              "starts": 0.0,
              "prior_reliability": 0.0
            },
            "rationale": "XGBoost regressor (D_service) evaluated 25 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Espanyol, 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.0384,
                "tackles": 2.1009,
                "tackles_won": 1.3401,
                "clearances": 2.4324,
                "aerial_won": 0.6872,
                "total_shots": 0.361,
                "rating": 6.7096,
                "minutes": 86.02,
                "total_pass": 40.3585,
                "accurate_pass": 31.2082,
                "duels_won": 4.0981,
                "total_long_balls": 6.0105,
                "accurate_long_balls": 2.0926,
                "total_own_half_passes": 20.58,
                "accurate_own_half_passes": 17.0994,
                "total_opp_half_passes": 19.7786,
                "accurate_opp_half_passes": 14.1089,
                "crosses_total": 2.6798,
                "crosses_accurate": 0.315,
                "touches": 61.8621,
                "possession_lost": 14.1444,
                "dispossessed": 0.2223,
                "duels_lost": 2.762,
                "aerial_lost": 0.5509,
                "total_contest": 0.7527,
                "won_contest": 0.4448,
                "ball_recovery": 3.6384,
                "challenges_lost": 0.8962,
                "fouls": 0.7847,
                "fouls_drawn": 0.0963,
                "blocks": 0.1934,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1329,
                "assist_rate": 0.1329,
                "expected_goals": 0.0156,
                "expected_assists": 0.0845,
                "shots_on_target": 0.0759,
                "big_chances_created": 0.2129,
                "xgot": 0.0044,
                "ball_carries": 8.9102,
                "total_progression": 21.9633,
                "progressive_carries": 0.253,
                "key_pass": 0.907,
                "shots_off_target": 0.2851
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-16T10:30:59.837052+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 625,
                    "rows": 21030
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1526,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Elche",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1297,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1103,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.0937,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-01",
                    "opponent": "Leeds United",
                    "minutes": 65.0,
                    "is_starting": true,
                    "weight": 0.0797,
                    "rating": 5.9
                  },
                  {
                    "match_date": "2026-04-22",
                    "opponent": "Manchester City",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0677,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-04-19",
                    "opponent": "Nottingham Forest",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0576,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-04-11",
                    "opponent": "Brighton & Hove Albion",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.0489,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-03-21",
                    "opponent": "Fulham",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0416,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-03-14",
                    "opponent": "Bournemouth",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.0354,
                    "rating": 7.1
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 1.9359,
                  "aerialWon": 0.4894,
                  "totalClearance_p90": 2.0154,
                  "totalTackle": 2.4708,
                  "defensive_actions": 3.5905
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.0383912324905396,
                    "model_output": 1.0384,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2924
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0396
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0252
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0247
                      },
                      {
                        "name": "touches",
                        "importance": 0.0228
                      }
                    ],
                    "decomposition": {
                      "base": 0.8609,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1157
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0561
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0412
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0296
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0214
                        }
                      ],
                      "others": 0.0551,
                      "total": 1.0384,
                      "log_link": true,
                      "margin_base": -0.149807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.126078
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.055904
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.04073
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.030296
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.02204
                        }
                      ],
                      "others_margin": 0.054484
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 2.1009151935577393,
                    "model_output": 2.1009,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2589
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0677
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.049
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.044
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 1.3915,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1791
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.1003
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0956
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0818
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0545
                        }
                      ],
                      "others": 0.1981,
                      "total": 2.1009,
                      "log_link": true,
                      "margin_base": 0.330386,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.121061
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.061918
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.055645
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.045271
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.029082
                        }
                      ],
                      "others_margin": 0.099011
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.3401107788085938,
                    "model_output": 1.3401,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2078
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0673
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0422
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0415
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.8542,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1102
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0746
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0752
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0629
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0416
                        }
                      ],
                      "others": 0.1214,
                      "total": 1.3401,
                      "log_link": true,
                      "margin_base": -0.157629,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.121299
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.074487
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.069884
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.054899
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.034768
                        }
                      ],
                      "others_margin": 0.095044
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.432400941848755,
                    "model_output": 2.4324,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2949
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0875
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0204
                      }
                    ],
                    "decomposition": {
                      "base": 3.4327,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.6067
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.3583
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.3064
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.2649
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.1762
                        }
                      ],
                      "others": -0.3568,
                      "total": 2.4324,
                      "log_link": true,
                      "margin_base": 1.233356,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.194476
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.119366
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.101158
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.096552
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.065239
                        }
                      ],
                      "others_margin": -0.136896
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.687171995639801,
                    "model_output": 0.6872,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1614
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1583
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0863
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 1.3773,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.4443
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.1172
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0991
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0735
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0461
                        }
                      ],
                      "others": -0.1081,
                      "total": 0.6872,
                      "log_link": true,
                      "margin_base": 0.320134,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.389521
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.134201
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.114601
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.083707
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.056408
                        }
                      ],
                      "others_margin": -0.146069
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.3609948456287384,
                    "model_output": 0.361,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.105
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.033
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0307
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 0.4745,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1179
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0527
                        },
                        {
                          "name": "rating",
                          "contribution": -0.028
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0081
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0068
                        }
                      ],
                      "others": -0.0054,
                      "total": 0.361,
                      "log_link": false,
                      "margin_base": 0.474501,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.117899
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.052732
                        },
                        {
                          "name": "rating",
                          "margin": -0.028014
                        },
                        {
                          "name": "duelWon",
                          "margin": -0.008135
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.006835
                        }
                      ],
                      "others_margin": -0.005355
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.709592342376709,
                    "model_output": 6.7096,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0634
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0627
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0603
                      },
                      {
                        "name": "touches",
                        "importance": 0.0395
                      },
                      {
                        "name": "rating",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 6.7847,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0135
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0121
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0101
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.009
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0085
                        }
                      ],
                      "others": -0.0219,
                      "total": 6.7096,
                      "log_link": false,
                      "margin_base": 6.784704,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.013534
                        },
                        {
                          "name": "rating",
                          "margin": -0.012116
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.010138
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.008995
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.008536
                        }
                      ],
                      "others_margin": -0.02179
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 25,
                  "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.0018, quality 0.541)",
              "stats": {
                "interceptions": 1.0403,
                "tackles": 2.1047,
                "tackles_won": 1.3425,
                "clearances": 2.4368,
                "aerial_won": 0.6884,
                "total_shots": 0.3616,
                "rating": 6.7096,
                "minutes": 86.02,
                "total_pass": 40.4311,
                "accurate_pass": 31.2644,
                "duels_won": 4.1055,
                "total_long_balls": 6.0213,
                "accurate_long_balls": 2.0964,
                "total_own_half_passes": 20.617,
                "accurate_own_half_passes": 17.1302,
                "total_opp_half_passes": 19.8142,
                "accurate_opp_half_passes": 14.1343,
                "crosses_total": 2.6846,
                "crosses_accurate": 0.3156,
                "touches": 61.9735,
                "possession_lost": 14.1699,
                "dispossessed": 0.2227,
                "duels_lost": 2.767,
                "aerial_lost": 0.5519,
                "total_contest": 0.7541,
                "won_contest": 0.4456,
                "ball_recovery": 3.6449,
                "challenges_lost": 0.8978,
                "fouls": 0.7861,
                "fouls_drawn": 0.0965,
                "blocks": 0.1937,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1331,
                "assist_rate": 0.1331,
                "expected_goals": 0.0156,
                "expected_assists": 0.0847,
                "shots_on_target": 0.076,
                "big_chances_created": 0.2133,
                "xgot": 0.0044,
                "ball_carries": 8.9262,
                "total_progression": 22.0028,
                "progressive_carries": 0.2535,
                "key_pass": 0.9086,
                "shots_off_target": 0.2856
              },
              "params": {
                "market_value_eur": 11600000,
                "quality_factor": 0.5411,
                "boost_factor": 1.0018,
                "reference_quality": 0.505,
                "history_matches": 25,
                "history_shrink": 0.1667,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.0403,
                "tackles": 2.1047,
                "tackles_won": 1.3425,
                "clearances": 2.4368,
                "aerial_won": 0.6884,
                "total_shots": 0.3616,
                "rating": 6.7096,
                "minutes": 86.02,
                "total_pass": 40.4311,
                "accurate_pass": 31.2644,
                "duels_won": 4.1055,
                "total_long_balls": 6.0213,
                "accurate_long_balls": 2.0964,
                "total_own_half_passes": 20.617,
                "accurate_own_half_passes": 17.1302,
                "total_opp_half_passes": 19.8142,
                "accurate_opp_half_passes": 14.1343,
                "crosses_total": 2.6846,
                "crosses_accurate": 0.3156,
                "touches": 61.9735,
                "possession_lost": 14.1699,
                "dispossessed": 0.2227,
                "duels_lost": 2.767,
                "aerial_lost": 0.5519,
                "total_contest": 0.7541,
                "won_contest": 0.4456,
                "ball_recovery": 3.6449,
                "challenges_lost": 0.8978,
                "fouls": 0.7861,
                "fouls_drawn": 0.0965,
                "blocks": 0.1937,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1331,
                "assist_rate": 0.1331,
                "expected_goals": 0.0156,
                "expected_assists": 0.0847,
                "shots_on_target": 0.076,
                "big_chances_created": 0.2133,
                "xgot": 0.0044,
                "ball_carries": 8.9262,
                "total_progression": 22.0028,
                "progressive_carries": 0.2535,
                "key_pass": 0.9086,
                "shots_off_target": 0.2856
              },
              "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": 1.0403,
                "tackles": 2.1047,
                "tackles_won": 1.3425,
                "clearances": 2.4368,
                "aerial_won": 0.6884,
                "total_shots": 0.3616,
                "rating": 6.7096,
                "minutes": 86.02,
                "total_pass": 40.4311,
                "accurate_pass": 31.2644,
                "duels_won": 4.1055,
                "total_long_balls": 6.0213,
                "accurate_long_balls": 2.0964,
                "total_own_half_passes": 20.617,
                "accurate_own_half_passes": 17.1302,
                "total_opp_half_passes": 19.8142,
                "accurate_opp_half_passes": 14.1343,
                "crosses_total": 2.6846,
                "crosses_accurate": 0.3156,
                "touches": 61.9735,
                "possession_lost": 14.1699,
                "dispossessed": 0.2227,
                "duels_lost": 2.767,
                "aerial_lost": 0.5519,
                "total_contest": 0.7541,
                "won_contest": 0.4456,
                "ball_recovery": 3.6449,
                "challenges_lost": 0.8978,
                "fouls": 0.7861,
                "fouls_drawn": 0.0965,
                "blocks": 0.1937,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1331,
                "assist_rate": 0.1331,
                "expected_goals": 0.0156,
                "expected_assists": 0.0847,
                "shots_on_target": 0.076,
                "big_chances_created": 0.2133,
                "xgot": 0.0044,
                "ball_carries": 8.9262,
                "total_progression": 22.0028,
                "progressive_carries": 0.2535,
                "key_pass": 0.9086,
                "shots_off_target": 0.2856,
                "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.736,
                "opponent_faced": "Jonathan David",
                "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": "Jonathan David",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 1.0403,
                "tackles": 2.1047,
                "tackles_won": 1.3425,
                "clearances": 2.4368,
                "aerial_won": 0.6884,
                "total_shots": 0.3616,
                "rating": 6.7096,
                "minutes": 86.02,
                "total_pass": 40.4311,
                "accurate_pass": 31.2644,
                "duels_won": 4.1055,
                "total_long_balls": 6.0213,
                "accurate_long_balls": 2.0964,
                "total_own_half_passes": 20.617,
                "accurate_own_half_passes": 17.1302,
                "total_opp_half_passes": 19.8142,
                "accurate_opp_half_passes": 14.1343,
                "crosses_total": 2.6846,
                "crosses_accurate": 0.3156,
                "touches": 61.9735,
                "possession_lost": 14.1699,
                "dispossessed": 0.2227,
                "duels_lost": 2.767,
                "aerial_lost": 0.5519,
                "total_contest": 0.7541,
                "won_contest": 0.4456,
                "ball_recovery": 3.6449,
                "challenges_lost": 0.8978,
                "fouls": 0.7861,
                "fouls_drawn": 0.0965,
                "blocks": 0.1937,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1331,
                "assists": 0,
                "expected_goals": 0.0156,
                "expected_assists": 0.0847,
                "shots_on_target": 0.076,
                "big_chances_created": 0.2133,
                "xgot": 0.0044,
                "ball_carries": 8.9262,
                "total_progression": 22.0028,
                "progressive_carries": 0.2535,
                "key_pass": 0.9086,
                "shots_off_target": 0.2856,
                "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.736,
                "opponent_faced": "Jonathan David",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.34 (squad xG sum 1.0719, xG scale 1.2473, xA scale 1.1232, team xA 1.07 = 0.80 x lambda)",
              "stats": {
                "interceptions": 1.0403,
                "tackles": 2.1047,
                "tackles_won": 1.3425,
                "clearances": 2.4368,
                "aerial_won": 0.6884,
                "total_shots": 0.3616,
                "rating": 6.7096,
                "minutes": 86.02,
                "total_pass": 40.4311,
                "accurate_pass": 31.2644,
                "duels_won": 4.1055,
                "total_long_balls": 6.0213,
                "accurate_long_balls": 2.0964,
                "total_own_half_passes": 20.617,
                "accurate_own_half_passes": 17.1302,
                "total_opp_half_passes": 19.8142,
                "accurate_opp_half_passes": 14.1343,
                "crosses_total": 2.6846,
                "crosses_accurate": 0.3156,
                "touches": 61.9735,
                "possession_lost": 14.1699,
                "dispossessed": 0.2227,
                "duels_lost": 2.767,
                "aerial_lost": 0.5519,
                "total_contest": 0.7541,
                "won_contest": 0.4456,
                "ball_recovery": 3.6449,
                "challenges_lost": 0.8978,
                "fouls": 0.7861,
                "fouls_drawn": 0.0965,
                "blocks": 0.1937,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1331,
                "assists": 0,
                "expected_goals": 0.0195,
                "expected_assists": 0.0951,
                "shots_on_target": 0.076,
                "big_chances_created": 0.2133,
                "xgot": 0.0055,
                "ball_carries": 8.9262,
                "total_progression": 22.0028,
                "progressive_carries": 0.2535,
                "key_pass": 0.9086,
                "shots_off_target": 0.2856,
                "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.736,
                "opponent_faced": "Jonathan David",
                "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.25
              },
              "params": {
                "team_lambda": 1.337,
                "squad_xg_sum": 1.0719,
                "squad_xa_sum": 0.9523,
                "team_expected_assists": 1.0696,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2473,
                "xa_scale": 1.1232,
                "opponent_lambda": 2.325,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0847,
                  "after": 0.0951
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 13 by projected rating, fifa_overall 75.0)",
              "stats": {
                "interceptions": 1.0403,
                "tackles": 2.1047,
                "tackles_won": 1.3425,
                "clearances": 2.4368,
                "aerial_won": 0.6884,
                "total_shots": 0.3616,
                "rating": 6.7096,
                "minutes": 86.02,
                "total_pass": 40.4311,
                "accurate_pass": 31.2644,
                "duels_won": 4.1055,
                "total_long_balls": 6.0213,
                "accurate_long_balls": 2.0964,
                "total_own_half_passes": 20.617,
                "accurate_own_half_passes": 17.1302,
                "total_opp_half_passes": 19.8142,
                "accurate_opp_half_passes": 14.1343,
                "crosses_total": 2.6846,
                "crosses_accurate": 0.3156,
                "touches": 61.9735,
                "possession_lost": 14.1699,
                "dispossessed": 0.2227,
                "duels_lost": 2.767,
                "aerial_lost": 0.5519,
                "total_contest": 0.7541,
                "won_contest": 0.4456,
                "ball_recovery": 3.6449,
                "challenges_lost": 0.8978,
                "fouls": 0.7861,
                "fouls_drawn": 0.0965,
                "blocks": 0.1937,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1331,
                "assists": 0,
                "expected_goals": 0.0195,
                "expected_assists": 0.0951,
                "shots_on_target": 0.076,
                "big_chances_created": 0.2133,
                "xgot": 0.0055,
                "ball_carries": 8.9262,
                "total_progression": 22.0028,
                "progressive_carries": 0.2535,
                "key_pass": 0.9086,
                "shots_off_target": 0.2856,
                "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.736,
                "opponent_faced": "Jonathan David",
                "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.25,
                "fifa_overall": 75.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": 3658,
                "fifa_rank": 2417.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": {
                "interceptions": 1.0403,
                "tackles": 2.1047,
                "tackles_won": 1.3425,
                "clearances": 2.4368,
                "aerial_won": 0.6884,
                "total_shots": 0.3616,
                "rating": 6.7096,
                "minutes": 86.02,
                "total_pass": 40.4311,
                "accurate_pass": 31.2644,
                "duels_won": 4.1055,
                "total_long_balls": 6.0213,
                "accurate_long_balls": 2.0964,
                "total_own_half_passes": 20.617,
                "accurate_own_half_passes": 17.1302,
                "total_opp_half_passes": 19.8142,
                "accurate_opp_half_passes": 14.1343,
                "crosses_total": 2.6846,
                "crosses_accurate": 0.3156,
                "touches": 61.9735,
                "possession_lost": 14.1699,
                "dispossessed": 0.2227,
                "duels_lost": 2.767,
                "aerial_lost": 0.5519,
                "total_contest": 0.7541,
                "won_contest": 0.4456,
                "ball_recovery": 3.6449,
                "challenges_lost": 0.8978,
                "fouls": 0.7861,
                "fouls_drawn": 0.0965,
                "blocks": 0.1937,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1331,
                "assists": 0,
                "expected_goals": 0.0195,
                "expected_assists": 0.0951,
                "shots_on_target": 0.076,
                "big_chances_created": 0.2133,
                "xgot": 0.0055,
                "ball_carries": 8.9262,
                "total_progression": 22.0028,
                "progressive_carries": 0.2535,
                "key_pass": 0.9086,
                "shots_off_target": 0.2856,
                "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.736,
                "opponent_faced": "Jonathan David",
                "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.0193,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0193,
                "goal_rate": 0.0,
                "scorer_weight": 0.0156,
                "squad_weight_total": 1.4295,
                "weight_share": 0.0109,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 11,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.5106,
                    "already": 0,
                    "effective_weight": 0.5106,
                    "runner_up": "Javier Hernández",
                    "runner_up_effective_weight": 0.166
                  }
                ]
              }
            },
            {
              "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.0403,
                "tackles": 2.1047,
                "tackles_won": 1.3425,
                "clearances": 2.4368,
                "aerial_won": 0.6884,
                "total_shots": 0.3616,
                "rating": 6.7096,
                "minutes": 86.02,
                "total_pass": 40.4311,
                "accurate_pass": 31.2644,
                "duels_won": 4.1055,
                "total_long_balls": 6.0213,
                "accurate_long_balls": 2.0964,
                "total_own_half_passes": 20.617,
                "accurate_own_half_passes": 17.1302,
                "total_opp_half_passes": 19.8142,
                "accurate_opp_half_passes": 14.1343,
                "crosses_total": 2.6846,
                "crosses_accurate": 0.3156,
                "touches": 61.9735,
                "possession_lost": 14.1699,
                "dispossessed": 0.2227,
                "duels_lost": 2.767,
                "aerial_lost": 0.5519,
                "total_contest": 0.7541,
                "won_contest": 0.4456,
                "ball_recovery": 3.6449,
                "challenges_lost": 0.8978,
                "fouls": 0.7861,
                "fouls_drawn": 0.0965,
                "blocks": 0.1937,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1331,
                "assists": 0,
                "expected_goals": 0.0195,
                "expected_assists": 0.0951,
                "shots_on_target": 0.076,
                "big_chances_created": 0.2133,
                "xgot": 0.0055,
                "ball_carries": 8.9262,
                "total_progression": 22.0028,
                "progressive_carries": 0.2535,
                "key_pass": 0.9086,
                "shots_off_target": 0.2856,
                "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.736,
                "opponent_faced": "Jonathan David",
                "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.0193,
                "projected_assists": 0,
                "assist_probability": 0.0907,
                "finishing_factor": 0.8,
                "creation_factor": 1.25,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0907,
                "assist_rate": 0.1331,
                "provider_weight": 0.1189,
                "squad_weight_total": 1.0297,
                "weight_share": 0.1154,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Javier Hernández",
                    "weight": 0.193,
                    "already": 0,
                    "effective_weight": 0.193,
                    "runner_up": "Bryan Zaragoza",
                    "runner_up_effective_weight": 0.1355,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Leandro Cabrera": {
          "player_id": 81992,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 6,
          "height": 190,
          "market_value": 930000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 7,
            "aerial_won": 3,
            "total_shots": 1,
            "rating": 6.8246,
            "minutes": 90,
            "total_pass": 48,
            "accurate_pass": 40,
            "duels_won": 4,
            "total_long_balls": 7,
            "accurate_long_balls": 3,
            "total_own_half_passes": 28,
            "accurate_own_half_passes": 26,
            "total_opp_half_passes": 20,
            "accurate_opp_half_passes": 14,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 63,
            "possession_lost": 9.1676,
            "dispossessed": 0.0454,
            "duels_lost": 3,
            "aerial_lost": 2,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 1,
            "goal_rate": 0.0085,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0539,
            "expected_assists": 0.0379,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0259,
            "ball_carries": 12,
            "total_progression": 40,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 1,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 0.8,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.736,
            "opponent_faced": "Jonathan David",
            "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.0525,
            "projected_assists": 0,
            "assist_probability": 0.0372,
            "finishing_factor": 0.8,
            "creation_factor": 0.8,
            "fifa_overall": 76.0
          },
          "latest_10_games": [
            {
              "match_id": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0063,
                "total_shots": 0,
                "total_pass": 51,
                "accurate_pass": 40,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 8,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416299,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0136,
                "expected_assists": 0.0446,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 74,
                "accurate_pass": 67,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 4,
                "aerial_won": 4,
                "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": 16416345,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1658,
                "expected_assists": 0.0509,
                "total_shots": 1,
                "total_pass": 50,
                "accurate_pass": 40,
                "interceptions": 3,
                "clearances": 9,
                "aerial_won": 6,
                "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": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0713,
                "total_shots": 0,
                "total_pass": 42,
                "accurate_pass": 36,
                "clearances": 17,
                "aerial_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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416323,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0325,
                "total_shots": 0,
                "total_pass": 51,
                "accurate_pass": 48,
                "tackles": 1,
                "clearances": 4,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 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": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1048,
                "expected_assists": 0.0057,
                "total_shots": 1,
                "total_pass": 41,
                "accurate_pass": 32,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0018,
                "total_shots": 0,
                "total_pass": 32,
                "accurate_pass": 23,
                "clearances": 11,
                "aerial_won": 4,
                "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"
            },
            {
              "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.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0175,
                "expected_assists": 0.0082,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 68,
                "accurate_pass": 56,
                "interceptions": 2,
                "clearances": 7,
                "aerial_won": 3,
                "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"
            },
            {
              "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": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0584,
                "expected_assists": 0.0124,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 27,
                "accurate_pass": 16,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 10,
                "aerial_won": 4,
                "duels_won": 5,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "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": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1498,
                "expected_assists": 0.0823,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 37,
                "accurate_pass": 29,
                "interceptions": 1,
                "clearances": 6,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 3325,
            "combined_rank_score": 1280.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 612.0,
            "sofascore_rating": 6.7757,
            "sofascore_appearances": 37.0,
            "fifa_rank": 1948.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8246,
            "source_file": "data/player_rankings.csv",
            "player_name": "Leandro Cabrera",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Aimar Oroz",
                  "ranking": 3320
                },
                {
                  "player_name": "Konstantinos Koulierakis",
                  "ranking": 3321
                },
                {
                  "player_name": "Óliver Torres",
                  "ranking": 3322
                },
                {
                  "player_name": "Daley Blind",
                  "ranking": 3323
                },
                {
                  "player_name": "Williot Swedberg",
                  "ranking": 3324
                }
              ],
              "lower": [
                {
                  "player_name": "Alejandro Zendejas",
                  "ranking": 3326
                },
                {
                  "player_name": "Sacha Boey",
                  "ranking": 3327
                },
                {
                  "player_name": "Hugo Cuypers",
                  "ranking": 3328
                },
                {
                  "player_name": "Carl Rushworth",
                  "ranking": 3329
                },
                {
                  "player_name": "Juan Brunetta",
                  "ranking": 3330
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "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.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9978,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (D_service) evaluated 42 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1.0378,
                "tackles": 1.1707,
                "tackles_won": 0.65,
                "clearances": 6.641,
                "aerial_won": 3.0944,
                "total_shots": 0.7037,
                "rating": 6.8246,
                "minutes": 90.0,
                "total_pass": 48.1043,
                "accurate_pass": 39.9007,
                "duels_won": 4.1716,
                "total_long_balls": 7.3826,
                "accurate_long_balls": 3.0945,
                "total_own_half_passes": 28.0859,
                "accurate_own_half_passes": 26.0855,
                "total_opp_half_passes": 20.0184,
                "accurate_opp_half_passes": 13.8152,
                "crosses_total": 0.3163,
                "crosses_accurate": 0.0292,
                "touches": 62.7513,
                "possession_lost": 9.1878,
                "dispossessed": 0.0455,
                "duels_lost": 3.3159,
                "aerial_lost": 1.8012,
                "total_contest": 0.0645,
                "won_contest": 0.0263,
                "ball_recovery": 1.9828,
                "challenges_lost": 0.2541,
                "fouls": 1.2217,
                "fouls_drawn": 0.3095,
                "blocks": 0.6026,
                "goals": 0.0085,
                "goal_rate": 0.0085,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0433,
                "expected_assists": 0.0338,
                "shots_on_target": 0.1421,
                "big_chances_created": 0.0026,
                "xgot": 0.0208,
                "ball_carries": 11.6138,
                "total_progression": 40.2068,
                "progressive_carries": 0.2915,
                "key_pass": 0.0839,
                "shots_off_target": 0.5616
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-16T10:30:59.837052+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 625,
                    "rows": 21030
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-03",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 7.4724,
                  "aerialWon": 2.9833,
                  "totalClearance_p90": 7.4724,
                  "totalTackle": 0.8823,
                  "defensive_actions": 1.9144
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.037835955619812,
                    "model_output": 1.0378,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2924
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0396
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0252
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0247
                      },
                      {
                        "name": "touches",
                        "importance": 0.0228
                      }
                    ],
                    "decomposition": {
                      "base": 0.8609,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.11
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0331
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0261
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0254
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0226
                        }
                      ],
                      "others": 0.0259,
                      "total": 1.0378,
                      "log_link": true,
                      "margin_base": -0.149807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.1202
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.034636
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.027461
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.025991
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.022584
                        }
                      ],
                      "others_margin": 0.025346
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.170742392539978,
                    "model_output": 1.1707,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2589
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0677
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.049
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.044
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 1.3915,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1559
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0947
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0567
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0532
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0474
                        }
                      ],
                      "others": -0.1247,
                      "total": 1.1707,
                      "log_link": true,
                      "margin_base": 0.330386,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.106182
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.063138
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.039814
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.038835
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.035952
                        }
                      ],
                      "others_margin": -0.101192
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.6499807834625244,
                    "model_output": 0.65,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2078
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0673
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0422
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0415
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.8542,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0873
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0789
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0537
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0415
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0305
                        }
                      ],
                      "others": -0.0869,
                      "total": 0.65,
                      "log_link": true,
                      "margin_base": -0.157629,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.097346
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.087562
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.064274
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.052657
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.04059
                        }
                      ],
                      "others_margin": -0.125446
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 6.640961647033691,
                    "model_output": 6.641,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2949
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0875
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0204
                      }
                    ],
                    "decomposition": {
                      "base": 3.4327,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": 0.9067
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5538
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.3543
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.3688
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.2118
                        }
                      ],
                      "others": 0.8129,
                      "total": 6.641,
                      "log_link": true,
                      "margin_base": 1.233356,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.23439
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.120118
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.069908
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.067916
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.03701
                        }
                      ],
                      "others_margin": 0.130558
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 3.0943543910980225,
                    "model_output": 3.0944,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1614
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1583
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0863
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 1.3773,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": 0.5186
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2289
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.2531
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.2513
                        },
                        {
                          "name": "aerialLost",
                          "contribution": 0.2249
                        }
                      ],
                      "others": 0.2403,
                      "total": 3.0944,
                      "log_link": true,
                      "margin_base": 0.320134,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": 0.319551
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.113963
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.112553
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.100449
                        },
                        {
                          "name": "aerialLost",
                          "margin": 0.08207
                        }
                      ],
                      "others_margin": 0.080857
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.7036699056625366,
                    "model_output": 0.7037,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.105
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.033
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0307
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 0.4745,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0659
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0411
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0203
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0194
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.019
                        }
                      ],
                      "others": 0.0635,
                      "total": 0.7037,
                      "log_link": false,
                      "margin_base": 0.474501,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.065895
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.041079
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.020341
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.019391
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.019029
                        }
                      ],
                      "others_margin": 0.063436
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.824598789215088,
                    "model_output": 6.8246,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0634
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0627
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0603
                      },
                      {
                        "name": "touches",
                        "importance": 0.0395
                      },
                      {
                        "name": "rating",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 6.7847,
                      "items": [
                        {
                          "name": "tackle_success_rate",
                          "contribution": 0.0177
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0156
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.015
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0105
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0089
                        }
                      ],
                      "others": 0.0232,
                      "total": 6.8246,
                      "log_link": false,
                      "margin_base": 6.784704,
                      "item_margins": [
                        {
                          "name": "tackle_success_rate",
                          "margin": 0.017719
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.015617
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.014974
                        },
                        {
                          "name": "rating",
                          "margin": -0.010485
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.008915
                        }
                      ],
                      "others_margin": 0.023106
                    }
                  }
                ],
                "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 0.9978, quality 0.437)",
              "stats": {
                "interceptions": 1.0356,
                "tackles": 1.1682,
                "tackles_won": 0.6486,
                "clearances": 6.6264,
                "aerial_won": 3.0875,
                "total_shots": 0.7022,
                "rating": 6.8246,
                "minutes": 90.0,
                "total_pass": 47.9985,
                "accurate_pass": 39.8129,
                "duels_won": 4.1624,
                "total_long_balls": 7.3664,
                "accurate_long_balls": 3.0877,
                "total_own_half_passes": 28.0241,
                "accurate_own_half_passes": 26.0281,
                "total_opp_half_passes": 19.9744,
                "accurate_opp_half_passes": 13.7848,
                "crosses_total": 0.3156,
                "crosses_accurate": 0.0291,
                "touches": 62.6132,
                "possession_lost": 9.1676,
                "dispossessed": 0.0454,
                "duels_lost": 3.3086,
                "aerial_lost": 1.7972,
                "total_contest": 0.0644,
                "won_contest": 0.0262,
                "ball_recovery": 1.9784,
                "challenges_lost": 0.2535,
                "fouls": 1.219,
                "fouls_drawn": 0.3088,
                "blocks": 0.6013,
                "goals": 0.0085,
                "goal_rate": 0.0085,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0432,
                "expected_assists": 0.0337,
                "shots_on_target": 0.1418,
                "big_chances_created": 0.0026,
                "xgot": 0.0208,
                "ball_carries": 11.5882,
                "total_progression": 40.1183,
                "progressive_carries": 0.2909,
                "key_pass": 0.0837,
                "shots_off_target": 0.5604
              },
              "params": {
                "market_value_eur": 930000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9978,
                "reference_quality": 0.505,
                "history_matches": 42,
                "history_shrink": 0.1064,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.0356,
                "tackles": 1.1682,
                "tackles_won": 0.6486,
                "clearances": 6.6264,
                "aerial_won": 3.0875,
                "total_shots": 0.7022,
                "rating": 6.8246,
                "minutes": 90.0,
                "total_pass": 47.9985,
                "accurate_pass": 39.8129,
                "duels_won": 4.1624,
                "total_long_balls": 7.3664,
                "accurate_long_balls": 3.0877,
                "total_own_half_passes": 28.0241,
                "accurate_own_half_passes": 26.0281,
                "total_opp_half_passes": 19.9744,
                "accurate_opp_half_passes": 13.7848,
                "crosses_total": 0.3156,
                "crosses_accurate": 0.0291,
                "touches": 62.6132,
                "possession_lost": 9.1676,
                "dispossessed": 0.0454,
                "duels_lost": 3.3086,
                "aerial_lost": 1.7972,
                "total_contest": 0.0644,
                "won_contest": 0.0262,
                "ball_recovery": 1.9784,
                "challenges_lost": 0.2535,
                "fouls": 1.219,
                "fouls_drawn": 0.3088,
                "blocks": 0.6013,
                "goals": 0.0085,
                "goal_rate": 0.0085,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0432,
                "expected_assists": 0.0337,
                "shots_on_target": 0.1418,
                "big_chances_created": 0.0026,
                "xgot": 0.0208,
                "ball_carries": 11.5882,
                "total_progression": 40.1183,
                "progressive_carries": 0.2909,
                "key_pass": 0.0837,
                "shots_off_target": 0.5604
              },
              "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.0356,
                "tackles": 1.1682,
                "tackles_won": 0.6486,
                "clearances": 6.6264,
                "aerial_won": 3.0875,
                "total_shots": 0.7022,
                "rating": 6.8246,
                "minutes": 90.0,
                "total_pass": 47.9985,
                "accurate_pass": 39.8129,
                "duels_won": 4.1624,
                "total_long_balls": 7.3664,
                "accurate_long_balls": 3.0877,
                "total_own_half_passes": 28.0241,
                "accurate_own_half_passes": 26.0281,
                "total_opp_half_passes": 19.9744,
                "accurate_opp_half_passes": 13.7848,
                "crosses_total": 0.3156,
                "crosses_accurate": 0.0291,
                "touches": 62.6132,
                "possession_lost": 9.1676,
                "dispossessed": 0.0454,
                "duels_lost": 3.3086,
                "aerial_lost": 1.7972,
                "total_contest": 0.0644,
                "won_contest": 0.0262,
                "ball_recovery": 1.9784,
                "challenges_lost": 0.2535,
                "fouls": 1.219,
                "fouls_drawn": 0.3088,
                "blocks": 0.6013,
                "goals": 0.0085,
                "goal_rate": 0.0085,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0432,
                "expected_assists": 0.0337,
                "shots_on_target": 0.1418,
                "big_chances_created": 0.0026,
                "xgot": 0.0208,
                "ball_carries": 11.5882,
                "total_progression": 40.1183,
                "progressive_carries": 0.2909,
                "key_pass": 0.0837,
                "shots_off_target": 0.5604,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.736,
                "opponent_faced": "Jonathan David",
                "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": "Jonathan David",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 1.0356,
                "tackles": 1.1682,
                "tackles_won": 0.6486,
                "clearances": 6.6264,
                "aerial_won": 3.0875,
                "total_shots": 0.7022,
                "rating": 6.8246,
                "minutes": 90.0,
                "total_pass": 47.9985,
                "accurate_pass": 39.8129,
                "duels_won": 4.1624,
                "total_long_balls": 7.3664,
                "accurate_long_balls": 3.0877,
                "total_own_half_passes": 28.0241,
                "accurate_own_half_passes": 26.0281,
                "total_opp_half_passes": 19.9744,
                "accurate_opp_half_passes": 13.7848,
                "crosses_total": 0.3156,
                "crosses_accurate": 0.0291,
                "touches": 62.6132,
                "possession_lost": 9.1676,
                "dispossessed": 0.0454,
                "duels_lost": 3.3086,
                "aerial_lost": 1.7972,
                "total_contest": 0.0644,
                "won_contest": 0.0262,
                "ball_recovery": 1.9784,
                "challenges_lost": 0.2535,
                "fouls": 1.219,
                "fouls_drawn": 0.3088,
                "blocks": 0.6013,
                "goal_rate": 0.0085,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0432,
                "expected_assists": 0.0337,
                "shots_on_target": 0.1418,
                "big_chances_created": 0.0026,
                "xgot": 0.0208,
                "ball_carries": 11.5882,
                "total_progression": 40.1183,
                "progressive_carries": 0.2909,
                "key_pass": 0.0837,
                "shots_off_target": 0.5604,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.736,
                "opponent_faced": "Jonathan David",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.34 (squad xG sum 1.0719, xG scale 1.2473, xA scale 1.1232, team xA 1.07 = 0.80 x lambda)",
              "stats": {
                "interceptions": 1.0356,
                "tackles": 1.1682,
                "tackles_won": 0.6486,
                "clearances": 6.6264,
                "aerial_won": 3.0875,
                "total_shots": 0.7022,
                "rating": 6.8246,
                "minutes": 90.0,
                "total_pass": 47.9985,
                "accurate_pass": 39.8129,
                "duels_won": 4.1624,
                "total_long_balls": 7.3664,
                "accurate_long_balls": 3.0877,
                "total_own_half_passes": 28.0241,
                "accurate_own_half_passes": 26.0281,
                "total_opp_half_passes": 19.9744,
                "accurate_opp_half_passes": 13.7848,
                "crosses_total": 0.3156,
                "crosses_accurate": 0.0291,
                "touches": 62.6132,
                "possession_lost": 9.1676,
                "dispossessed": 0.0454,
                "duels_lost": 3.3086,
                "aerial_lost": 1.7972,
                "total_contest": 0.0644,
                "won_contest": 0.0262,
                "ball_recovery": 1.9784,
                "challenges_lost": 0.2535,
                "fouls": 1.219,
                "fouls_drawn": 0.3088,
                "blocks": 0.6013,
                "goal_rate": 0.0085,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0539,
                "expected_assists": 0.0379,
                "shots_on_target": 0.1418,
                "big_chances_created": 0.0026,
                "xgot": 0.0259,
                "ball_carries": 11.5882,
                "total_progression": 40.1183,
                "progressive_carries": 0.2909,
                "key_pass": 0.0837,
                "shots_off_target": 0.5604,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.736,
                "opponent_faced": "Jonathan David",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.337,
                "squad_xg_sum": 1.0719,
                "squad_xa_sum": 0.9523,
                "team_expected_assists": 1.0696,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2473,
                "xa_scale": 1.1232,
                "opponent_lambda": 2.325,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0432,
                  "after": 0.0539
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 5 by projected rating, fifa_overall 76.0)",
              "stats": {
                "interceptions": 1.0356,
                "tackles": 1.1682,
                "tackles_won": 0.6486,
                "clearances": 6.6264,
                "aerial_won": 3.0875,
                "total_shots": 0.7022,
                "rating": 6.8246,
                "minutes": 90.0,
                "total_pass": 47.9985,
                "accurate_pass": 39.8129,
                "duels_won": 4.1624,
                "total_long_balls": 7.3664,
                "accurate_long_balls": 3.0877,
                "total_own_half_passes": 28.0241,
                "accurate_own_half_passes": 26.0281,
                "total_opp_half_passes": 19.9744,
                "accurate_opp_half_passes": 13.7848,
                "crosses_total": 0.3156,
                "crosses_accurate": 0.0291,
                "touches": 62.6132,
                "possession_lost": 9.1676,
                "dispossessed": 0.0454,
                "duels_lost": 3.3086,
                "aerial_lost": 1.7972,
                "total_contest": 0.0644,
                "won_contest": 0.0262,
                "ball_recovery": 1.9784,
                "challenges_lost": 0.2535,
                "fouls": 1.219,
                "fouls_drawn": 0.3088,
                "blocks": 0.6013,
                "goal_rate": 0.0085,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0539,
                "expected_assists": 0.0379,
                "shots_on_target": 0.1418,
                "big_chances_created": 0.0026,
                "xgot": 0.0259,
                "ball_carries": 11.5882,
                "total_progression": 40.1183,
                "progressive_carries": 0.2909,
                "key_pass": 0.0837,
                "shots_off_target": 0.5604,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.736,
                "opponent_faced": "Jonathan David",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 76.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": 3325,
                "fifa_rank": 1948.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": {
                "interceptions": 1.0356,
                "tackles": 1.1682,
                "tackles_won": 0.6486,
                "clearances": 6.6264,
                "aerial_won": 3.0875,
                "total_shots": 0.7022,
                "rating": 6.8246,
                "minutes": 90.0,
                "total_pass": 47.9985,
                "accurate_pass": 39.8129,
                "duels_won": 4.1624,
                "total_long_balls": 7.3664,
                "accurate_long_balls": 3.0877,
                "total_own_half_passes": 28.0241,
                "accurate_own_half_passes": 26.0281,
                "total_opp_half_passes": 19.9744,
                "accurate_opp_half_passes": 13.7848,
                "crosses_total": 0.3156,
                "crosses_accurate": 0.0291,
                "touches": 62.6132,
                "possession_lost": 9.1676,
                "dispossessed": 0.0454,
                "duels_lost": 3.3086,
                "aerial_lost": 1.7972,
                "total_contest": 0.0644,
                "won_contest": 0.0262,
                "ball_recovery": 1.9784,
                "challenges_lost": 0.2535,
                "fouls": 1.219,
                "fouls_drawn": 0.3088,
                "blocks": 0.6013,
                "goal_rate": 0.0085,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0539,
                "expected_assists": 0.0379,
                "shots_on_target": 0.1418,
                "big_chances_created": 0.0026,
                "xgot": 0.0259,
                "ball_carries": 11.5882,
                "total_progression": 40.1183,
                "progressive_carries": 0.2909,
                "key_pass": 0.0837,
                "shots_off_target": 0.5604,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.736,
                "opponent_faced": "Jonathan David",
                "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.0525,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0525,
                "goal_rate": 0.0085,
                "scorer_weight": 0.0431,
                "squad_weight_total": 1.4295,
                "weight_share": 0.0302,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 10,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.5106,
                    "already": 0,
                    "effective_weight": 0.5106,
                    "runner_up": "Javier Hernández",
                    "runner_up_effective_weight": 0.166
                  }
                ]
              }
            },
            {
              "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.0356,
                "tackles": 1.1682,
                "tackles_won": 0.6486,
                "clearances": 6.6264,
                "aerial_won": 3.0875,
                "total_shots": 0.7022,
                "rating": 6.8246,
                "minutes": 90.0,
                "total_pass": 47.9985,
                "accurate_pass": 39.8129,
                "duels_won": 4.1624,
                "total_long_balls": 7.3664,
                "accurate_long_balls": 3.0877,
                "total_own_half_passes": 28.0241,
                "accurate_own_half_passes": 26.0281,
                "total_opp_half_passes": 19.9744,
                "accurate_opp_half_passes": 13.7848,
                "crosses_total": 0.3156,
                "crosses_accurate": 0.0291,
                "touches": 62.6132,
                "possession_lost": 9.1676,
                "dispossessed": 0.0454,
                "duels_lost": 3.3086,
                "aerial_lost": 1.7972,
                "total_contest": 0.0644,
                "won_contest": 0.0262,
                "ball_recovery": 1.9784,
                "challenges_lost": 0.2535,
                "fouls": 1.219,
                "fouls_drawn": 0.3088,
                "blocks": 0.6013,
                "goal_rate": 0.0085,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0539,
                "expected_assists": 0.0379,
                "shots_on_target": 0.1418,
                "big_chances_created": 0.0026,
                "xgot": 0.0259,
                "ball_carries": 11.5882,
                "total_progression": 40.1183,
                "progressive_carries": 0.2909,
                "key_pass": 0.0837,
                "shots_off_target": 0.5604,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 0.8,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 0.7,
                "defensive_success_rate": 0.736,
                "opponent_faced": "Jonathan David",
                "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.0525,
                "projected_assists": 0,
                "assist_probability": 0.0372,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 76.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0372,
                "assist_rate": 0.0,
                "provider_weight": 0.0303,
                "squad_weight_total": 1.0297,
                "weight_share": 0.0294,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 10,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Javier Hernández",
                    "weight": 0.193,
                    "already": 0,
                    "effective_weight": 0.193,
                    "runner_up": "Bryan Zaragoza",
                    "runner_up_effective_weight": 0.1355,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Clemens Riedel": {
          "player_id": 1129360,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 5,
          "height": 186,
          "market_value": 3900000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 5,
            "aerial_won": 2,
            "total_shots": 0,
            "rating": 6.7523,
            "minutes": 86,
            "total_pass": 47,
            "accurate_pass": 40,
            "duels_won": 4,
            "total_long_balls": 6,
            "accurate_long_balls": 2,
            "total_own_half_passes": 33,
            "accurate_own_half_passes": 32,
            "total_opp_half_passes": 13,
            "accurate_opp_half_passes": 9,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 59,
            "possession_lost": 7.0015,
            "dispossessed": 0.1104,
            "duels_lost": 4,
            "aerial_lost": 2,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 3,
            "challenges_lost": 0,
            "fouls": 2,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0082,
            "assists": 0,
            "expected_goals": 0.0066,
            "expected_assists": 0.0109,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.015,
            "ball_carries": 14,
            "total_progression": 53,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.9,
            "tackles_won_in_zone": 1.5,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 1.2,
            "defensive_success_rate": 0.51,
            "opponent_faced": "Alejandro Grimaldo",
            "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.0066,
            "projected_assists": 0,
            "assist_probability": 0.0108,
            "finishing_factor": 0.9042,
            "creation_factor": 0.9749,
            "fifa_overall": 70.0
          },
          "latest_10_games": [
            {
              "match_id": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0057,
                "total_shots": 0,
                "total_pass": 39,
                "accurate_pass": 37,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 6,
                "aerial_won": 2,
                "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": 16416299,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Elche",
              "stats": {
                "minutes": 23,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0205,
                "total_shots": 0,
                "total_pass": 32,
                "accurate_pass": 30,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 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": 16416345,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0172,
                "expected_assists": 0.0199,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 45,
                "accurate_pass": 39,
                "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": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0024,
                "total_shots": 0,
                "total_pass": 44,
                "accurate_pass": 35,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 9,
                "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": 16416323,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 16,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0033,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 10,
                "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": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 66,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0197,
                "expected_assists": 0.0031,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 26,
                "accurate_pass": 22,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "aerial_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": 16421053,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0127,
                "total_shots": 0,
                "total_pass": 74,
                "accurate_pass": 60,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 6,
                "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": 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": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0049,
                "total_shots": 0,
                "total_pass": 38,
                "accurate_pass": 30,
                "tackles": 1,
                "clearances": 11,
                "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": "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.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0063,
                "total_shots": 0,
                "total_pass": 100,
                "accurate_pass": 91,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 9,
                "aerial_won": 3,
                "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"
            },
            {
              "match_id": 14083330,
              "match_date": "2026-04-23",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 12,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0022,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 5,
                "key_pass": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 5074,
            "combined_rank_score": 3259.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 591.0,
            "sofascore_rating": 6.79,
            "sofascore_appearances": 20.0,
            "fifa_rank": 5928.0,
            "fifa_overall": 70.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7523,
            "source_file": "data/player_rankings.csv",
            "player_name": "Clemens Riedel",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Luis Sandoval",
                  "ranking": 5069
                },
                {
                  "player_name": "Guido Mainero",
                  "ranking": 5070
                },
                {
                  "player_name": "Montrell Culbreath",
                  "ranking": 5071
                },
                {
                  "player_name": "Juma Bah",
                  "ranking": 5072
                },
                {
                  "player_name": "Hiroki Sakai",
                  "ranking": 5073
                }
              ],
              "lower": [
                {
                  "player_name": "Martín Sarrafiore",
                  "ranking": 5075
                },
                {
                  "player_name": "Juan Manuel Cuesta",
                  "ranking": 5076
                },
                {
                  "player_name": "Sebastián Guzmán",
                  "ranking": 5077
                },
                {
                  "player_name": "Anthony Patterson",
                  "ranking": 5078
                },
                {
                  "player_name": "Miguel Rubio",
                  "ranking": 5079
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.767,
          "history_matches": 27,
          "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": 27,
            "data_confidence": 0.767,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9974,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "minutes": 155.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.58,
              "shots_on_target_pct": 100.0,
              "prior_reliability": 0.1133
            },
            "rationale": "XGBoost regressor (D_service) evaluated 27 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Espanyol, rel: 0.11, 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.9429,
                "tackles": 1.1622,
                "tackles_won": 0.6728,
                "clearances": 5.216,
                "aerial_won": 2.0873,
                "total_shots": 0.388,
                "rating": 6.7523,
                "minutes": 85.51,
                "total_pass": 46.8926,
                "accurate_pass": 40.5739,
                "duels_won": 4.0829,
                "total_long_balls": 5.9349,
                "accurate_long_balls": 2.0609,
                "total_own_half_passes": 33.5869,
                "accurate_own_half_passes": 31.6242,
                "total_opp_half_passes": 13.3057,
                "accurate_opp_half_passes": 8.9497,
                "crosses_total": 0.0285,
                "crosses_accurate": 0.0098,
                "touches": 58.825,
                "possession_lost": 7.0198,
                "dispossessed": 0.1107,
                "duels_lost": 3.7369,
                "aerial_lost": 1.699,
                "total_contest": 0.4813,
                "won_contest": 0.4813,
                "ball_recovery": 2.5196,
                "challenges_lost": 0.3375,
                "fouls": 1.7603,
                "fouls_drawn": 0.3669,
                "blocks": 0.3938,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0083,
                "assist_rate": 0.0083,
                "expected_goals": 0.0053,
                "expected_assists": 0.0097,
                "shots_on_target": 0.2342,
                "big_chances_created": 0.0,
                "xgot": 0.012,
                "ball_carries": 13.6206,
                "total_progression": 53.2798,
                "progressive_carries": 0.5599,
                "key_pass": 0.0576,
                "shots_off_target": 0.1538
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-16T10:30:59.837052+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 625,
                    "rows": 21030
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1519,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Elche",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.1291,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1097,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0933,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.0793,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Real Madrid",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.0674,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0573,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0487,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0414,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-04-23",
                    "opponent": "Rayo Vallecano",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.0352,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 4.8688,
                  "aerialWon": 1.812,
                  "totalClearance_p90": 5.7277,
                  "totalTackle": 0.833,
                  "defensive_actions": 1.4368
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.942886471748352,
                    "model_output": 0.9429,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2924
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0396
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0252
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0247
                      },
                      {
                        "name": "touches",
                        "importance": 0.0228
                      }
                    ],
                    "decomposition": {
                      "base": 0.8609,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1232
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0948
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0192
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0161
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0156
                        }
                      ],
                      "others": 0.0027,
                      "total": 0.9429,
                      "log_link": true,
                      "margin_base": -0.149807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.133707
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.101301
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.021407
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.017544
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.01674
                        }
                      ],
                      "others_margin": 0.002901
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.162231683731079,
                    "model_output": 1.1622,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2589
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0677
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.049
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.044
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 1.3915,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1761
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0938
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.069
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0653
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0491
                        }
                      ],
                      "others": -0.1282,
                      "total": 1.1622,
                      "log_link": true,
                      "margin_base": 0.330386,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.119172
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.061725
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.04798
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.047592
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.037358
                        }
                      ],
                      "others_margin": -0.104562
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.6728421449661255,
                    "model_output": 0.6728,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2078
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0673
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0422
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0415
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.8542,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1088
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0773
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0629
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0369
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0314
                        }
                      ],
                      "others": -0.0817,
                      "total": 0.6728,
                      "log_link": true,
                      "margin_base": -0.157629,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.119849
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.083673
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.073624
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.045852
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.040723
                        }
                      ],
                      "others_margin": -0.114593
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 5.2160139083862305,
                    "model_output": 5.216,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2949
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0875
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0204
                      }
                    ],
                    "decomposition": {
                      "base": 3.4327,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": 0.4691
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5143
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.2599
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.2478
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.2465
                        }
                      ],
                      "others": 0.0457,
                      "total": 5.216,
                      "log_link": true,
                      "margin_base": 1.233356,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.12809
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.123812
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.057197
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.051646
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.048842
                        }
                      ],
                      "others_margin": 0.00879
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 2.0872514247894287,
                    "model_output": 2.0873,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1614
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1583
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0863
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 1.3773,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": 0.2276
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1701
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.113
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.1022
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0618
                        }
                      ],
                      "others": 0.1589,
                      "total": 2.0873,
                      "log_link": true,
                      "margin_base": 0.320134,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": 0.15294
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.100716
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.06174
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.052729
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.031557
                        }
                      ],
                      "others_margin": 0.079145
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.3880327343940735,
                    "model_output": 0.388,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.105
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.033
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0307
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 0.4745,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1192
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.048
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0237
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0146
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0142
                        }
                      ],
                      "others": -0.0394,
                      "total": 0.388,
                      "log_link": false,
                      "margin_base": 0.474501,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.119205
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.048044
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.023699
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.014632
                        },
                        {
                          "name": "rating",
                          "margin": -0.014191
                        }
                      ],
                      "others_margin": -0.039447
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.7523393630981445,
                    "model_output": 6.7523,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0634
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0627
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0603
                      },
                      {
                        "name": "touches",
                        "importance": 0.0395
                      },
                      {
                        "name": "rating",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 6.7847,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": -0.0198
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0159
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0086
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0079
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0077
                        }
                      ],
                      "others": 0.0103,
                      "total": 6.7523,
                      "log_link": false,
                      "margin_base": 6.784704,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.019764
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.015887
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.008641
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.007862
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.007716
                        }
                      ],
                      "others_margin": 0.010226
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 27,
                  "role_matches": 21,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9974, quality 0.449)",
              "stats": {
                "interceptions": 0.9404,
                "tackles": 1.1592,
                "tackles_won": 0.6711,
                "clearances": 5.2025,
                "aerial_won": 2.0818,
                "total_shots": 0.387,
                "rating": 6.7523,
                "minutes": 85.51,
                "total_pass": 46.7707,
                "accurate_pass": 40.4684,
                "duels_won": 4.0723,
                "total_long_balls": 5.9195,
                "accurate_long_balls": 2.0555,
                "total_own_half_passes": 33.4996,
                "accurate_own_half_passes": 31.542,
                "total_opp_half_passes": 13.2711,
                "accurate_opp_half_passes": 8.9264,
                "crosses_total": 0.0284,
                "crosses_accurate": 0.0098,
                "touches": 58.6721,
                "possession_lost": 7.0015,
                "dispossessed": 0.1104,
                "duels_lost": 3.7272,
                "aerial_lost": 1.6946,
                "total_contest": 0.48,
                "won_contest": 0.48,
                "ball_recovery": 2.513,
                "challenges_lost": 0.3366,
                "fouls": 1.7557,
                "fouls_drawn": 0.3659,
                "blocks": 0.3928,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0083,
                "assist_rate": 0.0083,
                "expected_goals": 0.0053,
                "expected_assists": 0.0097,
                "shots_on_target": 0.2336,
                "big_chances_created": 0.0,
                "xgot": 0.012,
                "ball_carries": 13.5852,
                "total_progression": 53.1413,
                "progressive_carries": 0.5584,
                "key_pass": 0.0575,
                "shots_off_target": 0.1534
              },
              "params": {
                "market_value_eur": 3900000,
                "quality_factor": 0.4486,
                "boost_factor": 0.9974,
                "reference_quality": 0.505,
                "history_matches": 27,
                "history_shrink": 0.1562,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0115)",
              "stats": {
                "interceptions": 0.9296,
                "tackles": 1.1592,
                "tackles_won": 0.6762,
                "clearances": 5.2025,
                "aerial_won": 2.0818,
                "total_shots": 0.3889,
                "rating": 6.7523,
                "minutes": 85.51,
                "total_pass": 46.7707,
                "accurate_pass": 40.4684,
                "duels_won": 4.0723,
                "total_long_balls": 5.9195,
                "accurate_long_balls": 2.0555,
                "total_own_half_passes": 33.4996,
                "accurate_own_half_passes": 31.542,
                "total_opp_half_passes": 13.2711,
                "accurate_opp_half_passes": 8.9264,
                "crosses_total": 0.0281,
                "crosses_accurate": 0.0098,
                "touches": 58.6721,
                "possession_lost": 7.0015,
                "dispossessed": 0.1104,
                "duels_lost": 3.7272,
                "aerial_lost": 1.6946,
                "total_contest": 0.48,
                "won_contest": 0.48,
                "ball_recovery": 2.513,
                "challenges_lost": 0.3366,
                "fouls": 1.7741,
                "fouls_drawn": 0.3617,
                "blocks": 0.3928,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0082,
                "assist_rate": 0.0082,
                "expected_goals": 0.0053,
                "expected_assists": 0.0097,
                "shots_on_target": 0.2373,
                "big_chances_created": 0.0,
                "xgot": 0.012,
                "ball_carries": 13.5852,
                "total_progression": 53.1413,
                "progressive_carries": 0.5584,
                "key_pass": 0.0575,
                "shots_off_target": 0.1534
              },
              "params": {
                "blend_weight": 0.0115,
                "history_matches": 27,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9501,
                "prior_reliability": 0.1133,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 1.7557,
                  "after": 1.7741
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.9404,
                  "after": 0.9296
                },
                {
                  "stat": "wonTackle",
                  "before": 0.6711,
                  "after": 0.6762
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.9296,
                "tackles": 1.1592,
                "tackles_won": 0.6762,
                "clearances": 5.2025,
                "aerial_won": 2.0818,
                "total_shots": 0.3907,
                "rating": 6.7523,
                "minutes": 85.51,
                "total_pass": 46.7707,
                "accurate_pass": 40.4684,
                "duels_won": 4.0723,
                "total_long_balls": 5.9195,
                "accurate_long_balls": 2.0555,
                "total_own_half_passes": 33.4996,
                "accurate_own_half_passes": 31.542,
                "total_opp_half_passes": 13.2711,
                "accurate_opp_half_passes": 8.9264,
                "crosses_total": 0.0281,
                "crosses_accurate": 0.0098,
                "touches": 58.6721,
                "possession_lost": 7.0015,
                "dispossessed": 0.1104,
                "duels_lost": 3.7272,
                "aerial_lost": 1.6946,
                "total_contest": 0.48,
                "won_contest": 0.48,
                "ball_recovery": 2.513,
                "challenges_lost": 0.3366,
                "fouls": 1.7741,
                "fouls_drawn": 0.3617,
                "blocks": 0.3928,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0082,
                "assist_rate": 0.0082,
                "expected_goals": 0.0053,
                "expected_assists": 0.0097,
                "shots_on_target": 0.2373,
                "big_chances_created": 0.0,
                "xgot": 0.012,
                "ball_carries": 13.5852,
                "total_progression": 53.1413,
                "progressive_carries": 0.5584,
                "key_pass": 0.0575,
                "shots_off_target": 0.1534
              },
              "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.9296,
                "tackles": 1.1592,
                "tackles_won": 0.6762,
                "clearances": 5.2025,
                "aerial_won": 2.0818,
                "total_shots": 0.3907,
                "rating": 6.7523,
                "minutes": 85.51,
                "total_pass": 46.7707,
                "accurate_pass": 40.4684,
                "duels_won": 4.0723,
                "total_long_balls": 5.9195,
                "accurate_long_balls": 2.0555,
                "total_own_half_passes": 33.4996,
                "accurate_own_half_passes": 31.542,
                "total_opp_half_passes": 13.2711,
                "accurate_opp_half_passes": 8.9264,
                "crosses_total": 0.0281,
                "crosses_accurate": 0.0098,
                "touches": 58.6721,
                "possession_lost": 7.0015,
                "dispossessed": 0.1104,
                "duels_lost": 3.7272,
                "aerial_lost": 1.6946,
                "total_contest": 0.48,
                "won_contest": 0.48,
                "ball_recovery": 2.513,
                "challenges_lost": 0.3366,
                "fouls": 1.7741,
                "fouls_drawn": 0.3617,
                "blocks": 0.3928,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0082,
                "assist_rate": 0.0082,
                "expected_goals": 0.0053,
                "expected_assists": 0.0097,
                "shots_on_target": 0.2373,
                "big_chances_created": 0.0,
                "xgot": 0.012,
                "ball_carries": 13.5852,
                "total_progression": 53.1413,
                "progressive_carries": 0.5584,
                "key_pass": 0.0575,
                "shots_off_target": 0.1534,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.2,
                "defensive_success_rate": 0.51,
                "opponent_faced": "Alejandro Grimaldo",
                "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": "Alejandro Grimaldo",
                  "matchup_zone": "Right Wing vs Left Back — Flank Battle"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 0.9296,
                "tackles": 1.1592,
                "tackles_won": 0.6762,
                "clearances": 5.2025,
                "aerial_won": 2.0818,
                "total_shots": 0.3907,
                "rating": 6.7523,
                "minutes": 85.51,
                "total_pass": 46.7707,
                "accurate_pass": 40.4684,
                "duels_won": 4.0723,
                "total_long_balls": 5.9195,
                "accurate_long_balls": 2.0555,
                "total_own_half_passes": 33.4996,
                "accurate_own_half_passes": 31.542,
                "total_opp_half_passes": 13.2711,
                "accurate_opp_half_passes": 8.9264,
                "crosses_total": 0.0281,
                "crosses_accurate": 0.0098,
                "touches": 58.6721,
                "possession_lost": 7.0015,
                "dispossessed": 0.1104,
                "duels_lost": 3.7272,
                "aerial_lost": 1.6946,
                "total_contest": 0.48,
                "won_contest": 0.48,
                "ball_recovery": 2.513,
                "challenges_lost": 0.3366,
                "fouls": 1.7741,
                "fouls_drawn": 0.3617,
                "blocks": 0.3928,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0082,
                "assists": 0,
                "expected_goals": 0.0053,
                "expected_assists": 0.0097,
                "shots_on_target": 0.2373,
                "big_chances_created": 0.0,
                "xgot": 0.012,
                "ball_carries": 13.5852,
                "total_progression": 53.1413,
                "progressive_carries": 0.5584,
                "key_pass": 0.0575,
                "shots_off_target": 0.1534,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.2,
                "defensive_success_rate": 0.51,
                "opponent_faced": "Alejandro Grimaldo",
                "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
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.34 (squad xG sum 1.0719, xG scale 1.2473, xA scale 1.1232, team xA 1.07 = 0.80 x lambda)",
              "stats": {
                "interceptions": 0.9296,
                "tackles": 1.1592,
                "tackles_won": 0.6762,
                "clearances": 5.2025,
                "aerial_won": 2.0818,
                "total_shots": 0.3907,
                "rating": 6.7523,
                "minutes": 85.51,
                "total_pass": 46.7707,
                "accurate_pass": 40.4684,
                "duels_won": 4.0723,
                "total_long_balls": 5.9195,
                "accurate_long_balls": 2.0555,
                "total_own_half_passes": 33.4996,
                "accurate_own_half_passes": 31.542,
                "total_opp_half_passes": 13.2711,
                "accurate_opp_half_passes": 8.9264,
                "crosses_total": 0.0281,
                "crosses_accurate": 0.0098,
                "touches": 58.6721,
                "possession_lost": 7.0015,
                "dispossessed": 0.1104,
                "duels_lost": 3.7272,
                "aerial_lost": 1.6946,
                "total_contest": 0.48,
                "won_contest": 0.48,
                "ball_recovery": 2.513,
                "challenges_lost": 0.3366,
                "fouls": 1.7741,
                "fouls_drawn": 0.3617,
                "blocks": 0.3928,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0082,
                "assists": 0,
                "expected_goals": 0.0066,
                "expected_assists": 0.0109,
                "shots_on_target": 0.2373,
                "big_chances_created": 0.0,
                "xgot": 0.015,
                "ball_carries": 13.5852,
                "total_progression": 53.1413,
                "progressive_carries": 0.5584,
                "key_pass": 0.0575,
                "shots_off_target": 0.1534,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.2,
                "defensive_success_rate": 0.51,
                "opponent_faced": "Alejandro Grimaldo",
                "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.9042,
                "creation_factor": 0.9749
              },
              "params": {
                "team_lambda": 1.337,
                "squad_xg_sum": 1.0719,
                "squad_xa_sum": 0.9523,
                "team_expected_assists": 1.0696,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2473,
                "xa_scale": 1.1232,
                "opponent_lambda": 2.325,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 11 by projected rating, fifa_overall 70.0)",
              "stats": {
                "interceptions": 0.9296,
                "tackles": 1.1592,
                "tackles_won": 0.6762,
                "clearances": 5.2025,
                "aerial_won": 2.0818,
                "total_shots": 0.3907,
                "rating": 6.7523,
                "minutes": 85.51,
                "total_pass": 46.7707,
                "accurate_pass": 40.4684,
                "duels_won": 4.0723,
                "total_long_balls": 5.9195,
                "accurate_long_balls": 2.0555,
                "total_own_half_passes": 33.4996,
                "accurate_own_half_passes": 31.542,
                "total_opp_half_passes": 13.2711,
                "accurate_opp_half_passes": 8.9264,
                "crosses_total": 0.0281,
                "crosses_accurate": 0.0098,
                "touches": 58.6721,
                "possession_lost": 7.0015,
                "dispossessed": 0.1104,
                "duels_lost": 3.7272,
                "aerial_lost": 1.6946,
                "total_contest": 0.48,
                "won_contest": 0.48,
                "ball_recovery": 2.513,
                "challenges_lost": 0.3366,
                "fouls": 1.7741,
                "fouls_drawn": 0.3617,
                "blocks": 0.3928,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0082,
                "assists": 0,
                "expected_goals": 0.0066,
                "expected_assists": 0.0109,
                "shots_on_target": 0.2373,
                "big_chances_created": 0.0,
                "xgot": 0.015,
                "ball_carries": 13.5852,
                "total_progression": 53.1413,
                "progressive_carries": 0.5584,
                "key_pass": 0.0575,
                "shots_off_target": 0.1534,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.2,
                "defensive_success_rate": 0.51,
                "opponent_faced": "Alejandro Grimaldo",
                "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.9042,
                "creation_factor": 0.9749,
                "fifa_overall": 70.0
              },
              "params": {
                "match_squad_rank": 11,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 5074,
                "fifa_rank": 5928.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 70.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 0.9296,
                "tackles": 1.1592,
                "tackles_won": 0.6762,
                "clearances": 5.2025,
                "aerial_won": 2.0818,
                "total_shots": 0.3907,
                "rating": 6.7523,
                "minutes": 85.51,
                "total_pass": 46.7707,
                "accurate_pass": 40.4684,
                "duels_won": 4.0723,
                "total_long_balls": 5.9195,
                "accurate_long_balls": 2.0555,
                "total_own_half_passes": 33.4996,
                "accurate_own_half_passes": 31.542,
                "total_opp_half_passes": 13.2711,
                "accurate_opp_half_passes": 8.9264,
                "crosses_total": 0.0281,
                "crosses_accurate": 0.0098,
                "touches": 58.6721,
                "possession_lost": 7.0015,
                "dispossessed": 0.1104,
                "duels_lost": 3.7272,
                "aerial_lost": 1.6946,
                "total_contest": 0.48,
                "won_contest": 0.48,
                "ball_recovery": 2.513,
                "challenges_lost": 0.3366,
                "fouls": 1.7741,
                "fouls_drawn": 0.3617,
                "blocks": 0.3928,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0082,
                "assists": 0,
                "expected_goals": 0.0066,
                "expected_assists": 0.0109,
                "shots_on_target": 0.2373,
                "big_chances_created": 0.0,
                "xgot": 0.015,
                "ball_carries": 13.5852,
                "total_progression": 53.1413,
                "progressive_carries": 0.5584,
                "key_pass": 0.0575,
                "shots_off_target": 0.1534,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.2,
                "defensive_success_rate": 0.51,
                "opponent_faced": "Alejandro Grimaldo",
                "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.0066,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9042,
                "creation_factor": 0.9749,
                "fifa_overall": 70.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0066,
                "goal_rate": 0.0,
                "scorer_weight": 0.006,
                "squad_weight_total": 1.4295,
                "weight_share": 0.0042,
                "finishing_factor": 0.9042,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.5106,
                    "already": 0,
                    "effective_weight": 0.5106,
                    "runner_up": "Javier Hernández",
                    "runner_up_effective_weight": 0.166
                  }
                ]
              }
            },
            {
              "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.9296,
                "tackles": 1.1592,
                "tackles_won": 0.6762,
                "clearances": 5.2025,
                "aerial_won": 2.0818,
                "total_shots": 0.3907,
                "rating": 6.7523,
                "minutes": 85.51,
                "total_pass": 46.7707,
                "accurate_pass": 40.4684,
                "duels_won": 4.0723,
                "total_long_balls": 5.9195,
                "accurate_long_balls": 2.0555,
                "total_own_half_passes": 33.4996,
                "accurate_own_half_passes": 31.542,
                "total_opp_half_passes": 13.2711,
                "accurate_opp_half_passes": 8.9264,
                "crosses_total": 0.0281,
                "crosses_accurate": 0.0098,
                "touches": 58.6721,
                "possession_lost": 7.0015,
                "dispossessed": 0.1104,
                "duels_lost": 3.7272,
                "aerial_lost": 1.6946,
                "total_contest": 0.48,
                "won_contest": 0.48,
                "ball_recovery": 2.513,
                "challenges_lost": 0.3366,
                "fouls": 1.7741,
                "fouls_drawn": 0.3617,
                "blocks": 0.3928,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0082,
                "assists": 0,
                "expected_goals": 0.0066,
                "expected_assists": 0.0109,
                "shots_on_target": 0.2373,
                "big_chances_created": 0.0,
                "xgot": 0.015,
                "ball_carries": 13.5852,
                "total_progression": 53.1413,
                "progressive_carries": 0.5584,
                "key_pass": 0.0575,
                "shots_off_target": 0.1534,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.5,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.2,
                "defensive_success_rate": 0.51,
                "opponent_faced": "Alejandro Grimaldo",
                "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.0066,
                "projected_assists": 0,
                "assist_probability": 0.0108,
                "finishing_factor": 0.9042,
                "creation_factor": 0.9749,
                "fifa_overall": 70.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0108,
                "assist_rate": 0.0082,
                "provider_weight": 0.0106,
                "squad_weight_total": 1.0297,
                "weight_share": 0.0103,
                "creation_factor": 0.9749,
                "appearance_weight": 1.0,
                "weight_rank": 13,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Javier Hernández",
                    "weight": 0.193,
                    "already": 0,
                    "effective_weight": 0.193,
                    "runner_up": "Bryan Zaragoza",
                    "runner_up_effective_weight": 0.1355,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Omar El Hilali": {
          "player_id": 1064026,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 23,
          "height": 183,
          "market_value": 15900000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 4,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.774,
            "minutes": 88,
            "total_pass": 29,
            "accurate_pass": 23,
            "duels_won": 5,
            "total_long_balls": 4,
            "accurate_long_balls": 2,
            "total_own_half_passes": 16,
            "accurate_own_half_passes": 14,
            "total_opp_half_passes": 13,
            "accurate_opp_half_passes": 9,
            "crosses_total": 3,
            "crosses_accurate": 1,
            "touches": 53,
            "possession_lost": 10.8337,
            "dispossessed": 0.1944,
            "duels_lost": 4,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 2,
            "fouls_drawn": 1,
            "blocks": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.1077,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.1252,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 10,
            "total_progression": 35,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 2.1,
            "tackles_won_in_zone": 1.7,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 1.0,
            "defensive_success_rate": 0.634,
            "opponent_faced": "Koke",
            "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.1177,
            "finishing_factor": 1.0,
            "creation_factor": 0.9765,
            "fifa_overall": 75.0
          },
          "latest_10_games": [
            {
              "match_id": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.011,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 20,
                "tackles": 4,
                "tackles_won": 3,
                "clearances": 1,
                "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": 16416345,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0217,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 16,
                "key_pass": 1,
                "clearances": 3,
                "aerial_won": 4,
                "duels_won": 7,
                "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": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 8.2,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.7313,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 30,
                "key_pass": 1,
                "tackles": 5,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 10,
                "aerial_won": 1,
                "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": 16416323,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 75,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0835,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 5,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 2,
                "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": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0954,
                "total_shots": 0,
                "total_pass": 42,
                "accurate_pass": 33,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416306,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0098,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 17,
                "tackles": 1,
                "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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421053,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0066,
                "total_shots": 0,
                "total_pass": 31,
                "accurate_pass": 26,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 4,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083719,
              "match_date": "2026-05-23",
              "home_team": "Espanyol",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 11,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0021,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 3,
                "tackles": 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": 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": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0035,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 10,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 2,
                "clearances": 9,
                "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": 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.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0097,
                "total_shots": 0,
                "total_pass": 62,
                "accurate_pass": 47,
                "tackles": 1,
                "clearances": 4,
                "aerial_won": 3,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 3547,
            "combined_rank_score": 1516.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 622.0,
            "sofascore_rating": 6.7667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 2410.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.774,
            "source_file": "data/player_rankings.csv",
            "player_name": "Omar El Hilali",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Sergio Camello",
                  "ranking": 3542
                },
                {
                  "player_name": "Mio Backhaus",
                  "ranking": 3543
                },
                {
                  "player_name": "Jindřich Staněk",
                  "ranking": 3544
                },
                {
                  "player_name": "Janis Blaswich",
                  "ranking": 3545
                },
                {
                  "player_name": "Jobe Bellingham",
                  "ranking": 3546
                }
              ],
              "lower": [
                {
                  "player_name": "Matt Turner",
                  "ranking": 3548
                },
                {
                  "player_name": "Jack Rudoni",
                  "ranking": 3549
                },
                {
                  "player_name": "Nemanja Matić",
                  "ranking": 3550
                },
                {
                  "player_name": "Reiss Nelson",
                  "ranking": 3551
                },
                {
                  "player_name": "Tolu Arokodare",
                  "ranking": 3552
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 43,
          "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": 43,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0026,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "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 (D_service) evaluated 43 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Espanyol, 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.0356,
                "tackles": 1.9958,
                "tackles_won": 1.2488,
                "clearances": 4.1757,
                "aerial_won": 1.448,
                "total_shots": 0.4338,
                "rating": 6.774,
                "minutes": 88.2,
                "total_pass": 28.4494,
                "accurate_pass": 22.4998,
                "duels_won": 5.1922,
                "total_long_balls": 3.7476,
                "accurate_long_balls": 1.6594,
                "total_own_half_passes": 15.6246,
                "accurate_own_half_passes": 13.5435,
                "total_opp_half_passes": 12.8248,
                "accurate_opp_half_passes": 8.9563,
                "crosses_total": 2.6677,
                "crosses_accurate": 0.7317,
                "touches": 52.5929,
                "possession_lost": 10.8056,
                "dispossessed": 0.1939,
                "duels_lost": 3.817,
                "aerial_lost": 0.9379,
                "total_contest": 0.5466,
                "won_contest": 0.3245,
                "ball_recovery": 2.1925,
                "challenges_lost": 0.4956,
                "fouls": 2.4206,
                "fouls_drawn": 0.8099,
                "blocks": 0.5416,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1089,
                "assist_rate": 0.1089,
                "expected_goals": 0.0,
                "expected_assists": 0.1112,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1219,
                "xgot": 0.0,
                "ball_carries": 10.1316,
                "total_progression": 35.0763,
                "progressive_carries": 0.9388,
                "key_pass": 0.4818,
                "shots_off_target": 0.4338
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-16T10:30:59.837052+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 625,
                    "rows": 21030
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1501,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 8.2
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Sociedad",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.0481,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.2
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 3.7954,
                  "aerialWon": 1.5842,
                  "totalClearance_p90": 4.5608,
                  "totalTackle": 2.3569,
                  "defensive_actions": 3.1897
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.0355985164642334,
                    "model_output": 1.0356,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2924
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0396
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0252
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0247
                      },
                      {
                        "name": "touches",
                        "importance": 0.0228
                      }
                    ],
                    "decomposition": {
                      "base": 0.8609,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1147
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0309
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0262
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0252
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0209
                        }
                      ],
                      "others": 0.069,
                      "total": 1.0356,
                      "log_link": true,
                      "margin_base": -0.149807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.125113
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.032185
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.027327
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.026253
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.021847
                        }
                      ],
                      "others_margin": 0.068937
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.9957551956176758,
                    "model_output": 1.9958,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2589
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0677
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.049
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.044
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 1.3915,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2057
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.1127
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.111
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0818
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0507
                        }
                      ],
                      "others": 0.1438,
                      "total": 1.9958,
                      "log_link": true,
                      "margin_base": 0.330386,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.137849
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.068209
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.062902
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.043928
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.027011
                        }
                      ],
                      "others_margin": 0.07476
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.2488431930541992,
                    "model_output": 1.2488,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2078
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0673
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0422
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0415
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.8542,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1353
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0882
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0773
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0529
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0265
                        }
                      ],
                      "others": 0.0674,
                      "total": 1.2488,
                      "log_link": true,
                      "margin_base": -0.157629,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.147057
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.085343
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.069298
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.044744
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.022215
                        }
                      ],
                      "others_margin": 0.05562
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 4.175658702850342,
                    "model_output": 4.1757,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2949
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0875
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0204
                      }
                    ],
                    "decomposition": {
                      "base": 3.4327,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4705
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.3418
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.184
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.1546
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0795
                        }
                      ],
                      "others": -0.1782,
                      "total": 4.1757,
                      "log_link": true,
                      "margin_base": 1.233356,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.128451
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.083951
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.04243
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.035531
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.018438
                        }
                      ],
                      "others_margin": -0.041822
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.4480043649673462,
                    "model_output": 1.448,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1614
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1583
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0863
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 1.3773,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.152
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0895
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0557
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0527
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0491
                        }
                      ],
                      "others": -0.1247,
                      "total": 1.448,
                      "log_link": true,
                      "margin_base": 0.320134,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.104662
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.056864
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.033804
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.031969
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.030743
                        }
                      ],
                      "others_margin": -0.082566
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.43375131487846375,
                    "model_output": 0.4338,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.105
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.033
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0307
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 0.4745,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.131
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0512
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.0255
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0233
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0117
                        }
                      ],
                      "others": -0.0214,
                      "total": 0.4338,
                      "log_link": false,
                      "margin_base": 0.474501,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.131027
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.05118
                        },
                        {
                          "name": "duelWon",
                          "margin": 0.025461
                        },
                        {
                          "name": "rating",
                          "margin": 0.023299
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.011719
                        }
                      ],
                      "others_margin": -0.02138
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.774013519287109,
                    "model_output": 6.774,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0634
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0627
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0603
                      },
                      {
                        "name": "touches",
                        "importance": 0.0395
                      },
                      {
                        "name": "rating",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 6.7847,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.0226
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0164
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0129
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": -0.0094
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.0077
                        }
                      ],
                      "others": -0.0023,
                      "total": 6.774,
                      "log_link": false,
                      "margin_base": 6.784704,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.022564
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.01636
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.01291
                        },
                        {
                          "name": "tackle_success_rate",
                          "margin": -0.009367
                        },
                        {
                          "name": "duelWon",
                          "margin": 0.007702
                        }
                      ],
                      "others_margin": -0.002318
                    }
                  }
                ],
                "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.0026, quality 0.589)",
              "stats": {
                "interceptions": 1.0383,
                "tackles": 2.0009,
                "tackles_won": 1.2521,
                "clearances": 4.1865,
                "aerial_won": 1.4518,
                "total_shots": 0.4349,
                "rating": 6.774,
                "minutes": 88.2,
                "total_pass": 28.5234,
                "accurate_pass": 22.5583,
                "duels_won": 5.2057,
                "total_long_balls": 3.7573,
                "accurate_long_balls": 1.6637,
                "total_own_half_passes": 15.6652,
                "accurate_own_half_passes": 13.5787,
                "total_opp_half_passes": 12.8581,
                "accurate_opp_half_passes": 8.9796,
                "crosses_total": 2.6746,
                "crosses_accurate": 0.7336,
                "touches": 52.7296,
                "possession_lost": 10.8337,
                "dispossessed": 0.1944,
                "duels_lost": 3.8269,
                "aerial_lost": 0.9403,
                "total_contest": 0.548,
                "won_contest": 0.3253,
                "ball_recovery": 2.1982,
                "challenges_lost": 0.4969,
                "fouls": 2.4269,
                "fouls_drawn": 0.812,
                "blocks": 0.543,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1092,
                "assist_rate": 0.1092,
                "expected_goals": 0.0,
                "expected_assists": 0.1115,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1222,
                "xgot": 0.0,
                "ball_carries": 10.1579,
                "total_progression": 35.1675,
                "progressive_carries": 0.9412,
                "key_pass": 0.4831,
                "shots_off_target": 0.4349
              },
              "params": {
                "market_value_eur": 15900000,
                "quality_factor": 0.5889,
                "boost_factor": 1.0026,
                "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.0135)",
              "stats": {
                "interceptions": 1.0419,
                "tackles": 2.0009,
                "tackles_won": 1.244,
                "clearances": 4.1865,
                "aerial_won": 1.4518,
                "total_shots": 0.429,
                "rating": 6.774,
                "minutes": 88.2,
                "total_pass": 28.5234,
                "accurate_pass": 22.5583,
                "duels_won": 5.2057,
                "total_long_balls": 3.7573,
                "accurate_long_balls": 1.6637,
                "total_own_half_passes": 15.6652,
                "accurate_own_half_passes": 13.5787,
                "total_opp_half_passes": 12.8581,
                "accurate_opp_half_passes": 8.9796,
                "crosses_total": 2.687,
                "crosses_accurate": 0.7336,
                "touches": 52.7296,
                "possession_lost": 10.8337,
                "dispossessed": 0.1944,
                "duels_lost": 3.8269,
                "aerial_lost": 0.9403,
                "total_contest": 0.548,
                "won_contest": 0.3253,
                "ball_recovery": 2.1982,
                "challenges_lost": 0.4969,
                "fouls": 2.425,
                "fouls_drawn": 0.801,
                "blocks": 0.543,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1077,
                "assist_rate": 0.1077,
                "expected_goals": 0.0,
                "expected_assists": 0.1115,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1222,
                "xgot": 0.0,
                "ball_carries": 10.1579,
                "total_progression": 35.1675,
                "progressive_carries": 0.9412,
                "key_pass": 0.4831,
                "shots_off_target": 0.4349
              },
              "params": {
                "blend_weight": 0.0135,
                "history_matches": 43,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.98,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 2.6746,
                  "after": 2.687
                },
                {
                  "stat": "wasFouled",
                  "before": 0.812,
                  "after": 0.801
                },
                {
                  "stat": "wonTackle",
                  "before": 1.2521,
                  "after": 1.244
                },
                {
                  "stat": "totalShots",
                  "before": 0.4349,
                  "after": 0.429
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.0419,
                "tackles": 2.0009,
                "tackles_won": 1.244,
                "clearances": 4.1865,
                "aerial_won": 1.4518,
                "total_shots": 0.4349,
                "rating": 6.774,
                "minutes": 88.2,
                "total_pass": 28.5234,
                "accurate_pass": 22.5583,
                "duels_won": 5.2057,
                "total_long_balls": 3.7573,
                "accurate_long_balls": 1.6637,
                "total_own_half_passes": 15.6652,
                "accurate_own_half_passes": 13.5787,
                "total_opp_half_passes": 12.8581,
                "accurate_opp_half_passes": 8.9796,
                "crosses_total": 2.687,
                "crosses_accurate": 0.7336,
                "touches": 52.7296,
                "possession_lost": 10.8337,
                "dispossessed": 0.1944,
                "duels_lost": 3.8269,
                "aerial_lost": 0.9403,
                "total_contest": 0.548,
                "won_contest": 0.3253,
                "ball_recovery": 2.1982,
                "challenges_lost": 0.4969,
                "fouls": 2.425,
                "fouls_drawn": 0.801,
                "blocks": 0.543,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1077,
                "assist_rate": 0.1077,
                "expected_goals": 0.0,
                "expected_assists": 0.1115,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1222,
                "xgot": 0.0,
                "ball_carries": 10.1579,
                "total_progression": 35.1675,
                "progressive_carries": 0.9412,
                "key_pass": 0.4831,
                "shots_off_target": 0.4349
              },
              "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.0419,
                "tackles": 2.0009,
                "tackles_won": 1.244,
                "clearances": 4.1865,
                "aerial_won": 1.4518,
                "total_shots": 0.4349,
                "rating": 6.774,
                "minutes": 88.2,
                "total_pass": 28.5234,
                "accurate_pass": 22.5583,
                "duels_won": 5.2057,
                "total_long_balls": 3.7573,
                "accurate_long_balls": 1.6637,
                "total_own_half_passes": 15.6652,
                "accurate_own_half_passes": 13.5787,
                "total_opp_half_passes": 12.8581,
                "accurate_opp_half_passes": 8.9796,
                "crosses_total": 2.687,
                "crosses_accurate": 0.7336,
                "touches": 52.7296,
                "possession_lost": 10.8337,
                "dispossessed": 0.1944,
                "duels_lost": 3.8269,
                "aerial_lost": 0.9403,
                "total_contest": 0.548,
                "won_contest": 0.3253,
                "ball_recovery": 2.1982,
                "challenges_lost": 0.4969,
                "fouls": 2.425,
                "fouls_drawn": 0.801,
                "blocks": 0.543,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1077,
                "assist_rate": 0.1077,
                "expected_goals": 0.0,
                "expected_assists": 0.1115,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1222,
                "xgot": 0.0,
                "ball_carries": 10.1579,
                "total_progression": 35.1675,
                "progressive_carries": 0.9412,
                "key_pass": 0.4831,
                "shots_off_target": 0.4349,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.7,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 1.0,
                "defensive_success_rate": 0.634,
                "opponent_faced": "Koke",
                "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": "Koke",
                  "matchup_zone": "Left Wing vs Right Back — Flank Battle"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 1.0419,
                "tackles": 2.0009,
                "tackles_won": 1.244,
                "clearances": 4.1865,
                "aerial_won": 1.4518,
                "total_shots": 0.4349,
                "rating": 6.774,
                "minutes": 88.2,
                "total_pass": 28.5234,
                "accurate_pass": 22.5583,
                "duels_won": 5.2057,
                "total_long_balls": 3.7573,
                "accurate_long_balls": 1.6637,
                "total_own_half_passes": 15.6652,
                "accurate_own_half_passes": 13.5787,
                "total_opp_half_passes": 12.8581,
                "accurate_opp_half_passes": 8.9796,
                "crosses_total": 2.687,
                "crosses_accurate": 0.7336,
                "touches": 52.7296,
                "possession_lost": 10.8337,
                "dispossessed": 0.1944,
                "duels_lost": 3.8269,
                "aerial_lost": 0.9403,
                "total_contest": 0.548,
                "won_contest": 0.3253,
                "ball_recovery": 2.1982,
                "challenges_lost": 0.4969,
                "fouls": 2.425,
                "fouls_drawn": 0.801,
                "blocks": 0.543,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1077,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1115,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1222,
                "xgot": 0.0,
                "ball_carries": 10.1579,
                "total_progression": 35.1675,
                "progressive_carries": 0.9412,
                "key_pass": 0.4831,
                "shots_off_target": 0.4349,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.7,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 1.0,
                "defensive_success_rate": 0.634,
                "opponent_faced": "Koke",
                "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
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.34 (squad xG sum 1.0719, xG scale 1.2473, xA scale 1.1232, team xA 1.07 = 0.80 x lambda)",
              "stats": {
                "interceptions": 1.0419,
                "tackles": 2.0009,
                "tackles_won": 1.244,
                "clearances": 4.1865,
                "aerial_won": 1.4518,
                "total_shots": 0.4349,
                "rating": 6.774,
                "minutes": 88.2,
                "total_pass": 28.5234,
                "accurate_pass": 22.5583,
                "duels_won": 5.2057,
                "total_long_balls": 3.7573,
                "accurate_long_balls": 1.6637,
                "total_own_half_passes": 15.6652,
                "accurate_own_half_passes": 13.5787,
                "total_opp_half_passes": 12.8581,
                "accurate_opp_half_passes": 8.9796,
                "crosses_total": 2.687,
                "crosses_accurate": 0.7336,
                "touches": 52.7296,
                "possession_lost": 10.8337,
                "dispossessed": 0.1944,
                "duels_lost": 3.8269,
                "aerial_lost": 0.9403,
                "total_contest": 0.548,
                "won_contest": 0.3253,
                "ball_recovery": 2.1982,
                "challenges_lost": 0.4969,
                "fouls": 2.425,
                "fouls_drawn": 0.801,
                "blocks": 0.543,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1077,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1252,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1222,
                "xgot": 0.0,
                "ball_carries": 10.1579,
                "total_progression": 35.1675,
                "progressive_carries": 0.9412,
                "key_pass": 0.4831,
                "shots_off_target": 0.4349,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.7,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 1.0,
                "defensive_success_rate": 0.634,
                "opponent_faced": "Koke",
                "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.0,
                "creation_factor": 0.9765
              },
              "params": {
                "team_lambda": 1.337,
                "squad_xg_sum": 1.0719,
                "squad_xa_sum": 0.9523,
                "team_expected_assists": 1.0696,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2473,
                "xa_scale": 1.1232,
                "opponent_lambda": 2.325,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.1115,
                  "after": 0.1252
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 8 by projected rating, fifa_overall 75.0)",
              "stats": {
                "interceptions": 1.0419,
                "tackles": 2.0009,
                "tackles_won": 1.244,
                "clearances": 4.1865,
                "aerial_won": 1.4518,
                "total_shots": 0.4349,
                "rating": 6.774,
                "minutes": 88.2,
                "total_pass": 28.5234,
                "accurate_pass": 22.5583,
                "duels_won": 5.2057,
                "total_long_balls": 3.7573,
                "accurate_long_balls": 1.6637,
                "total_own_half_passes": 15.6652,
                "accurate_own_half_passes": 13.5787,
                "total_opp_half_passes": 12.8581,
                "accurate_opp_half_passes": 8.9796,
                "crosses_total": 2.687,
                "crosses_accurate": 0.7336,
                "touches": 52.7296,
                "possession_lost": 10.8337,
                "dispossessed": 0.1944,
                "duels_lost": 3.8269,
                "aerial_lost": 0.9403,
                "total_contest": 0.548,
                "won_contest": 0.3253,
                "ball_recovery": 2.1982,
                "challenges_lost": 0.4969,
                "fouls": 2.425,
                "fouls_drawn": 0.801,
                "blocks": 0.543,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1077,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1252,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1222,
                "xgot": 0.0,
                "ball_carries": 10.1579,
                "total_progression": 35.1675,
                "progressive_carries": 0.9412,
                "key_pass": 0.4831,
                "shots_off_target": 0.4349,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.7,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 1.0,
                "defensive_success_rate": 0.634,
                "opponent_faced": "Koke",
                "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.0,
                "creation_factor": 0.9765,
                "fifa_overall": 75.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": 3547,
                "fifa_rank": 2410.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": {
                "interceptions": 1.0419,
                "tackles": 2.0009,
                "tackles_won": 1.244,
                "clearances": 4.1865,
                "aerial_won": 1.4518,
                "total_shots": 0.4349,
                "rating": 6.774,
                "minutes": 88.2,
                "total_pass": 28.5234,
                "accurate_pass": 22.5583,
                "duels_won": 5.2057,
                "total_long_balls": 3.7573,
                "accurate_long_balls": 1.6637,
                "total_own_half_passes": 15.6652,
                "accurate_own_half_passes": 13.5787,
                "total_opp_half_passes": 12.8581,
                "accurate_opp_half_passes": 8.9796,
                "crosses_total": 2.687,
                "crosses_accurate": 0.7336,
                "touches": 52.7296,
                "possession_lost": 10.8337,
                "dispossessed": 0.1944,
                "duels_lost": 3.8269,
                "aerial_lost": 0.9403,
                "total_contest": 0.548,
                "won_contest": 0.3253,
                "ball_recovery": 2.1982,
                "challenges_lost": 0.4969,
                "fouls": 2.425,
                "fouls_drawn": 0.801,
                "blocks": 0.543,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1077,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1252,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1222,
                "xgot": 0.0,
                "ball_carries": 10.1579,
                "total_progression": 35.1675,
                "progressive_carries": 0.9412,
                "key_pass": 0.4831,
                "shots_off_target": 0.4349,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.7,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 1.0,
                "defensive_success_rate": 0.634,
                "opponent_faced": "Koke",
                "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.0,
                "creation_factor": 0.9765,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "goal_rate": 0.0,
                "scorer_weight": 0.001,
                "squad_weight_total": 1.4295,
                "weight_share": 0.0007,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "weight_rank": 13,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.5106,
                    "already": 0,
                    "effective_weight": 0.5106,
                    "runner_up": "Javier Hernández",
                    "runner_up_effective_weight": 0.166
                  }
                ]
              }
            },
            {
              "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.0419,
                "tackles": 2.0009,
                "tackles_won": 1.244,
                "clearances": 4.1865,
                "aerial_won": 1.4518,
                "total_shots": 0.4349,
                "rating": 6.774,
                "minutes": 88.2,
                "total_pass": 28.5234,
                "accurate_pass": 22.5583,
                "duels_won": 5.2057,
                "total_long_balls": 3.7573,
                "accurate_long_balls": 1.6637,
                "total_own_half_passes": 15.6652,
                "accurate_own_half_passes": 13.5787,
                "total_opp_half_passes": 12.8581,
                "accurate_opp_half_passes": 8.9796,
                "crosses_total": 2.687,
                "crosses_accurate": 0.7336,
                "touches": 52.7296,
                "possession_lost": 10.8337,
                "dispossessed": 0.1944,
                "duels_lost": 3.8269,
                "aerial_lost": 0.9403,
                "total_contest": 0.548,
                "won_contest": 0.3253,
                "ball_recovery": 2.1982,
                "challenges_lost": 0.4969,
                "fouls": 2.425,
                "fouls_drawn": 0.801,
                "blocks": 0.543,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.1077,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.1252,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1222,
                "xgot": 0.0,
                "ball_carries": 10.1579,
                "total_progression": 35.1675,
                "progressive_carries": 0.9412,
                "key_pass": 0.4831,
                "shots_off_target": 0.4349,
                "tackles_in_zone": 2.1,
                "tackles_won_in_zone": 1.7,
                "interceptions_in_zone": 0.9,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 1.0,
                "defensive_success_rate": 0.634,
                "opponent_faced": "Koke",
                "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.1177,
                "finishing_factor": 1.0,
                "creation_factor": 0.9765,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1177,
                "assist_rate": 0.1077,
                "provider_weight": 0.1223,
                "squad_weight_total": 1.0297,
                "weight_share": 0.1187,
                "creation_factor": 0.9765,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Javier Hernández",
                    "weight": 0.193,
                    "already": 0,
                    "effective_weight": 0.193,
                    "runner_up": "Bryan Zaragoza",
                    "runner_up_effective_weight": 0.1355,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Ángel Fortuño": {
          "player_id": 1082734,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 1,
          "height": 183,
          "market_value": 290000,
          "stats": {
            "saves": 3,
            "goals_prevented": -0.0474,
            "rating": 7.0157,
            "minutes": 90,
            "total_pass": 26,
            "accurate_pass": 15,
            "total_long_balls": 15,
            "accurate_long_balls": 4,
            "touches": 45,
            "clearances": 1,
            "ball_recovery": 14,
            "high_claims": 4,
            "punches": 0.0,
            "aerial_won": 1,
            "sweeper_actions": 1,
            "sweeper_accurate": 1,
            "saves_inside_box": 3,
            "possession_lost": 11.3999,
            "duels_won": 1,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 15,
            "accurate_own_half_passes": 13,
            "gk_engine_opponent_lambda": 2.1749,
            "shots_faced": 22.1,
            "expected_saves": 5.41,
            "high_pressure_saves": 1.86,
            "opponent_faced": "Jonathan David, Ademola Lookman",
            "matchup_zone": "Goalkeeper shot-stopping context",
            "antagonist_source": "formation_fallback",
            "goals": 0,
            "projected_goals": 0,
            "goal_probability": 0.0,
            "assists": 0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "finishing_factor": 1.0,
            "creation_factor": 1.0,
            "expected_goals": 0.0,
            "expected_assists": 0.0,
            "fifa_overall": 89.0
          },
          "latest_10_games": [
            {
              "match_id": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0008,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 11,
                "clearances": 1,
                "ball_recovery": 17,
                "saves": 6,
                "goals_prevented": -0.2337
              },
              "has_player_stats": true,
              "league_name": "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.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0029,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 21,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 10,
                "saves": 2,
                "goals_prevented": 0.2618
              },
              "has_player_stats": true,
              "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": 24,
            "combined_rank_score": 25.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 35.0,
            "sofascore_rating": 7.9,
            "sofascore_appearances": 1.0,
            "fifa_rank": 15.0,
            "fifa_overall": 89.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0157,
            "source_file": "data/player_rankings.csv",
            "player_name": "Angel Fortuno",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Gustavo Henrique",
                  "ranking": 19
                },
                {
                  "player_name": "Alejandro Grimaldo",
                  "ranking": 20
                },
                {
                  "player_name": "Marc Bartra",
                  "ranking": 21
                },
                {
                  "player_name": "Khvicha Kvaratskhelia",
                  "ranking": 22
                },
                {
                  "player_name": "Danijel Petković",
                  "ranking": 23
                }
              ],
              "lower": [
                {
                  "player_name": "Hyun-woo Cho",
                  "ranking": 25
                },
                {
                  "player_name": "Joshua Kimmich",
                  "ranking": 26
                },
                {
                  "player_name": "Ljupche Doriev",
                  "ranking": 27
                },
                {
                  "player_name": "Rafael Romo",
                  "ranking": 28
                },
                {
                  "player_name": "Michael Olise",
                  "ranking": 29
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.375,
          "history_matches": 2,
          "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": 2,
            "data_confidence": 0.375,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9855,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (G_service) evaluated 2 historical appearances across 3 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost G_service raw output over 3 target models",
              "stats": {
                "saves": 2.8564,
                "goals_prevented": -0.0481,
                "rating": 7.0157,
                "minutes": 90.0,
                "total_pass": 26.2432,
                "accurate_pass": 15.5946,
                "total_long_balls": 14.8649,
                "accurate_long_balls": 4.2162,
                "touches": 45.3243,
                "clearances": 0.5405,
                "ball_recovery": 13.7838,
                "high_claims": 4.4595,
                "punches": 0.0,
                "aerial_won": 0.9189,
                "sweeper_actions": 1.0811,
                "sweeper_accurate": 1.0811,
                "saves_inside_box": 2.5405,
                "possession_lost": 11.5676,
                "duels_won": 0.9189,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 15.2973,
                "accurate_own_half_passes": 13.2162
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 5,
                  "trained_at": "2026-10-16T10:30:08.177787+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 200,
                    "rows": 7041
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.5405,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.4595,
                    "rating": 7.9
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 1.0,
                  "accurateLongBalls": 4.2162,
                  "save_contribution": 4.1561,
                  "distribution_accuracy": 0.8497,
                  "accurateOwnHalfPasses": 13.2162,
                  "passValueNormalized": 0.0822,
                  "totalOwnHalfPasses": 15.2973
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.8564023971557617,
                    "model_output": 2.8564,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "save_contribution",
                        "importance": 0.0393
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.039
                      },
                      {
                        "name": "saves",
                        "importance": 0.0355
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0354
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 2.941,
                      "items": [
                        {
                          "name": "goodHighClaim",
                          "contribution": -0.1194
                        },
                        {
                          "name": "saves",
                          "contribution": -0.0172
                        },
                        {
                          "name": "goalsPrevented",
                          "contribution": -0.0151
                        },
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "contribution": 0.0125
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0123
                        }
                      ],
                      "others": 0.0423,
                      "total": 2.8564,
                      "log_link": true,
                      "margin_base": 1.078763,
                      "item_margins": [
                        {
                          "name": "goodHighClaim",
                          "margin": -0.041456
                        },
                        {
                          "name": "saves",
                          "margin": -0.006125
                        },
                        {
                          "name": "goalsPrevented",
                          "margin": -0.005407
                        },
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "margin": 0.004474
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.00438
                        }
                      ],
                      "others_margin": 0.014934
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": -0.048134393990039825,
                    "model_output": -0.0481,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.0405
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.0401
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0394
                      },
                      {
                        "name": "totalOwnHalfPasses",
                        "importance": 0.0381
                      },
                      {
                        "name": "punches",
                        "importance": 0.0363
                      }
                    ],
                    "decomposition": {
                      "base": -0.0281,
                      "items": [
                        {
                          "name": "punches",
                          "contribution": 0.0189
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0168
                        },
                        {
                          "name": "inside_box_save_rate",
                          "contribution": 0.0167
                        },
                        {
                          "name": "saves",
                          "contribution": -0.0156
                        },
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "contribution": 0.0153
                        }
                      ],
                      "others": -0.0385,
                      "total": -0.0481,
                      "log_link": false,
                      "margin_base": -0.028113,
                      "item_margins": [
                        {
                          "name": "punches",
                          "margin": 0.018923
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.016818
                        },
                        {
                          "name": "inside_box_save_rate",
                          "margin": 0.016738
                        },
                        {
                          "name": "saves",
                          "margin": -0.015633
                        },
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "margin": 0.015304
                        }
                      ],
                      "others_margin": -0.038535
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.015650272369385,
                    "model_output": 7.0157,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0379
                      },
                      {
                        "name": "commanding_index",
                        "importance": 0.0375
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.037
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0354
                      },
                      {
                        "name": "sweeper_accuracy",
                        "importance": 0.0347
                      }
                    ],
                    "decomposition": {
                      "base": 6.9974,
                      "items": [
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "contribution": 0.0456
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0215
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": -0.0193
                        },
                        {
                          "name": "punches",
                          "contribution": 0.0148
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0147
                        }
                      ],
                      "others": 0.0133,
                      "total": 7.0156,
                      "log_link": false,
                      "margin_base": 6.997403,
                      "item_margins": [
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "margin": 0.045613
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.021515
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": -0.019325
                        },
                        {
                          "name": "punches",
                          "margin": 0.014783
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.014657
                        }
                      ],
                      "others_margin": 0.013347
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 2,
                  "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 0.9855, quality 0.437)",
              "stats": {
                "saves": 2.815,
                "goals_prevented": -0.0474,
                "rating": 7.0157,
                "minutes": 90.0,
                "total_pass": 25.8627,
                "accurate_pass": 15.3685,
                "total_long_balls": 14.6494,
                "accurate_long_balls": 4.1551,
                "touches": 44.6671,
                "clearances": 0.5327,
                "ball_recovery": 13.5839,
                "high_claims": 4.3948,
                "punches": 0.0,
                "aerial_won": 0.9056,
                "sweeper_actions": 1.0654,
                "sweeper_accurate": 1.0654,
                "saves_inside_box": 2.5037,
                "possession_lost": 11.3999,
                "duels_won": 0.9056,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 15.0755,
                "accurate_own_half_passes": 13.0246
              },
              "params": {
                "market_value_eur": 290000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9855,
                "reference_quality": 0.505,
                "history_matches": 2,
                "history_shrink": 0.7143,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 2.815,
                "goals_prevented": -0.0474,
                "rating": 7.0157,
                "minutes": 90.0,
                "total_pass": 25.8627,
                "accurate_pass": 15.3685,
                "total_long_balls": 14.6494,
                "accurate_long_balls": 4.1551,
                "touches": 44.6671,
                "clearances": 0.5327,
                "ball_recovery": 13.5839,
                "high_claims": 4.3948,
                "punches": 0.0,
                "aerial_won": 0.9056,
                "sweeper_actions": 1.0654,
                "sweeper_accurate": 1.0654,
                "saves_inside_box": 2.5037,
                "possession_lost": 11.3999,
                "duels_won": 0.9056,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 15.0755,
                "accurate_own_half_passes": 13.0246
              },
              "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.815,
                "goals_prevented": -0.0474,
                "rating": 7.0157,
                "minutes": 90.0,
                "total_pass": 25.8627,
                "accurate_pass": 15.3685,
                "total_long_balls": 14.6494,
                "accurate_long_balls": 4.1551,
                "touches": 44.6671,
                "clearances": 0.5327,
                "ball_recovery": 13.5839,
                "high_claims": 4.3948,
                "punches": 0.0,
                "aerial_won": 0.9056,
                "sweeper_actions": 1.0654,
                "sweeper_accurate": 1.0654,
                "saves_inside_box": 2.5037,
                "possession_lost": 11.3999,
                "duels_won": 0.9056,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 15.0755,
                "accurate_own_half_passes": 13.0246,
                "gk_engine_opponent_lambda": 2.1749,
                "shots_faced": 20.7,
                "expected_saves": 5.07,
                "high_pressure_saves": 1.74,
                "opponent_faced": "Jonathan David, Ademola Lookman",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Jonathan David, Ademola Lookman",
                  "matchup_zone": "Goalkeeper shot-stopping context",
                  "opponent_lambda": 2.1749
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "saves": 2.815,
                "goals_prevented": -0.0474,
                "rating": 7.0157,
                "minutes": 90.0,
                "total_pass": 25.8627,
                "accurate_pass": 15.3685,
                "total_long_balls": 14.6494,
                "accurate_long_balls": 4.1551,
                "touches": 44.6671,
                "clearances": 0.5327,
                "ball_recovery": 13.5839,
                "high_claims": 4.3948,
                "punches": 0.0,
                "aerial_won": 0.9056,
                "sweeper_actions": 1.0654,
                "sweeper_accurate": 1.0654,
                "saves_inside_box": 2.5037,
                "possession_lost": 11.3999,
                "duels_won": 0.9056,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 15.0755,
                "accurate_own_half_passes": 13.0246,
                "gk_engine_opponent_lambda": 2.1749,
                "shots_faced": 20.7,
                "expected_saves": 5.07,
                "high_pressure_saves": 1.74,
                "opponent_faced": "Jonathan David, Ademola Lookman",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.34 (squad xG sum 1.0719, xG scale 1.2473, xA scale 1.1232, team xA 1.07 = 0.80 x lambda)",
              "stats": {
                "saves": 2.815,
                "goals_prevented": -0.0474,
                "rating": 7.0157,
                "minutes": 90.0,
                "total_pass": 25.8627,
                "accurate_pass": 15.3685,
                "total_long_balls": 14.6494,
                "accurate_long_balls": 4.1551,
                "touches": 44.6671,
                "clearances": 0.5327,
                "ball_recovery": 13.5839,
                "high_claims": 4.3948,
                "punches": 0.0,
                "aerial_won": 0.9056,
                "sweeper_actions": 1.0654,
                "sweeper_accurate": 1.0654,
                "saves_inside_box": 2.5037,
                "possession_lost": 11.3999,
                "duels_won": 0.9056,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 15.0755,
                "accurate_own_half_passes": 13.0246,
                "gk_engine_opponent_lambda": 2.1749,
                "shots_faced": 22.1,
                "expected_saves": 5.41,
                "high_pressure_saves": 1.86,
                "opponent_faced": "Jonathan David, Ademola Lookman",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0
              },
              "params": {
                "team_lambda": 1.337,
                "squad_xg_sum": 1.0719,
                "squad_xa_sum": 0.9523,
                "team_expected_assists": 1.0696,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2473,
                "xa_scale": 1.1232,
                "opponent_lambda": 2.325,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "shots_faced",
                  "before": 20.7,
                  "after": 22.1
                },
                {
                  "stat": "expected_saves",
                  "before": 5.07,
                  "after": 5.41
                },
                {
                  "stat": "high_pressure_saves",
                  "before": 1.74,
                  "after": 1.86
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 3 by projected rating, fifa_overall 89.0)",
              "stats": {
                "saves": 2.815,
                "goals_prevented": -0.0474,
                "rating": 7.0157,
                "minutes": 90.0,
                "total_pass": 25.8627,
                "accurate_pass": 15.3685,
                "total_long_balls": 14.6494,
                "accurate_long_balls": 4.1551,
                "touches": 44.6671,
                "clearances": 0.5327,
                "ball_recovery": 13.5839,
                "high_claims": 4.3948,
                "punches": 0.0,
                "aerial_won": 0.9056,
                "sweeper_actions": 1.0654,
                "sweeper_accurate": 1.0654,
                "saves_inside_box": 2.5037,
                "possession_lost": 11.3999,
                "duels_won": 0.9056,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 15.0755,
                "accurate_own_half_passes": 13.0246,
                "gk_engine_opponent_lambda": 2.1749,
                "shots_faced": 22.1,
                "expected_saves": 5.41,
                "high_pressure_saves": 1.86,
                "opponent_faced": "Jonathan David, Ademola Lookman",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 89.0
              },
              "params": {
                "match_squad_rank": 3,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 24,
                "fifa_rank": 15.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 89.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "saves": 2.815,
                "goals_prevented": -0.0474,
                "rating": 7.0157,
                "minutes": 90.0,
                "total_pass": 25.8627,
                "accurate_pass": 15.3685,
                "total_long_balls": 14.6494,
                "accurate_long_balls": 4.1551,
                "touches": 44.6671,
                "clearances": 0.5327,
                "ball_recovery": 13.5839,
                "high_claims": 4.3948,
                "punches": 0.0,
                "aerial_won": 0.9056,
                "sweeper_actions": 1.0654,
                "sweeper_accurate": 1.0654,
                "saves_inside_box": 2.5037,
                "possession_lost": 11.3999,
                "duels_won": 0.9056,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 15.0755,
                "accurate_own_half_passes": 13.0246,
                "gk_engine_opponent_lambda": 2.1749,
                "shots_faced": 22.1,
                "expected_saves": 5.41,
                "high_pressure_saves": 1.86,
                "opponent_faced": "Jonathan David, Ademola Lookman",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 89.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.0,
                "squad_weight_total": 1.4295,
                "weight_share": 0.0,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.5106,
                    "already": 0,
                    "effective_weight": 0.5106,
                    "runner_up": "Javier Hernández",
                    "runner_up_effective_weight": 0.166
                  }
                ]
              }
            },
            {
              "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.815,
                "goals_prevented": -0.0474,
                "rating": 7.0157,
                "minutes": 90.0,
                "total_pass": 25.8627,
                "accurate_pass": 15.3685,
                "total_long_balls": 14.6494,
                "accurate_long_balls": 4.1551,
                "touches": 44.6671,
                "clearances": 0.5327,
                "ball_recovery": 13.5839,
                "high_claims": 4.3948,
                "punches": 0.0,
                "aerial_won": 0.9056,
                "sweeper_actions": 1.0654,
                "sweeper_accurate": 1.0654,
                "saves_inside_box": 2.5037,
                "possession_lost": 11.3999,
                "duels_won": 0.9056,
                "duels_lost": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 15.0755,
                "accurate_own_half_passes": 13.0246,
                "gk_engine_opponent_lambda": 2.1749,
                "shots_faced": 22.1,
                "expected_saves": 5.41,
                "high_pressure_saves": 1.86,
                "opponent_faced": "Jonathan David, Ademola Lookman",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0,
                "fifa_overall": 89.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0,
                "squad_weight_total": 1.0297,
                "weight_share": 0.0,
                "creation_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Javier Hernández",
                    "weight": 0.193,
                    "already": 0,
                    "effective_weight": 0.193,
                    "runner_up": "Bryan Zaragoza",
                    "runner_up_effective_weight": 0.1355,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "bench_players": {
        "Marko Dmitrović": {
          "player_id": 94527,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 13,
          "height": 194,
          "market_value": 650000,
          "stats": {
            "saves": 0,
            "goals_prevented": 0.0027,
            "rating": 6.9299,
            "minutes": 4,
            "total_pass": 4,
            "accurate_pass": 3,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "touches": 6,
            "clearances": 0,
            "ball_recovery": 2,
            "high_claims": 0,
            "punches": 0.095,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 1.4224,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 2,
            "accurate_own_half_passes": 2,
            "bench_appearance_probability": 0.131,
            "bench_expected_minutes": 4.39,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.55,
            "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": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16416299,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 5.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 22,
                "clearances": 1,
                "ball_recovery": 10,
                "saves": 3,
                "goals_prevented": -0.9473
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416345,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0025,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 19,
                "clearances": 3,
                "ball_recovery": 8,
                "goals_prevented": -1.0696
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 8.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0007,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 16,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 15,
                "saves": 4,
                "goals_prevented": 0.5262
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416323,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0007,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 22,
                "duels_won": 1,
                "ball_recovery": 18,
                "saves": 2,
                "goals_prevented": -0.0954
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0003,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 16,
                "interceptions": 1,
                "ball_recovery": 9,
                "saves": 7,
                "goals_prevented": 1.0653
              },
              "has_player_stats": true,
              "league_name": "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": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0012,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 9,
                "clearances": 1,
                "ball_recovery": 8,
                "saves": 6,
                "goals_prevented": -0.0185
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421053,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0013,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 14,
                "ball_recovery": 10
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "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": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0043,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 8,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 13,
                "saves": 6,
                "goals_prevented": -0.3181
              },
              "has_player_stats": true,
              "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": 8.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0031,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 21,
                "ball_recovery": 11,
                "saves": 4,
                "goals_prevented": 1.7533
              },
              "has_player_stats": true,
              "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": 90,
                "rating": 5.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0029,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 9,
                "clearances": 1,
                "ball_recovery": 14,
                "saves": 4,
                "goals_prevented": -0.7879
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 1310,
            "combined_rank_score": 568.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 180.0,
            "sofascore_rating": 7.2333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 957.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 4,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9299,
            "source_file": "data/player_rankings.csv",
            "player_name": "Marko Dmitrović",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Mario Gila",
                  "ranking": 1305
                },
                {
                  "player_name": "Son Heung Min",
                  "ranking": 1306
                },
                {
                  "player_name": "Bazoumana Touré",
                  "ranking": 1307
                },
                {
                  "player_name": "Emil Audero",
                  "ranking": 1308
                },
                {
                  "player_name": "Lukáš Haraslín",
                  "ranking": 1309
                }
              ],
              "lower": [
                {
                  "player_name": "Tino Livramento",
                  "ranking": 1311
                },
                {
                  "player_name": "Yéremy Pino",
                  "ranking": 1312
                },
                {
                  "player_name": "Cecilio Waterman",
                  "ranking": 1313
                },
                {
                  "player_name": "Javier Guerra",
                  "ranking": 1314
                },
                {
                  "player_name": "Pedro Gonçalves",
                  "ranking": 1315
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 44,
          "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": 44,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 4.392222187561249,
            "bench_appearance_prob": 0.131,
            "market_value_adjustment": 0.9979,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "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 G_service (44 historical appearances) to 4.4 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.8111,
                "goals_prevented": 0.0177,
                "rating": 6.9299,
                "minutes": 28.5,
                "total_pass": 25.5859,
                "accurate_pass": 16.4781,
                "total_long_balls": 14.4926,
                "accurate_long_balls": 5.4232,
                "touches": 38.9317,
                "clearances": 1.0705,
                "ball_recovery": 10.9523,
                "high_claims": 1.8074,
                "punches": 0.6176,
                "aerial_won": 0.2246,
                "sweeper_actions": 1.6054,
                "sweeper_accurate": 1.4353,
                "saves_inside_box": 2.0161,
                "possession_lost": 9.2489,
                "duels_won": 0.3388,
                "duels_lost": 0.2334,
                "total_contest": 0.0922,
                "won_contest": 0.0922,
                "fouls": 0.0,
                "fouls_drawn": 0.1592,
                "total_own_half_passes": 14.6673,
                "accurate_own_half_passes": 13.3167
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 5,
                  "trained_at": "2026-10-16T10:30:08.177787+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 200,
                    "rows": 7041
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1501,
                    "rating": 5.5
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 8.9
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 5.9
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "accurateLongBalls": 5.4232,
                  "save_contribution": 3.3589,
                  "distribution_accuracy": 0.8664,
                  "accurateOwnHalfPasses": 13.3167,
                  "passValueNormalized": 0.0831,
                  "totalOwnHalfPasses": 14.6673
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.811122179031372,
                    "model_output": 2.8111,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "save_contribution",
                        "importance": 0.0393
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.039
                      },
                      {
                        "name": "saves",
                        "importance": 0.0355
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0354
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 2.941,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.212
                        },
                        {
                          "name": "goodHighClaim",
                          "contribution": 0.0485
                        },
                        {
                          "name": "saves",
                          "contribution": 0.022
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": 0.0217
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": 0.018
                        }
                      ],
                      "others": -0.0281,
                      "total": 2.8111,
                      "log_link": true,
                      "margin_base": 1.078763,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.074797
                        },
                        {
                          "name": "goodHighClaim",
                          "margin": 0.017608
                        },
                        {
                          "name": "saves",
                          "margin": 0.007885
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": 0.007728
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "margin": 0.006363
                        }
                      ],
                      "others_margin": -0.009965
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": 0.017661388963460922,
                    "model_output": 0.0177,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.0405
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.0401
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0394
                      },
                      {
                        "name": "totalOwnHalfPasses",
                        "importance": 0.0381
                      },
                      {
                        "name": "punches",
                        "importance": 0.0363
                      }
                    ],
                    "decomposition": {
                      "base": -0.0281,
                      "items": [
                        {
                          "name": "sweeper_accuracy",
                          "contribution": 0.0197
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0181
                        },
                        {
                          "name": "punches",
                          "contribution": 0.0158
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.013
                        },
                        {
                          "name": "inside_box_save_rate",
                          "contribution": -0.012
                        }
                      ],
                      "others": 0.0274,
                      "total": 0.0177,
                      "log_link": false,
                      "margin_base": -0.028113,
                      "item_margins": [
                        {
                          "name": "sweeper_accuracy",
                          "margin": 0.01973
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.018053
                        },
                        {
                          "name": "punches",
                          "margin": 0.015814
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.013022
                        },
                        {
                          "name": "inside_box_save_rate",
                          "margin": -0.012026
                        }
                      ],
                      "others_margin": 0.027287
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.929892539978027,
                    "model_output": 6.9299,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0379
                      },
                      {
                        "name": "commanding_index",
                        "importance": 0.0375
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.037
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0354
                      },
                      {
                        "name": "sweeper_accuracy",
                        "importance": 0.0347
                      }
                    ],
                    "decomposition": {
                      "base": 6.9974,
                      "items": [
                        {
                          "name": "accuratePass",
                          "contribution": -0.0258
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "contribution": -0.0188
                        },
                        {
                          "name": "totalOwnHalfPasses",
                          "contribution": -0.0158
                        },
                        {
                          "name": "goodHighClaim",
                          "contribution": -0.0108
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0108
                        }
                      ],
                      "others": -0.0071,
                      "total": 6.9299,
                      "log_link": false,
                      "margin_base": 6.997403,
                      "item_margins": [
                        {
                          "name": "accuratePass",
                          "margin": -0.025755
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "margin": -0.018803
                        },
                        {
                          "name": "totalOwnHalfPasses",
                          "margin": -0.01584
                        },
                        {
                          "name": "goodHighClaim",
                          "margin": -0.01082
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.010772
                        }
                      ],
                      "others_margin": -0.007065
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 44,
                  "role_matches": 0,
                  "minutes_source": "position_median",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9979, quality 0.437)",
              "stats": {
                "saves": 2.8052,
                "goals_prevented": 0.0176,
                "rating": 6.9299,
                "minutes": 28.5,
                "total_pass": 25.5322,
                "accurate_pass": 16.4435,
                "total_long_balls": 14.4622,
                "accurate_long_balls": 5.4118,
                "touches": 38.8499,
                "clearances": 1.0683,
                "ball_recovery": 10.9293,
                "high_claims": 1.8036,
                "punches": 0.6163,
                "aerial_won": 0.2241,
                "sweeper_actions": 1.602,
                "sweeper_accurate": 1.4323,
                "saves_inside_box": 2.0119,
                "possession_lost": 9.2295,
                "duels_won": 0.3381,
                "duels_lost": 0.2329,
                "total_contest": 0.092,
                "won_contest": 0.092,
                "fouls": 0.0,
                "fouls_drawn": 0.1589,
                "total_own_half_passes": 14.6365,
                "accurate_own_half_passes": 13.2887
              },
              "params": {
                "market_value_eur": 650000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9979,
                "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.0133)",
              "stats": {
                "saves": 2.7862,
                "goals_prevented": 0.0176,
                "rating": 6.9299,
                "minutes": 28.5,
                "total_pass": 25.5322,
                "accurate_pass": 16.4435,
                "total_long_balls": 14.4622,
                "accurate_long_balls": 5.4118,
                "touches": 38.8499,
                "clearances": 1.0683,
                "ball_recovery": 10.9293,
                "high_claims": 1.8036,
                "punches": 0.6163,
                "aerial_won": 0.2241,
                "sweeper_actions": 1.602,
                "sweeper_accurate": 1.4323,
                "saves_inside_box": 2.0119,
                "possession_lost": 9.2295,
                "duels_won": 0.3381,
                "duels_lost": 0.2329,
                "total_contest": 0.092,
                "won_contest": 0.092,
                "fouls": 0.0,
                "fouls_drawn": 0.1568,
                "total_own_half_passes": 14.6365,
                "accurate_own_half_passes": 13.2887
              },
              "params": {
                "blend_weight": 0.0133,
                "history_matches": 44,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.3167,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "saves",
                  "before": 2.8052,
                  "after": 2.7862
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 28.5 to 4.4 expected minutes (appearance prob 0.13)",
              "stats": {
                "saves": 0.4294,
                "goals_prevented": 0.0027,
                "rating": 6.9299,
                "minutes": 4.39,
                "total_pass": 3.9348,
                "accurate_pass": 2.5342,
                "total_long_balls": 2.2288,
                "accurate_long_balls": 0.834,
                "touches": 5.9873,
                "clearances": 0.1646,
                "ball_recovery": 1.6843,
                "high_claims": 0.278,
                "punches": 0.095,
                "aerial_won": 0.0345,
                "sweeper_actions": 0.2469,
                "sweeper_accurate": 0.2207,
                "saves_inside_box": 0.3101,
                "possession_lost": 1.4224,
                "duels_won": 0.0521,
                "duels_lost": 0.0359,
                "total_contest": 0.0142,
                "won_contest": 0.0142,
                "fouls": 0.0,
                "fouls_drawn": 0.0242,
                "total_own_half_passes": 2.2557,
                "accurate_own_half_passes": 2.048,
                "bench_appearance_probability": 0.131,
                "bench_expected_minutes": 4.39
              },
              "params": {
                "expected_minutes": 4.39,
                "projection_minutes": 28.5,
                "minutes_scale": 0.1541,
                "appearance_probability": 0.131
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 0.4294,
                "goals_prevented": 0.0027,
                "rating": 6.9299,
                "minutes": 4.39,
                "total_pass": 3.9348,
                "accurate_pass": 2.5342,
                "total_long_balls": 2.2288,
                "accurate_long_balls": 0.834,
                "touches": 5.9873,
                "clearances": 0.1646,
                "ball_recovery": 1.6843,
                "high_claims": 0.278,
                "punches": 0.095,
                "aerial_won": 0.0345,
                "sweeper_actions": 0.2469,
                "sweeper_accurate": 0.2207,
                "saves_inside_box": 0.3101,
                "possession_lost": 1.4224,
                "duels_won": 0.0521,
                "duels_lost": 0.0359,
                "total_contest": 0.0142,
                "won_contest": 0.0142,
                "fouls": 0.0,
                "fouls_drawn": 0.0242,
                "total_own_half_passes": 2.2557,
                "accurate_own_half_passes": 2.048,
                "bench_appearance_probability": 0.131,
                "bench_expected_minutes": 4.39
              },
              "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.4294,
                "goals_prevented": 0.0027,
                "rating": 6.9299,
                "minutes": 4.39,
                "total_pass": 3.9348,
                "accurate_pass": 2.5342,
                "total_long_balls": 2.2288,
                "accurate_long_balls": 0.834,
                "touches": 5.9873,
                "clearances": 0.1646,
                "ball_recovery": 1.6843,
                "high_claims": 0.278,
                "punches": 0.095,
                "aerial_won": 0.0345,
                "sweeper_actions": 0.2469,
                "sweeper_accurate": 0.2207,
                "saves_inside_box": 0.3101,
                "possession_lost": 1.4224,
                "duels_won": 0.0521,
                "duels_lost": 0.0359,
                "total_contest": 0.0142,
                "won_contest": 0.0142,
                "fouls": 0.0,
                "fouls_drawn": 0.0242,
                "total_own_half_passes": 2.2557,
                "accurate_own_half_passes": 2.048,
                "bench_appearance_probability": 0.131,
                "bench_expected_minutes": 4.39,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "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.131,
                "projected_substitutes": 4,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 4 by projected rating, fifa_overall 79.0)",
              "stats": {
                "saves": 0.4294,
                "goals_prevented": 0.0027,
                "rating": 6.9299,
                "minutes": 4.39,
                "total_pass": 3.9348,
                "accurate_pass": 2.5342,
                "total_long_balls": 2.2288,
                "accurate_long_balls": 0.834,
                "touches": 5.9873,
                "clearances": 0.1646,
                "ball_recovery": 1.6843,
                "high_claims": 0.278,
                "punches": 0.095,
                "aerial_won": 0.0345,
                "sweeper_actions": 0.2469,
                "sweeper_accurate": 0.2207,
                "saves_inside_box": 0.3101,
                "possession_lost": 1.4224,
                "duels_won": 0.0521,
                "duels_lost": 0.0359,
                "total_contest": 0.0142,
                "won_contest": 0.0142,
                "fouls": 0.0,
                "fouls_drawn": 0.0242,
                "total_own_half_passes": 2.2557,
                "accurate_own_half_passes": 2.048,
                "bench_appearance_probability": 0.131,
                "bench_expected_minutes": 4.39,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "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": 79.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": 1310,
                "fifa_rank": 957.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            }
          ]
        },
        "Vanja Drkušić": {
          "player_id": 908617,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 16,
          "height": 186,
          "market_value": 5500000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 0,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.617,
            "minutes": 20,
            "total_pass": 28,
            "accurate_pass": 23,
            "duels_won": 3,
            "total_long_balls": 6,
            "accurate_long_balls": 1,
            "total_own_half_passes": 19,
            "accurate_own_half_passes": 17,
            "total_opp_half_passes": 9,
            "accurate_opp_half_passes": 6,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 36,
            "possession_lost": 5.6137,
            "dispossessed": 0.0,
            "duels_lost": 2,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0013,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 9,
            "total_progression": 10,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.412,
            "bench_expected_minutes": 19.91,
            "projected_substitution_order": 4,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.55,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0013,
            "finishing_factor": 1.0,
            "creation_factor": 0.947,
            "fifa_overall": 80.0
          },
          "latest_10_games": [
            {
              "match_id": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "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": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0026,
                "total_shots": 0,
                "total_pass": 56,
                "accurate_pass": 45,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "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": 16416306,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 24,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0046,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 7,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 4,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 811,
            "combined_rank_score": 532.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 391.0,
            "sofascore_rating": 6.95,
            "sofascore_appearances": 6.0,
            "fifa_rank": 673.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.617,
            "source_file": "data/player_rankings.csv",
            "player_name": "Vanja Drkušić",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Chang-woo Park",
                  "ranking": 806
                },
                {
                  "player_name": "Ronan",
                  "ranking": 807
                },
                {
                  "player_name": "Roy Revivo",
                  "ranking": 808
                },
                {
                  "player_name": "Hugo Magallanes",
                  "ranking": 809
                },
                {
                  "player_name": "Dženis Burnić",
                  "ranking": 810
                }
              ],
              "lower": [
                {
                  "player_name": "Hugo Souza",
                  "ranking": 812
                },
                {
                  "player_name": "Teddy Teuma",
                  "ranking": 813
                },
                {
                  "player_name": "Yoel Bárcenas",
                  "ranking": 814
                },
                {
                  "player_name": "Piero Quispe",
                  "ranking": 815
                },
                {
                  "player_name": "Seung-wan Ryu",
                  "ranking": 816
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.451,
          "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.451,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 19.91,
            "bench_appearance_prob": 0.412,
            "market_value_adjustment": 0.9931,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 1.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 25.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0867
            },
            "rationale": "Bench projection scaled from XGBoost D_service (3 historical appearances) to 19.9 expected mins (appearance prob 0.41); FBref playing time empirical prior: 1.0 sub appearances, 25.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.3945,
                "tackles": 0.4804,
                "tackles_won": 0.2642,
                "clearances": 1.3414,
                "aerial_won": 0.3799,
                "total_shots": 0.1434,
                "rating": 6.617,
                "minutes": 14.78,
                "total_pass": 21.0311,
                "accurate_pass": 16.8348,
                "duels_won": 2.2138,
                "total_long_balls": 4.1963,
                "accurate_long_balls": 0.9417,
                "total_own_half_passes": 14.0097,
                "accurate_own_half_passes": 12.3576,
                "total_opp_half_passes": 7.0214,
                "accurate_opp_half_passes": 4.4772,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 26.9621,
                "possession_lost": 4.1963,
                "dispossessed": 0.0,
                "duels_lost": 1.6025,
                "aerial_lost": 0.6608,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.9913,
                "challenges_lost": 0.0,
                "fouls": 0.9417,
                "fouls_drawn": 0.9913,
                "blocks": 0.6608,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0021,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 6.8892,
                "total_progression": 7.7852,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1434
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-16T10:30:59.837052+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 625,
                    "rows": 21030
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 1.0,
                    "is_starting": false,
                    "weight": 0.3887,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Real Madrid",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.2809,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 2.4451,
                  "aerialWon": 0.6608,
                  "totalClearance_p90": 5.5345,
                  "totalTackle": 0.8921,
                  "defensive_actions": 0.8921
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.394546240568161,
                    "model_output": 0.3945,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2924
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0396
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0252
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0247
                      },
                      {
                        "name": "touches",
                        "importance": 0.0228
                      }
                    ],
                    "decomposition": {
                      "base": 0.8609,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4365
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0441
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0441
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0182
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0129
                        }
                      ],
                      "others": 0.0012,
                      "total": 0.3945,
                      "log_link": true,
                      "margin_base": -0.149807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.707261
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.109837
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.109709
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.043882
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.032372
                        }
                      ],
                      "others_margin": 0.003431
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.4804310202598572,
                    "model_output": 0.4804,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2589
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0677
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.049
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.044
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 1.3915,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7772
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.033
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0228
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.021
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0187
                        }
                      ],
                      "others": -0.0384,
                      "total": 0.4804,
                      "log_link": true,
                      "margin_base": 0.330386,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.817727
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.055236
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.040101
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.03838
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.035488
                        }
                      ],
                      "others_margin": -0.076527
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.2641858160495758,
                    "model_output": 0.2642,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2078
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0673
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0422
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0415
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.8542,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4829
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0251
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0154
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0145
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0134
                        }
                      ],
                      "others": -0.0387,
                      "total": 0.2642,
                      "log_link": true,
                      "margin_base": -0.157629,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.833202
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.069944
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.045389
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.044874
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.043352
                        }
                      ],
                      "others_margin": -0.136712
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.3414077758789062,
                    "model_output": 1.3414,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2949
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0875
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0204
                      }
                    ],
                    "decomposition": {
                      "base": 3.4327,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.1852
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.2048
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.1363
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0864
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0748
                        }
                      ],
                      "others": 0.0012,
                      "total": 1.3414,
                      "log_link": true,
                      "margin_base": 1.233356,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -1.01218
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.179345
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.122837
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.070684
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.057466
                        }
                      ],
                      "others_margin": 0.0009
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.3799079954624176,
                    "model_output": 0.3799,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1614
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1583
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0863
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 1.3773,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.8672
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1297
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0347
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0317
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0233
                        }
                      ],
                      "others": -0.0268,
                      "total": 0.3799,
                      "log_link": true,
                      "margin_base": 0.320134,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.993295
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.293341
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.087374
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.079393
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.058999
                        }
                      ],
                      "others_margin": -0.068304
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.14338922500610352,
                    "model_output": 0.1434,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.105
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.033
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0307
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 0.4745,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1683
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0771
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0108
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0108
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0107
                        }
                      ],
                      "others": -0.0534,
                      "total": 0.1434,
                      "log_link": false,
                      "margin_base": 0.474501,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.168324
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.077068
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.010842
                        },
                        {
                          "name": "rating",
                          "margin": -0.010799
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.010745
                        }
                      ],
                      "others_margin": -0.053334
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.616983413696289,
                    "model_output": 6.617,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0634
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0627
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0603
                      },
                      {
                        "name": "touches",
                        "importance": 0.0395
                      },
                      {
                        "name": "rating",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 6.7847,
                      "items": [
                        {
                          "name": "totalPass",
                          "contribution": -0.0358
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0272
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0204
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0113
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0113
                        }
                      ],
                      "others": -0.0617,
                      "total": 6.617,
                      "log_link": false,
                      "margin_base": 6.784704,
                      "item_margins": [
                        {
                          "name": "totalPass",
                          "margin": -0.035848
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.027217
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.020418
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.01131
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.011258
                        }
                      ],
                      "others_margin": -0.061669
                    }
                  }
                ],
                "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 0.9931, quality 0.468)",
              "stats": {
                "interceptions": 0.3918,
                "tackles": 0.4771,
                "tackles_won": 0.2624,
                "clearances": 1.3322,
                "aerial_won": 0.3773,
                "total_shots": 0.1424,
                "rating": 6.617,
                "minutes": 14.78,
                "total_pass": 20.886,
                "accurate_pass": 16.7186,
                "duels_won": 2.1985,
                "total_long_balls": 4.1673,
                "accurate_long_balls": 0.9352,
                "total_own_half_passes": 13.913,
                "accurate_own_half_passes": 12.2723,
                "total_opp_half_passes": 6.973,
                "accurate_opp_half_passes": 4.4463,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 26.7761,
                "possession_lost": 4.1673,
                "dispossessed": 0.0,
                "duels_lost": 1.5914,
                "aerial_lost": 0.6562,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.9845,
                "challenges_lost": 0.0,
                "fouls": 0.9352,
                "fouls_drawn": 0.9845,
                "blocks": 0.6562,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0021,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 6.8417,
                "total_progression": 7.7315,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1424
              },
              "params": {
                "market_value_eur": 5500000,
                "quality_factor": 0.4683,
                "boost_factor": 0.9931,
                "reference_quality": 0.505,
                "history_matches": 3,
                "history_shrink": 0.625,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0352)",
              "stats": {
                "interceptions": 0.378,
                "tackles": 0.4771,
                "tackles_won": 0.2621,
                "clearances": 1.3322,
                "aerial_won": 0.3773,
                "total_shots": 0.1374,
                "rating": 6.617,
                "minutes": 14.78,
                "total_pass": 20.886,
                "accurate_pass": 16.7186,
                "duels_won": 2.1985,
                "total_long_balls": 4.1673,
                "accurate_long_balls": 0.9352,
                "total_own_half_passes": 13.913,
                "accurate_own_half_passes": 12.2723,
                "total_opp_half_passes": 6.973,
                "accurate_opp_half_passes": 4.4463,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 26.7761,
                "possession_lost": 4.1673,
                "dispossessed": 0.0,
                "duels_lost": 1.5914,
                "aerial_lost": 0.6562,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.9845,
                "challenges_lost": 0.0,
                "fouls": 0.9156,
                "fouls_drawn": 0.9632,
                "blocks": 0.6562,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0021,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 6.8417,
                "total_progression": 7.7315,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1424
              },
              "params": {
                "blend_weight": 0.0352,
                "history_matches": 3,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.1642,
                "prior_reliability": 0.0867,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 0.9845,
                  "after": 0.9632
                },
                {
                  "stat": "fouls",
                  "before": 0.9352,
                  "after": 0.9156
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.3918,
                  "after": 0.378
                },
                {
                  "stat": "totalShots",
                  "before": 0.1424,
                  "after": 0.1374
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 14.8 to 19.9 expected minutes (appearance prob 0.41)",
              "stats": {
                "interceptions": 0.5092,
                "tackles": 0.6427,
                "tackles_won": 0.3531,
                "clearances": 1.7946,
                "aerial_won": 0.5083,
                "total_shots": 0.1918,
                "rating": 6.617,
                "minutes": 19.91,
                "total_pass": 28.1353,
                "accurate_pass": 22.5215,
                "duels_won": 2.9616,
                "total_long_balls": 5.6137,
                "accurate_long_balls": 1.2598,
                "total_own_half_passes": 18.7421,
                "accurate_own_half_passes": 16.5319,
                "total_opp_half_passes": 9.3933,
                "accurate_opp_half_passes": 5.9896,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 36.0698,
                "possession_lost": 5.6137,
                "dispossessed": 0.0,
                "duels_lost": 2.1438,
                "aerial_lost": 0.6562,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.3262,
                "challenges_lost": 0.0,
                "fouls": 1.2334,
                "fouls_drawn": 1.2975,
                "blocks": 0.884,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0028,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 9.2164,
                "total_progression": 10.415,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1918,
                "bench_appearance_probability": 0.412,
                "bench_expected_minutes": 19.91
              },
              "params": {
                "expected_minutes": 19.91,
                "projection_minutes": 14.78,
                "minutes_scale": 1.3471,
                "appearance_probability": 0.412
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.5092,
                "tackles": 0.6427,
                "tackles_won": 0.3531,
                "clearances": 1.7946,
                "aerial_won": 0.5083,
                "total_shots": 0.1918,
                "rating": 6.617,
                "minutes": 19.91,
                "total_pass": 28.1353,
                "accurate_pass": 22.5215,
                "duels_won": 2.9616,
                "total_long_balls": 5.6137,
                "accurate_long_balls": 1.2598,
                "total_own_half_passes": 18.7421,
                "accurate_own_half_passes": 16.5319,
                "total_opp_half_passes": 9.3933,
                "accurate_opp_half_passes": 5.9896,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 36.0698,
                "possession_lost": 5.6137,
                "dispossessed": 0.0,
                "duels_lost": 2.1438,
                "aerial_lost": 0.6562,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.3262,
                "challenges_lost": 0.0,
                "fouls": 1.2334,
                "fouls_drawn": 1.2975,
                "blocks": 0.884,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0028,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 9.2164,
                "total_progression": 10.415,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1918,
                "bench_appearance_probability": 0.412,
                "bench_expected_minutes": 19.91
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 0.5092,
                "tackles": 0.6427,
                "tackles_won": 0.3531,
                "clearances": 1.7946,
                "aerial_won": 0.5083,
                "total_shots": 0.1918,
                "rating": 6.617,
                "minutes": 19.91,
                "total_pass": 28.1353,
                "accurate_pass": 22.5215,
                "duels_won": 2.9616,
                "total_long_balls": 5.6137,
                "accurate_long_balls": 1.2598,
                "total_own_half_passes": 18.7421,
                "accurate_own_half_passes": 16.5319,
                "total_opp_half_passes": 9.3933,
                "accurate_opp_half_passes": 5.9896,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 36.0698,
                "possession_lost": 5.6137,
                "dispossessed": 0.0,
                "duels_lost": 2.1438,
                "aerial_lost": 0.6562,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.3262,
                "challenges_lost": 0.0,
                "fouls": 1.2334,
                "fouls_drawn": 1.2975,
                "blocks": 0.884,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0028,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 9.2164,
                "total_progression": 10.415,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1918,
                "bench_appearance_probability": 0.412,
                "bench_expected_minutes": 19.91,
                "projected_substitution_order": 4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.34 (squad xG sum 1.0719, xG scale 1.2473, xA scale 1.1232, team xA 1.07 = 0.80 x lambda)",
              "stats": {
                "interceptions": 0.5092,
                "tackles": 0.6427,
                "tackles_won": 0.3531,
                "clearances": 1.7946,
                "aerial_won": 0.5083,
                "total_shots": 0.1918,
                "rating": 6.617,
                "minutes": 19.91,
                "total_pass": 28.1353,
                "accurate_pass": 22.5215,
                "duels_won": 2.9616,
                "total_long_balls": 5.6137,
                "accurate_long_balls": 1.2598,
                "total_own_half_passes": 18.7421,
                "accurate_own_half_passes": 16.5319,
                "total_opp_half_passes": 9.3933,
                "accurate_opp_half_passes": 5.9896,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 36.0698,
                "possession_lost": 5.6137,
                "dispossessed": 0.0,
                "duels_lost": 2.1438,
                "aerial_lost": 0.6562,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.3262,
                "challenges_lost": 0.0,
                "fouls": 1.2334,
                "fouls_drawn": 1.2975,
                "blocks": 0.884,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0013,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 9.2164,
                "total_progression": 10.415,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1918,
                "bench_appearance_probability": 0.412,
                "bench_expected_minutes": 19.91,
                "projected_substitution_order": 4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "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.0,
                "creation_factor": 0.947
              },
              "params": {
                "team_lambda": 1.337,
                "squad_xg_sum": 1.0719,
                "squad_xa_sum": 0.9523,
                "team_expected_assists": 1.0696,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2473,
                "xa_scale": 1.1232,
                "opponent_lambda": 2.325,
                "scoreline_reset": true,
                "appearance_weight": 0.412
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 17 by projected rating, fifa_overall 80.0)",
              "stats": {
                "interceptions": 0.5092,
                "tackles": 0.6427,
                "tackles_won": 0.3531,
                "clearances": 1.7946,
                "aerial_won": 0.5083,
                "total_shots": 0.1918,
                "rating": 6.617,
                "minutes": 19.91,
                "total_pass": 28.1353,
                "accurate_pass": 22.5215,
                "duels_won": 2.9616,
                "total_long_balls": 5.6137,
                "accurate_long_balls": 1.2598,
                "total_own_half_passes": 18.7421,
                "accurate_own_half_passes": 16.5319,
                "total_opp_half_passes": 9.3933,
                "accurate_opp_half_passes": 5.9896,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 36.0698,
                "possession_lost": 5.6137,
                "dispossessed": 0.0,
                "duels_lost": 2.1438,
                "aerial_lost": 0.6562,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.3262,
                "challenges_lost": 0.0,
                "fouls": 1.2334,
                "fouls_drawn": 1.2975,
                "blocks": 0.884,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0013,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 9.2164,
                "total_progression": 10.415,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1918,
                "bench_appearance_probability": 0.412,
                "bench_expected_minutes": 19.91,
                "projected_substitution_order": 4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "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.0,
                "creation_factor": 0.947,
                "fifa_overall": 80.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": 811,
                "fifa_rank": 673.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": {
                "interceptions": 0.5092,
                "tackles": 0.6427,
                "tackles_won": 0.3531,
                "clearances": 1.7946,
                "aerial_won": 0.5083,
                "total_shots": 0.1918,
                "rating": 6.617,
                "minutes": 19.91,
                "total_pass": 28.1353,
                "accurate_pass": 22.5215,
                "duels_won": 2.9616,
                "total_long_balls": 5.6137,
                "accurate_long_balls": 1.2598,
                "total_own_half_passes": 18.7421,
                "accurate_own_half_passes": 16.5319,
                "total_opp_half_passes": 9.3933,
                "accurate_opp_half_passes": 5.9896,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 36.0698,
                "possession_lost": 5.6137,
                "dispossessed": 0.0,
                "duels_lost": 2.1438,
                "aerial_lost": 0.6562,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.3262,
                "challenges_lost": 0.0,
                "fouls": 1.2334,
                "fouls_drawn": 1.2975,
                "blocks": 0.884,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0013,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 9.2164,
                "total_progression": 10.415,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1918,
                "bench_appearance_probability": 0.412,
                "bench_expected_minutes": 19.91,
                "projected_substitution_order": 4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "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.0,
                "creation_factor": 0.947,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "goal_rate": 0.0,
                "scorer_weight": 0.001,
                "squad_weight_total": 1.4295,
                "weight_share": 0.0007,
                "finishing_factor": 1.0,
                "appearance_weight": 0.412,
                "weight_rank": 14,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.5106,
                    "already": 0,
                    "effective_weight": 0.5106,
                    "runner_up": "Javier Hernández",
                    "runner_up_effective_weight": 0.166
                  }
                ]
              }
            },
            {
              "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.5092,
                "tackles": 0.6427,
                "tackles_won": 0.3531,
                "clearances": 1.7946,
                "aerial_won": 0.5083,
                "total_shots": 0.1918,
                "rating": 6.617,
                "minutes": 19.91,
                "total_pass": 28.1353,
                "accurate_pass": 22.5215,
                "duels_won": 2.9616,
                "total_long_balls": 5.6137,
                "accurate_long_balls": 1.2598,
                "total_own_half_passes": 18.7421,
                "accurate_own_half_passes": 16.5319,
                "total_opp_half_passes": 9.3933,
                "accurate_opp_half_passes": 5.9896,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 36.0698,
                "possession_lost": 5.6137,
                "dispossessed": 0.0,
                "duels_lost": 2.1438,
                "aerial_lost": 0.6562,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.3262,
                "challenges_lost": 0.0,
                "fouls": 1.2334,
                "fouls_drawn": 1.2975,
                "blocks": 0.884,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0013,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 9.2164,
                "total_progression": 10.415,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1918,
                "bench_appearance_probability": 0.412,
                "bench_expected_minutes": 19.91,
                "projected_substitution_order": 4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0013,
                "finishing_factor": 1.0,
                "creation_factor": 0.947,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0013,
                "assist_rate": 0.0,
                "provider_weight": 0.0012,
                "squad_weight_total": 1.0297,
                "weight_share": 0.0012,
                "creation_factor": 0.947,
                "appearance_weight": 0.412,
                "weight_rank": 14,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Javier Hernández",
                    "weight": 0.193,
                    "already": 0,
                    "effective_weight": 0.193,
                    "runner_up": "Bryan Zaragoza",
                    "runner_up_effective_weight": 0.1355,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Unai Núñez": {
          "player_id": 892521,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 14,
          "height": 186,
          "market_value": 3300000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 1,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.8089,
            "minutes": 14,
            "total_pass": 10,
            "accurate_pass": 8,
            "duels_won": 1,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 5,
            "accurate_own_half_passes": 5,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 3,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 15,
            "possession_lost": 1.9408,
            "dispossessed": 0.3871,
            "duels_lost": 1,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0021,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 3,
            "total_progression": 8,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.217,
            "bench_expected_minutes": 13.59,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.55,
            "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": 75.0
          },
          "latest_10_games": [
            {
              "match_id": 16416299,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Elche",
              "stats": {
                "minutes": 67,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0537,
                "expected_assists": 0.0331,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 65,
                "accurate_pass": 61,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 5,
                "clearances": 3,
                "aerial_won": 5,
                "duels_won": 9,
                "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": 16416323,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 86,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0238,
                "expected_assists": 0.0192,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 62,
                "accurate_pass": 45,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.3866,
                "total_shots": 0,
                "total_pass": 54,
                "accurate_pass": 42,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 7,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "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": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0027,
                "total_shots": 0,
                "total_pass": 39,
                "accurate_pass": 37,
                "clearances": 5,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421053,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0042,
                "total_shots": 0,
                "total_pass": 70,
                "accurate_pass": 65,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 6,
                "aerial_won": 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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083739,
              "match_date": "2026-05-23",
              "home_team": "Valencia",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2023,
                "expected_assists": 0.1132,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 3,
                "total_pass": 20,
                "accurate_pass": 16,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 1,
                "clearances": 4,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083687,
              "match_date": "2026-05-17",
              "home_team": "Real Sociedad",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Valencia",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 83,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0073,
                "total_shots": 0,
                "total_pass": 40,
                "accurate_pass": 32,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 4,
                "aerial_won": 2,
                "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": 14083639,
              "match_date": "2026-05-14",
              "home_team": "Valencia",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 58,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0107,
                "total_shots": 0,
                "total_pass": 47,
                "accurate_pass": 39,
                "tackles": 3,
                "interceptions": 3,
                "clearances": 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": 14083539,
              "match_date": "2026-05-10",
              "home_team": "Athletic Club",
              "away_team": "Valencia",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 16,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "clearances": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083255,
              "match_date": "2026-04-25",
              "home_team": "Valencia",
              "away_team": "Girona FC",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Valencia",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 19,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 6,
                "clearances": 2,
                "duels_won": 2
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 3298,
            "combined_rank_score": 1247.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 91.0,
            "sofascore_rating": 7.5,
            "sofascore_appearances": 1.0,
            "fifa_rank": 2403.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8089,
            "source_file": "data/player_rankings.csv",
            "player_name": "Unai Núñez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Nobel Mendy",
                  "ranking": 3293
                },
                {
                  "player_name": "Michael Zetterer",
                  "ranking": 3294
                },
                {
                  "player_name": "Lukas Nmecha",
                  "ranking": 3295
                },
                {
                  "player_name": "Ruslan Malinovskyi",
                  "ranking": 3296
                },
                {
                  "player_name": "Ibrahim Mbaye",
                  "ranking": 3297
                }
              ],
              "lower": [
                {
                  "player_name": "Rodrigo Muniz",
                  "ranking": 3299
                },
                {
                  "player_name": "Raíllo",
                  "ranking": 3300
                },
                {
                  "player_name": "Gelson Martins",
                  "ranking": 3301
                },
                {
                  "player_name": "Abel Bretones",
                  "ranking": 3302
                },
                {
                  "player_name": "Chiquinho",
                  "ranking": 3303
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 18,
          "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": 18,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 13.586980405874904,
            "bench_appearance_prob": 0.217,
            "market_value_adjustment": 0.9958,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "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 (18 historical appearances) to 13.6 expected mins (appearance prob 0.22); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.4346,
                "tackles": 0.6923,
                "tackles_won": 0.3755,
                "clearances": 1.5762,
                "aerial_won": 0.6344,
                "total_shots": 0.2236,
                "rating": 6.8089,
                "minutes": 27.1,
                "total_pass": 19.9553,
                "accurate_pass": 16.8455,
                "duels_won": 1.7279,
                "total_long_balls": 4.1681,
                "accurate_long_balls": 2.6132,
                "total_own_half_passes": 10.345,
                "accurate_own_half_passes": 9.9563,
                "total_opp_half_passes": 9.6103,
                "accurate_opp_half_passes": 6.8892,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 30.5724,
                "possession_lost": 3.8873,
                "dispossessed": 0.3887,
                "duels_lost": 1.447,
                "aerial_lost": 0.6696,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.7775,
                "challenges_lost": 0.0,
                "fouls": 0.3887,
                "fouls_drawn": 0.5617,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0042,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 6.5005,
                "total_progression": 16.6841,
                "progressive_carries": 0.3887,
                "key_pass": 0.0,
                "shots_off_target": 0.2236
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-16T10:30:59.837052+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 625,
                    "rows": 21030
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Elche",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.1585,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 86.0,
                    "is_starting": true,
                    "weight": 0.1347,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1145,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0973,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0827,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0703,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Real Sociedad",
                    "minutes": 83.0,
                    "is_starting": true,
                    "weight": 0.0598,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-05-14",
                    "opponent": "Rayo Vallecano",
                    "minutes": 58.0,
                    "is_starting": false,
                    "weight": 0.0508,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "Athletic Club",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.0432,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Girona FC",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.0367,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 18.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 4.1628,
                  "aerialWon": 1.6729,
                  "totalClearance_p90": 4.9495,
                  "totalTackle": 1.6907,
                  "defensive_actions": 3.0483
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.4346154034137726,
                    "model_output": 0.4346,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2924
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0396
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0252
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0247
                      },
                      {
                        "name": "touches",
                        "importance": 0.0228
                      }
                    ],
                    "decomposition": {
                      "base": 0.8609,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4856
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0466
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0134
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0121
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.012
                        }
                      ],
                      "others": 0.002,
                      "total": 0.4346,
                      "log_link": true,
                      "margin_base": -0.149807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.830357
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.117083
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.03224
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.029221
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.028053
                        }
                      ],
                      "others_margin": 0.004753
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.6923385858535767,
                    "model_output": 0.6923,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2589
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0677
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.049
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.044
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 1.3915,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7371
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0263
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0248
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0228
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0169
                        }
                      ],
                      "others": -0.0073,
                      "total": 0.6923,
                      "log_link": true,
                      "margin_base": 0.330386,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.75446
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.039432
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.03575
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.032793
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.024439
                        }
                      ],
                      "others_margin": -0.010436
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.3754628598690033,
                    "model_output": 0.3755,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2078
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0673
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0422
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0415
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.8542,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4767
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0187
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0195
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0132
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0117
                        }
                      ],
                      "others": -0.0153,
                      "total": 0.3755,
                      "log_link": true,
                      "margin_base": -0.157629,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.816566
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.048446
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.047997
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.032294
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.029497
                        }
                      ],
                      "others_margin": -0.040053
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.576174259185791,
                    "model_output": 1.5762,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2949
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0875
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0204
                      }
                    ],
                    "decomposition": {
                      "base": 3.4327,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.1034
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.1769
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.1316
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0661
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.05
                        }
                      ],
                      "others": -0.0777,
                      "total": 1.5762,
                      "log_link": true,
                      "margin_base": 1.233356,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.948668
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.124948
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.08378
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.039561
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.029787
                        }
                      ],
                      "others_margin": -0.048189
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.6344045400619507,
                    "model_output": 0.6344,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1614
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1583
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0863
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 1.3773,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.8235
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.1203
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0347
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0239
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": -0.0218
                        }
                      ],
                      "others": -0.0287,
                      "total": 0.6344,
                      "log_link": true,
                      "margin_base": 0.320134,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.911031
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.196553
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.050162
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.034332
                        },
                        {
                          "name": "tackle_success_rate",
                          "margin": -0.03239
                        }
                      ],
                      "others_margin": -0.044164
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.22356432676315308,
                    "model_output": 0.2236,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.105
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.033
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0307
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 0.4745,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2557
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0199
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0166
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0112
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0082
                        }
                      ],
                      "others": -0.0287,
                      "total": 0.2236,
                      "log_link": false,
                      "margin_base": 0.474501,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.25575
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.019912
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.016602
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.011203
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.008214
                        }
                      ],
                      "others_margin": -0.028712
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.8088507652282715,
                    "model_output": 6.8089,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0634
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0627
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0603
                      },
                      {
                        "name": "touches",
                        "importance": 0.0395
                      },
                      {
                        "name": "rating",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 6.7847,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0168
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0137
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.012
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0118
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0087
                        }
                      ],
                      "others": 0.0396,
                      "total": 6.8089,
                      "log_link": false,
                      "margin_base": 6.784704,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.016789
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.013654
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.011977
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.011822
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.008683
                        }
                      ],
                      "others_margin": 0.039476
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 18,
                  "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.9958, quality 0.441)",
              "stats": {
                "interceptions": 0.4328,
                "tackles": 0.6894,
                "tackles_won": 0.3739,
                "clearances": 1.5696,
                "aerial_won": 0.6317,
                "total_shots": 0.2227,
                "rating": 6.8089,
                "minutes": 27.1,
                "total_pass": 19.8715,
                "accurate_pass": 16.7747,
                "duels_won": 1.7206,
                "total_long_balls": 4.1506,
                "accurate_long_balls": 2.6022,
                "total_own_half_passes": 10.3016,
                "accurate_own_half_passes": 9.9145,
                "total_opp_half_passes": 9.5699,
                "accurate_opp_half_passes": 6.8603,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 30.444,
                "possession_lost": 3.871,
                "dispossessed": 0.3871,
                "duels_lost": 1.4409,
                "aerial_lost": 0.6668,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.7742,
                "challenges_lost": 0.0,
                "fouls": 0.3871,
                "fouls_drawn": 0.5593,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0042,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 6.4732,
                "total_progression": 16.614,
                "progressive_carries": 0.3871,
                "key_pass": 0.0,
                "shots_off_target": 0.2227
              },
              "params": {
                "market_value_eur": 3300000,
                "quality_factor": 0.4412,
                "boost_factor": 0.9958,
                "reference_quality": 0.505,
                "history_matches": 18,
                "history_shrink": 0.2174,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0283)",
              "stats": {
                "interceptions": 0.4262,
                "tackles": 0.6894,
                "tackles_won": 0.369,
                "clearances": 1.5696,
                "aerial_won": 0.6317,
                "total_shots": 0.2164,
                "rating": 6.8089,
                "minutes": 27.1,
                "total_pass": 19.8715,
                "accurate_pass": 16.7747,
                "duels_won": 1.7206,
                "total_long_balls": 4.1506,
                "accurate_long_balls": 2.6022,
                "total_own_half_passes": 10.3016,
                "accurate_own_half_passes": 9.9145,
                "total_opp_half_passes": 9.5699,
                "accurate_opp_half_passes": 6.8603,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 30.444,
                "possession_lost": 3.871,
                "dispossessed": 0.3871,
                "duels_lost": 1.4409,
                "aerial_lost": 0.6668,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.7742,
                "challenges_lost": 0.0,
                "fouls": 0.3762,
                "fouls_drawn": 0.552,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0042,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 6.4732,
                "total_progression": 16.614,
                "progressive_carries": 0.3871,
                "key_pass": 0.0,
                "shots_off_target": 0.2227
              },
              "params": {
                "blend_weight": 0.0283,
                "history_matches": 18,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.3011,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.3871,
                  "after": 0.3762
                },
                {
                  "stat": "wasFouled",
                  "before": 0.5593,
                  "after": 0.552
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.4328,
                  "after": 0.4262
                },
                {
                  "stat": "totalShots",
                  "before": 0.2227,
                  "after": 0.2164
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 27.1 to 13.6 expected minutes (appearance prob 0.22)",
              "stats": {
                "interceptions": 0.2137,
                "tackles": 0.3456,
                "tackles_won": 0.185,
                "clearances": 0.7869,
                "aerial_won": 0.3167,
                "total_shots": 0.1117,
                "rating": 6.8089,
                "minutes": 13.59,
                "total_pass": 9.9629,
                "accurate_pass": 8.4102,
                "duels_won": 0.8626,
                "total_long_balls": 2.081,
                "accurate_long_balls": 1.3047,
                "total_own_half_passes": 5.1649,
                "accurate_own_half_passes": 4.9708,
                "total_opp_half_passes": 4.798,
                "accurate_opp_half_passes": 3.4395,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 15.2635,
                "possession_lost": 1.9408,
                "dispossessed": 0.3871,
                "duels_lost": 0.7224,
                "aerial_lost": 0.6668,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.3882,
                "challenges_lost": 0.0,
                "fouls": 0.1886,
                "fouls_drawn": 0.2768,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0021,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.2454,
                "total_progression": 8.3297,
                "progressive_carries": 0.1941,
                "key_pass": 0.0,
                "shots_off_target": 0.1117,
                "bench_appearance_probability": 0.217,
                "bench_expected_minutes": 13.59
              },
              "params": {
                "expected_minutes": 13.59,
                "projection_minutes": 27.1,
                "minutes_scale": 0.5014,
                "appearance_probability": 0.217
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.2137,
                "tackles": 0.3456,
                "tackles_won": 0.185,
                "clearances": 0.7869,
                "aerial_won": 0.3167,
                "total_shots": 0.1117,
                "rating": 6.8089,
                "minutes": 13.59,
                "total_pass": 9.9629,
                "accurate_pass": 8.4102,
                "duels_won": 0.8626,
                "total_long_balls": 2.081,
                "accurate_long_balls": 1.3047,
                "total_own_half_passes": 5.1649,
                "accurate_own_half_passes": 4.9708,
                "total_opp_half_passes": 4.798,
                "accurate_opp_half_passes": 3.4395,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 15.2635,
                "possession_lost": 1.9408,
                "dispossessed": 0.3871,
                "duels_lost": 0.7224,
                "aerial_lost": 0.6668,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.3882,
                "challenges_lost": 0.0,
                "fouls": 0.1886,
                "fouls_drawn": 0.2768,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0021,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.2454,
                "total_progression": 8.3297,
                "progressive_carries": 0.1941,
                "key_pass": 0.0,
                "shots_off_target": 0.1117,
                "bench_appearance_probability": 0.217,
                "bench_expected_minutes": 13.59
              },
              "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.2137,
                "tackles": 0.3456,
                "tackles_won": 0.185,
                "clearances": 0.7869,
                "aerial_won": 0.3167,
                "total_shots": 0.1117,
                "rating": 6.8089,
                "minutes": 13.59,
                "total_pass": 9.9629,
                "accurate_pass": 8.4102,
                "duels_won": 0.8626,
                "total_long_balls": 2.081,
                "accurate_long_balls": 1.3047,
                "total_own_half_passes": 5.1649,
                "accurate_own_half_passes": 4.9708,
                "total_opp_half_passes": 4.798,
                "accurate_opp_half_passes": 3.4395,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 15.2635,
                "possession_lost": 1.9408,
                "dispossessed": 0.3871,
                "duels_lost": 0.7224,
                "aerial_lost": 0.6668,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.3882,
                "challenges_lost": 0.0,
                "fouls": 0.1886,
                "fouls_drawn": 0.2768,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0021,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.2454,
                "total_progression": 8.3297,
                "progressive_carries": 0.1941,
                "key_pass": 0.0,
                "shots_off_target": 0.1117,
                "bench_appearance_probability": 0.217,
                "bench_expected_minutes": 13.59,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "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.217,
                "projected_substitutes": 4,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 7 by projected rating, fifa_overall 75.0)",
              "stats": {
                "interceptions": 0.2137,
                "tackles": 0.3456,
                "tackles_won": 0.185,
                "clearances": 0.7869,
                "aerial_won": 0.3167,
                "total_shots": 0.1117,
                "rating": 6.8089,
                "minutes": 13.59,
                "total_pass": 9.9629,
                "accurate_pass": 8.4102,
                "duels_won": 0.8626,
                "total_long_balls": 2.081,
                "accurate_long_balls": 1.3047,
                "total_own_half_passes": 5.1649,
                "accurate_own_half_passes": 4.9708,
                "total_opp_half_passes": 4.798,
                "accurate_opp_half_passes": 3.4395,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 15.2635,
                "possession_lost": 1.9408,
                "dispossessed": 0.3871,
                "duels_lost": 0.7224,
                "aerial_lost": 0.6668,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.3882,
                "challenges_lost": 0.0,
                "fouls": 0.1886,
                "fouls_drawn": 0.2768,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0021,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.2454,
                "total_progression": 8.3297,
                "progressive_carries": 0.1941,
                "key_pass": 0.0,
                "shots_off_target": 0.1117,
                "bench_appearance_probability": 0.217,
                "bench_expected_minutes": 13.59,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "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": 75.0
              },
              "params": {
                "match_squad_rank": 7,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3298,
                "fifa_rank": 2403.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 75.0
              }
            }
          ]
        },
        "Urko González": {
          "player_id": 1064009,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 4,
          "height": 189,
          "market_value": 11600000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0166,
            "assist_rate": 0.0362,
            "assists": 0,
            "expected_goals": 0.0172,
            "goal_rate": 0.025,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.6799,
            "minutes": 22,
            "total_pass": 10,
            "accurate_pass": 8,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 2,
            "total_opp_half_passes": 7,
            "accurate_opp_half_passes": 6,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 15,
            "possession_lost": 3.3812,
            "dispossessed": 0.4373,
            "duels_lost": 2,
            "aerial_won": 0,
            "aerial_lost": 1,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 1,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 5,
            "total_progression": 29,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.315,
            "bench_expected_minutes": 22.38,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.55,
            "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": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 33,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0024,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 5,
                "interceptions": 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": 16416299,
              "match_date": "2026-09-18",
              "home_team": "Espanyol",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Elche",
              "stats": {
                "minutes": 45,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0127,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 21
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416345,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 84,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0092,
                "expected_assists": 0.0489,
                "total_shots": 1,
                "total_pass": 30,
                "accurate_pass": 26,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0036,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 24,
                "interceptions": 1,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416323,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 31,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0109,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 16,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 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": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 45,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0017,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 19,
                "tackles": 1,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416306,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 75,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0151,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 28,
                "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": 16421053,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 72,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0196,
                "total_shots": 0,
                "total_pass": 31,
                "accurate_pass": 27,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 2,
                "duels_won": 3,
                "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": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0136,
                "expected_assists": 0.1222,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 42,
                "accurate_pass": 36,
                "tackles": 2,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "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": 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": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.001,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 14,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 4,
                "duels_won": 7,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 3267,
            "combined_rank_score": 1211.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 1.0,
            "fifa_rank": 1978.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6799,
            "source_file": "data/player_rankings.csv",
            "player_name": "Urko González",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Félix Correia",
                  "ranking": 3262
                },
                {
                  "player_name": "Kenneth Taylor",
                  "ranking": 3263
                },
                {
                  "player_name": "Johan Vásquez",
                  "ranking": 3264
                },
                {
                  "player_name": "Mamadou Sarr",
                  "ranking": 3265
                },
                {
                  "player_name": "Yoan Bonny",
                  "ranking": 3266
                }
              ],
              "lower": [
                {
                  "player_name": "Tasos Douvikas",
                  "ranking": 3268
                },
                {
                  "player_name": "Sam Beukema",
                  "ranking": 3269
                },
                {
                  "player_name": "Máximo Perrone",
                  "ranking": 3270
                },
                {
                  "player_name": "Federico Viñas",
                  "ranking": 3271
                },
                {
                  "player_name": "Marco Reus",
                  "ranking": 3272
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.771,
          "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.771,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 22.382626929085877,
            "bench_appearance_prob": 0.315,
            "market_value_adjustment": 1.0011,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "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.14
            },
            "rationale": "Bench projection scaled from XGBoost M_service (44 historical appearances) to 22.4 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 M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.2663,
                "expected_assists": 0.0172,
                "assists": 0.038,
                "assist_rate": 0.038,
                "expected_goals": 0.0178,
                "goals": 0.0261,
                "goal_rate": 0.0261,
                "shots_on_target": 0.0631,
                "total_shots": 0.2794,
                "rating": 6.6799,
                "minutes": 23.23,
                "total_pass": 10.5117,
                "accurate_pass": 8.1171,
                "duels_won": 1.8614,
                "total_long_balls": 0.391,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 2.8479,
                "accurate_own_half_passes": 2.169,
                "total_opp_half_passes": 7.6638,
                "accurate_opp_half_passes": 5.9481,
                "crosses_total": 0.1349,
                "crosses_accurate": 0.0,
                "touches": 15.751,
                "possession_lost": 3.5053,
                "dispossessed": 0.4368,
                "duels_lost": 2.2954,
                "aerial_won": 0.4242,
                "aerial_lost": 0.8108,
                "interceptions": 0.3818,
                "tackles_won": 0.8632,
                "tackles": 0.8632,
                "clearances": 0.7963,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5914,
                "fouls": 0.4564,
                "fouls_drawn": 0.574,
                "blocks": 0.23,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.1059,
                "total_progression": 29.9633,
                "progressive_carries": 1.3217,
                "shots_off_target": 0.2163
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-16T10:31:49.993480+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 895,
                    "rows": 24017
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Málaga CF",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.1501,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-18",
                    "opponent": "Elche",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 84.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.0784,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Sociedad",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Real Madrid",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Levante UD",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.2608,
                  "creative_index": 0.0513,
                  "expectedGoals": 0.0051,
                  "expectedAssists": 0.0194,
                  "onTargetScoringAttempt": 0.0026
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.26629215478897095,
                    "model_output": 0.2663,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.16
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1359
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0622
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0532
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0278
                      }
                    ],
                    "decomposition": {
                      "base": 0.893,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3945
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0657
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0431
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0306
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0228
                        }
                      ],
                      "others": -0.07,
                      "total": 0.2663,
                      "log_link": true,
                      "margin_base": -0.113189,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.582932
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.141387
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.104889
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.081665
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.065565
                        }
                      ],
                      "others_margin": -0.233534
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.01722637563943863,
                    "model_output": 0.0172,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1089
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1043
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1031
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0607
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0542
                      }
                    ],
                    "decomposition": {
                      "base": 0.0856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0367
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0102
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.006
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0039
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0026
                        }
                      ],
                      "others": -0.009,
                      "total": 0.0172,
                      "log_link": true,
                      "margin_base": -2.457601,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.559133
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.2331
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.167702
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.127277
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.095978
                        }
                      ],
                      "others_margin": -0.420523
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.03797516971826553,
                    "model_output": 0.038,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.057
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.052
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0301
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0295
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0216
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0083
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0045
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0039
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0036
                        }
                      ],
                      "others": -0.0073,
                      "total": 0.038,
                      "log_link": true,
                      "margin_base": -2.439072,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.284013
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.134584
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.081457
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.075993
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.075918
                        }
                      ],
                      "others_margin": -0.179784
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.01778419502079487,
                    "model_output": 0.0178,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1269
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0844
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0755
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0372
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0272
                      }
                    ],
                    "decomposition": {
                      "base": 0.0943,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.041
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.019
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0071
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0033
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0018
                        }
                      ],
                      "others": -0.0043,
                      "total": 0.0178,
                      "log_link": true,
                      "margin_base": -2.361326,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.569773
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.440724
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.231133
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.129495
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.078788
                        }
                      ],
                      "others_margin": -0.218206
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.02606886997818947,
                    "model_output": 0.0261,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0894
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0486
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0452
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0389
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0346
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0129
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0089
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0036
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0032
                        }
                      ],
                      "others": -0.0085,
                      "total": 0.0261,
                      "log_link": true,
                      "margin_base": -2.324947,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.436891
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.228372
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.194398
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.092133
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.089047
                        }
                      ],
                      "others_margin": -0.281225
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.06311875581741333,
                    "model_output": 0.0631,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1038
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0848
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0823
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0306
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.3257,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1543
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0424
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0309
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0146
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0042
                        }
                      ],
                      "others": -0.0162,
                      "total": 0.0631,
                      "log_link": true,
                      "margin_base": -1.121688,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.641974
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.28379
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.273287
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.160469
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.051352
                        }
                      ],
                      "others_margin": -0.230176
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.27944430708885193,
                    "model_output": 0.2794,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1304
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.1272
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0577
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0476
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0242
                      }
                    ],
                    "decomposition": {
                      "base": 0.9955,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3305
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.19
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0459
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0413
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0301
                        }
                      ],
                      "others": -0.0783,
                      "total": 0.2794,
                      "log_link": false,
                      "margin_base": 0.995535,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.330525
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.189998
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.045903
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.041285
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.030115
                        }
                      ],
                      "others_margin": -0.078264
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.67986536026001,
                    "model_output": 6.6799,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0934
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0793
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0569
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0427
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 6.8531,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0685
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0396
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0176
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0125
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0069
                        }
                      ],
                      "others": -0.0281,
                      "total": 6.6799,
                      "log_link": false,
                      "margin_base": 6.853057,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.068479
                        },
                        {
                          "name": "rating",
                          "margin": -0.039579
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.017557
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.012461
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.006938
                        }
                      ],
                      "others_margin": -0.028179
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 44,
                  "role_matches": 10,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0011, quality 0.541)",
              "stats": {
                "key_pass": 0.2666,
                "expected_assists": 0.0172,
                "assists": 0.038,
                "assist_rate": 0.038,
                "expected_goals": 0.0178,
                "goals": 0.0261,
                "goal_rate": 0.0261,
                "shots_on_target": 0.0632,
                "total_shots": 0.2798,
                "rating": 6.6799,
                "minutes": 23.23,
                "total_pass": 10.5233,
                "accurate_pass": 8.126,
                "duels_won": 1.8634,
                "total_long_balls": 0.3914,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 2.851,
                "accurate_own_half_passes": 2.1714,
                "total_opp_half_passes": 7.6722,
                "accurate_opp_half_passes": 5.9546,
                "crosses_total": 0.135,
                "crosses_accurate": 0.0,
                "touches": 15.7683,
                "possession_lost": 3.5092,
                "dispossessed": 0.4373,
                "duels_lost": 2.2979,
                "aerial_won": 0.4247,
                "aerial_lost": 0.8117,
                "interceptions": 0.3822,
                "tackles_won": 0.8641,
                "tackles": 0.8641,
                "clearances": 0.7972,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5921,
                "fouls": 0.4569,
                "fouls_drawn": 0.5746,
                "blocks": 0.2303,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.1115,
                "total_progression": 29.9963,
                "progressive_carries": 1.3232,
                "shots_off_target": 0.2165
              },
              "params": {
                "market_value_eur": 11600000,
                "quality_factor": 0.5411,
                "boost_factor": 1.0011,
                "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.0093)",
              "stats": {
                "key_pass": 0.2666,
                "expected_assists": 0.0172,
                "assists": 0.0376,
                "assist_rate": 0.0376,
                "expected_goals": 0.0178,
                "goals": 0.0259,
                "goal_rate": 0.0259,
                "shots_on_target": 0.0626,
                "total_shots": 0.2772,
                "rating": 6.6799,
                "minutes": 23.23,
                "total_pass": 10.5233,
                "accurate_pass": 8.126,
                "duels_won": 1.8634,
                "total_long_balls": 0.3914,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 2.851,
                "accurate_own_half_passes": 2.1714,
                "total_opp_half_passes": 7.6722,
                "accurate_opp_half_passes": 5.9546,
                "crosses_total": 0.1337,
                "crosses_accurate": 0.0,
                "touches": 15.7683,
                "possession_lost": 3.5092,
                "dispossessed": 0.4373,
                "duels_lost": 2.2979,
                "aerial_won": 0.4247,
                "aerial_lost": 0.8117,
                "interceptions": 0.3809,
                "tackles_won": 0.8572,
                "tackles": 0.8641,
                "clearances": 0.7972,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5921,
                "fouls": 0.4549,
                "fouls_drawn": 0.5715,
                "blocks": 0.2303,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 5.1115,
                "total_progression": 29.9963,
                "progressive_carries": 1.3232,
                "shots_off_target": 0.2165
              },
              "params": {
                "blend_weight": 0.0093,
                "history_matches": 44,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2581,
                "prior_reliability": 0.14,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.8641,
                  "after": 0.8572
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 23.2 to 22.4 expected minutes (appearance prob 0.32)",
              "stats": {
                "key_pass": 0.2569,
                "expected_assists": 0.0166,
                "assists": 0.0362,
                "assist_rate": 0.0362,
                "expected_goals": 0.0172,
                "goals": 0.025,
                "goal_rate": 0.025,
                "shots_on_target": 0.0603,
                "total_shots": 0.2689,
                "rating": 6.6799,
                "minutes": 22.38,
                "total_pass": 10.1394,
                "accurate_pass": 7.8296,
                "duels_won": 1.7954,
                "total_long_balls": 0.3771,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 2.747,
                "accurate_own_half_passes": 2.0922,
                "total_opp_half_passes": 7.3923,
                "accurate_opp_half_passes": 5.7374,
                "crosses_total": 0.1288,
                "crosses_accurate": 0.0,
                "touches": 15.1931,
                "possession_lost": 3.3812,
                "dispossessed": 0.4373,
                "duels_lost": 2.2141,
                "aerial_won": 0.4092,
                "aerial_lost": 0.8117,
                "interceptions": 0.367,
                "tackles_won": 0.8259,
                "tackles": 0.8326,
                "clearances": 0.7681,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5921,
                "fouls": 0.4383,
                "fouls_drawn": 0.5507,
                "blocks": 0.2219,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.925,
                "total_progression": 28.9021,
                "progressive_carries": 1.2749,
                "shots_off_target": 0.2086,
                "bench_appearance_probability": 0.315,
                "bench_expected_minutes": 22.38
              },
              "params": {
                "expected_minutes": 22.38,
                "projection_minutes": 23.23,
                "minutes_scale": 0.9635,
                "appearance_probability": 0.315
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.2569,
                "expected_assists": 0.0166,
                "assists": 0.0362,
                "assist_rate": 0.0362,
                "expected_goals": 0.0172,
                "goals": 0.025,
                "goal_rate": 0.025,
                "shots_on_target": 0.0603,
                "total_shots": 0.2689,
                "rating": 6.6799,
                "minutes": 22.38,
                "total_pass": 10.1394,
                "accurate_pass": 7.8296,
                "duels_won": 1.7954,
                "total_long_balls": 0.3771,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 2.747,
                "accurate_own_half_passes": 2.0922,
                "total_opp_half_passes": 7.3923,
                "accurate_opp_half_passes": 5.7374,
                "crosses_total": 0.1288,
                "crosses_accurate": 0.0,
                "touches": 15.1931,
                "possession_lost": 3.3812,
                "dispossessed": 0.4373,
                "duels_lost": 2.2141,
                "aerial_won": 0.4092,
                "aerial_lost": 0.8117,
                "interceptions": 0.367,
                "tackles_won": 0.8259,
                "tackles": 0.8326,
                "clearances": 0.7681,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5921,
                "fouls": 0.4383,
                "fouls_drawn": 0.5507,
                "blocks": 0.2219,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.925,
                "total_progression": 28.9021,
                "progressive_carries": 1.2749,
                "shots_off_target": 0.2086,
                "bench_appearance_probability": 0.315,
                "bench_expected_minutes": 22.38
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": true
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "key_pass": 0.2569,
                "expected_assists": 0.0166,
                "assist_rate": 0.0362,
                "assists": 0,
                "expected_goals": 0.0172,
                "goal_rate": 0.025,
                "goals": 0,
                "shots_on_target": 0.0603,
                "total_shots": 0.2689,
                "rating": 6.6799,
                "minutes": 22.38,
                "total_pass": 10.1394,
                "accurate_pass": 7.8296,
                "duels_won": 1.7954,
                "total_long_balls": 0.3771,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 2.747,
                "accurate_own_half_passes": 2.0922,
                "total_opp_half_passes": 7.3923,
                "accurate_opp_half_passes": 5.7374,
                "crosses_total": 0.1288,
                "crosses_accurate": 0.0,
                "touches": 15.1931,
                "possession_lost": 3.3812,
                "dispossessed": 0.4373,
                "duels_lost": 2.2141,
                "aerial_won": 0.4092,
                "aerial_lost": 0.8117,
                "interceptions": 0.367,
                "tackles_won": 0.8259,
                "tackles": 0.8326,
                "clearances": 0.7681,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5921,
                "fouls": 0.4383,
                "fouls_drawn": 0.5507,
                "blocks": 0.2219,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.925,
                "total_progression": 28.9021,
                "progressive_carries": 1.2749,
                "shots_off_target": 0.2086,
                "bench_appearance_probability": 0.315,
                "bench_expected_minutes": 22.38,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "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.315,
                "projected_substitutes": 4,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 14 by projected rating, fifa_overall 76.0)",
              "stats": {
                "key_pass": 0.2569,
                "expected_assists": 0.0166,
                "assist_rate": 0.0362,
                "assists": 0,
                "expected_goals": 0.0172,
                "goal_rate": 0.025,
                "goals": 0,
                "shots_on_target": 0.0603,
                "total_shots": 0.2689,
                "rating": 6.6799,
                "minutes": 22.38,
                "total_pass": 10.1394,
                "accurate_pass": 7.8296,
                "duels_won": 1.7954,
                "total_long_balls": 0.3771,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 2.747,
                "accurate_own_half_passes": 2.0922,
                "total_opp_half_passes": 7.3923,
                "accurate_opp_half_passes": 5.7374,
                "crosses_total": 0.1288,
                "crosses_accurate": 0.0,
                "touches": 15.1931,
                "possession_lost": 3.3812,
                "dispossessed": 0.4373,
                "duels_lost": 2.2141,
                "aerial_won": 0.4092,
                "aerial_lost": 0.8117,
                "interceptions": 0.367,
                "tackles_won": 0.8259,
                "tackles": 0.8326,
                "clearances": 0.7681,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5921,
                "fouls": 0.4383,
                "fouls_drawn": 0.5507,
                "blocks": 0.2219,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.925,
                "total_progression": 28.9021,
                "progressive_carries": 1.2749,
                "shots_off_target": 0.2086,
                "bench_appearance_probability": 0.315,
                "bench_expected_minutes": 22.38,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 76.0
              },
              "params": {
                "match_squad_rank": 14,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3267,
                "fifa_rank": 1978.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 76.0
              }
            }
          ]
        },
        "Gabriel Moscardo": {
          "player_id": 1485309,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 20,
          "height": 185,
          "market_value": 7500000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0145,
            "assist_rate": 0.0421,
            "assists": 0,
            "expected_goals": 0.0354,
            "goal_rate": 0.0667,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.648,
            "minutes": 35,
            "total_pass": 17,
            "accurate_pass": 14,
            "duels_won": 5,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 9,
            "accurate_own_half_passes": 8,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 6,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 30,
            "possession_lost": 7.5529,
            "dispossessed": 1.5773,
            "duels_lost": 5,
            "aerial_won": 2,
            "aerial_lost": 1,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 3,
            "clearances": 2,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0086,
            "ball_carries": 6,
            "total_progression": 3,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.696,
            "bench_expected_minutes": 34.74,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.55,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0345,
            "projected_assists": 0,
            "assist_probability": 0.0144,
            "finishing_factor": 1.25,
            "creation_factor": 1.25,
            "fifa_overall": 72.0
          },
          "latest_10_games": [
            {
              "match_id": 16416345,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 45,
                "rating": 5.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0811,
                "expected_assists": 0.004,
                "total_shots": 1,
                "total_pass": 8,
                "accurate_pass": 5,
                "clearances": 1,
                "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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 24,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.001,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 6,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416323,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 59,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0136,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 17,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 5,
                "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": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 45,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0453,
                "expected_assists": 0.006,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 21,
                "accurate_pass": 18,
                "tackles": 4,
                "tackles_won": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 4340,
            "combined_rank_score": 2356.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 1.0,
            "fifa_rank": 4267.0,
            "fifa_overall": 72.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.648,
            "source_file": "data/player_rankings.csv",
            "player_name": "Gabriel Moscardo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Fabiano Parisi",
                  "ranking": 4335
                },
                {
                  "player_name": "Mandela Keita",
                  "ranking": 4336
                },
                {
                  "player_name": "Jay Idzes",
                  "ranking": 4337
                },
                {
                  "player_name": "Obed Vargas",
                  "ranking": 4338
                },
                {
                  "player_name": "Mateo Joseph",
                  "ranking": 4339
                }
              ],
              "lower": [
                {
                  "player_name": "Akor Jerome Adams",
                  "ranking": 4341
                },
                {
                  "player_name": "Ezequiel Ponce",
                  "ranking": 4342
                },
                {
                  "player_name": "Anass Salah-Eddine",
                  "ranking": 4343
                },
                {
                  "player_name": "Fabio Miretti",
                  "ranking": 4344
                },
                {
                  "player_name": "Tommaso Baldanzi",
                  "ranking": 4345
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.505,
          "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.505,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 34.74,
            "bench_appearance_prob": 0.696,
            "market_value_adjustment": 0.9979,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 0.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 45.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0333
            },
            "rationale": "Bench projection scaled from XGBoost M_service (4 historical appearances) to 34.7 expected mins (appearance prob 0.70); FBref playing time empirical prior: 1.0 sub appearances, 45.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.2393,
                "expected_assists": 0.0141,
                "assists": 0.0324,
                "assist_rate": 0.0324,
                "expected_goals": 0.031,
                "goals": 0.0512,
                "goal_rate": 0.0512,
                "shots_on_target": 0.1056,
                "total_shots": 0.5027,
                "rating": 6.648,
                "minutes": 26.32,
                "total_pass": 12.9194,
                "accurate_pass": 10.4929,
                "duels_won": 4.1182,
                "total_long_balls": 1.2267,
                "accurate_long_balls": 1.034,
                "total_own_half_passes": 7.1134,
                "accurate_own_half_passes": 6.1874,
                "total_opp_half_passes": 5.8059,
                "accurate_opp_half_passes": 4.3054,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 22.8124,
                "possession_lost": 5.7343,
                "dispossessed": 1.5806,
                "duels_lost": 3.4535,
                "aerial_won": 1.6402,
                "aerial_lost": 0.6462,
                "interceptions": 0.2267,
                "tackles_won": 0.6862,
                "tackles": 1.9845,
                "clearances": 1.4194,
                "total_contest": 0.4595,
                "won_contest": 0.2668,
                "challenges_lost": 0.2267,
                "fouls": 0.8073,
                "fouls_drawn": 0.2267,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0075,
                "ball_carries": 4.6153,
                "total_progression": 2.1946,
                "progressive_carries": 0.0,
                "shots_off_target": 0.3971
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-16T10:31:49.993480+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 895,
                    "rows": 24017
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 5.8
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.2667,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 59.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Sociedad",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1927,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.5065,
                  "creative_index": 0.0035,
                  "expectedGoals": 0.0342,
                  "expectedAssists": 0.0058,
                  "onTargetScoringAttempt": 0.1927
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.239303857088089,
                    "model_output": 0.2393,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.16
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1359
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0622
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0532
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0278
                      }
                    ],
                    "decomposition": {
                      "base": 0.893,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4162
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0658
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0425
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0309
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0199
                        }
                      ],
                      "others": -0.0784,
                      "total": 0.2393,
                      "log_link": true,
                      "margin_base": -0.113189,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.627431
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.148384
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.109218
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.087531
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.060901
                        }
                      ],
                      "others_margin": -0.283366
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.014133630320429802,
                    "model_output": 0.0141,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1089
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1043
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1031
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0607
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0542
                      }
                    ],
                    "decomposition": {
                      "base": 0.0856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0366
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0109
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0082
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0034
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0022
                        }
                      ],
                      "others": -0.0102,
                      "total": 0.0141,
                      "log_link": true,
                      "margin_base": -2.457601,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.558336
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.251796
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.241819
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.119823
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.086769
                        }
                      ],
                      "others_margin": -0.543053
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.03237217664718628,
                    "model_output": 0.0324,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.057
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.052
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0301
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0295
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0189
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0145
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0072
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0054
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0042
                        }
                      ],
                      "others": -0.019,
                      "total": 0.0324,
                      "log_link": true,
                      "margin_base": -2.439072,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.244485
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.238205
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.125544
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.091788
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.079243
                        }
                      ],
                      "others_margin": -0.463205
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.030991053208708763,
                    "model_output": 0.031,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1269
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0844
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0755
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0372
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0272
                      }
                    ],
                    "decomposition": {
                      "base": 0.0943,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0411
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0096
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0056
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0031
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": -0.0017
                        }
                      ],
                      "others": -0.0022,
                      "total": 0.031,
                      "log_link": true,
                      "margin_base": -2.361326,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.571758
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.199836
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.136878
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.086325
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": -0.048918
                        }
                      ],
                      "others_margin": -0.069016
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.051209624856710434,
                    "model_output": 0.0512,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0894
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0486
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0452
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0389
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0371
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0092
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0031
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0031
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0029
                        }
                      ],
                      "others": 0.0026,
                      "total": 0.0512,
                      "log_link": true,
                      "margin_base": -2.324947,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.476883
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.164075
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.062522
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.062365
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.057493
                        }
                      ],
                      "others_margin": 0.051726
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.10556820034980774,
                    "model_output": 0.1056,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1038
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0848
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0823
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0306
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.3257,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1494
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0376
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0257
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0058
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0047
                        }
                      ],
                      "others": -0.0085,
                      "total": 0.1056,
                      "log_link": true,
                      "margin_base": -1.121688,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.613546
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.239764
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.204608
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.050206
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.040766
                        }
                      ],
                      "others_margin": -0.078231
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5027018785476685,
                    "model_output": 0.5027,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1304
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.1272
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0577
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0476
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0242
                      }
                    ],
                    "decomposition": {
                      "base": 0.9955,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.337
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1873
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0499
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0369
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0221
                        }
                      ],
                      "others": 0.0224,
                      "total": 0.5027,
                      "log_link": false,
                      "margin_base": 0.995535,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.337037
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.187272
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.049897
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.03691
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.022089
                        }
                      ],
                      "others_margin": 0.022375
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.648049354553223,
                    "model_output": 6.648,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0934
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0793
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0569
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0427
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 6.8531,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0635
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.044
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0321
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0114
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0107
                        }
                      ],
                      "others": -0.0661,
                      "total": 6.6481,
                      "log_link": false,
                      "margin_base": 6.853057,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.063477
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.044049
                        },
                        {
                          "name": "rating",
                          "margin": -0.032075
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.011361
                        },
                        {
                          "name": "touches",
                          "margin": -0.010737
                        }
                      ],
                      "others_margin": -0.066029
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 4,
                  "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 0.9979, quality 0.493)",
              "stats": {
                "key_pass": 0.2388,
                "expected_assists": 0.0141,
                "assists": 0.0323,
                "assist_rate": 0.0323,
                "expected_goals": 0.0309,
                "goals": 0.0511,
                "goal_rate": 0.0511,
                "shots_on_target": 0.1053,
                "total_shots": 0.5016,
                "rating": 6.648,
                "minutes": 26.32,
                "total_pass": 12.8923,
                "accurate_pass": 10.4709,
                "duels_won": 4.1096,
                "total_long_balls": 1.2241,
                "accurate_long_balls": 1.0318,
                "total_own_half_passes": 7.0985,
                "accurate_own_half_passes": 6.1744,
                "total_opp_half_passes": 5.7937,
                "accurate_opp_half_passes": 4.2964,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 22.7645,
                "possession_lost": 5.7223,
                "dispossessed": 1.5773,
                "duels_lost": 3.4462,
                "aerial_won": 1.6368,
                "aerial_lost": 0.6448,
                "interceptions": 0.2262,
                "tackles_won": 0.6848,
                "tackles": 1.9803,
                "clearances": 1.4164,
                "total_contest": 0.4585,
                "won_contest": 0.2662,
                "challenges_lost": 0.2262,
                "fouls": 0.8056,
                "fouls_drawn": 0.2262,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0075,
                "ball_carries": 4.6056,
                "total_progression": 2.19,
                "progressive_carries": 0.0,
                "shots_off_target": 0.3963
              },
              "params": {
                "market_value_eur": 7500000,
                "quality_factor": 0.4927,
                "boost_factor": 0.9979,
                "reference_quality": 0.505,
                "history_matches": 4,
                "history_shrink": 0.5556,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0120)",
              "stats": {
                "key_pass": 0.2388,
                "expected_assists": 0.0141,
                "assists": 0.0319,
                "assist_rate": 0.0319,
                "expected_goals": 0.0309,
                "goals": 0.0505,
                "goal_rate": 0.0505,
                "shots_on_target": 0.1111,
                "total_shots": 0.5026,
                "rating": 6.648,
                "minutes": 26.32,
                "total_pass": 12.8923,
                "accurate_pass": 10.4709,
                "duels_won": 4.1096,
                "total_long_balls": 1.2241,
                "accurate_long_balls": 1.0318,
                "total_own_half_passes": 7.0985,
                "accurate_own_half_passes": 6.1744,
                "total_opp_half_passes": 5.7937,
                "accurate_opp_half_passes": 4.2964,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 22.7645,
                "possession_lost": 5.7223,
                "dispossessed": 1.5773,
                "duels_lost": 3.4462,
                "aerial_won": 1.6368,
                "aerial_lost": 0.6448,
                "interceptions": 0.2235,
                "tackles_won": 0.6836,
                "tackles": 1.9803,
                "clearances": 1.4164,
                "total_contest": 0.4585,
                "won_contest": 0.2662,
                "challenges_lost": 0.2262,
                "fouls": 0.7959,
                "fouls_drawn": 0.2235,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0075,
                "ball_carries": 4.6056,
                "total_progression": 2.19,
                "progressive_carries": 0.0,
                "shots_off_target": 0.3963
              },
              "params": {
                "blend_weight": 0.012,
                "history_matches": 4,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2924,
                "prior_reliability": 0.0333,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.8056,
                  "after": 0.7959
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.1053,
                  "after": 0.1111
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 26.3 to 34.7 expected minutes (appearance prob 0.70)",
              "stats": {
                "key_pass": 0.3152,
                "expected_assists": 0.0186,
                "assists": 0.0421,
                "assist_rate": 0.0421,
                "expected_goals": 0.0408,
                "goals": 0.0667,
                "goal_rate": 0.0667,
                "shots_on_target": 0.1466,
                "total_shots": 0.6697,
                "rating": 6.648,
                "minutes": 34.74,
                "total_pass": 17.0167,
                "accurate_pass": 13.8206,
                "duels_won": 5.4243,
                "total_long_balls": 1.6157,
                "accurate_long_balls": 1.3619,
                "total_own_half_passes": 9.3694,
                "accurate_own_half_passes": 8.1496,
                "total_opp_half_passes": 7.6472,
                "accurate_opp_half_passes": 5.6709,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 30.0471,
                "possession_lost": 7.5529,
                "dispossessed": 1.5773,
                "duels_lost": 4.5487,
                "aerial_won": 2.1604,
                "aerial_lost": 0.6448,
                "interceptions": 0.295,
                "tackles_won": 0.9023,
                "tackles": 2.6138,
                "clearances": 1.8695,
                "total_contest": 0.6052,
                "won_contest": 0.3514,
                "challenges_lost": 0.2262,
                "fouls": 1.0505,
                "fouls_drawn": 0.295,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0099,
                "ball_carries": 6.079,
                "total_progression": 2.8906,
                "progressive_carries": 0.0,
                "shots_off_target": 0.5231,
                "bench_appearance_probability": 0.696,
                "bench_expected_minutes": 34.74
              },
              "params": {
                "expected_minutes": 34.74,
                "projection_minutes": 26.32,
                "minutes_scale": 1.3199,
                "appearance_probability": 0.696
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.3152,
                "expected_assists": 0.0186,
                "assists": 0.0421,
                "assist_rate": 0.0421,
                "expected_goals": 0.0408,
                "goals": 0.0667,
                "goal_rate": 0.0667,
                "shots_on_target": 0.1466,
                "total_shots": 0.6697,
                "rating": 6.648,
                "minutes": 34.74,
                "total_pass": 17.0167,
                "accurate_pass": 13.8206,
                "duels_won": 5.4243,
                "total_long_balls": 1.6157,
                "accurate_long_balls": 1.3619,
                "total_own_half_passes": 9.3694,
                "accurate_own_half_passes": 8.1496,
                "total_opp_half_passes": 7.6472,
                "accurate_opp_half_passes": 5.6709,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 30.0471,
                "possession_lost": 7.5529,
                "dispossessed": 1.5773,
                "duels_lost": 4.5487,
                "aerial_won": 2.1604,
                "aerial_lost": 0.6448,
                "interceptions": 0.295,
                "tackles_won": 0.9023,
                "tackles": 2.6138,
                "clearances": 1.8695,
                "total_contest": 0.6052,
                "won_contest": 0.3514,
                "challenges_lost": 0.2262,
                "fouls": 1.0505,
                "fouls_drawn": 0.295,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0099,
                "ball_carries": 6.079,
                "total_progression": 2.8906,
                "progressive_carries": 0.0,
                "shots_off_target": 0.5231,
                "bench_appearance_probability": 0.696,
                "bench_expected_minutes": 34.74
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.3152,
                "expected_assists": 0.0186,
                "assist_rate": 0.0421,
                "assists": 0,
                "expected_goals": 0.0408,
                "goal_rate": 0.0667,
                "goals": 0,
                "shots_on_target": 0.1466,
                "total_shots": 0.6697,
                "rating": 6.648,
                "minutes": 34.74,
                "total_pass": 17.0167,
                "accurate_pass": 13.8206,
                "duels_won": 5.4243,
                "total_long_balls": 1.6157,
                "accurate_long_balls": 1.3619,
                "total_own_half_passes": 9.3694,
                "accurate_own_half_passes": 8.1496,
                "total_opp_half_passes": 7.6472,
                "accurate_opp_half_passes": 5.6709,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 30.0471,
                "possession_lost": 7.5529,
                "dispossessed": 1.5773,
                "duels_lost": 4.5487,
                "aerial_won": 2.1604,
                "aerial_lost": 0.6448,
                "interceptions": 0.295,
                "tackles_won": 0.9023,
                "tackles": 2.6138,
                "clearances": 1.8695,
                "total_contest": 0.6052,
                "won_contest": 0.3514,
                "challenges_lost": 0.2262,
                "fouls": 1.0505,
                "fouls_drawn": 0.295,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0099,
                "ball_carries": 6.079,
                "total_progression": 2.8906,
                "progressive_carries": 0.0,
                "shots_off_target": 0.5231,
                "bench_appearance_probability": 0.696,
                "bench_expected_minutes": 34.74,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.34 (squad xG sum 1.0719, xG scale 1.2473, xA scale 1.1232, team xA 1.07 = 0.80 x lambda)",
              "stats": {
                "key_pass": 0.3152,
                "expected_assists": 0.0145,
                "assist_rate": 0.0421,
                "assists": 0,
                "expected_goals": 0.0354,
                "goal_rate": 0.0667,
                "goals": 0,
                "shots_on_target": 0.1466,
                "total_shots": 0.6697,
                "rating": 6.648,
                "minutes": 34.74,
                "total_pass": 17.0167,
                "accurate_pass": 13.8206,
                "duels_won": 5.4243,
                "total_long_balls": 1.6157,
                "accurate_long_balls": 1.3619,
                "total_own_half_passes": 9.3694,
                "accurate_own_half_passes": 8.1496,
                "total_opp_half_passes": 7.6472,
                "accurate_opp_half_passes": 5.6709,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 30.0471,
                "possession_lost": 7.5529,
                "dispossessed": 1.5773,
                "duels_lost": 4.5487,
                "aerial_won": 2.1604,
                "aerial_lost": 0.6448,
                "interceptions": 0.295,
                "tackles_won": 0.9023,
                "tackles": 2.6138,
                "clearances": 1.8695,
                "total_contest": 0.6052,
                "won_contest": 0.3514,
                "challenges_lost": 0.2262,
                "fouls": 1.0505,
                "fouls_drawn": 0.295,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0086,
                "ball_carries": 6.079,
                "total_progression": 2.8906,
                "progressive_carries": 0.0,
                "shots_off_target": 0.5231,
                "bench_appearance_probability": 0.696,
                "bench_expected_minutes": 34.74,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "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.25,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.337,
                "squad_xg_sum": 1.0719,
                "squad_xa_sum": 0.9523,
                "team_expected_assists": 1.0696,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2473,
                "xa_scale": 1.1232,
                "opponent_lambda": 2.325,
                "scoreline_reset": true,
                "appearance_weight": 0.696
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0408,
                  "after": 0.0354
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 16 by projected rating, fifa_overall 72.0)",
              "stats": {
                "key_pass": 0.3152,
                "expected_assists": 0.0145,
                "assist_rate": 0.0421,
                "assists": 0,
                "expected_goals": 0.0354,
                "goal_rate": 0.0667,
                "goals": 0,
                "shots_on_target": 0.1466,
                "total_shots": 0.6697,
                "rating": 6.648,
                "minutes": 34.74,
                "total_pass": 17.0167,
                "accurate_pass": 13.8206,
                "duels_won": 5.4243,
                "total_long_balls": 1.6157,
                "accurate_long_balls": 1.3619,
                "total_own_half_passes": 9.3694,
                "accurate_own_half_passes": 8.1496,
                "total_opp_half_passes": 7.6472,
                "accurate_opp_half_passes": 5.6709,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 30.0471,
                "possession_lost": 7.5529,
                "dispossessed": 1.5773,
                "duels_lost": 4.5487,
                "aerial_won": 2.1604,
                "aerial_lost": 0.6448,
                "interceptions": 0.295,
                "tackles_won": 0.9023,
                "tackles": 2.6138,
                "clearances": 1.8695,
                "total_contest": 0.6052,
                "won_contest": 0.3514,
                "challenges_lost": 0.2262,
                "fouls": 1.0505,
                "fouls_drawn": 0.295,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0086,
                "ball_carries": 6.079,
                "total_progression": 2.8906,
                "progressive_carries": 0.0,
                "shots_off_target": 0.5231,
                "bench_appearance_probability": 0.696,
                "bench_expected_minutes": 34.74,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "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.25,
                "creation_factor": 1.25,
                "fifa_overall": 72.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": 4340,
                "fifa_rank": 4267.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 72.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0.3152,
                "expected_assists": 0.0145,
                "assist_rate": 0.0421,
                "assists": 0,
                "expected_goals": 0.0354,
                "goal_rate": 0.0667,
                "goals": 0,
                "shots_on_target": 0.1466,
                "total_shots": 0.6697,
                "rating": 6.648,
                "minutes": 34.74,
                "total_pass": 17.0167,
                "accurate_pass": 13.8206,
                "duels_won": 5.4243,
                "total_long_balls": 1.6157,
                "accurate_long_balls": 1.3619,
                "total_own_half_passes": 9.3694,
                "accurate_own_half_passes": 8.1496,
                "total_opp_half_passes": 7.6472,
                "accurate_opp_half_passes": 5.6709,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 30.0471,
                "possession_lost": 7.5529,
                "dispossessed": 1.5773,
                "duels_lost": 4.5487,
                "aerial_won": 2.1604,
                "aerial_lost": 0.6448,
                "interceptions": 0.295,
                "tackles_won": 0.9023,
                "tackles": 2.6138,
                "clearances": 1.8695,
                "total_contest": 0.6052,
                "won_contest": 0.3514,
                "challenges_lost": 0.2262,
                "fouls": 1.0505,
                "fouls_drawn": 0.295,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0086,
                "ball_carries": 6.079,
                "total_progression": 2.8906,
                "progressive_carries": 0.0,
                "shots_off_target": 0.5231,
                "bench_appearance_probability": 0.696,
                "bench_expected_minutes": 34.74,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0345,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0345,
                "goal_rate": 0.0667,
                "scorer_weight": 0.0442,
                "squad_weight_total": 1.4295,
                "weight_share": 0.031,
                "finishing_factor": 1.25,
                "appearance_weight": 0.696,
                "weight_rank": 9,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.5106,
                    "already": 0,
                    "effective_weight": 0.5106,
                    "runner_up": "Javier Hernández",
                    "runner_up_effective_weight": 0.166
                  }
                ]
              }
            },
            {
              "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.3152,
                "expected_assists": 0.0145,
                "assist_rate": 0.0421,
                "assists": 0,
                "expected_goals": 0.0354,
                "goal_rate": 0.0667,
                "goals": 0,
                "shots_on_target": 0.1466,
                "total_shots": 0.6697,
                "rating": 6.648,
                "minutes": 34.74,
                "total_pass": 17.0167,
                "accurate_pass": 13.8206,
                "duels_won": 5.4243,
                "total_long_balls": 1.6157,
                "accurate_long_balls": 1.3619,
                "total_own_half_passes": 9.3694,
                "accurate_own_half_passes": 8.1496,
                "total_opp_half_passes": 7.6472,
                "accurate_opp_half_passes": 5.6709,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 30.0471,
                "possession_lost": 7.5529,
                "dispossessed": 1.5773,
                "duels_lost": 4.5487,
                "aerial_won": 2.1604,
                "aerial_lost": 0.6448,
                "interceptions": 0.295,
                "tackles_won": 0.9023,
                "tackles": 2.6138,
                "clearances": 1.8695,
                "total_contest": 0.6052,
                "won_contest": 0.3514,
                "challenges_lost": 0.2262,
                "fouls": 1.0505,
                "fouls_drawn": 0.295,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0086,
                "ball_carries": 6.079,
                "total_progression": 2.8906,
                "progressive_carries": 0.0,
                "shots_off_target": 0.5231,
                "bench_appearance_probability": 0.696,
                "bench_expected_minutes": 34.74,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0345,
                "projected_assists": 0,
                "assist_probability": 0.0144,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0144,
                "assist_rate": 0.0421,
                "provider_weight": 0.0181,
                "squad_weight_total": 1.0297,
                "weight_share": 0.0176,
                "creation_factor": 1.25,
                "appearance_weight": 0.696,
                "weight_rank": 12,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Javier Hernández",
                    "weight": 0.193,
                    "already": 0,
                    "effective_weight": 0.193,
                    "runner_up": "Bryan Zaragoza",
                    "runner_up_effective_weight": 0.1355,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Javi Puado": {
          "player_id": 891511,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 7,
          "height": 178,
          "market_value": 7000000,
          "stats": {
            "expected_goals": 0.1444,
            "goal_rate": 0.1537,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.046,
            "key_pass": 1,
            "rating": 6.6661,
            "minutes": 25,
            "total_pass": 26,
            "accurate_pass": 22,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 17,
            "accurate_opp_half_passes": 14,
            "crosses_total": 2,
            "crosses_accurate": 1,
            "touches": 40,
            "possession_lost": 9.7116,
            "dispossessed": 0.4326,
            "duels_lost": 5,
            "aerial_lost": 1,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 4,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 1,
            "xgot": 0.3703,
            "offsides": 0,
            "ball_carries": 4,
            "total_progression": 0,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.568,
            "bench_expected_minutes": 25.49,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.55,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.1275,
            "projected_assists": 0,
            "assist_probability": 0.0442,
            "finishing_factor": 0.8026,
            "creation_factor": 0.8,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 14083222,
              "match_date": "2026-01-11",
              "home_team": "Levante UD",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 4,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083203,
              "match_date": "2026-01-03",
              "home_team": "Espanyol",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 8,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083635,
              "match_date": "2025-10-05",
              "home_team": "Espanyol",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.168,
                "expected_assists": 0.1238,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 47,
                "accurate_pass": 40,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 7
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083595,
              "match_date": "2025-09-26",
              "home_team": "Girona FC",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 75,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0325,
                "expected_assists": 0.1577,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 17,
                "accurate_pass": 17,
                "key_pass": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083407,
              "match_date": "2025-09-23",
              "home_team": "Espanyol",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.2083,
                "expected_assists": 0.2352,
                "total_shots": 5,
                "shots_on_target": 3,
                "shots_off_target": 2,
                "total_pass": 20,
                "accurate_pass": 15,
                "key_pass": 2,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 7
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083333,
              "match_date": "2025-09-20",
              "home_team": "Real Madrid",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 77,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1166,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 12,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083234,
              "match_date": "2025-09-15",
              "home_team": "Espanyol",
              "away_team": "Mallorca",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 72,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0834,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 16,
                "key_pass": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083138,
              "match_date": "2025-08-31",
              "home_team": "Espanyol",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 84,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.161,
                "expected_assists": 0.0426,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 24,
                "accurate_pass": 18,
                "key_pass": 2,
                "tackles": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true
            },
            {
              "match_id": 14082867,
              "match_date": "2025-08-24",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.8859,
                "expected_assists": 0.0246,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 23,
                "accurate_pass": 21,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 3,
                "ball_recovery": 5
              },
              "has_player_stats": true
            },
            {
              "match_id": 14082853,
              "match_date": "2025-08-17",
              "home_team": "Espanyol",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 88,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0172,
                "expected_assists": 0.0416,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 31,
                "accurate_pass": 25,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 2281,
            "combined_rank_score": 901.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 834.0,
            "sofascore_rating": 6.5889,
            "sofascore_appearances": 10.0,
            "fifa_rank": 968.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6661,
            "source_file": "data/player_rankings.csv",
            "player_name": "Javi Puado",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Yves Bissouma",
                  "ranking": 2276
                },
                {
                  "player_name": "Nuriddin  Nuriddinov",
                  "ranking": 2277
                },
                {
                  "player_name": "Kim Min-Ho",
                  "ranking": 2278
                },
                {
                  "player_name": "Manuel Ugarte",
                  "ranking": 2279
                },
                {
                  "player_name": "Endrick",
                  "ranking": 2280
                }
              ],
              "lower": [
                {
                  "player_name": "Bekhruz Jumatov",
                  "ranking": 2282
                },
                {
                  "player_name": "Odilon Kossounou",
                  "ranking": 2283
                },
                {
                  "player_name": "Lennart Karl",
                  "ranking": 2284
                },
                {
                  "player_name": "André",
                  "ranking": 2285
                },
                {
                  "player_name": "Tim Payne",
                  "ranking": 2286
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 10,
          "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": 10,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.48700561251263,
            "bench_appearance_prob": 0.5675911642051195,
            "market_value_adjustment": 0.9982,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (10 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.1361,
                "goals": 0.1027,
                "goal_rate": 0.1027,
                "shots_on_target": 0.2564,
                "total_shots": 0.7247,
                "expected_assists": 0.0482,
                "key_pass": 0.6041,
                "rating": 6.6661,
                "minutes": 12.92,
                "total_pass": 17.3118,
                "accurate_pass": 14.6358,
                "duels_won": 1.4238,
                "total_long_balls": 0.9345,
                "accurate_long_balls": 0.6137,
                "total_opp_half_passes": 11.4415,
                "accurate_opp_half_passes": 9.1338,
                "crosses_total": 1.6329,
                "crosses_accurate": 0.4088,
                "touches": 26.7141,
                "possession_lost": 6.4861,
                "dispossessed": 0.4334,
                "duels_lost": 3.4948,
                "aerial_lost": 0.8423,
                "total_contest": 1.5774,
                "won_contest": 0.6611,
                "ball_recovery": 2.7858,
                "challenges_lost": 0.4148,
                "fouls": 0.9898,
                "fouls_drawn": 0.3081,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1916,
                "tackles_won": 0.1338,
                "tackles": 0.2765,
                "clearances": 0.2402,
                "blocks": 0.0509,
                "big_chances_created": 0.2203,
                "big_chances_missed": 0.6222,
                "xgot": 0.3491,
                "offsides": 0.0,
                "ball_carries": 2.3784,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4683
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-16T10:32:26.279343+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-01-11",
                    "opponent": "Levante UD",
                    "minutes": 4.0,
                    "is_starting": false,
                    "weight": 0.1868,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-01-03",
                    "opponent": "FC Barcelona",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.1588,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2025-10-05",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1349,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2025-09-26",
                    "opponent": "Girona FC",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.1147,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2025-09-23",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0975,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2025-09-20",
                    "opponent": "Real Madrid",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.0829,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2025-09-15",
                    "opponent": "Mallorca",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.0704,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2025-08-31",
                    "opponent": "Osasuna",
                    "minutes": 84.0,
                    "is_starting": true,
                    "weight": 0.0599,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2025-08-24",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0509,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2025-08-17",
                    "opponent": "Atlético Madrid",
                    "minutes": 88.0,
                    "is_starting": true,
                    "weight": 0.0433,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 10.0,
                  "is_starting_11": 0.0,
                  "totalOppositionHalfPasses": 11.4415,
                  "expectedGoals": 0.3346,
                  "accurateOppositionHalfPasses": 9.1338,
                  "accuratePass": 14.6357,
                  "totalShots": 1.3978
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.13613180816173553,
                    "model_output": 0.1361,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.08
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0261
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0089
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0073
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0063
                        }
                      ],
                      "others": -0.0028,
                      "total": 0.1361,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.519123
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.200308
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.060297
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.048739
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.044482
                        }
                      ],
                      "others_margin": -0.020475
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1026737168431282,
                    "model_output": 0.1027,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0839
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0183
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0159
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0072
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0061
                        }
                      ],
                      "others": -0.0011,
                      "total": 0.1027,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.531974
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.165916
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.145969
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.063167
                        },
                        {
                          "name": "goals",
                          "margin": -0.056666
                        }
                      ],
                      "others_margin": -0.011656
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2563912868499756,
                    "model_output": 0.2564,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2304
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0248
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0215
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0147
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0108
                        }
                      ],
                      "others": -0.03,
                      "total": 0.2564,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.55948
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.084312
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.079012
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.054934
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.038362
                        }
                      ],
                      "others_margin": -0.110994
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.7247138023376465,
                    "model_output": 0.7247,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5721
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.039
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0308
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0297
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0243
                        }
                      ],
                      "others": -0.0798,
                      "total": 0.7247,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.572105
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.039035
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.030823
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.0297
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.024313
                        }
                      ],
                      "others_margin": -0.079847
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.04815857484936714,
                    "model_output": 0.0482,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0154
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.005
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0039
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0035
                        },
                        {
                          "name": "rating",
                          "contribution": -0.003
                        }
                      ],
                      "others": -0.0022,
                      "total": 0.0482,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.273939
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.097415
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.075053
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.068218
                        },
                        {
                          "name": "rating",
                          "margin": -0.057456
                        }
                      ],
                      "others_margin": -0.046929
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.6041035652160645,
                    "model_output": 0.6041,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1862
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0833
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0291
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0275
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0183
                        }
                      ],
                      "others": 0.0535,
                      "total": 0.6041,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.323595
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.157767
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.052382
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": 0.049562
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.032693
                        }
                      ],
                      "others_margin": 0.092794
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.666069507598877,
                    "model_output": 6.6661,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0609
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0186
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0152
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0126
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0118
                        }
                      ],
                      "others": -0.0358,
                      "total": 6.6661,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.060938
                        },
                        {
                          "name": "rating",
                          "margin": -0.018581
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.015188
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.012598
                        },
                        {
                          "name": "touches",
                          "margin": 0.01176
                        }
                      ],
                      "others_margin": -0.035762
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 10,
                  "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 0.9982, quality 0.487)",
              "stats": {
                "expected_goals": 0.1359,
                "goals": 0.1025,
                "goal_rate": 0.1025,
                "shots_on_target": 0.2559,
                "total_shots": 0.7234,
                "expected_assists": 0.0481,
                "key_pass": 0.603,
                "rating": 6.6661,
                "minutes": 12.92,
                "total_pass": 17.2806,
                "accurate_pass": 14.6095,
                "duels_won": 1.4212,
                "total_long_balls": 0.9328,
                "accurate_long_balls": 0.6126,
                "total_opp_half_passes": 11.4209,
                "accurate_opp_half_passes": 9.1174,
                "crosses_total": 1.63,
                "crosses_accurate": 0.4081,
                "touches": 26.666,
                "possession_lost": 6.4744,
                "dispossessed": 0.4326,
                "duels_lost": 3.4885,
                "aerial_lost": 0.8408,
                "total_contest": 1.5746,
                "won_contest": 0.6599,
                "ball_recovery": 2.7808,
                "challenges_lost": 0.4141,
                "fouls": 0.988,
                "fouls_drawn": 0.3075,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1913,
                "tackles_won": 0.1336,
                "tackles": 0.276,
                "clearances": 0.2398,
                "blocks": 0.0508,
                "big_chances_created": 0.2199,
                "big_chances_missed": 0.6211,
                "xgot": 0.3485,
                "offsides": 0.0,
                "ball_carries": 2.3741,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4675
              },
              "params": {
                "market_value_eur": 7000000,
                "quality_factor": 0.4866,
                "boost_factor": 0.9982,
                "reference_quality": 0.505,
                "history_matches": 10,
                "history_shrink": 0.3333,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 12.9 to 25.5 expected minutes (appearance prob 0.57)",
              "stats": {
                "expected_goals": 0.2038,
                "goals": 0.1537,
                "goal_rate": 0.1537,
                "shots_on_target": 0.3839,
                "total_shots": 1.0852,
                "expected_assists": 0.0721,
                "key_pass": 0.9045,
                "rating": 6.6661,
                "minutes": 25.49,
                "total_pass": 25.9209,
                "accurate_pass": 21.9143,
                "duels_won": 2.1318,
                "total_long_balls": 1.3992,
                "accurate_long_balls": 0.9189,
                "total_opp_half_passes": 17.1313,
                "accurate_opp_half_passes": 13.6761,
                "crosses_total": 2.445,
                "crosses_accurate": 0.6121,
                "touches": 39.999,
                "possession_lost": 9.7116,
                "dispossessed": 0.4326,
                "duels_lost": 5.2328,
                "aerial_lost": 0.8408,
                "total_contest": 2.3619,
                "won_contest": 0.9899,
                "ball_recovery": 4.1712,
                "challenges_lost": 0.4141,
                "fouls": 1.482,
                "fouls_drawn": 0.4612,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2869,
                "tackles_won": 0.2004,
                "tackles": 0.414,
                "clearances": 0.3597,
                "blocks": 0.0762,
                "big_chances_created": 0.3299,
                "big_chances_missed": 0.9316,
                "xgot": 0.5227,
                "offsides": 0.0,
                "ball_carries": 3.5611,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.7013,
                "bench_appearance_probability": 0.568,
                "bench_expected_minutes": 25.49
              },
              "params": {
                "expected_minutes": 25.49,
                "projection_minutes": 12.92,
                "minutes_scale": 1.5,
                "appearance_probability": 0.568
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.2038,
                "goals": 0.1537,
                "goal_rate": 0.1537,
                "shots_on_target": 0.3839,
                "total_shots": 1.0852,
                "expected_assists": 0.0721,
                "key_pass": 0.9045,
                "rating": 6.6661,
                "minutes": 25.49,
                "total_pass": 25.9209,
                "accurate_pass": 21.9143,
                "duels_won": 2.1318,
                "total_long_balls": 1.3992,
                "accurate_long_balls": 0.9189,
                "total_opp_half_passes": 17.1313,
                "accurate_opp_half_passes": 13.6761,
                "crosses_total": 2.445,
                "crosses_accurate": 0.6121,
                "touches": 39.999,
                "possession_lost": 9.7116,
                "dispossessed": 0.4326,
                "duels_lost": 5.2328,
                "aerial_lost": 0.8408,
                "total_contest": 2.3619,
                "won_contest": 0.9899,
                "ball_recovery": 4.1712,
                "challenges_lost": 0.4141,
                "fouls": 1.482,
                "fouls_drawn": 0.4612,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2869,
                "tackles_won": 0.2004,
                "tackles": 0.414,
                "clearances": 0.3597,
                "blocks": 0.0762,
                "big_chances_created": 0.3299,
                "big_chances_missed": 0.9316,
                "xgot": 0.5227,
                "offsides": 0.0,
                "ball_carries": 3.5611,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.7013,
                "bench_appearance_probability": 0.568,
                "bench_expected_minutes": 25.49
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.2038,
                "goal_rate": 0.1537,
                "goals": 0,
                "shots_on_target": 0.3839,
                "total_shots": 1.0852,
                "expected_assists": 0.0721,
                "key_pass": 0.9045,
                "rating": 6.6661,
                "minutes": 25.49,
                "total_pass": 25.9209,
                "accurate_pass": 21.9143,
                "duels_won": 2.1318,
                "total_long_balls": 1.3992,
                "accurate_long_balls": 0.9189,
                "total_opp_half_passes": 17.1313,
                "accurate_opp_half_passes": 13.6761,
                "crosses_total": 2.445,
                "crosses_accurate": 0.6121,
                "touches": 39.999,
                "possession_lost": 9.7116,
                "dispossessed": 0.4326,
                "duels_lost": 5.2328,
                "aerial_lost": 0.8408,
                "total_contest": 2.3619,
                "won_contest": 0.9899,
                "ball_recovery": 4.1712,
                "challenges_lost": 0.4141,
                "fouls": 1.482,
                "fouls_drawn": 0.4612,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2869,
                "tackles_won": 0.2004,
                "tackles": 0.414,
                "clearances": 0.3597,
                "blocks": 0.0762,
                "big_chances_created": 0.3299,
                "big_chances_missed": 0.9316,
                "xgot": 0.5227,
                "offsides": 0.0,
                "ball_carries": 3.5611,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.7013,
                "bench_appearance_probability": 0.568,
                "bench_expected_minutes": 25.49,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.34 (squad xG sum 1.0719, xG scale 1.2473, xA scale 1.1232, team xA 1.07 = 0.80 x lambda)",
              "stats": {
                "expected_goals": 0.1444,
                "goal_rate": 0.1537,
                "goals": 0,
                "shots_on_target": 0.3839,
                "total_shots": 1.0852,
                "expected_assists": 0.046,
                "key_pass": 0.9045,
                "rating": 6.6661,
                "minutes": 25.49,
                "total_pass": 25.9209,
                "accurate_pass": 21.9143,
                "duels_won": 2.1318,
                "total_long_balls": 1.3992,
                "accurate_long_balls": 0.9189,
                "total_opp_half_passes": 17.1313,
                "accurate_opp_half_passes": 13.6761,
                "crosses_total": 2.445,
                "crosses_accurate": 0.6121,
                "touches": 39.999,
                "possession_lost": 9.7116,
                "dispossessed": 0.4326,
                "duels_lost": 5.2328,
                "aerial_lost": 0.8408,
                "total_contest": 2.3619,
                "won_contest": 0.9899,
                "ball_recovery": 4.1712,
                "challenges_lost": 0.4141,
                "fouls": 1.482,
                "fouls_drawn": 0.4612,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2869,
                "tackles_won": 0.2004,
                "tackles": 0.414,
                "clearances": 0.3597,
                "blocks": 0.0762,
                "big_chances_created": 0.3299,
                "big_chances_missed": 0.9316,
                "xgot": 0.3703,
                "offsides": 0.0,
                "ball_carries": 3.5611,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.7013,
                "bench_appearance_probability": 0.568,
                "bench_expected_minutes": 25.49,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "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.8026,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.337,
                "squad_xg_sum": 1.0719,
                "squad_xa_sum": 0.9523,
                "team_expected_assists": 1.0696,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2473,
                "xa_scale": 1.1232,
                "opponent_lambda": 2.325,
                "scoreline_reset": true,
                "appearance_weight": 0.568
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2038,
                  "after": 0.1444
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0721,
                  "after": 0.046
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 15 by projected rating, fifa_overall 79.0)",
              "stats": {
                "expected_goals": 0.1444,
                "goal_rate": 0.1537,
                "goals": 0,
                "shots_on_target": 0.3839,
                "total_shots": 1.0852,
                "expected_assists": 0.046,
                "key_pass": 0.9045,
                "rating": 6.6661,
                "minutes": 25.49,
                "total_pass": 25.9209,
                "accurate_pass": 21.9143,
                "duels_won": 2.1318,
                "total_long_balls": 1.3992,
                "accurate_long_balls": 0.9189,
                "total_opp_half_passes": 17.1313,
                "accurate_opp_half_passes": 13.6761,
                "crosses_total": 2.445,
                "crosses_accurate": 0.6121,
                "touches": 39.999,
                "possession_lost": 9.7116,
                "dispossessed": 0.4326,
                "duels_lost": 5.2328,
                "aerial_lost": 0.8408,
                "total_contest": 2.3619,
                "won_contest": 0.9899,
                "ball_recovery": 4.1712,
                "challenges_lost": 0.4141,
                "fouls": 1.482,
                "fouls_drawn": 0.4612,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2869,
                "tackles_won": 0.2004,
                "tackles": 0.414,
                "clearances": 0.3597,
                "blocks": 0.0762,
                "big_chances_created": 0.3299,
                "big_chances_missed": 0.9316,
                "xgot": 0.3703,
                "offsides": 0.0,
                "ball_carries": 3.5611,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.7013,
                "bench_appearance_probability": 0.568,
                "bench_expected_minutes": 25.49,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "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.8026,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 15,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 2281,
                "fifa_rank": 968.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.1444,
                "goal_rate": 0.1537,
                "goals": 0,
                "shots_on_target": 0.3839,
                "total_shots": 1.0852,
                "expected_assists": 0.046,
                "key_pass": 0.9045,
                "rating": 6.6661,
                "minutes": 25.49,
                "total_pass": 25.9209,
                "accurate_pass": 21.9143,
                "duels_won": 2.1318,
                "total_long_balls": 1.3992,
                "accurate_long_balls": 0.9189,
                "total_opp_half_passes": 17.1313,
                "accurate_opp_half_passes": 13.6761,
                "crosses_total": 2.445,
                "crosses_accurate": 0.6121,
                "touches": 39.999,
                "possession_lost": 9.7116,
                "dispossessed": 0.4326,
                "duels_lost": 5.2328,
                "aerial_lost": 0.8408,
                "total_contest": 2.3619,
                "won_contest": 0.9899,
                "ball_recovery": 4.1712,
                "challenges_lost": 0.4141,
                "fouls": 1.482,
                "fouls_drawn": 0.4612,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2869,
                "tackles_won": 0.2004,
                "tackles": 0.414,
                "clearances": 0.3597,
                "blocks": 0.0762,
                "big_chances_created": 0.3299,
                "big_chances_missed": 0.9316,
                "xgot": 0.3703,
                "offsides": 0.0,
                "ball_carries": 3.5611,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.7013,
                "bench_appearance_probability": 0.568,
                "bench_expected_minutes": 25.49,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.1275,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8026,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1275,
                "goal_rate": 0.1537,
                "scorer_weight": 0.1159,
                "squad_weight_total": 1.4295,
                "weight_share": 0.0811,
                "finishing_factor": 0.8026,
                "appearance_weight": 0.568,
                "weight_rank": 6,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.5106,
                    "already": 0,
                    "effective_weight": 0.5106,
                    "runner_up": "Javier Hernández",
                    "runner_up_effective_weight": 0.166
                  }
                ]
              }
            },
            {
              "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.1444,
                "goal_rate": 0.1537,
                "goals": 0,
                "shots_on_target": 0.3839,
                "total_shots": 1.0852,
                "expected_assists": 0.046,
                "key_pass": 0.9045,
                "rating": 6.6661,
                "minutes": 25.49,
                "total_pass": 25.9209,
                "accurate_pass": 21.9143,
                "duels_won": 2.1318,
                "total_long_balls": 1.3992,
                "accurate_long_balls": 0.9189,
                "total_opp_half_passes": 17.1313,
                "accurate_opp_half_passes": 13.6761,
                "crosses_total": 2.445,
                "crosses_accurate": 0.6121,
                "touches": 39.999,
                "possession_lost": 9.7116,
                "dispossessed": 0.4326,
                "duels_lost": 5.2328,
                "aerial_lost": 0.8408,
                "total_contest": 2.3619,
                "won_contest": 0.9899,
                "ball_recovery": 4.1712,
                "challenges_lost": 0.4141,
                "fouls": 1.482,
                "fouls_drawn": 0.4612,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2869,
                "tackles_won": 0.2004,
                "tackles": 0.414,
                "clearances": 0.3597,
                "blocks": 0.0762,
                "big_chances_created": 0.3299,
                "big_chances_missed": 0.9316,
                "xgot": 0.3703,
                "offsides": 0.0,
                "ball_carries": 3.5611,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.7013,
                "bench_appearance_probability": 0.568,
                "bench_expected_minutes": 25.49,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.1275,
                "projected_assists": 0,
                "assist_probability": 0.0442,
                "finishing_factor": 0.8026,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0442,
                "assist_rate": 0.0,
                "provider_weight": 0.0368,
                "squad_weight_total": 1.0297,
                "weight_share": 0.0357,
                "creation_factor": 0.8,
                "appearance_weight": 0.568,
                "weight_rank": 9,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Javier Hernández",
                    "weight": 0.193,
                    "already": 0,
                    "effective_weight": 0.193,
                    "runner_up": "Bryan Zaragoza",
                    "runner_up_effective_weight": 0.1355,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Jofre Carreras": {
          "player_id": 1019236,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 17,
          "height": 175,
          "market_value": 2800000,
          "stats": {
            "expected_goals": 0.0596,
            "goal_rate": 0.1147,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0318,
            "key_pass": 1,
            "rating": 6.606,
            "minutes": 25,
            "total_pass": 6,
            "accurate_pass": 5,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 3,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 14,
            "possession_lost": 5.5924,
            "dispossessed": 0.3359,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 1,
            "won_contest": 0,
            "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.0019,
            "offsides": 0,
            "ball_carries": 4,
            "total_progression": 28,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.559,
            "bench_expected_minutes": 25.29,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.55,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0565,
            "projected_assists": 0,
            "assist_probability": 0.0309,
            "finishing_factor": 1.2155,
            "creation_factor": 0.8,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 13,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0288,
                "expected_assists": 0.0013,
                "total_shots": 1,
                "total_pass": 3,
                "accurate_pass": 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": 16416306,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0013,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 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": 16421053,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 9,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1796,
                "expected_assists": 0.0007,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 6,
                "accurate_pass": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "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": 72,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5479,
                "expected_assists": 0.0391,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 23,
                "accurate_pass": 19,
                "key_pass": 2,
                "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": "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": 0,
              "team": "Espanyol",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 27,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0145,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 7,
                "interceptions": 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": "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": 0,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 15,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "duels_won": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083422,
              "match_date": "2026-05-03",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 17,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0019,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 3,
                "key_pass": 1,
                "tackles": 1,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true
            },
            {
              "match_id": 14081811,
              "match_date": "2026-04-04",
              "home_team": "Real Betis",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 12,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0112,
                "total_shots": 1,
                "total_pass": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083673,
              "match_date": "2026-03-21",
              "home_team": "Espanyol",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Getafe",
              "stats": {
                "minutes": 12,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0023,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 3,
                "duels_won": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083642,
              "match_date": "2026-03-15",
              "home_team": "Mallorca",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 9,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0016,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 2
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 2258,
            "combined_rank_score": 851.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 823.0,
            "sofascore_rating": 6.5962,
            "sofascore_appearances": 26.0,
            "fifa_rank": 880.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.606,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jofre Carreras",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Stefan Velkov",
                  "ranking": 2253
                },
                {
                  "player_name": "Benjamín Villarroel",
                  "ranking": 2254
                },
                {
                  "player_name": "Son Seung-beom",
                  "ranking": 2255
                },
                {
                  "player_name": "Elbek Otakulov",
                  "ranking": 2256
                },
                {
                  "player_name": "Callum Olusesi",
                  "ranking": 2257
                }
              ],
              "lower": [
                {
                  "player_name": "Mikel Vesga",
                  "ranking": 2259
                },
                {
                  "player_name": "Malo Gusto",
                  "ranking": 2260
                },
                {
                  "player_name": "Aldrix Jara",
                  "ranking": 2261
                },
                {
                  "player_name": "Yehor Yarmoliuk",
                  "ranking": 2262
                },
                {
                  "player_name": "Chimy Ávila",
                  "ranking": 2263
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 29,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 29,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.292222187561247,
            "bench_appearance_prob": 0.5587373721618749,
            "market_value_adjustment": 0.997,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (29 historical appearances) to 25.3 expected mins (appearance prob 0.56)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0572,
                "goals": 0.0767,
                "goal_rate": 0.0767,
                "shots_on_target": 0.2074,
                "total_shots": 0.555,
                "expected_assists": 0.0339,
                "key_pass": 0.3715,
                "rating": 6.606,
                "minutes": 15.28,
                "total_pass": 4.2652,
                "accurate_pass": 3.0412,
                "duels_won": 1.0369,
                "total_long_balls": 0.1143,
                "accurate_long_balls": 0.0614,
                "total_opp_half_passes": 3.0755,
                "accurate_opp_half_passes": 2.1322,
                "crosses_total": 0.8474,
                "crosses_accurate": 0.1197,
                "touches": 9.6799,
                "possession_lost": 3.7395,
                "dispossessed": 0.3369,
                "duels_lost": 1.6161,
                "aerial_lost": 0.1634,
                "total_contest": 0.9656,
                "won_contest": 0.1758,
                "ball_recovery": 0.6969,
                "challenges_lost": 0.2224,
                "fouls": 0.1036,
                "fouls_drawn": 0.6606,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1677,
                "tackles_won": 0.0696,
                "tackles": 0.1685,
                "clearances": 0.2139,
                "blocks": 0.0,
                "big_chances_created": 0.0226,
                "big_chances_missed": 0.0,
                "xgot": 0.0018,
                "offsides": 0.0887,
                "ball_carries": 2.9839,
                "total_progression": 18.7767,
                "progressive_carries": 0.7612,
                "shots_off_target": 0.3476
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-16T10:32:26.279343+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Sociedad",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.1514,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Real Madrid",
                    "minutes": 2.0,
                    "is_starting": false,
                    "weight": 0.1287,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Levante UD",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.1094,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Sociedad",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.093,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Athletic Club",
                    "minutes": 27.0,
                    "is_starting": false,
                    "weight": 0.079,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Sevilla",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.0672,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-03",
                    "opponent": "Real Madrid",
                    "minutes": 17.0,
                    "is_starting": false,
                    "weight": 0.0571,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-04-04",
                    "opponent": "Real Betis",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.0485,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-03-21",
                    "opponent": "Getafe",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.0412,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-03-15",
                    "opponent": "Mallorca",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.0351,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalOppositionHalfPasses": 4.7312,
                  "expectedGoals": 0.1059,
                  "accurateOppositionHalfPasses": 3.4838,
                  "accuratePass": 5.0406,
                  "totalShots": 0.8768
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.05715489760041237,
                    "model_output": 0.0572,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.092
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0135
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0086
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.004
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0035
                        }
                      ],
                      "others": -0.0187,
                      "total": 0.0572,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.627071
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.136767
                        },
                        {
                          "name": "goals",
                          "margin": -0.098208
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.048604
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.045472
                        }
                      ],
                      "others_margin": -0.283952
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.0767156109213829,
                    "model_output": 0.0767,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0836
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0156
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0071
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0048
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0033
                        }
                      ],
                      "others": -0.0123,
                      "total": 0.0767,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.529906
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.140017
                        },
                        {
                          "name": "goals",
                          "margin": -0.070485
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.050601
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.036152
                        }
                      ],
                      "others_margin": -0.147699
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2074023336172104,
                    "model_output": 0.2074,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2315
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0232
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.0181
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0149
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0113
                        }
                      ],
                      "others": -0.0312,
                      "total": 0.2074,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.562994
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.078954
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": -0.066127
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.05809
                        },
                        {
                          "name": "goals",
                          "margin": -0.046352
                        }
                      ],
                      "others_margin": -0.140029
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5550125241279602,
                    "model_output": 0.555,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.502
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1358
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0403
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0347
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0326
                        }
                      ],
                      "others": -0.1386,
                      "total": 0.555,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.502024
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.13581
                        },
                        {
                          "name": "goals",
                          "margin": -0.040253
                        },
                        {
                          "name": "duelWon",
                          "margin": -0.034678
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.032582
                        }
                      ],
                      "others_margin": -0.138645
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03386993706226349,
                    "model_output": 0.0339,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0219
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0047
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0036
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0036
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.003
                        }
                      ],
                      "others": -0.0079,
                      "total": 0.0339,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.417038
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.117777
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.091331
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.084403
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.069213
                        }
                      ],
                      "others_margin": -0.211422
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.37145960330963135,
                    "model_output": 0.3715,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2461
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0308
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0275
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0247
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0112
                        }
                      ],
                      "others": -0.011,
                      "total": 0.3715,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.454767
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.074914
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.071862
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.064778
                        },
                        {
                          "name": "rating",
                          "margin": -0.028954
                        }
                      ],
                      "others_margin": -0.029133
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.605957508087158,
                    "model_output": 6.606,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0668
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0188
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0138
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0122
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0113
                        }
                      ],
                      "others": -0.0657,
                      "total": 6.606,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.066818
                        },
                        {
                          "name": "rating",
                          "margin": -0.018756
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.013758
                        },
                        {
                          "name": "touches",
                          "margin": -0.01216
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.011348
                        }
                      ],
                      "others_margin": -0.06572
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 29,
                  "role_matches": 20,
                  "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.9970, quality 0.437)",
              "stats": {
                "expected_goals": 0.057,
                "goals": 0.0765,
                "goal_rate": 0.0765,
                "shots_on_target": 0.2068,
                "total_shots": 0.5534,
                "expected_assists": 0.0338,
                "key_pass": 0.3703,
                "rating": 6.606,
                "minutes": 15.28,
                "total_pass": 4.2524,
                "accurate_pass": 3.0321,
                "duels_won": 1.0338,
                "total_long_balls": 0.114,
                "accurate_long_balls": 0.0612,
                "total_opp_half_passes": 3.0663,
                "accurate_opp_half_passes": 2.1258,
                "crosses_total": 0.8449,
                "crosses_accurate": 0.1193,
                "touches": 9.6509,
                "possession_lost": 3.7283,
                "dispossessed": 0.3359,
                "duels_lost": 1.6113,
                "aerial_lost": 0.1629,
                "total_contest": 0.9627,
                "won_contest": 0.1753,
                "ball_recovery": 0.6948,
                "challenges_lost": 0.2217,
                "fouls": 0.1033,
                "fouls_drawn": 0.6586,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1672,
                "tackles_won": 0.0694,
                "tackles": 0.168,
                "clearances": 0.2133,
                "blocks": 0.0,
                "big_chances_created": 0.0225,
                "big_chances_missed": 0.0,
                "xgot": 0.0018,
                "offsides": 0.0884,
                "ball_carries": 2.9749,
                "total_progression": 18.7204,
                "progressive_carries": 0.7589,
                "shots_off_target": 0.3466
              },
              "params": {
                "market_value_eur": 2800000,
                "quality_factor": 0.4374,
                "boost_factor": 0.997,
                "reference_quality": 0.505,
                "history_matches": 29,
                "history_shrink": 0.1471,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 15.3 to 25.3 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.0855,
                "goals": 0.1147,
                "goal_rate": 0.1147,
                "shots_on_target": 0.3102,
                "total_shots": 0.8301,
                "expected_assists": 0.0507,
                "key_pass": 0.5554,
                "rating": 6.606,
                "minutes": 25.29,
                "total_pass": 6.3786,
                "accurate_pass": 4.5481,
                "duels_won": 1.5507,
                "total_long_balls": 0.171,
                "accurate_long_balls": 0.0918,
                "total_opp_half_passes": 4.5995,
                "accurate_opp_half_passes": 3.1887,
                "crosses_total": 1.2673,
                "crosses_accurate": 0.1789,
                "touches": 14.4764,
                "possession_lost": 5.5924,
                "dispossessed": 0.3359,
                "duels_lost": 2.4169,
                "aerial_lost": 0.1629,
                "total_contest": 1.4441,
                "won_contest": 0.263,
                "ball_recovery": 1.0422,
                "challenges_lost": 0.2217,
                "fouls": 0.155,
                "fouls_drawn": 0.9879,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2508,
                "tackles_won": 0.1041,
                "tackles": 0.252,
                "clearances": 0.3199,
                "blocks": 0.0,
                "big_chances_created": 0.0338,
                "big_chances_missed": 0.0,
                "xgot": 0.0027,
                "offsides": 0.0884,
                "ball_carries": 4.4623,
                "total_progression": 28.0806,
                "progressive_carries": 1.1383,
                "shots_off_target": 0.5199,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "params": {
                "expected_minutes": 25.29,
                "projection_minutes": 15.28,
                "minutes_scale": 1.5,
                "appearance_probability": 0.559
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0855,
                "goals": 0.1147,
                "goal_rate": 0.1147,
                "shots_on_target": 0.3102,
                "total_shots": 0.8301,
                "expected_assists": 0.0507,
                "key_pass": 0.5554,
                "rating": 6.606,
                "minutes": 25.29,
                "total_pass": 6.3786,
                "accurate_pass": 4.5481,
                "duels_won": 1.5507,
                "total_long_balls": 0.171,
                "accurate_long_balls": 0.0918,
                "total_opp_half_passes": 4.5995,
                "accurate_opp_half_passes": 3.1887,
                "crosses_total": 1.2673,
                "crosses_accurate": 0.1789,
                "touches": 14.4764,
                "possession_lost": 5.5924,
                "dispossessed": 0.3359,
                "duels_lost": 2.4169,
                "aerial_lost": 0.1629,
                "total_contest": 1.4441,
                "won_contest": 0.263,
                "ball_recovery": 1.0422,
                "challenges_lost": 0.2217,
                "fouls": 0.155,
                "fouls_drawn": 0.9879,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2508,
                "tackles_won": 0.1041,
                "tackles": 0.252,
                "clearances": 0.3199,
                "blocks": 0.0,
                "big_chances_created": 0.0338,
                "big_chances_missed": 0.0,
                "xgot": 0.0027,
                "offsides": 0.0884,
                "ball_carries": 4.4623,
                "total_progression": 28.0806,
                "progressive_carries": 1.1383,
                "shots_off_target": 0.5199,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": true
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.0855,
                "goal_rate": 0.1147,
                "goals": 0,
                "shots_on_target": 0.3102,
                "total_shots": 0.8301,
                "expected_assists": 0.0507,
                "key_pass": 0.5554,
                "rating": 6.606,
                "minutes": 25.29,
                "total_pass": 6.3786,
                "accurate_pass": 4.5481,
                "duels_won": 1.5507,
                "total_long_balls": 0.171,
                "accurate_long_balls": 0.0918,
                "total_opp_half_passes": 4.5995,
                "accurate_opp_half_passes": 3.1887,
                "crosses_total": 1.2673,
                "crosses_accurate": 0.1789,
                "touches": 14.4764,
                "possession_lost": 5.5924,
                "dispossessed": 0.3359,
                "duels_lost": 2.4169,
                "aerial_lost": 0.1629,
                "total_contest": 1.4441,
                "won_contest": 0.263,
                "ball_recovery": 1.0422,
                "challenges_lost": 0.2217,
                "fouls": 0.155,
                "fouls_drawn": 0.9879,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2508,
                "tackles_won": 0.1041,
                "tackles": 0.252,
                "clearances": 0.3199,
                "blocks": 0.0,
                "big_chances_created": 0.0338,
                "big_chances_missed": 0.0,
                "xgot": 0.0027,
                "offsides": 0.0884,
                "ball_carries": 4.4623,
                "total_progression": 28.0806,
                "progressive_carries": 1.1383,
                "shots_off_target": 0.5199,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.34 (squad xG sum 1.0719, xG scale 1.2473, xA scale 1.1232, team xA 1.07 = 0.80 x lambda)",
              "stats": {
                "expected_goals": 0.0596,
                "goal_rate": 0.1147,
                "goals": 0,
                "shots_on_target": 0.3102,
                "total_shots": 0.8301,
                "expected_assists": 0.0318,
                "key_pass": 0.5554,
                "rating": 6.606,
                "minutes": 25.29,
                "total_pass": 6.3786,
                "accurate_pass": 4.5481,
                "duels_won": 1.5507,
                "total_long_balls": 0.171,
                "accurate_long_balls": 0.0918,
                "total_opp_half_passes": 4.5995,
                "accurate_opp_half_passes": 3.1887,
                "crosses_total": 1.2673,
                "crosses_accurate": 0.1789,
                "touches": 14.4764,
                "possession_lost": 5.5924,
                "dispossessed": 0.3359,
                "duels_lost": 2.4169,
                "aerial_lost": 0.1629,
                "total_contest": 1.4441,
                "won_contest": 0.263,
                "ball_recovery": 1.0422,
                "challenges_lost": 0.2217,
                "fouls": 0.155,
                "fouls_drawn": 0.9879,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2508,
                "tackles_won": 0.1041,
                "tackles": 0.252,
                "clearances": 0.3199,
                "blocks": 0.0,
                "big_chances_created": 0.0338,
                "big_chances_missed": 0.0,
                "xgot": 0.0019,
                "offsides": 0.0884,
                "ball_carries": 4.4623,
                "total_progression": 28.0806,
                "progressive_carries": 1.1383,
                "shots_off_target": 0.5199,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "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.2155,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.337,
                "squad_xg_sum": 1.0719,
                "squad_xa_sum": 0.9523,
                "team_expected_assists": 1.0696,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2473,
                "xa_scale": 1.1232,
                "opponent_lambda": 2.325,
                "scoreline_reset": true,
                "appearance_weight": 0.559
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0855,
                  "after": 0.0596
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0507,
                  "after": 0.0318
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 18 by projected rating, fifa_overall 79.0)",
              "stats": {
                "expected_goals": 0.0596,
                "goal_rate": 0.1147,
                "goals": 0,
                "shots_on_target": 0.3102,
                "total_shots": 0.8301,
                "expected_assists": 0.0318,
                "key_pass": 0.5554,
                "rating": 6.606,
                "minutes": 25.29,
                "total_pass": 6.3786,
                "accurate_pass": 4.5481,
                "duels_won": 1.5507,
                "total_long_balls": 0.171,
                "accurate_long_balls": 0.0918,
                "total_opp_half_passes": 4.5995,
                "accurate_opp_half_passes": 3.1887,
                "crosses_total": 1.2673,
                "crosses_accurate": 0.1789,
                "touches": 14.4764,
                "possession_lost": 5.5924,
                "dispossessed": 0.3359,
                "duels_lost": 2.4169,
                "aerial_lost": 0.1629,
                "total_contest": 1.4441,
                "won_contest": 0.263,
                "ball_recovery": 1.0422,
                "challenges_lost": 0.2217,
                "fouls": 0.155,
                "fouls_drawn": 0.9879,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2508,
                "tackles_won": 0.1041,
                "tackles": 0.252,
                "clearances": 0.3199,
                "blocks": 0.0,
                "big_chances_created": 0.0338,
                "big_chances_missed": 0.0,
                "xgot": 0.0019,
                "offsides": 0.0884,
                "ball_carries": 4.4623,
                "total_progression": 28.0806,
                "progressive_carries": 1.1383,
                "shots_off_target": 0.5199,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "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.2155,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 18,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 2258,
                "fifa_rank": 880.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.0596,
                "goal_rate": 0.1147,
                "goals": 0,
                "shots_on_target": 0.3102,
                "total_shots": 0.8301,
                "expected_assists": 0.0318,
                "key_pass": 0.5554,
                "rating": 6.606,
                "minutes": 25.29,
                "total_pass": 6.3786,
                "accurate_pass": 4.5481,
                "duels_won": 1.5507,
                "total_long_balls": 0.171,
                "accurate_long_balls": 0.0918,
                "total_opp_half_passes": 4.5995,
                "accurate_opp_half_passes": 3.1887,
                "crosses_total": 1.2673,
                "crosses_accurate": 0.1789,
                "touches": 14.4764,
                "possession_lost": 5.5924,
                "dispossessed": 0.3359,
                "duels_lost": 2.4169,
                "aerial_lost": 0.1629,
                "total_contest": 1.4441,
                "won_contest": 0.263,
                "ball_recovery": 1.0422,
                "challenges_lost": 0.2217,
                "fouls": 0.155,
                "fouls_drawn": 0.9879,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2508,
                "tackles_won": 0.1041,
                "tackles": 0.252,
                "clearances": 0.3199,
                "blocks": 0.0,
                "big_chances_created": 0.0338,
                "big_chances_missed": 0.0,
                "xgot": 0.0019,
                "offsides": 0.0884,
                "ball_carries": 4.4623,
                "total_progression": 28.0806,
                "progressive_carries": 1.1383,
                "shots_off_target": 0.5199,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0565,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2155,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0565,
                "goal_rate": 0.1147,
                "scorer_weight": 0.0724,
                "squad_weight_total": 1.4295,
                "weight_share": 0.0507,
                "finishing_factor": 1.2155,
                "appearance_weight": 0.559,
                "weight_rank": 7,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.5106,
                    "already": 0,
                    "effective_weight": 0.5106,
                    "runner_up": "Javier Hernández",
                    "runner_up_effective_weight": 0.166
                  }
                ]
              }
            },
            {
              "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.0596,
                "goal_rate": 0.1147,
                "goals": 0,
                "shots_on_target": 0.3102,
                "total_shots": 0.8301,
                "expected_assists": 0.0318,
                "key_pass": 0.5554,
                "rating": 6.606,
                "minutes": 25.29,
                "total_pass": 6.3786,
                "accurate_pass": 4.5481,
                "duels_won": 1.5507,
                "total_long_balls": 0.171,
                "accurate_long_balls": 0.0918,
                "total_opp_half_passes": 4.5995,
                "accurate_opp_half_passes": 3.1887,
                "crosses_total": 1.2673,
                "crosses_accurate": 0.1789,
                "touches": 14.4764,
                "possession_lost": 5.5924,
                "dispossessed": 0.3359,
                "duels_lost": 2.4169,
                "aerial_lost": 0.1629,
                "total_contest": 1.4441,
                "won_contest": 0.263,
                "ball_recovery": 1.0422,
                "challenges_lost": 0.2217,
                "fouls": 0.155,
                "fouls_drawn": 0.9879,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2508,
                "tackles_won": 0.1041,
                "tackles": 0.252,
                "clearances": 0.3199,
                "blocks": 0.0,
                "big_chances_created": 0.0338,
                "big_chances_missed": 0.0,
                "xgot": 0.0019,
                "offsides": 0.0884,
                "ball_carries": 4.4623,
                "total_progression": 28.0806,
                "progressive_carries": 1.1383,
                "shots_off_target": 0.5199,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0565,
                "projected_assists": 0,
                "assist_probability": 0.0309,
                "finishing_factor": 1.2155,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0309,
                "assist_rate": 0.0,
                "provider_weight": 0.0254,
                "squad_weight_total": 1.0297,
                "weight_share": 0.0247,
                "creation_factor": 0.8,
                "appearance_weight": 0.559,
                "weight_rank": 11,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Javier Hernández",
                    "weight": 0.193,
                    "already": 0,
                    "effective_weight": 0.193,
                    "runner_up": "Bryan Zaragoza",
                    "runner_up_effective_weight": 0.1355,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "substitutes": {
        "Gabriel Moscardo": {
          "player_id": 1485309,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 20,
          "height": 185,
          "market_value": 7500000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0145,
            "assist_rate": 0.0421,
            "assists": 0,
            "expected_goals": 0.0354,
            "goal_rate": 0.0667,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.648,
            "minutes": 35,
            "total_pass": 17,
            "accurate_pass": 14,
            "duels_won": 5,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 9,
            "accurate_own_half_passes": 8,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 6,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 30,
            "possession_lost": 7.5529,
            "dispossessed": 1.5773,
            "duels_lost": 5,
            "aerial_won": 2,
            "aerial_lost": 1,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 3,
            "clearances": 2,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0086,
            "ball_carries": 6,
            "total_progression": 3,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.696,
            "bench_expected_minutes": 34.74,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.55,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0345,
            "projected_assists": 0,
            "assist_probability": 0.0144,
            "finishing_factor": 1.25,
            "creation_factor": 1.25,
            "fifa_overall": 72.0
          },
          "latest_10_games": [
            {
              "match_id": 16416345,
              "match_date": "2026-09-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 45,
                "rating": 5.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0811,
                "expected_assists": 0.004,
                "total_shots": 1,
                "total_pass": 8,
                "accurate_pass": 5,
                "clearances": 1,
                "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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 24,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.001,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 6,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416323,
              "match_date": "2026-09-06",
              "home_team": "Espanyol",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 59,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0136,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 17,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 5,
                "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": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 45,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0453,
                "expected_assists": 0.006,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 21,
                "accurate_pass": 18,
                "tackles": 4,
                "tackles_won": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 4340,
            "combined_rank_score": 2356.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 1.0,
            "fifa_rank": 4267.0,
            "fifa_overall": 72.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.648,
            "source_file": "data/player_rankings.csv",
            "player_name": "Gabriel Moscardo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Fabiano Parisi",
                  "ranking": 4335
                },
                {
                  "player_name": "Mandela Keita",
                  "ranking": 4336
                },
                {
                  "player_name": "Jay Idzes",
                  "ranking": 4337
                },
                {
                  "player_name": "Obed Vargas",
                  "ranking": 4338
                },
                {
                  "player_name": "Mateo Joseph",
                  "ranking": 4339
                }
              ],
              "lower": [
                {
                  "player_name": "Akor Jerome Adams",
                  "ranking": 4341
                },
                {
                  "player_name": "Ezequiel Ponce",
                  "ranking": 4342
                },
                {
                  "player_name": "Anass Salah-Eddine",
                  "ranking": 4343
                },
                {
                  "player_name": "Fabio Miretti",
                  "ranking": 4344
                },
                {
                  "player_name": "Tommaso Baldanzi",
                  "ranking": 4345
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.505,
          "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.505,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 34.74,
            "bench_appearance_prob": 0.696,
            "market_value_adjustment": 0.9979,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 0.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 45.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0333
            },
            "rationale": "Bench projection scaled from XGBoost M_service (4 historical appearances) to 34.7 expected mins (appearance prob 0.70); FBref playing time empirical prior: 1.0 sub appearances, 45.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.2393,
                "expected_assists": 0.0141,
                "assists": 0.0324,
                "assist_rate": 0.0324,
                "expected_goals": 0.031,
                "goals": 0.0512,
                "goal_rate": 0.0512,
                "shots_on_target": 0.1056,
                "total_shots": 0.5027,
                "rating": 6.648,
                "minutes": 26.32,
                "total_pass": 12.9194,
                "accurate_pass": 10.4929,
                "duels_won": 4.1182,
                "total_long_balls": 1.2267,
                "accurate_long_balls": 1.034,
                "total_own_half_passes": 7.1134,
                "accurate_own_half_passes": 6.1874,
                "total_opp_half_passes": 5.8059,
                "accurate_opp_half_passes": 4.3054,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 22.8124,
                "possession_lost": 5.7343,
                "dispossessed": 1.5806,
                "duels_lost": 3.4535,
                "aerial_won": 1.6402,
                "aerial_lost": 0.6462,
                "interceptions": 0.2267,
                "tackles_won": 0.6862,
                "tackles": 1.9845,
                "clearances": 1.4194,
                "total_contest": 0.4595,
                "won_contest": 0.2668,
                "challenges_lost": 0.2267,
                "fouls": 0.8073,
                "fouls_drawn": 0.2267,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0075,
                "ball_carries": 4.6153,
                "total_progression": 2.1946,
                "progressive_carries": 0.0,
                "shots_off_target": 0.3971
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-16T10:31:49.993480+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 895,
                    "rows": 24017
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 5.8
                  },
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.2667,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Sevilla",
                    "minutes": 59.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Sociedad",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1927,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.5065,
                  "creative_index": 0.0035,
                  "expectedGoals": 0.0342,
                  "expectedAssists": 0.0058,
                  "onTargetScoringAttempt": 0.1927
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.239303857088089,
                    "model_output": 0.2393,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.16
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1359
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0622
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0532
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0278
                      }
                    ],
                    "decomposition": {
                      "base": 0.893,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4162
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0658
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0425
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0309
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0199
                        }
                      ],
                      "others": -0.0784,
                      "total": 0.2393,
                      "log_link": true,
                      "margin_base": -0.113189,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.627431
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.148384
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.109218
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.087531
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.060901
                        }
                      ],
                      "others_margin": -0.283366
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.014133630320429802,
                    "model_output": 0.0141,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1089
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1043
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1031
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0607
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0542
                      }
                    ],
                    "decomposition": {
                      "base": 0.0856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0366
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0109
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0082
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0034
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.0022
                        }
                      ],
                      "others": -0.0102,
                      "total": 0.0141,
                      "log_link": true,
                      "margin_base": -2.457601,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.558336
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.251796
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.241819
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.119823
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.086769
                        }
                      ],
                      "others_margin": -0.543053
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.03237217664718628,
                    "model_output": 0.0324,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.057
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.052
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0301
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0295
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0189
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0145
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0072
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0054
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0042
                        }
                      ],
                      "others": -0.019,
                      "total": 0.0324,
                      "log_link": true,
                      "margin_base": -2.439072,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.244485
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.238205
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.125544
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.091788
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.079243
                        }
                      ],
                      "others_margin": -0.463205
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.030991053208708763,
                    "model_output": 0.031,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1269
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0844
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0755
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0372
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0272
                      }
                    ],
                    "decomposition": {
                      "base": 0.0943,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0411
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0096
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0056
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0031
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": -0.0017
                        }
                      ],
                      "others": -0.0022,
                      "total": 0.031,
                      "log_link": true,
                      "margin_base": -2.361326,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.571758
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.199836
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.136878
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.086325
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": -0.048918
                        }
                      ],
                      "others_margin": -0.069016
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.051209624856710434,
                    "model_output": 0.0512,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0894
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0486
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0452
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0389
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0371
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0092
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0031
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0031
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0029
                        }
                      ],
                      "others": 0.0026,
                      "total": 0.0512,
                      "log_link": true,
                      "margin_base": -2.324947,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.476883
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.164075
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.062522
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.062365
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.057493
                        }
                      ],
                      "others_margin": 0.051726
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.10556820034980774,
                    "model_output": 0.1056,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1038
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0848
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0823
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0306
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.3257,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1494
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0376
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0257
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0058
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0047
                        }
                      ],
                      "others": -0.0085,
                      "total": 0.1056,
                      "log_link": true,
                      "margin_base": -1.121688,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.613546
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.239764
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.204608
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.050206
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.040766
                        }
                      ],
                      "others_margin": -0.078231
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5027018785476685,
                    "model_output": 0.5027,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1304
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.1272
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0577
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0476
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0242
                      }
                    ],
                    "decomposition": {
                      "base": 0.9955,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.337
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1873
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0499
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0369
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0221
                        }
                      ],
                      "others": 0.0224,
                      "total": 0.5027,
                      "log_link": false,
                      "margin_base": 0.995535,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.337037
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.187272
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.049897
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.03691
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.022089
                        }
                      ],
                      "others_margin": 0.022375
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.648049354553223,
                    "model_output": 6.648,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0934
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0793
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0569
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0427
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 6.8531,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0635
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.044
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0321
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0114
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0107
                        }
                      ],
                      "others": -0.0661,
                      "total": 6.6481,
                      "log_link": false,
                      "margin_base": 6.853057,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.063477
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.044049
                        },
                        {
                          "name": "rating",
                          "margin": -0.032075
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.011361
                        },
                        {
                          "name": "touches",
                          "margin": -0.010737
                        }
                      ],
                      "others_margin": -0.066029
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 4,
                  "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 0.9979, quality 0.493)",
              "stats": {
                "key_pass": 0.2388,
                "expected_assists": 0.0141,
                "assists": 0.0323,
                "assist_rate": 0.0323,
                "expected_goals": 0.0309,
                "goals": 0.0511,
                "goal_rate": 0.0511,
                "shots_on_target": 0.1053,
                "total_shots": 0.5016,
                "rating": 6.648,
                "minutes": 26.32,
                "total_pass": 12.8923,
                "accurate_pass": 10.4709,
                "duels_won": 4.1096,
                "total_long_balls": 1.2241,
                "accurate_long_balls": 1.0318,
                "total_own_half_passes": 7.0985,
                "accurate_own_half_passes": 6.1744,
                "total_opp_half_passes": 5.7937,
                "accurate_opp_half_passes": 4.2964,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 22.7645,
                "possession_lost": 5.7223,
                "dispossessed": 1.5773,
                "duels_lost": 3.4462,
                "aerial_won": 1.6368,
                "aerial_lost": 0.6448,
                "interceptions": 0.2262,
                "tackles_won": 0.6848,
                "tackles": 1.9803,
                "clearances": 1.4164,
                "total_contest": 0.4585,
                "won_contest": 0.2662,
                "challenges_lost": 0.2262,
                "fouls": 0.8056,
                "fouls_drawn": 0.2262,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0075,
                "ball_carries": 4.6056,
                "total_progression": 2.19,
                "progressive_carries": 0.0,
                "shots_off_target": 0.3963
              },
              "params": {
                "market_value_eur": 7500000,
                "quality_factor": 0.4927,
                "boost_factor": 0.9979,
                "reference_quality": 0.505,
                "history_matches": 4,
                "history_shrink": 0.5556,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0120)",
              "stats": {
                "key_pass": 0.2388,
                "expected_assists": 0.0141,
                "assists": 0.0319,
                "assist_rate": 0.0319,
                "expected_goals": 0.0309,
                "goals": 0.0505,
                "goal_rate": 0.0505,
                "shots_on_target": 0.1111,
                "total_shots": 0.5026,
                "rating": 6.648,
                "minutes": 26.32,
                "total_pass": 12.8923,
                "accurate_pass": 10.4709,
                "duels_won": 4.1096,
                "total_long_balls": 1.2241,
                "accurate_long_balls": 1.0318,
                "total_own_half_passes": 7.0985,
                "accurate_own_half_passes": 6.1744,
                "total_opp_half_passes": 5.7937,
                "accurate_opp_half_passes": 4.2964,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 22.7645,
                "possession_lost": 5.7223,
                "dispossessed": 1.5773,
                "duels_lost": 3.4462,
                "aerial_won": 1.6368,
                "aerial_lost": 0.6448,
                "interceptions": 0.2235,
                "tackles_won": 0.6836,
                "tackles": 1.9803,
                "clearances": 1.4164,
                "total_contest": 0.4585,
                "won_contest": 0.2662,
                "challenges_lost": 0.2262,
                "fouls": 0.7959,
                "fouls_drawn": 0.2235,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0075,
                "ball_carries": 4.6056,
                "total_progression": 2.19,
                "progressive_carries": 0.0,
                "shots_off_target": 0.3963
              },
              "params": {
                "blend_weight": 0.012,
                "history_matches": 4,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2924,
                "prior_reliability": 0.0333,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.8056,
                  "after": 0.7959
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.1053,
                  "after": 0.1111
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 26.3 to 34.7 expected minutes (appearance prob 0.70)",
              "stats": {
                "key_pass": 0.3152,
                "expected_assists": 0.0186,
                "assists": 0.0421,
                "assist_rate": 0.0421,
                "expected_goals": 0.0408,
                "goals": 0.0667,
                "goal_rate": 0.0667,
                "shots_on_target": 0.1466,
                "total_shots": 0.6697,
                "rating": 6.648,
                "minutes": 34.74,
                "total_pass": 17.0167,
                "accurate_pass": 13.8206,
                "duels_won": 5.4243,
                "total_long_balls": 1.6157,
                "accurate_long_balls": 1.3619,
                "total_own_half_passes": 9.3694,
                "accurate_own_half_passes": 8.1496,
                "total_opp_half_passes": 7.6472,
                "accurate_opp_half_passes": 5.6709,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 30.0471,
                "possession_lost": 7.5529,
                "dispossessed": 1.5773,
                "duels_lost": 4.5487,
                "aerial_won": 2.1604,
                "aerial_lost": 0.6448,
                "interceptions": 0.295,
                "tackles_won": 0.9023,
                "tackles": 2.6138,
                "clearances": 1.8695,
                "total_contest": 0.6052,
                "won_contest": 0.3514,
                "challenges_lost": 0.2262,
                "fouls": 1.0505,
                "fouls_drawn": 0.295,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0099,
                "ball_carries": 6.079,
                "total_progression": 2.8906,
                "progressive_carries": 0.0,
                "shots_off_target": 0.5231,
                "bench_appearance_probability": 0.696,
                "bench_expected_minutes": 34.74
              },
              "params": {
                "expected_minutes": 34.74,
                "projection_minutes": 26.32,
                "minutes_scale": 1.3199,
                "appearance_probability": 0.696
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.3152,
                "expected_assists": 0.0186,
                "assists": 0.0421,
                "assist_rate": 0.0421,
                "expected_goals": 0.0408,
                "goals": 0.0667,
                "goal_rate": 0.0667,
                "shots_on_target": 0.1466,
                "total_shots": 0.6697,
                "rating": 6.648,
                "minutes": 34.74,
                "total_pass": 17.0167,
                "accurate_pass": 13.8206,
                "duels_won": 5.4243,
                "total_long_balls": 1.6157,
                "accurate_long_balls": 1.3619,
                "total_own_half_passes": 9.3694,
                "accurate_own_half_passes": 8.1496,
                "total_opp_half_passes": 7.6472,
                "accurate_opp_half_passes": 5.6709,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 30.0471,
                "possession_lost": 7.5529,
                "dispossessed": 1.5773,
                "duels_lost": 4.5487,
                "aerial_won": 2.1604,
                "aerial_lost": 0.6448,
                "interceptions": 0.295,
                "tackles_won": 0.9023,
                "tackles": 2.6138,
                "clearances": 1.8695,
                "total_contest": 0.6052,
                "won_contest": 0.3514,
                "challenges_lost": 0.2262,
                "fouls": 1.0505,
                "fouls_drawn": 0.295,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0099,
                "ball_carries": 6.079,
                "total_progression": 2.8906,
                "progressive_carries": 0.0,
                "shots_off_target": 0.5231,
                "bench_appearance_probability": 0.696,
                "bench_expected_minutes": 34.74
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.3152,
                "expected_assists": 0.0186,
                "assist_rate": 0.0421,
                "assists": 0,
                "expected_goals": 0.0408,
                "goal_rate": 0.0667,
                "goals": 0,
                "shots_on_target": 0.1466,
                "total_shots": 0.6697,
                "rating": 6.648,
                "minutes": 34.74,
                "total_pass": 17.0167,
                "accurate_pass": 13.8206,
                "duels_won": 5.4243,
                "total_long_balls": 1.6157,
                "accurate_long_balls": 1.3619,
                "total_own_half_passes": 9.3694,
                "accurate_own_half_passes": 8.1496,
                "total_opp_half_passes": 7.6472,
                "accurate_opp_half_passes": 5.6709,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 30.0471,
                "possession_lost": 7.5529,
                "dispossessed": 1.5773,
                "duels_lost": 4.5487,
                "aerial_won": 2.1604,
                "aerial_lost": 0.6448,
                "interceptions": 0.295,
                "tackles_won": 0.9023,
                "tackles": 2.6138,
                "clearances": 1.8695,
                "total_contest": 0.6052,
                "won_contest": 0.3514,
                "challenges_lost": 0.2262,
                "fouls": 1.0505,
                "fouls_drawn": 0.295,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0099,
                "ball_carries": 6.079,
                "total_progression": 2.8906,
                "progressive_carries": 0.0,
                "shots_off_target": 0.5231,
                "bench_appearance_probability": 0.696,
                "bench_expected_minutes": 34.74,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.34 (squad xG sum 1.0719, xG scale 1.2473, xA scale 1.1232, team xA 1.07 = 0.80 x lambda)",
              "stats": {
                "key_pass": 0.3152,
                "expected_assists": 0.0145,
                "assist_rate": 0.0421,
                "assists": 0,
                "expected_goals": 0.0354,
                "goal_rate": 0.0667,
                "goals": 0,
                "shots_on_target": 0.1466,
                "total_shots": 0.6697,
                "rating": 6.648,
                "minutes": 34.74,
                "total_pass": 17.0167,
                "accurate_pass": 13.8206,
                "duels_won": 5.4243,
                "total_long_balls": 1.6157,
                "accurate_long_balls": 1.3619,
                "total_own_half_passes": 9.3694,
                "accurate_own_half_passes": 8.1496,
                "total_opp_half_passes": 7.6472,
                "accurate_opp_half_passes": 5.6709,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 30.0471,
                "possession_lost": 7.5529,
                "dispossessed": 1.5773,
                "duels_lost": 4.5487,
                "aerial_won": 2.1604,
                "aerial_lost": 0.6448,
                "interceptions": 0.295,
                "tackles_won": 0.9023,
                "tackles": 2.6138,
                "clearances": 1.8695,
                "total_contest": 0.6052,
                "won_contest": 0.3514,
                "challenges_lost": 0.2262,
                "fouls": 1.0505,
                "fouls_drawn": 0.295,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0086,
                "ball_carries": 6.079,
                "total_progression": 2.8906,
                "progressive_carries": 0.0,
                "shots_off_target": 0.5231,
                "bench_appearance_probability": 0.696,
                "bench_expected_minutes": 34.74,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "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.25,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 1.337,
                "squad_xg_sum": 1.0719,
                "squad_xa_sum": 0.9523,
                "team_expected_assists": 1.0696,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2473,
                "xa_scale": 1.1232,
                "opponent_lambda": 2.325,
                "scoreline_reset": true,
                "appearance_weight": 0.696
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0408,
                  "after": 0.0354
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 16 by projected rating, fifa_overall 72.0)",
              "stats": {
                "key_pass": 0.3152,
                "expected_assists": 0.0145,
                "assist_rate": 0.0421,
                "assists": 0,
                "expected_goals": 0.0354,
                "goal_rate": 0.0667,
                "goals": 0,
                "shots_on_target": 0.1466,
                "total_shots": 0.6697,
                "rating": 6.648,
                "minutes": 34.74,
                "total_pass": 17.0167,
                "accurate_pass": 13.8206,
                "duels_won": 5.4243,
                "total_long_balls": 1.6157,
                "accurate_long_balls": 1.3619,
                "total_own_half_passes": 9.3694,
                "accurate_own_half_passes": 8.1496,
                "total_opp_half_passes": 7.6472,
                "accurate_opp_half_passes": 5.6709,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 30.0471,
                "possession_lost": 7.5529,
                "dispossessed": 1.5773,
                "duels_lost": 4.5487,
                "aerial_won": 2.1604,
                "aerial_lost": 0.6448,
                "interceptions": 0.295,
                "tackles_won": 0.9023,
                "tackles": 2.6138,
                "clearances": 1.8695,
                "total_contest": 0.6052,
                "won_contest": 0.3514,
                "challenges_lost": 0.2262,
                "fouls": 1.0505,
                "fouls_drawn": 0.295,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0086,
                "ball_carries": 6.079,
                "total_progression": 2.8906,
                "progressive_carries": 0.0,
                "shots_off_target": 0.5231,
                "bench_appearance_probability": 0.696,
                "bench_expected_minutes": 34.74,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "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.25,
                "creation_factor": 1.25,
                "fifa_overall": 72.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": 4340,
                "fifa_rank": 4267.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 72.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 1 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0.3152,
                "expected_assists": 0.0145,
                "assist_rate": 0.0421,
                "assists": 0,
                "expected_goals": 0.0354,
                "goal_rate": 0.0667,
                "goals": 0,
                "shots_on_target": 0.1466,
                "total_shots": 0.6697,
                "rating": 6.648,
                "minutes": 34.74,
                "total_pass": 17.0167,
                "accurate_pass": 13.8206,
                "duels_won": 5.4243,
                "total_long_balls": 1.6157,
                "accurate_long_balls": 1.3619,
                "total_own_half_passes": 9.3694,
                "accurate_own_half_passes": 8.1496,
                "total_opp_half_passes": 7.6472,
                "accurate_opp_half_passes": 5.6709,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 30.0471,
                "possession_lost": 7.5529,
                "dispossessed": 1.5773,
                "duels_lost": 4.5487,
                "aerial_won": 2.1604,
                "aerial_lost": 0.6448,
                "interceptions": 0.295,
                "tackles_won": 0.9023,
                "tackles": 2.6138,
                "clearances": 1.8695,
                "total_contest": 0.6052,
                "won_contest": 0.3514,
                "challenges_lost": 0.2262,
                "fouls": 1.0505,
                "fouls_drawn": 0.295,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0086,
                "ball_carries": 6.079,
                "total_progression": 2.8906,
                "progressive_carries": 0.0,
                "shots_off_target": 0.5231,
                "bench_appearance_probability": 0.696,
                "bench_expected_minutes": 34.74,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0345,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0345,
                "goal_rate": 0.0667,
                "scorer_weight": 0.0442,
                "squad_weight_total": 1.4295,
                "weight_share": 0.031,
                "finishing_factor": 1.25,
                "appearance_weight": 0.696,
                "weight_rank": 9,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.5106,
                    "already": 0,
                    "effective_weight": 0.5106,
                    "runner_up": "Javier Hernández",
                    "runner_up_effective_weight": 0.166
                  }
                ]
              }
            },
            {
              "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.3152,
                "expected_assists": 0.0145,
                "assist_rate": 0.0421,
                "assists": 0,
                "expected_goals": 0.0354,
                "goal_rate": 0.0667,
                "goals": 0,
                "shots_on_target": 0.1466,
                "total_shots": 0.6697,
                "rating": 6.648,
                "minutes": 34.74,
                "total_pass": 17.0167,
                "accurate_pass": 13.8206,
                "duels_won": 5.4243,
                "total_long_balls": 1.6157,
                "accurate_long_balls": 1.3619,
                "total_own_half_passes": 9.3694,
                "accurate_own_half_passes": 8.1496,
                "total_opp_half_passes": 7.6472,
                "accurate_opp_half_passes": 5.6709,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 30.0471,
                "possession_lost": 7.5529,
                "dispossessed": 1.5773,
                "duels_lost": 4.5487,
                "aerial_won": 2.1604,
                "aerial_lost": 0.6448,
                "interceptions": 0.295,
                "tackles_won": 0.9023,
                "tackles": 2.6138,
                "clearances": 1.8695,
                "total_contest": 0.6052,
                "won_contest": 0.3514,
                "challenges_lost": 0.2262,
                "fouls": 1.0505,
                "fouls_drawn": 0.295,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0086,
                "ball_carries": 6.079,
                "total_progression": 2.8906,
                "progressive_carries": 0.0,
                "shots_off_target": 0.5231,
                "bench_appearance_probability": 0.696,
                "bench_expected_minutes": 34.74,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0345,
                "projected_assists": 0,
                "assist_probability": 0.0144,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0144,
                "assist_rate": 0.0421,
                "provider_weight": 0.0181,
                "squad_weight_total": 1.0297,
                "weight_share": 0.0176,
                "creation_factor": 1.25,
                "appearance_weight": 0.696,
                "weight_rank": 12,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Javier Hernández",
                    "weight": 0.193,
                    "already": 0,
                    "effective_weight": 0.193,
                    "runner_up": "Bryan Zaragoza",
                    "runner_up_effective_weight": 0.1355,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Javi Puado": {
          "player_id": 891511,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 7,
          "height": 178,
          "market_value": 7000000,
          "stats": {
            "expected_goals": 0.1444,
            "goal_rate": 0.1537,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.046,
            "key_pass": 1,
            "rating": 6.6661,
            "minutes": 25,
            "total_pass": 26,
            "accurate_pass": 22,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 17,
            "accurate_opp_half_passes": 14,
            "crosses_total": 2,
            "crosses_accurate": 1,
            "touches": 40,
            "possession_lost": 9.7116,
            "dispossessed": 0.4326,
            "duels_lost": 5,
            "aerial_lost": 1,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 4,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 1,
            "xgot": 0.3703,
            "offsides": 0,
            "ball_carries": 4,
            "total_progression": 0,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.568,
            "bench_expected_minutes": 25.49,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.55,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.1275,
            "projected_assists": 0,
            "assist_probability": 0.0442,
            "finishing_factor": 0.8026,
            "creation_factor": 0.8,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 14083222,
              "match_date": "2026-01-11",
              "home_team": "Levante UD",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 4,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083203,
              "match_date": "2026-01-03",
              "home_team": "Espanyol",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 8,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 3,
                "duels_won": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083635,
              "match_date": "2025-10-05",
              "home_team": "Espanyol",
              "away_team": "Real Betis",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.168,
                "expected_assists": 0.1238,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 47,
                "accurate_pass": 40,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 7
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083595,
              "match_date": "2025-09-26",
              "home_team": "Girona FC",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 75,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0325,
                "expected_assists": 0.1577,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 17,
                "accurate_pass": 17,
                "key_pass": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083407,
              "match_date": "2025-09-23",
              "home_team": "Espanyol",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.2083,
                "expected_assists": 0.2352,
                "total_shots": 5,
                "shots_on_target": 3,
                "shots_off_target": 2,
                "total_pass": 20,
                "accurate_pass": 15,
                "key_pass": 2,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 7
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083333,
              "match_date": "2025-09-20",
              "home_team": "Real Madrid",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 77,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1166,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 12,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083234,
              "match_date": "2025-09-15",
              "home_team": "Espanyol",
              "away_team": "Mallorca",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 72,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0834,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 16,
                "key_pass": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083138,
              "match_date": "2025-08-31",
              "home_team": "Espanyol",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 84,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.161,
                "expected_assists": 0.0426,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 24,
                "accurate_pass": 18,
                "key_pass": 2,
                "tackles": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true
            },
            {
              "match_id": 14082867,
              "match_date": "2025-08-24",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.8859,
                "expected_assists": 0.0246,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 23,
                "accurate_pass": 21,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 3,
                "ball_recovery": 5
              },
              "has_player_stats": true
            },
            {
              "match_id": 14082853,
              "match_date": "2025-08-17",
              "home_team": "Espanyol",
              "away_team": "Atlético Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 88,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0172,
                "expected_assists": 0.0416,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 31,
                "accurate_pass": 25,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 2281,
            "combined_rank_score": 901.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 834.0,
            "sofascore_rating": 6.5889,
            "sofascore_appearances": 10.0,
            "fifa_rank": 968.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6661,
            "source_file": "data/player_rankings.csv",
            "player_name": "Javi Puado",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Yves Bissouma",
                  "ranking": 2276
                },
                {
                  "player_name": "Nuriddin  Nuriddinov",
                  "ranking": 2277
                },
                {
                  "player_name": "Kim Min-Ho",
                  "ranking": 2278
                },
                {
                  "player_name": "Manuel Ugarte",
                  "ranking": 2279
                },
                {
                  "player_name": "Endrick",
                  "ranking": 2280
                }
              ],
              "lower": [
                {
                  "player_name": "Bekhruz Jumatov",
                  "ranking": 2282
                },
                {
                  "player_name": "Odilon Kossounou",
                  "ranking": 2283
                },
                {
                  "player_name": "Lennart Karl",
                  "ranking": 2284
                },
                {
                  "player_name": "André",
                  "ranking": 2285
                },
                {
                  "player_name": "Tim Payne",
                  "ranking": 2286
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 10,
          "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": 10,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.48700561251263,
            "bench_appearance_prob": 0.5675911642051195,
            "market_value_adjustment": 0.9982,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (10 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.1361,
                "goals": 0.1027,
                "goal_rate": 0.1027,
                "shots_on_target": 0.2564,
                "total_shots": 0.7247,
                "expected_assists": 0.0482,
                "key_pass": 0.6041,
                "rating": 6.6661,
                "minutes": 12.92,
                "total_pass": 17.3118,
                "accurate_pass": 14.6358,
                "duels_won": 1.4238,
                "total_long_balls": 0.9345,
                "accurate_long_balls": 0.6137,
                "total_opp_half_passes": 11.4415,
                "accurate_opp_half_passes": 9.1338,
                "crosses_total": 1.6329,
                "crosses_accurate": 0.4088,
                "touches": 26.7141,
                "possession_lost": 6.4861,
                "dispossessed": 0.4334,
                "duels_lost": 3.4948,
                "aerial_lost": 0.8423,
                "total_contest": 1.5774,
                "won_contest": 0.6611,
                "ball_recovery": 2.7858,
                "challenges_lost": 0.4148,
                "fouls": 0.9898,
                "fouls_drawn": 0.3081,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1916,
                "tackles_won": 0.1338,
                "tackles": 0.2765,
                "clearances": 0.2402,
                "blocks": 0.0509,
                "big_chances_created": 0.2203,
                "big_chances_missed": 0.6222,
                "xgot": 0.3491,
                "offsides": 0.0,
                "ball_carries": 2.3784,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4683
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-16T10:32:26.279343+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-01-11",
                    "opponent": "Levante UD",
                    "minutes": 4.0,
                    "is_starting": false,
                    "weight": 0.1868,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-01-03",
                    "opponent": "FC Barcelona",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.1588,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2025-10-05",
                    "opponent": "Real Betis",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1349,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2025-09-26",
                    "opponent": "Girona FC",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.1147,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2025-09-23",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0975,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2025-09-20",
                    "opponent": "Real Madrid",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.0829,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2025-09-15",
                    "opponent": "Mallorca",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.0704,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2025-08-31",
                    "opponent": "Osasuna",
                    "minutes": 84.0,
                    "is_starting": true,
                    "weight": 0.0599,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2025-08-24",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0509,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2025-08-17",
                    "opponent": "Atlético Madrid",
                    "minutes": 88.0,
                    "is_starting": true,
                    "weight": 0.0433,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 10.0,
                  "is_starting_11": 0.0,
                  "totalOppositionHalfPasses": 11.4415,
                  "expectedGoals": 0.3346,
                  "accurateOppositionHalfPasses": 9.1338,
                  "accuratePass": 14.6357,
                  "totalShots": 1.3978
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.13613180816173553,
                    "model_output": 0.1361,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.08
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0261
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0089
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0073
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0063
                        }
                      ],
                      "others": -0.0028,
                      "total": 0.1361,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.519123
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.200308
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.060297
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.048739
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.044482
                        }
                      ],
                      "others_margin": -0.020475
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1026737168431282,
                    "model_output": 0.1027,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0839
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0183
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0159
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0072
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0061
                        }
                      ],
                      "others": -0.0011,
                      "total": 0.1027,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.531974
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.165916
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.145969
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.063167
                        },
                        {
                          "name": "goals",
                          "margin": -0.056666
                        }
                      ],
                      "others_margin": -0.011656
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2563912868499756,
                    "model_output": 0.2564,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2304
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0248
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0215
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0147
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0108
                        }
                      ],
                      "others": -0.03,
                      "total": 0.2564,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.55948
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.084312
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.079012
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.054934
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.038362
                        }
                      ],
                      "others_margin": -0.110994
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.7247138023376465,
                    "model_output": 0.7247,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5721
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.039
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0308
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0297
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0243
                        }
                      ],
                      "others": -0.0798,
                      "total": 0.7247,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.572105
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.039035
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.030823
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.0297
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.024313
                        }
                      ],
                      "others_margin": -0.079847
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.04815857484936714,
                    "model_output": 0.0482,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0154
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.005
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0039
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0035
                        },
                        {
                          "name": "rating",
                          "contribution": -0.003
                        }
                      ],
                      "others": -0.0022,
                      "total": 0.0482,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.273939
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.097415
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.075053
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.068218
                        },
                        {
                          "name": "rating",
                          "margin": -0.057456
                        }
                      ],
                      "others_margin": -0.046929
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.6041035652160645,
                    "model_output": 0.6041,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1862
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0833
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0291
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0275
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0183
                        }
                      ],
                      "others": 0.0535,
                      "total": 0.6041,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.323595
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.157767
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.052382
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": 0.049562
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.032693
                        }
                      ],
                      "others_margin": 0.092794
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.666069507598877,
                    "model_output": 6.6661,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0609
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0186
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0152
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0126
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0118
                        }
                      ],
                      "others": -0.0358,
                      "total": 6.6661,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.060938
                        },
                        {
                          "name": "rating",
                          "margin": -0.018581
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.015188
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.012598
                        },
                        {
                          "name": "touches",
                          "margin": 0.01176
                        }
                      ],
                      "others_margin": -0.035762
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 10,
                  "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 0.9982, quality 0.487)",
              "stats": {
                "expected_goals": 0.1359,
                "goals": 0.1025,
                "goal_rate": 0.1025,
                "shots_on_target": 0.2559,
                "total_shots": 0.7234,
                "expected_assists": 0.0481,
                "key_pass": 0.603,
                "rating": 6.6661,
                "minutes": 12.92,
                "total_pass": 17.2806,
                "accurate_pass": 14.6095,
                "duels_won": 1.4212,
                "total_long_balls": 0.9328,
                "accurate_long_balls": 0.6126,
                "total_opp_half_passes": 11.4209,
                "accurate_opp_half_passes": 9.1174,
                "crosses_total": 1.63,
                "crosses_accurate": 0.4081,
                "touches": 26.666,
                "possession_lost": 6.4744,
                "dispossessed": 0.4326,
                "duels_lost": 3.4885,
                "aerial_lost": 0.8408,
                "total_contest": 1.5746,
                "won_contest": 0.6599,
                "ball_recovery": 2.7808,
                "challenges_lost": 0.4141,
                "fouls": 0.988,
                "fouls_drawn": 0.3075,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1913,
                "tackles_won": 0.1336,
                "tackles": 0.276,
                "clearances": 0.2398,
                "blocks": 0.0508,
                "big_chances_created": 0.2199,
                "big_chances_missed": 0.6211,
                "xgot": 0.3485,
                "offsides": 0.0,
                "ball_carries": 2.3741,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.4675
              },
              "params": {
                "market_value_eur": 7000000,
                "quality_factor": 0.4866,
                "boost_factor": 0.9982,
                "reference_quality": 0.505,
                "history_matches": 10,
                "history_shrink": 0.3333,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 12.9 to 25.5 expected minutes (appearance prob 0.57)",
              "stats": {
                "expected_goals": 0.2038,
                "goals": 0.1537,
                "goal_rate": 0.1537,
                "shots_on_target": 0.3839,
                "total_shots": 1.0852,
                "expected_assists": 0.0721,
                "key_pass": 0.9045,
                "rating": 6.6661,
                "minutes": 25.49,
                "total_pass": 25.9209,
                "accurate_pass": 21.9143,
                "duels_won": 2.1318,
                "total_long_balls": 1.3992,
                "accurate_long_balls": 0.9189,
                "total_opp_half_passes": 17.1313,
                "accurate_opp_half_passes": 13.6761,
                "crosses_total": 2.445,
                "crosses_accurate": 0.6121,
                "touches": 39.999,
                "possession_lost": 9.7116,
                "dispossessed": 0.4326,
                "duels_lost": 5.2328,
                "aerial_lost": 0.8408,
                "total_contest": 2.3619,
                "won_contest": 0.9899,
                "ball_recovery": 4.1712,
                "challenges_lost": 0.4141,
                "fouls": 1.482,
                "fouls_drawn": 0.4612,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2869,
                "tackles_won": 0.2004,
                "tackles": 0.414,
                "clearances": 0.3597,
                "blocks": 0.0762,
                "big_chances_created": 0.3299,
                "big_chances_missed": 0.9316,
                "xgot": 0.5227,
                "offsides": 0.0,
                "ball_carries": 3.5611,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.7013,
                "bench_appearance_probability": 0.568,
                "bench_expected_minutes": 25.49
              },
              "params": {
                "expected_minutes": 25.49,
                "projection_minutes": 12.92,
                "minutes_scale": 1.5,
                "appearance_probability": 0.568
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.2038,
                "goals": 0.1537,
                "goal_rate": 0.1537,
                "shots_on_target": 0.3839,
                "total_shots": 1.0852,
                "expected_assists": 0.0721,
                "key_pass": 0.9045,
                "rating": 6.6661,
                "minutes": 25.49,
                "total_pass": 25.9209,
                "accurate_pass": 21.9143,
                "duels_won": 2.1318,
                "total_long_balls": 1.3992,
                "accurate_long_balls": 0.9189,
                "total_opp_half_passes": 17.1313,
                "accurate_opp_half_passes": 13.6761,
                "crosses_total": 2.445,
                "crosses_accurate": 0.6121,
                "touches": 39.999,
                "possession_lost": 9.7116,
                "dispossessed": 0.4326,
                "duels_lost": 5.2328,
                "aerial_lost": 0.8408,
                "total_contest": 2.3619,
                "won_contest": 0.9899,
                "ball_recovery": 4.1712,
                "challenges_lost": 0.4141,
                "fouls": 1.482,
                "fouls_drawn": 0.4612,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2869,
                "tackles_won": 0.2004,
                "tackles": 0.414,
                "clearances": 0.3597,
                "blocks": 0.0762,
                "big_chances_created": 0.3299,
                "big_chances_missed": 0.9316,
                "xgot": 0.5227,
                "offsides": 0.0,
                "ball_carries": 3.5611,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.7013,
                "bench_appearance_probability": 0.568,
                "bench_expected_minutes": 25.49
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.2038,
                "goal_rate": 0.1537,
                "goals": 0,
                "shots_on_target": 0.3839,
                "total_shots": 1.0852,
                "expected_assists": 0.0721,
                "key_pass": 0.9045,
                "rating": 6.6661,
                "minutes": 25.49,
                "total_pass": 25.9209,
                "accurate_pass": 21.9143,
                "duels_won": 2.1318,
                "total_long_balls": 1.3992,
                "accurate_long_balls": 0.9189,
                "total_opp_half_passes": 17.1313,
                "accurate_opp_half_passes": 13.6761,
                "crosses_total": 2.445,
                "crosses_accurate": 0.6121,
                "touches": 39.999,
                "possession_lost": 9.7116,
                "dispossessed": 0.4326,
                "duels_lost": 5.2328,
                "aerial_lost": 0.8408,
                "total_contest": 2.3619,
                "won_contest": 0.9899,
                "ball_recovery": 4.1712,
                "challenges_lost": 0.4141,
                "fouls": 1.482,
                "fouls_drawn": 0.4612,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2869,
                "tackles_won": 0.2004,
                "tackles": 0.414,
                "clearances": 0.3597,
                "blocks": 0.0762,
                "big_chances_created": 0.3299,
                "big_chances_missed": 0.9316,
                "xgot": 0.5227,
                "offsides": 0.0,
                "ball_carries": 3.5611,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.7013,
                "bench_appearance_probability": 0.568,
                "bench_expected_minutes": 25.49,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.34 (squad xG sum 1.0719, xG scale 1.2473, xA scale 1.1232, team xA 1.07 = 0.80 x lambda)",
              "stats": {
                "expected_goals": 0.1444,
                "goal_rate": 0.1537,
                "goals": 0,
                "shots_on_target": 0.3839,
                "total_shots": 1.0852,
                "expected_assists": 0.046,
                "key_pass": 0.9045,
                "rating": 6.6661,
                "minutes": 25.49,
                "total_pass": 25.9209,
                "accurate_pass": 21.9143,
                "duels_won": 2.1318,
                "total_long_balls": 1.3992,
                "accurate_long_balls": 0.9189,
                "total_opp_half_passes": 17.1313,
                "accurate_opp_half_passes": 13.6761,
                "crosses_total": 2.445,
                "crosses_accurate": 0.6121,
                "touches": 39.999,
                "possession_lost": 9.7116,
                "dispossessed": 0.4326,
                "duels_lost": 5.2328,
                "aerial_lost": 0.8408,
                "total_contest": 2.3619,
                "won_contest": 0.9899,
                "ball_recovery": 4.1712,
                "challenges_lost": 0.4141,
                "fouls": 1.482,
                "fouls_drawn": 0.4612,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2869,
                "tackles_won": 0.2004,
                "tackles": 0.414,
                "clearances": 0.3597,
                "blocks": 0.0762,
                "big_chances_created": 0.3299,
                "big_chances_missed": 0.9316,
                "xgot": 0.3703,
                "offsides": 0.0,
                "ball_carries": 3.5611,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.7013,
                "bench_appearance_probability": 0.568,
                "bench_expected_minutes": 25.49,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "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.8026,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.337,
                "squad_xg_sum": 1.0719,
                "squad_xa_sum": 0.9523,
                "team_expected_assists": 1.0696,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2473,
                "xa_scale": 1.1232,
                "opponent_lambda": 2.325,
                "scoreline_reset": true,
                "appearance_weight": 0.568
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2038,
                  "after": 0.1444
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0721,
                  "after": 0.046
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 15 by projected rating, fifa_overall 79.0)",
              "stats": {
                "expected_goals": 0.1444,
                "goal_rate": 0.1537,
                "goals": 0,
                "shots_on_target": 0.3839,
                "total_shots": 1.0852,
                "expected_assists": 0.046,
                "key_pass": 0.9045,
                "rating": 6.6661,
                "minutes": 25.49,
                "total_pass": 25.9209,
                "accurate_pass": 21.9143,
                "duels_won": 2.1318,
                "total_long_balls": 1.3992,
                "accurate_long_balls": 0.9189,
                "total_opp_half_passes": 17.1313,
                "accurate_opp_half_passes": 13.6761,
                "crosses_total": 2.445,
                "crosses_accurate": 0.6121,
                "touches": 39.999,
                "possession_lost": 9.7116,
                "dispossessed": 0.4326,
                "duels_lost": 5.2328,
                "aerial_lost": 0.8408,
                "total_contest": 2.3619,
                "won_contest": 0.9899,
                "ball_recovery": 4.1712,
                "challenges_lost": 0.4141,
                "fouls": 1.482,
                "fouls_drawn": 0.4612,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2869,
                "tackles_won": 0.2004,
                "tackles": 0.414,
                "clearances": 0.3597,
                "blocks": 0.0762,
                "big_chances_created": 0.3299,
                "big_chances_missed": 0.9316,
                "xgot": 0.3703,
                "offsides": 0.0,
                "ball_carries": 3.5611,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.7013,
                "bench_appearance_probability": 0.568,
                "bench_expected_minutes": 25.49,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "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.8026,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 15,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 2281,
                "fifa_rank": 968.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.1444,
                "goal_rate": 0.1537,
                "goals": 0,
                "shots_on_target": 0.3839,
                "total_shots": 1.0852,
                "expected_assists": 0.046,
                "key_pass": 0.9045,
                "rating": 6.6661,
                "minutes": 25.49,
                "total_pass": 25.9209,
                "accurate_pass": 21.9143,
                "duels_won": 2.1318,
                "total_long_balls": 1.3992,
                "accurate_long_balls": 0.9189,
                "total_opp_half_passes": 17.1313,
                "accurate_opp_half_passes": 13.6761,
                "crosses_total": 2.445,
                "crosses_accurate": 0.6121,
                "touches": 39.999,
                "possession_lost": 9.7116,
                "dispossessed": 0.4326,
                "duels_lost": 5.2328,
                "aerial_lost": 0.8408,
                "total_contest": 2.3619,
                "won_contest": 0.9899,
                "ball_recovery": 4.1712,
                "challenges_lost": 0.4141,
                "fouls": 1.482,
                "fouls_drawn": 0.4612,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2869,
                "tackles_won": 0.2004,
                "tackles": 0.414,
                "clearances": 0.3597,
                "blocks": 0.0762,
                "big_chances_created": 0.3299,
                "big_chances_missed": 0.9316,
                "xgot": 0.3703,
                "offsides": 0.0,
                "ball_carries": 3.5611,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.7013,
                "bench_appearance_probability": 0.568,
                "bench_expected_minutes": 25.49,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.1275,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8026,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.1275,
                "goal_rate": 0.1537,
                "scorer_weight": 0.1159,
                "squad_weight_total": 1.4295,
                "weight_share": 0.0811,
                "finishing_factor": 0.8026,
                "appearance_weight": 0.568,
                "weight_rank": 6,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.5106,
                    "already": 0,
                    "effective_weight": 0.5106,
                    "runner_up": "Javier Hernández",
                    "runner_up_effective_weight": 0.166
                  }
                ]
              }
            },
            {
              "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.1444,
                "goal_rate": 0.1537,
                "goals": 0,
                "shots_on_target": 0.3839,
                "total_shots": 1.0852,
                "expected_assists": 0.046,
                "key_pass": 0.9045,
                "rating": 6.6661,
                "minutes": 25.49,
                "total_pass": 25.9209,
                "accurate_pass": 21.9143,
                "duels_won": 2.1318,
                "total_long_balls": 1.3992,
                "accurate_long_balls": 0.9189,
                "total_opp_half_passes": 17.1313,
                "accurate_opp_half_passes": 13.6761,
                "crosses_total": 2.445,
                "crosses_accurate": 0.6121,
                "touches": 39.999,
                "possession_lost": 9.7116,
                "dispossessed": 0.4326,
                "duels_lost": 5.2328,
                "aerial_lost": 0.8408,
                "total_contest": 2.3619,
                "won_contest": 0.9899,
                "ball_recovery": 4.1712,
                "challenges_lost": 0.4141,
                "fouls": 1.482,
                "fouls_drawn": 0.4612,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2869,
                "tackles_won": 0.2004,
                "tackles": 0.414,
                "clearances": 0.3597,
                "blocks": 0.0762,
                "big_chances_created": 0.3299,
                "big_chances_missed": 0.9316,
                "xgot": 0.3703,
                "offsides": 0.0,
                "ball_carries": 3.5611,
                "total_progression": 0.0,
                "progressive_carries": 0.0,
                "shots_off_target": 0.7013,
                "bench_appearance_probability": 0.568,
                "bench_expected_minutes": 25.49,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.1275,
                "projected_assists": 0,
                "assist_probability": 0.0442,
                "finishing_factor": 0.8026,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0442,
                "assist_rate": 0.0,
                "provider_weight": 0.0368,
                "squad_weight_total": 1.0297,
                "weight_share": 0.0357,
                "creation_factor": 0.8,
                "appearance_weight": 0.568,
                "weight_rank": 9,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Javier Hernández",
                    "weight": 0.193,
                    "already": 0,
                    "effective_weight": 0.193,
                    "runner_up": "Bryan Zaragoza",
                    "runner_up_effective_weight": 0.1355,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Jofre Carreras": {
          "player_id": 1019236,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 17,
          "height": 175,
          "market_value": 2800000,
          "stats": {
            "expected_goals": 0.0596,
            "goal_rate": 0.1147,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0318,
            "key_pass": 1,
            "rating": 6.606,
            "minutes": 25,
            "total_pass": 6,
            "accurate_pass": 5,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 3,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 14,
            "possession_lost": 5.5924,
            "dispossessed": 0.3359,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 1,
            "won_contest": 0,
            "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.0019,
            "offsides": 0,
            "ball_carries": 4,
            "total_progression": 28,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.559,
            "bench_expected_minutes": 25.29,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.55,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0565,
            "projected_assists": 0,
            "assist_probability": 0.0309,
            "finishing_factor": 1.2155,
            "creation_factor": 0.8,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 13,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0288,
                "expected_assists": 0.0013,
                "total_shots": 1,
                "total_pass": 3,
                "accurate_pass": 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": 16416306,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0013,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 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": 16421053,
              "match_date": "2026-08-16",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 9,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1796,
                "expected_assists": 0.0007,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 6,
                "accurate_pass": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "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": 72,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5479,
                "expected_assists": 0.0391,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 23,
                "accurate_pass": 19,
                "key_pass": 2,
                "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": "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": 0,
              "team": "Espanyol",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 27,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0145,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 7,
                "interceptions": 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": "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": 0,
              "team": "Espanyol",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 15,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "duels_won": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083422,
              "match_date": "2026-05-03",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 17,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0019,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 3,
                "key_pass": 1,
                "tackles": 1,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true
            },
            {
              "match_id": 14081811,
              "match_date": "2026-04-04",
              "home_team": "Real Betis",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Real Betis",
              "stats": {
                "minutes": 12,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0112,
                "total_shots": 1,
                "total_pass": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083673,
              "match_date": "2026-03-21",
              "home_team": "Espanyol",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Getafe",
              "stats": {
                "minutes": 12,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0023,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 3,
                "duels_won": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083642,
              "match_date": "2026-03-15",
              "home_team": "Mallorca",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 9,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0016,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 2
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 2258,
            "combined_rank_score": 851.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 823.0,
            "sofascore_rating": 6.5962,
            "sofascore_appearances": 26.0,
            "fifa_rank": 880.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.606,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jofre Carreras",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Stefan Velkov",
                  "ranking": 2253
                },
                {
                  "player_name": "Benjamín Villarroel",
                  "ranking": 2254
                },
                {
                  "player_name": "Son Seung-beom",
                  "ranking": 2255
                },
                {
                  "player_name": "Elbek Otakulov",
                  "ranking": 2256
                },
                {
                  "player_name": "Callum Olusesi",
                  "ranking": 2257
                }
              ],
              "lower": [
                {
                  "player_name": "Mikel Vesga",
                  "ranking": 2259
                },
                {
                  "player_name": "Malo Gusto",
                  "ranking": 2260
                },
                {
                  "player_name": "Aldrix Jara",
                  "ranking": 2261
                },
                {
                  "player_name": "Yehor Yarmoliuk",
                  "ranking": 2262
                },
                {
                  "player_name": "Chimy Ávila",
                  "ranking": 2263
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 29,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 29,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.292222187561247,
            "bench_appearance_prob": 0.5587373721618749,
            "market_value_adjustment": 0.997,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (29 historical appearances) to 25.3 expected mins (appearance prob 0.56)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0572,
                "goals": 0.0767,
                "goal_rate": 0.0767,
                "shots_on_target": 0.2074,
                "total_shots": 0.555,
                "expected_assists": 0.0339,
                "key_pass": 0.3715,
                "rating": 6.606,
                "minutes": 15.28,
                "total_pass": 4.2652,
                "accurate_pass": 3.0412,
                "duels_won": 1.0369,
                "total_long_balls": 0.1143,
                "accurate_long_balls": 0.0614,
                "total_opp_half_passes": 3.0755,
                "accurate_opp_half_passes": 2.1322,
                "crosses_total": 0.8474,
                "crosses_accurate": 0.1197,
                "touches": 9.6799,
                "possession_lost": 3.7395,
                "dispossessed": 0.3369,
                "duels_lost": 1.6161,
                "aerial_lost": 0.1634,
                "total_contest": 0.9656,
                "won_contest": 0.1758,
                "ball_recovery": 0.6969,
                "challenges_lost": 0.2224,
                "fouls": 0.1036,
                "fouls_drawn": 0.6606,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1677,
                "tackles_won": 0.0696,
                "tackles": 0.1685,
                "clearances": 0.2139,
                "blocks": 0.0,
                "big_chances_created": 0.0226,
                "big_chances_missed": 0.0,
                "xgot": 0.0018,
                "offsides": 0.0887,
                "ball_carries": 2.9839,
                "total_progression": 18.7767,
                "progressive_carries": 0.7612,
                "shots_off_target": 0.3476
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-16T10:32:26.279343+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Sociedad",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.1514,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Real Madrid",
                    "minutes": 2.0,
                    "is_starting": false,
                    "weight": 0.1287,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-08-16",
                    "opponent": "Levante UD",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.1094,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Sociedad",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.093,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-13",
                    "opponent": "Athletic Club",
                    "minutes": 27.0,
                    "is_starting": false,
                    "weight": 0.079,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Sevilla",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.0672,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-03",
                    "opponent": "Real Madrid",
                    "minutes": 17.0,
                    "is_starting": false,
                    "weight": 0.0571,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-04-04",
                    "opponent": "Real Betis",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.0485,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-03-21",
                    "opponent": "Getafe",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.0412,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-03-15",
                    "opponent": "Mallorca",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.0351,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalOppositionHalfPasses": 4.7312,
                  "expectedGoals": 0.1059,
                  "accurateOppositionHalfPasses": 3.4838,
                  "accuratePass": 5.0406,
                  "totalShots": 0.8768
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.05715489760041237,
                    "model_output": 0.0572,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.092
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0135
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0086
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.004
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0035
                        }
                      ],
                      "others": -0.0187,
                      "total": 0.0572,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.627071
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.136767
                        },
                        {
                          "name": "goals",
                          "margin": -0.098208
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.048604
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.045472
                        }
                      ],
                      "others_margin": -0.283952
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.0767156109213829,
                    "model_output": 0.0767,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0836
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0156
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0071
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0048
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0033
                        }
                      ],
                      "others": -0.0123,
                      "total": 0.0767,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.529906
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.140017
                        },
                        {
                          "name": "goals",
                          "margin": -0.070485
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.050601
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.036152
                        }
                      ],
                      "others_margin": -0.147699
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2074023336172104,
                    "model_output": 0.2074,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2315
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0232
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.0181
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0149
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0113
                        }
                      ],
                      "others": -0.0312,
                      "total": 0.2074,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.562994
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.078954
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": -0.066127
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.05809
                        },
                        {
                          "name": "goals",
                          "margin": -0.046352
                        }
                      ],
                      "others_margin": -0.140029
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5550125241279602,
                    "model_output": 0.555,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.502
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1358
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0403
                        },
                        {
                          "name": "duelWon",
                          "contribution": -0.0347
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0326
                        }
                      ],
                      "others": -0.1386,
                      "total": 0.555,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.502024
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.13581
                        },
                        {
                          "name": "goals",
                          "margin": -0.040253
                        },
                        {
                          "name": "duelWon",
                          "margin": -0.034678
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.032582
                        }
                      ],
                      "others_margin": -0.138645
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03386993706226349,
                    "model_output": 0.0339,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0219
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0047
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0036
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0036
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.003
                        }
                      ],
                      "others": -0.0079,
                      "total": 0.0339,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.417038
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.117777
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.091331
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.084403
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.069213
                        }
                      ],
                      "others_margin": -0.211422
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.37145960330963135,
                    "model_output": 0.3715,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2461
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0308
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0275
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0247
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0112
                        }
                      ],
                      "others": -0.011,
                      "total": 0.3715,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.454767
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.074914
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.071862
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.064778
                        },
                        {
                          "name": "rating",
                          "margin": -0.028954
                        }
                      ],
                      "others_margin": -0.029133
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.605957508087158,
                    "model_output": 6.606,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0668
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0188
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0138
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0122
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0113
                        }
                      ],
                      "others": -0.0657,
                      "total": 6.606,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.066818
                        },
                        {
                          "name": "rating",
                          "margin": -0.018756
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.013758
                        },
                        {
                          "name": "touches",
                          "margin": -0.01216
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.011348
                        }
                      ],
                      "others_margin": -0.06572
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 29,
                  "role_matches": 20,
                  "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.9970, quality 0.437)",
              "stats": {
                "expected_goals": 0.057,
                "goals": 0.0765,
                "goal_rate": 0.0765,
                "shots_on_target": 0.2068,
                "total_shots": 0.5534,
                "expected_assists": 0.0338,
                "key_pass": 0.3703,
                "rating": 6.606,
                "minutes": 15.28,
                "total_pass": 4.2524,
                "accurate_pass": 3.0321,
                "duels_won": 1.0338,
                "total_long_balls": 0.114,
                "accurate_long_balls": 0.0612,
                "total_opp_half_passes": 3.0663,
                "accurate_opp_half_passes": 2.1258,
                "crosses_total": 0.8449,
                "crosses_accurate": 0.1193,
                "touches": 9.6509,
                "possession_lost": 3.7283,
                "dispossessed": 0.3359,
                "duels_lost": 1.6113,
                "aerial_lost": 0.1629,
                "total_contest": 0.9627,
                "won_contest": 0.1753,
                "ball_recovery": 0.6948,
                "challenges_lost": 0.2217,
                "fouls": 0.1033,
                "fouls_drawn": 0.6586,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1672,
                "tackles_won": 0.0694,
                "tackles": 0.168,
                "clearances": 0.2133,
                "blocks": 0.0,
                "big_chances_created": 0.0225,
                "big_chances_missed": 0.0,
                "xgot": 0.0018,
                "offsides": 0.0884,
                "ball_carries": 2.9749,
                "total_progression": 18.7204,
                "progressive_carries": 0.7589,
                "shots_off_target": 0.3466
              },
              "params": {
                "market_value_eur": 2800000,
                "quality_factor": 0.4374,
                "boost_factor": 0.997,
                "reference_quality": 0.505,
                "history_matches": 29,
                "history_shrink": 0.1471,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 15.3 to 25.3 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.0855,
                "goals": 0.1147,
                "goal_rate": 0.1147,
                "shots_on_target": 0.3102,
                "total_shots": 0.8301,
                "expected_assists": 0.0507,
                "key_pass": 0.5554,
                "rating": 6.606,
                "minutes": 25.29,
                "total_pass": 6.3786,
                "accurate_pass": 4.5481,
                "duels_won": 1.5507,
                "total_long_balls": 0.171,
                "accurate_long_balls": 0.0918,
                "total_opp_half_passes": 4.5995,
                "accurate_opp_half_passes": 3.1887,
                "crosses_total": 1.2673,
                "crosses_accurate": 0.1789,
                "touches": 14.4764,
                "possession_lost": 5.5924,
                "dispossessed": 0.3359,
                "duels_lost": 2.4169,
                "aerial_lost": 0.1629,
                "total_contest": 1.4441,
                "won_contest": 0.263,
                "ball_recovery": 1.0422,
                "challenges_lost": 0.2217,
                "fouls": 0.155,
                "fouls_drawn": 0.9879,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2508,
                "tackles_won": 0.1041,
                "tackles": 0.252,
                "clearances": 0.3199,
                "blocks": 0.0,
                "big_chances_created": 0.0338,
                "big_chances_missed": 0.0,
                "xgot": 0.0027,
                "offsides": 0.0884,
                "ball_carries": 4.4623,
                "total_progression": 28.0806,
                "progressive_carries": 1.1383,
                "shots_off_target": 0.5199,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "params": {
                "expected_minutes": 25.29,
                "projection_minutes": 15.28,
                "minutes_scale": 1.5,
                "appearance_probability": 0.559
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0855,
                "goals": 0.1147,
                "goal_rate": 0.1147,
                "shots_on_target": 0.3102,
                "total_shots": 0.8301,
                "expected_assists": 0.0507,
                "key_pass": 0.5554,
                "rating": 6.606,
                "minutes": 25.29,
                "total_pass": 6.3786,
                "accurate_pass": 4.5481,
                "duels_won": 1.5507,
                "total_long_balls": 0.171,
                "accurate_long_balls": 0.0918,
                "total_opp_half_passes": 4.5995,
                "accurate_opp_half_passes": 3.1887,
                "crosses_total": 1.2673,
                "crosses_accurate": 0.1789,
                "touches": 14.4764,
                "possession_lost": 5.5924,
                "dispossessed": 0.3359,
                "duels_lost": 2.4169,
                "aerial_lost": 0.1629,
                "total_contest": 1.4441,
                "won_contest": 0.263,
                "ball_recovery": 1.0422,
                "challenges_lost": 0.2217,
                "fouls": 0.155,
                "fouls_drawn": 0.9879,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2508,
                "tackles_won": 0.1041,
                "tackles": 0.252,
                "clearances": 0.3199,
                "blocks": 0.0,
                "big_chances_created": 0.0338,
                "big_chances_missed": 0.0,
                "xgot": 0.0027,
                "offsides": 0.0884,
                "ball_carries": 4.4623,
                "total_progression": 28.0806,
                "progressive_carries": 1.1383,
                "shots_off_target": 0.5199,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": true
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.0855,
                "goal_rate": 0.1147,
                "goals": 0,
                "shots_on_target": 0.3102,
                "total_shots": 0.8301,
                "expected_assists": 0.0507,
                "key_pass": 0.5554,
                "rating": 6.606,
                "minutes": 25.29,
                "total_pass": 6.3786,
                "accurate_pass": 4.5481,
                "duels_won": 1.5507,
                "total_long_balls": 0.171,
                "accurate_long_balls": 0.0918,
                "total_opp_half_passes": 4.5995,
                "accurate_opp_half_passes": 3.1887,
                "crosses_total": 1.2673,
                "crosses_accurate": 0.1789,
                "touches": 14.4764,
                "possession_lost": 5.5924,
                "dispossessed": 0.3359,
                "duels_lost": 2.4169,
                "aerial_lost": 0.1629,
                "total_contest": 1.4441,
                "won_contest": 0.263,
                "ball_recovery": 1.0422,
                "challenges_lost": 0.2217,
                "fouls": 0.155,
                "fouls_drawn": 0.9879,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2508,
                "tackles_won": 0.1041,
                "tackles": 0.252,
                "clearances": 0.3199,
                "blocks": 0.0,
                "big_chances_created": 0.0338,
                "big_chances_missed": 0.0,
                "xgot": 0.0027,
                "offsides": 0.0884,
                "ball_carries": 4.4623,
                "total_progression": 28.0806,
                "progressive_carries": 1.1383,
                "shots_off_target": 0.5199,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.34 (squad xG sum 1.0719, xG scale 1.2473, xA scale 1.1232, team xA 1.07 = 0.80 x lambda)",
              "stats": {
                "expected_goals": 0.0596,
                "goal_rate": 0.1147,
                "goals": 0,
                "shots_on_target": 0.3102,
                "total_shots": 0.8301,
                "expected_assists": 0.0318,
                "key_pass": 0.5554,
                "rating": 6.606,
                "minutes": 25.29,
                "total_pass": 6.3786,
                "accurate_pass": 4.5481,
                "duels_won": 1.5507,
                "total_long_balls": 0.171,
                "accurate_long_balls": 0.0918,
                "total_opp_half_passes": 4.5995,
                "accurate_opp_half_passes": 3.1887,
                "crosses_total": 1.2673,
                "crosses_accurate": 0.1789,
                "touches": 14.4764,
                "possession_lost": 5.5924,
                "dispossessed": 0.3359,
                "duels_lost": 2.4169,
                "aerial_lost": 0.1629,
                "total_contest": 1.4441,
                "won_contest": 0.263,
                "ball_recovery": 1.0422,
                "challenges_lost": 0.2217,
                "fouls": 0.155,
                "fouls_drawn": 0.9879,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2508,
                "tackles_won": 0.1041,
                "tackles": 0.252,
                "clearances": 0.3199,
                "blocks": 0.0,
                "big_chances_created": 0.0338,
                "big_chances_missed": 0.0,
                "xgot": 0.0019,
                "offsides": 0.0884,
                "ball_carries": 4.4623,
                "total_progression": 28.0806,
                "progressive_carries": 1.1383,
                "shots_off_target": 0.5199,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "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.2155,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 1.337,
                "squad_xg_sum": 1.0719,
                "squad_xa_sum": 0.9523,
                "team_expected_assists": 1.0696,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2473,
                "xa_scale": 1.1232,
                "opponent_lambda": 2.325,
                "scoreline_reset": true,
                "appearance_weight": 0.559
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0855,
                  "after": 0.0596
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0507,
                  "after": 0.0318
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 18 by projected rating, fifa_overall 79.0)",
              "stats": {
                "expected_goals": 0.0596,
                "goal_rate": 0.1147,
                "goals": 0,
                "shots_on_target": 0.3102,
                "total_shots": 0.8301,
                "expected_assists": 0.0318,
                "key_pass": 0.5554,
                "rating": 6.606,
                "minutes": 25.29,
                "total_pass": 6.3786,
                "accurate_pass": 4.5481,
                "duels_won": 1.5507,
                "total_long_balls": 0.171,
                "accurate_long_balls": 0.0918,
                "total_opp_half_passes": 4.5995,
                "accurate_opp_half_passes": 3.1887,
                "crosses_total": 1.2673,
                "crosses_accurate": 0.1789,
                "touches": 14.4764,
                "possession_lost": 5.5924,
                "dispossessed": 0.3359,
                "duels_lost": 2.4169,
                "aerial_lost": 0.1629,
                "total_contest": 1.4441,
                "won_contest": 0.263,
                "ball_recovery": 1.0422,
                "challenges_lost": 0.2217,
                "fouls": 0.155,
                "fouls_drawn": 0.9879,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2508,
                "tackles_won": 0.1041,
                "tackles": 0.252,
                "clearances": 0.3199,
                "blocks": 0.0,
                "big_chances_created": 0.0338,
                "big_chances_missed": 0.0,
                "xgot": 0.0019,
                "offsides": 0.0884,
                "ball_carries": 4.4623,
                "total_progression": 28.0806,
                "progressive_carries": 1.1383,
                "shots_off_target": 0.5199,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "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.2155,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 18,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 2258,
                "fifa_rank": 880.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.0596,
                "goal_rate": 0.1147,
                "goals": 0,
                "shots_on_target": 0.3102,
                "total_shots": 0.8301,
                "expected_assists": 0.0318,
                "key_pass": 0.5554,
                "rating": 6.606,
                "minutes": 25.29,
                "total_pass": 6.3786,
                "accurate_pass": 4.5481,
                "duels_won": 1.5507,
                "total_long_balls": 0.171,
                "accurate_long_balls": 0.0918,
                "total_opp_half_passes": 4.5995,
                "accurate_opp_half_passes": 3.1887,
                "crosses_total": 1.2673,
                "crosses_accurate": 0.1789,
                "touches": 14.4764,
                "possession_lost": 5.5924,
                "dispossessed": 0.3359,
                "duels_lost": 2.4169,
                "aerial_lost": 0.1629,
                "total_contest": 1.4441,
                "won_contest": 0.263,
                "ball_recovery": 1.0422,
                "challenges_lost": 0.2217,
                "fouls": 0.155,
                "fouls_drawn": 0.9879,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2508,
                "tackles_won": 0.1041,
                "tackles": 0.252,
                "clearances": 0.3199,
                "blocks": 0.0,
                "big_chances_created": 0.0338,
                "big_chances_missed": 0.0,
                "xgot": 0.0019,
                "offsides": 0.0884,
                "ball_carries": 4.4623,
                "total_progression": 28.0806,
                "progressive_carries": 1.1383,
                "shots_off_target": 0.5199,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0565,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2155,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0565,
                "goal_rate": 0.1147,
                "scorer_weight": 0.0724,
                "squad_weight_total": 1.4295,
                "weight_share": 0.0507,
                "finishing_factor": 1.2155,
                "appearance_weight": 0.559,
                "weight_rank": 7,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.5106,
                    "already": 0,
                    "effective_weight": 0.5106,
                    "runner_up": "Javier Hernández",
                    "runner_up_effective_weight": 0.166
                  }
                ]
              }
            },
            {
              "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.0596,
                "goal_rate": 0.1147,
                "goals": 0,
                "shots_on_target": 0.3102,
                "total_shots": 0.8301,
                "expected_assists": 0.0318,
                "key_pass": 0.5554,
                "rating": 6.606,
                "minutes": 25.29,
                "total_pass": 6.3786,
                "accurate_pass": 4.5481,
                "duels_won": 1.5507,
                "total_long_balls": 0.171,
                "accurate_long_balls": 0.0918,
                "total_opp_half_passes": 4.5995,
                "accurate_opp_half_passes": 3.1887,
                "crosses_total": 1.2673,
                "crosses_accurate": 0.1789,
                "touches": 14.4764,
                "possession_lost": 5.5924,
                "dispossessed": 0.3359,
                "duels_lost": 2.4169,
                "aerial_lost": 0.1629,
                "total_contest": 1.4441,
                "won_contest": 0.263,
                "ball_recovery": 1.0422,
                "challenges_lost": 0.2217,
                "fouls": 0.155,
                "fouls_drawn": 0.9879,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2508,
                "tackles_won": 0.1041,
                "tackles": 0.252,
                "clearances": 0.3199,
                "blocks": 0.0,
                "big_chances_created": 0.0338,
                "big_chances_missed": 0.0,
                "xgot": 0.0019,
                "offsides": 0.0884,
                "ball_carries": 4.4623,
                "total_progression": 28.0806,
                "progressive_carries": 1.1383,
                "shots_off_target": 0.5199,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0565,
                "projected_assists": 0,
                "assist_probability": 0.0309,
                "finishing_factor": 1.2155,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0309,
                "assist_rate": 0.0,
                "provider_weight": 0.0254,
                "squad_weight_total": 1.0297,
                "weight_share": 0.0247,
                "creation_factor": 0.8,
                "appearance_weight": 0.559,
                "weight_rank": 11,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Javier Hernández",
                    "weight": 0.193,
                    "already": 0,
                    "effective_weight": 0.193,
                    "runner_up": "Bryan Zaragoza",
                    "runner_up_effective_weight": 0.1355,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        },
        "Vanja Drkušić": {
          "player_id": 908617,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 16,
          "height": 186,
          "market_value": 5500000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 0,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.617,
            "minutes": 20,
            "total_pass": 28,
            "accurate_pass": 23,
            "duels_won": 3,
            "total_long_balls": 6,
            "accurate_long_balls": 1,
            "total_own_half_passes": 19,
            "accurate_own_half_passes": 17,
            "total_opp_half_passes": 9,
            "accurate_opp_half_passes": 6,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 36,
            "possession_lost": 5.6137,
            "dispossessed": 0.0,
            "duels_lost": 2,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0013,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 9,
            "total_progression": 10,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.412,
            "bench_expected_minutes": 19.91,
            "projected_substitution_order": 4,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 4,
            "projected_substitution_expected_count": 2.55,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0013,
            "finishing_factor": 1.0,
            "creation_factor": 0.947,
            "fifa_overall": 80.0
          },
          "latest_10_games": [
            {
              "match_id": 16416327,
              "match_date": "2026-09-12",
              "home_team": "Osasuna",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Osasuna",
              "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": 16416310,
              "match_date": "2026-08-29",
              "home_team": "Real Sociedad",
              "away_team": "Espanyol",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0026,
                "total_shots": 0,
                "total_pass": 56,
                "accurate_pass": 45,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 4,
                "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": 16416306,
              "match_date": "2026-08-22",
              "home_team": "Espanyol",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 24,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0046,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 7,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 4,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 811,
            "combined_rank_score": 532.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 391.0,
            "sofascore_rating": 6.95,
            "sofascore_appearances": 6.0,
            "fifa_rank": 673.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.617,
            "source_file": "data/player_rankings.csv",
            "player_name": "Vanja Drkušić",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Chang-woo Park",
                  "ranking": 806
                },
                {
                  "player_name": "Ronan",
                  "ranking": 807
                },
                {
                  "player_name": "Roy Revivo",
                  "ranking": 808
                },
                {
                  "player_name": "Hugo Magallanes",
                  "ranking": 809
                },
                {
                  "player_name": "Dženis Burnić",
                  "ranking": 810
                }
              ],
              "lower": [
                {
                  "player_name": "Hugo Souza",
                  "ranking": 812
                },
                {
                  "player_name": "Teddy Teuma",
                  "ranking": 813
                },
                {
                  "player_name": "Yoel Bárcenas",
                  "ranking": 814
                },
                {
                  "player_name": "Piero Quispe",
                  "ranking": 815
                },
                {
                  "player_name": "Seung-wan Ryu",
                  "ranking": 816
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.451,
          "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.451,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 19.91,
            "bench_appearance_prob": 0.412,
            "market_value_adjustment": 0.9931,
            "fbref_prior_metrics": {
              "squad": "Espanyol",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 1.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 25.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0867
            },
            "rationale": "Bench projection scaled from XGBoost D_service (3 historical appearances) to 19.9 expected mins (appearance prob 0.41); FBref playing time empirical prior: 1.0 sub appearances, 25.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.3945,
                "tackles": 0.4804,
                "tackles_won": 0.2642,
                "clearances": 1.3414,
                "aerial_won": 0.3799,
                "total_shots": 0.1434,
                "rating": 6.617,
                "minutes": 14.78,
                "total_pass": 21.0311,
                "accurate_pass": 16.8348,
                "duels_won": 2.2138,
                "total_long_balls": 4.1963,
                "accurate_long_balls": 0.9417,
                "total_own_half_passes": 14.0097,
                "accurate_own_half_passes": 12.3576,
                "total_opp_half_passes": 7.0214,
                "accurate_opp_half_passes": 4.4772,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 26.9621,
                "possession_lost": 4.1963,
                "dispossessed": 0.0,
                "duels_lost": 1.6025,
                "aerial_lost": 0.6608,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.9913,
                "challenges_lost": 0.0,
                "fouls": 0.9417,
                "fouls_drawn": 0.9913,
                "blocks": 0.6608,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0021,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 6.8892,
                "total_progression": 7.7852,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1434
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-16T10:30:59.837052+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 625,
                    "rows": 21030
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-12",
                    "opponent": "Osasuna",
                    "minutes": 1.0,
                    "is_starting": false,
                    "weight": 0.3887,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.3304,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-22",
                    "opponent": "Real Madrid",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.2809,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 2.4451,
                  "aerialWon": 0.6608,
                  "totalClearance_p90": 5.5345,
                  "totalTackle": 0.8921,
                  "defensive_actions": 0.8921
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.394546240568161,
                    "model_output": 0.3945,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2924
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0396
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0252
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0247
                      },
                      {
                        "name": "touches",
                        "importance": 0.0228
                      }
                    ],
                    "decomposition": {
                      "base": 0.8609,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4365
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0441
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0441
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0182
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0129
                        }
                      ],
                      "others": 0.0012,
                      "total": 0.3945,
                      "log_link": true,
                      "margin_base": -0.149807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.707261
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.109837
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.109709
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.043882
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.032372
                        }
                      ],
                      "others_margin": 0.003431
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.4804310202598572,
                    "model_output": 0.4804,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2589
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0677
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.049
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.044
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 1.3915,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7772
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.033
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0228
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.021
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0187
                        }
                      ],
                      "others": -0.0384,
                      "total": 0.4804,
                      "log_link": true,
                      "margin_base": 0.330386,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.817727
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.055236
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.040101
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.03838
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.035488
                        }
                      ],
                      "others_margin": -0.076527
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.2641858160495758,
                    "model_output": 0.2642,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2078
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0673
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0422
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0415
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.8542,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4829
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0251
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0154
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0145
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0134
                        }
                      ],
                      "others": -0.0387,
                      "total": 0.2642,
                      "log_link": true,
                      "margin_base": -0.157629,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.833202
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.069944
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.045389
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.044874
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.043352
                        }
                      ],
                      "others_margin": -0.136712
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.3414077758789062,
                    "model_output": 1.3414,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2949
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0875
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0204
                      }
                    ],
                    "decomposition": {
                      "base": 3.4327,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.1852
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.2048
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.1363
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0864
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0748
                        }
                      ],
                      "others": 0.0012,
                      "total": 1.3414,
                      "log_link": true,
                      "margin_base": 1.233356,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -1.01218
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.179345
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.122837
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.070684
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.057466
                        }
                      ],
                      "others_margin": 0.0009
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.3799079954624176,
                    "model_output": 0.3799,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1614
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1583
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0863
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 1.3773,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.8672
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1297
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0347
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0317
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0233
                        }
                      ],
                      "others": -0.0268,
                      "total": 0.3799,
                      "log_link": true,
                      "margin_base": 0.320134,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.993295
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.293341
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.087374
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.079393
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.058999
                        }
                      ],
                      "others_margin": -0.068304
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.14338922500610352,
                    "model_output": 0.1434,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.105
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.033
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0307
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 0.4745,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1683
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0771
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0108
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0108
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0107
                        }
                      ],
                      "others": -0.0534,
                      "total": 0.1434,
                      "log_link": false,
                      "margin_base": 0.474501,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.168324
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.077068
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.010842
                        },
                        {
                          "name": "rating",
                          "margin": -0.010799
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.010745
                        }
                      ],
                      "others_margin": -0.053334
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.616983413696289,
                    "model_output": 6.617,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0634
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0627
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0603
                      },
                      {
                        "name": "touches",
                        "importance": 0.0395
                      },
                      {
                        "name": "rating",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 6.7847,
                      "items": [
                        {
                          "name": "totalPass",
                          "contribution": -0.0358
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0272
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0204
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0113
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0113
                        }
                      ],
                      "others": -0.0617,
                      "total": 6.617,
                      "log_link": false,
                      "margin_base": 6.784704,
                      "item_margins": [
                        {
                          "name": "totalPass",
                          "margin": -0.035848
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.027217
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.020418
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.01131
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.011258
                        }
                      ],
                      "others_margin": -0.061669
                    }
                  }
                ],
                "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 0.9931, quality 0.468)",
              "stats": {
                "interceptions": 0.3918,
                "tackles": 0.4771,
                "tackles_won": 0.2624,
                "clearances": 1.3322,
                "aerial_won": 0.3773,
                "total_shots": 0.1424,
                "rating": 6.617,
                "minutes": 14.78,
                "total_pass": 20.886,
                "accurate_pass": 16.7186,
                "duels_won": 2.1985,
                "total_long_balls": 4.1673,
                "accurate_long_balls": 0.9352,
                "total_own_half_passes": 13.913,
                "accurate_own_half_passes": 12.2723,
                "total_opp_half_passes": 6.973,
                "accurate_opp_half_passes": 4.4463,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 26.7761,
                "possession_lost": 4.1673,
                "dispossessed": 0.0,
                "duels_lost": 1.5914,
                "aerial_lost": 0.6562,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.9845,
                "challenges_lost": 0.0,
                "fouls": 0.9352,
                "fouls_drawn": 0.9845,
                "blocks": 0.6562,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0021,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 6.8417,
                "total_progression": 7.7315,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1424
              },
              "params": {
                "market_value_eur": 5500000,
                "quality_factor": 0.4683,
                "boost_factor": 0.9931,
                "reference_quality": 0.505,
                "history_matches": 3,
                "history_shrink": 0.625,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0352)",
              "stats": {
                "interceptions": 0.378,
                "tackles": 0.4771,
                "tackles_won": 0.2621,
                "clearances": 1.3322,
                "aerial_won": 0.3773,
                "total_shots": 0.1374,
                "rating": 6.617,
                "minutes": 14.78,
                "total_pass": 20.886,
                "accurate_pass": 16.7186,
                "duels_won": 2.1985,
                "total_long_balls": 4.1673,
                "accurate_long_balls": 0.9352,
                "total_own_half_passes": 13.913,
                "accurate_own_half_passes": 12.2723,
                "total_opp_half_passes": 6.973,
                "accurate_opp_half_passes": 4.4463,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 26.7761,
                "possession_lost": 4.1673,
                "dispossessed": 0.0,
                "duels_lost": 1.5914,
                "aerial_lost": 0.6562,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 0.9845,
                "challenges_lost": 0.0,
                "fouls": 0.9156,
                "fouls_drawn": 0.9632,
                "blocks": 0.6562,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0021,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 6.8417,
                "total_progression": 7.7315,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1424
              },
              "params": {
                "blend_weight": 0.0352,
                "history_matches": 3,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.1642,
                "prior_reliability": 0.0867,
                "competition": "La Liga",
                "squad": "Espanyol"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 0.9845,
                  "after": 0.9632
                },
                {
                  "stat": "fouls",
                  "before": 0.9352,
                  "after": 0.9156
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.3918,
                  "after": 0.378
                },
                {
                  "stat": "totalShots",
                  "before": 0.1424,
                  "after": 0.1374
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 14.8 to 19.9 expected minutes (appearance prob 0.41)",
              "stats": {
                "interceptions": 0.5092,
                "tackles": 0.6427,
                "tackles_won": 0.3531,
                "clearances": 1.7946,
                "aerial_won": 0.5083,
                "total_shots": 0.1918,
                "rating": 6.617,
                "minutes": 19.91,
                "total_pass": 28.1353,
                "accurate_pass": 22.5215,
                "duels_won": 2.9616,
                "total_long_balls": 5.6137,
                "accurate_long_balls": 1.2598,
                "total_own_half_passes": 18.7421,
                "accurate_own_half_passes": 16.5319,
                "total_opp_half_passes": 9.3933,
                "accurate_opp_half_passes": 5.9896,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 36.0698,
                "possession_lost": 5.6137,
                "dispossessed": 0.0,
                "duels_lost": 2.1438,
                "aerial_lost": 0.6562,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.3262,
                "challenges_lost": 0.0,
                "fouls": 1.2334,
                "fouls_drawn": 1.2975,
                "blocks": 0.884,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0028,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 9.2164,
                "total_progression": 10.415,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1918,
                "bench_appearance_probability": 0.412,
                "bench_expected_minutes": 19.91
              },
              "params": {
                "expected_minutes": 19.91,
                "projection_minutes": 14.78,
                "minutes_scale": 1.3471,
                "appearance_probability": 0.412
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.5092,
                "tackles": 0.6427,
                "tackles_won": 0.3531,
                "clearances": 1.7946,
                "aerial_won": 0.5083,
                "total_shots": 0.1918,
                "rating": 6.617,
                "minutes": 19.91,
                "total_pass": 28.1353,
                "accurate_pass": 22.5215,
                "duels_won": 2.9616,
                "total_long_balls": 5.6137,
                "accurate_long_balls": 1.2598,
                "total_own_half_passes": 18.7421,
                "accurate_own_half_passes": 16.5319,
                "total_opp_half_passes": 9.3933,
                "accurate_opp_half_passes": 5.9896,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 36.0698,
                "possession_lost": 5.6137,
                "dispossessed": 0.0,
                "duels_lost": 2.1438,
                "aerial_lost": 0.6562,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.3262,
                "challenges_lost": 0.0,
                "fouls": 1.2334,
                "fouls_drawn": 1.2975,
                "blocks": 0.884,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0028,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 9.2164,
                "total_progression": 10.415,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1918,
                "bench_appearance_probability": 0.412,
                "bench_expected_minutes": 19.91
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 1 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 0.5092,
                "tackles": 0.6427,
                "tackles_won": 0.3531,
                "clearances": 1.7946,
                "aerial_won": 0.5083,
                "total_shots": 0.1918,
                "rating": 6.617,
                "minutes": 19.91,
                "total_pass": 28.1353,
                "accurate_pass": 22.5215,
                "duels_won": 2.9616,
                "total_long_balls": 5.6137,
                "accurate_long_balls": 1.2598,
                "total_own_half_passes": 18.7421,
                "accurate_own_half_passes": 16.5319,
                "total_opp_half_passes": 9.3933,
                "accurate_opp_half_passes": 5.9896,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 36.0698,
                "possession_lost": 5.6137,
                "dispossessed": 0.0,
                "duels_lost": 2.1438,
                "aerial_lost": 0.6562,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.3262,
                "challenges_lost": 0.0,
                "fouls": 1.2334,
                "fouls_drawn": 1.2975,
                "blocks": 0.884,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0028,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 9.2164,
                "total_progression": 10.415,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1918,
                "bench_appearance_probability": 0.412,
                "bench_expected_minutes": 19.91,
                "projected_substitution_order": 4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 1
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 1.34 (squad xG sum 1.0719, xG scale 1.2473, xA scale 1.1232, team xA 1.07 = 0.80 x lambda)",
              "stats": {
                "interceptions": 0.5092,
                "tackles": 0.6427,
                "tackles_won": 0.3531,
                "clearances": 1.7946,
                "aerial_won": 0.5083,
                "total_shots": 0.1918,
                "rating": 6.617,
                "minutes": 19.91,
                "total_pass": 28.1353,
                "accurate_pass": 22.5215,
                "duels_won": 2.9616,
                "total_long_balls": 5.6137,
                "accurate_long_balls": 1.2598,
                "total_own_half_passes": 18.7421,
                "accurate_own_half_passes": 16.5319,
                "total_opp_half_passes": 9.3933,
                "accurate_opp_half_passes": 5.9896,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 36.0698,
                "possession_lost": 5.6137,
                "dispossessed": 0.0,
                "duels_lost": 2.1438,
                "aerial_lost": 0.6562,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.3262,
                "challenges_lost": 0.0,
                "fouls": 1.2334,
                "fouls_drawn": 1.2975,
                "blocks": 0.884,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0013,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 9.2164,
                "total_progression": 10.415,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1918,
                "bench_appearance_probability": 0.412,
                "bench_expected_minutes": 19.91,
                "projected_substitution_order": 4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "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.0,
                "creation_factor": 0.947
              },
              "params": {
                "team_lambda": 1.337,
                "squad_xg_sum": 1.0719,
                "squad_xa_sum": 0.9523,
                "team_expected_assists": 1.0696,
                "team_xa_to_xg_ratio": 0.8,
                "bench_appearance_weighted": true,
                "xg_scale": 1.2473,
                "xa_scale": 1.1232,
                "opponent_lambda": 2.325,
                "scoreline_reset": true,
                "appearance_weight": 0.412
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 17 by projected rating, fifa_overall 80.0)",
              "stats": {
                "interceptions": 0.5092,
                "tackles": 0.6427,
                "tackles_won": 0.3531,
                "clearances": 1.7946,
                "aerial_won": 0.5083,
                "total_shots": 0.1918,
                "rating": 6.617,
                "minutes": 19.91,
                "total_pass": 28.1353,
                "accurate_pass": 22.5215,
                "duels_won": 2.9616,
                "total_long_balls": 5.6137,
                "accurate_long_balls": 1.2598,
                "total_own_half_passes": 18.7421,
                "accurate_own_half_passes": 16.5319,
                "total_opp_half_passes": 9.3933,
                "accurate_opp_half_passes": 5.9896,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 36.0698,
                "possession_lost": 5.6137,
                "dispossessed": 0.0,
                "duels_lost": 2.1438,
                "aerial_lost": 0.6562,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.3262,
                "challenges_lost": 0.0,
                "fouls": 1.2334,
                "fouls_drawn": 1.2975,
                "blocks": 0.884,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0013,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 9.2164,
                "total_progression": 10.415,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1918,
                "bench_appearance_probability": 0.412,
                "bench_expected_minutes": 19.91,
                "projected_substitution_order": 4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "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.0,
                "creation_factor": 0.947,
                "fifa_overall": 80.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": 811,
                "fifa_rank": 673.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": {
                "interceptions": 0.5092,
                "tackles": 0.6427,
                "tackles_won": 0.3531,
                "clearances": 1.7946,
                "aerial_won": 0.5083,
                "total_shots": 0.1918,
                "rating": 6.617,
                "minutes": 19.91,
                "total_pass": 28.1353,
                "accurate_pass": 22.5215,
                "duels_won": 2.9616,
                "total_long_balls": 5.6137,
                "accurate_long_balls": 1.2598,
                "total_own_half_passes": 18.7421,
                "accurate_own_half_passes": 16.5319,
                "total_opp_half_passes": 9.3933,
                "accurate_opp_half_passes": 5.9896,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 36.0698,
                "possession_lost": 5.6137,
                "dispossessed": 0.0,
                "duels_lost": 2.1438,
                "aerial_lost": 0.6562,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.3262,
                "challenges_lost": 0.0,
                "fouls": 1.2334,
                "fouls_drawn": 1.2975,
                "blocks": 0.884,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0013,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 9.2164,
                "total_progression": 10.415,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1918,
                "bench_appearance_probability": 0.412,
                "bench_expected_minutes": 19.91,
                "projected_substitution_order": 4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "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.0,
                "creation_factor": 0.947,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 1,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "goal_rate": 0.0,
                "scorer_weight": 0.001,
                "squad_weight_total": 1.4295,
                "weight_share": 0.0007,
                "finishing_factor": 1.0,
                "appearance_weight": 0.412,
                "weight_rank": 14,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Roberto Fernández",
                    "weight": 0.5106,
                    "already": 0,
                    "effective_weight": 0.5106,
                    "runner_up": "Javier Hernández",
                    "runner_up_effective_weight": 0.166
                  }
                ]
              }
            },
            {
              "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.5092,
                "tackles": 0.6427,
                "tackles_won": 0.3531,
                "clearances": 1.7946,
                "aerial_won": 0.5083,
                "total_shots": 0.1918,
                "rating": 6.617,
                "minutes": 19.91,
                "total_pass": 28.1353,
                "accurate_pass": 22.5215,
                "duels_won": 2.9616,
                "total_long_balls": 5.6137,
                "accurate_long_balls": 1.2598,
                "total_own_half_passes": 18.7421,
                "accurate_own_half_passes": 16.5319,
                "total_opp_half_passes": 9.3933,
                "accurate_opp_half_passes": 5.9896,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 36.0698,
                "possession_lost": 5.6137,
                "dispossessed": 0.0,
                "duels_lost": 2.1438,
                "aerial_lost": 0.6562,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "ball_recovery": 1.3262,
                "challenges_lost": 0.0,
                "fouls": 1.2334,
                "fouls_drawn": 1.2975,
                "blocks": 0.884,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0013,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 9.2164,
                "total_progression": 10.415,
                "progressive_carries": 0.0,
                "key_pass": 0.0,
                "shots_off_target": 0.1918,
                "bench_appearance_probability": 0.412,
                "bench_expected_minutes": 19.91,
                "projected_substitution_order": 4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 4,
                "projected_substitution_expected_count": 2.55,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0013,
                "finishing_factor": 1.0,
                "creation_factor": 0.947,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0013,
                "assist_rate": 0.0,
                "provider_weight": 0.0012,
                "squad_weight_total": 1.0297,
                "weight_share": 0.0012,
                "creation_factor": 0.947,
                "appearance_weight": 0.412,
                "weight_rank": 14,
                "eligible_players": 14,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Javier Hernández",
                    "weight": 0.193,
                    "already": 0,
                    "effective_weight": 0.193,
                    "runner_up": "Bryan Zaragoza",
                    "runner_up_effective_weight": 0.1355,
                    "blocked_own_goal": [
                      "Roberto Fernández"
                    ]
                  }
                ]
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 1,
        "expected_goals": 1.34,
        "expected_assists": 1.07,
        "total_shots": 11,
        "shots_on_target": 2,
        "total_passes": 413,
        "interceptions": 7,
        "tackles": 18,
        "avg_rating": 6.85,
        "possession_estimated_pct": 46.6,
        "pressing_actions_per_90": 6.2
      }
    },
    "Atlético Madrid": {
      "formation": "4-2-3-1",
      "players": {
        "Jonathan David": {
          "player_id": 935564,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 15,
          "height": 180,
          "market_value": 29000000,
          "stats": {
            "expected_goals": 0.6659,
            "goal_rate": 0.4971,
            "goals": 1,
            "shots_on_target": 1,
            "total_shots": 3,
            "expected_assists": 0.1282,
            "key_pass": 1,
            "rating": 6.9586,
            "minutes": 66,
            "total_pass": 13,
            "accurate_pass": 12,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 9,
            "accurate_opp_half_passes": 8,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 23,
            "possession_lost": 4.5388,
            "dispossessed": 1.3156,
            "duels_lost": 4,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "assist_rate": 0.6925,
            "assists": 0,
            "interceptions": 1,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 1,
            "big_chances_missed": 2,
            "xgot": 1.1028,
            "offsides": 0,
            "ball_carries": 5,
            "total_progression": 30,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.0935,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.5,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.264,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Leandro Cabrera, Quilindschy Hartman",
            "opponent_faced": "Leandro Cabrera, Quilindschy Hartman",
            "antagonist_source": "attacking_duel",
            "projected_goals": 1,
            "goal_probability": 0.4862,
            "projected_assists": 0,
            "assist_probability": 0.1203,
            "finishing_factor": 1.0663,
            "creation_factor": 1.25,
            "fifa_overall": 80.0
          },
          "latest_10_games": [
            {
              "match_id": 16421056,
              "match_date": "2026-10-10",
              "home_team": "Deportivo Alavés",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 45,
                "rating": 6.9,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.1264,
                "expected_assists": 0.0563,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 9,
                "accurate_pass": 7,
                "key_pass": 1,
                "interceptions": 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": 16416339,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 62,
                "rating": 7.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5928,
                "expected_assists": 0.231,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 11,
                "accurate_pass": 11,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 1,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416335,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 68,
                "rating": 7.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 1.4628,
                "expected_assists": 0.3606,
                "total_shots": 6,
                "shots_on_target": 3,
                "shots_off_target": 1,
                "total_pass": 18,
                "accurate_pass": 17,
                "key_pass": 4,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 30,
                "rating": 7.9,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2584,
                "expected_assists": 0.0115,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 8,
                "accurate_pass": 4,
                "key_pass": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1190,
            "combined_rank_score": 524.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 310.0,
            "sofascore_rating": 7.0333,
            "sofascore_appearances": 6.0,
            "fifa_rank": 738.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 9,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9586,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jonathan David",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Fernando Calero",
                  "ranking": 1185
                },
                {
                  "player_name": "Diego Rubio",
                  "ranking": 1186
                },
                {
                  "player_name": "Ismaïla Sarr",
                  "ranking": 1187
                },
                {
                  "player_name": "Kevin Danso",
                  "ranking": 1188
                },
                {
                  "player_name": "Folarin Balogun",
                  "ranking": 1189
                }
              ],
              "lower": [
                {
                  "player_name": "Gerard Martín",
                  "ranking": 1191
                },
                {
                  "player_name": "Keelan Lebon",
                  "ranking": 1192
                },
                {
                  "player_name": "Sukhrob Nurullaev",
                  "ranking": 1193
                },
                {
                  "player_name": "Ayyoub Bouaddi",
                  "ranking": 1194
                },
                {
                  "player_name": "Choi Hee-won",
                  "ranking": 1195
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.5,
          "history_matches": 4,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "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": 4,
            "data_confidence": 0.5,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.0342,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (F_service) evaluated 4 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.4095,
                "goals": 0.4396,
                "goal_rate": 0.4396,
                "shots_on_target": 1.0635,
                "total_shots": 2.3372,
                "expected_assists": 0.0856,
                "key_pass": 1.0278,
                "rating": 6.9586,
                "minutes": 66.25,
                "total_pass": 12.1885,
                "accurate_pass": 11.1302,
                "duels_won": 1.9504,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 8.8494,
                "accurate_opp_half_passes": 8.1798,
                "crosses_total": 0.2809,
                "crosses_accurate": 0.0,
                "touches": 22.2041,
                "possession_lost": 4.3887,
                "dispossessed": 1.2721,
                "duels_lost": 3.8766,
                "aerial_lost": 1.4383,
                "total_contest": 0.3887,
                "won_contest": 0.0,
                "ball_recovery": 1.6025,
                "challenges_lost": 0.3887,
                "fouls": 0.3887,
                "fouls_drawn": 1.3392,
                "assists": 0.6696,
                "assist_rate": 0.6696,
                "interceptions": 0.7191,
                "tackles_won": 0.3304,
                "tackles": 0.3304,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.9504,
                "big_chances_missed": 1.3784,
                "xgot": 0.6781,
                "offsides": 0.3304,
                "ball_carries": 4.5617,
                "total_progression": 28.7047,
                "progressive_carries": 1.1234,
                "shots_off_target": 1.2737
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-16T10:32:26.279343+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Deportivo Alavés",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.3138,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Madrid",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.2667,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Osasuna",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.2267,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Real Sociedad",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.1927,
                    "rating": 7.9
                  }
                ],
                "feature_row": {
                  "history_matches": 4.0,
                  "is_starting_11": 1.0,
                  "totalOppositionHalfPasses": 8.1075,
                  "expectedGoals": 0.5792,
                  "accurateOppositionHalfPasses": 6.9888,
                  "accuratePass": 9.7561,
                  "totalShots": 2.5931
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.4095138907432556,
                    "model_output": 0.4095,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0687
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0761
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0307
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0169
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0166
                        }
                      ],
                      "others": 0.003,
                      "total": 0.4095,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.29864
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.251408
                        },
                        {
                          "name": "goals",
                          "margin": 0.085935
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.044423
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.041587
                        }
                      ],
                      "others_margin": 0.007141
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.4395957291126251,
                    "model_output": 0.4396,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0824
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.077
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0306
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0237
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": 0.0201
                        }
                      ],
                      "others": 0.0024,
                      "total": 0.4396,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.340127
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.238585
                        },
                        {
                          "name": "goals",
                          "margin": 0.080943
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.058541
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": 0.04701
                        }
                      ],
                      "others_margin": 0.005684
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 1.063461422920227,
                    "model_output": 1.0635,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1956
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0705
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0737
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0658
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0661
                        }
                      ],
                      "others": 0.0542,
                      "total": 1.0635,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.310311
                        },
                        {
                          "name": "goals",
                          "margin": 0.091847
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.087746
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.072279
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.067712
                        }
                      ],
                      "others_margin": 0.052183
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 2.3371317386627197,
                    "model_output": 2.3371,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5292
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.2152
                        },
                        {
                          "name": "goals",
                          "contribution": 0.1277
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0889
                        },
                        {
                          "name": "history_matches",
                          "contribution": -0.0521
                        }
                      ],
                      "others": 0.0544,
                      "total": 2.3371,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.529216
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.215214
                        },
                        {
                          "name": "goals",
                          "margin": 0.127686
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.088878
                        },
                        {
                          "name": "history_matches",
                          "margin": -0.05207
                        }
                      ],
                      "others_margin": 0.054367
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.08556535094976425,
                    "model_output": 0.0856,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0175
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0095
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0069
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0067
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0066
                        }
                      ],
                      "others": 0.0066,
                      "total": 0.0856,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.241585
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.123067
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.091776
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.088633
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.086837
                        }
                      ],
                      "others_margin": 0.078536
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 1.0278435945510864,
                    "model_output": 1.0278,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2147
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.1479
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0544
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0506
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0425
                        }
                      ],
                      "others": 0.1393,
                      "total": 1.0278,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.276765
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.154089
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.053914
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.052893
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.04671
                        }
                      ],
                      "others_margin": 0.145589
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.95855712890625,
                    "model_output": 6.9586,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.0611
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0604
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0404
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0379
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0283
                        }
                      ],
                      "others": -0.0365,
                      "total": 6.9586,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.061096
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.060363
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.040436
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.037909
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.028252
                        }
                      ],
                      "others_margin": -0.036501
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 4,
                  "role_matches": 3,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0342, quality 0.710)",
              "stats": {
                "expected_goals": 0.4235,
                "goals": 0.4546,
                "goal_rate": 0.4546,
                "shots_on_target": 1.0998,
                "total_shots": 2.4171,
                "expected_assists": 0.0885,
                "key_pass": 1.063,
                "rating": 6.9586,
                "minutes": 66.25,
                "total_pass": 12.6053,
                "accurate_pass": 11.5109,
                "duels_won": 2.0171,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 9.152,
                "accurate_opp_half_passes": 8.4595,
                "crosses_total": 0.2905,
                "crosses_accurate": 0.0,
                "touches": 22.9635,
                "possession_lost": 4.5388,
                "dispossessed": 1.3156,
                "duels_lost": 4.0092,
                "aerial_lost": 1.4875,
                "total_contest": 0.402,
                "won_contest": 0.0,
                "ball_recovery": 1.6573,
                "challenges_lost": 0.402,
                "fouls": 0.402,
                "fouls_drawn": 1.385,
                "assists": 0.6925,
                "assist_rate": 0.6925,
                "interceptions": 0.7437,
                "tackles_won": 0.3417,
                "tackles": 0.3417,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.9829,
                "big_chances_missed": 1.4255,
                "xgot": 0.7013,
                "offsides": 0.3417,
                "ball_carries": 4.7177,
                "total_progression": 29.6864,
                "progressive_carries": 1.1618,
                "shots_off_target": 1.3173
              },
              "params": {
                "market_value_eur": 29000000,
                "quality_factor": 0.71,
                "boost_factor": 1.0342,
                "reference_quality": 0.505,
                "history_matches": 4,
                "history_shrink": 0.5556,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.4235,
                "goals": 0.4546,
                "goal_rate": 0.4546,
                "shots_on_target": 1.0998,
                "total_shots": 2.4171,
                "expected_assists": 0.0885,
                "key_pass": 1.063,
                "rating": 6.9586,
                "minutes": 66.25,
                "total_pass": 12.6053,
                "accurate_pass": 11.5109,
                "duels_won": 2.0171,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 9.152,
                "accurate_opp_half_passes": 8.4595,
                "crosses_total": 0.2905,
                "crosses_accurate": 0.0,
                "touches": 22.9635,
                "possession_lost": 4.5388,
                "dispossessed": 1.3156,
                "duels_lost": 4.0092,
                "aerial_lost": 1.4875,
                "total_contest": 0.402,
                "won_contest": 0.0,
                "ball_recovery": 1.6573,
                "challenges_lost": 0.402,
                "fouls": 0.402,
                "fouls_drawn": 1.385,
                "assists": 0.6925,
                "assist_rate": 0.6925,
                "interceptions": 0.7437,
                "tackles_won": 0.3417,
                "tackles": 0.3417,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.9829,
                "big_chances_missed": 1.4255,
                "xgot": 0.7013,
                "offsides": 0.3417,
                "ball_carries": 4.7177,
                "total_progression": 29.6864,
                "progressive_carries": 1.1618,
                "shots_off_target": 1.3173
              },
              "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.4631,
                "goals": 0.4971,
                "goal_rate": 0.4971,
                "shots_on_target": 1.2026,
                "total_shots": 2.6431,
                "expected_assists": 0.0885,
                "key_pass": 1.063,
                "rating": 6.9586,
                "minutes": 66.25,
                "total_pass": 12.6053,
                "accurate_pass": 11.5109,
                "duels_won": 2.0171,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 9.152,
                "accurate_opp_half_passes": 8.4595,
                "crosses_total": 0.2905,
                "crosses_accurate": 0.0,
                "touches": 22.9635,
                "possession_lost": 4.5388,
                "dispossessed": 1.3156,
                "duels_lost": 4.0092,
                "aerial_lost": 1.4875,
                "total_contest": 0.402,
                "won_contest": 0.0,
                "ball_recovery": 1.6573,
                "challenges_lost": 0.402,
                "fouls": 0.402,
                "fouls_drawn": 1.385,
                "assists": 0.6925,
                "assist_rate": 0.6925,
                "interceptions": 0.7437,
                "tackles_won": 0.3417,
                "tackles": 0.3417,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.9829,
                "big_chances_missed": 1.5588,
                "xgot": 0.7669,
                "offsides": 0.3417,
                "ball_carries": 4.7177,
                "total_progression": 29.6864,
                "progressive_carries": 1.1618,
                "shots_off_target": 1.4405,
                "duel_xg_multiplier": 1.0935,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.264,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Leandro Cabrera, Quilindschy Hartman",
                "opponent_faced": "Leandro Cabrera, Quilindschy Hartman",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Leandro Cabrera, Quilindschy Hartman",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.264,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 1.0935,
                  "skill_edge": 0.0896,
                  "height_edge": -0.026,
                  "attacker_skill": 0.71,
                  "defender_skill": 0.5108,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Leandro Cabrera",
                      "market_value": 930000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4374
                    },
                    {
                      "player": "Quilindschy Hartman",
                      "market_value": 11600000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.5842
                    }
                  ],
                  "xg_override": 0.4631
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.4171,
                  "after": 2.6431
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 1.4255,
                  "after": 1.5588
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.3173,
                  "after": 1.4405
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 1.0998,
                  "after": 1.2026
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.7013,
                  "after": 0.7669
                },
                {
                  "stat": "goals",
                  "before": 0.4546,
                  "after": 0.4971
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.4235,
                  "after": 0.4631
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.4631,
                "goal_rate": 0.4971,
                "goals": 0,
                "shots_on_target": 1.2026,
                "total_shots": 2.6431,
                "expected_assists": 0.0885,
                "key_pass": 1.063,
                "rating": 6.9586,
                "minutes": 66.25,
                "total_pass": 12.6053,
                "accurate_pass": 11.5109,
                "duels_won": 2.0171,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 9.152,
                "accurate_opp_half_passes": 8.4595,
                "crosses_total": 0.2905,
                "crosses_accurate": 0.0,
                "touches": 22.9635,
                "possession_lost": 4.5388,
                "dispossessed": 1.3156,
                "duels_lost": 4.0092,
                "aerial_lost": 1.4875,
                "total_contest": 0.402,
                "won_contest": 0.0,
                "ball_recovery": 1.6573,
                "challenges_lost": 0.402,
                "fouls": 0.402,
                "fouls_drawn": 1.385,
                "assist_rate": 0.6925,
                "assists": 0,
                "interceptions": 0.7437,
                "tackles_won": 0.3417,
                "tackles": 0.3417,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.9829,
                "big_chances_missed": 1.5588,
                "xgot": 0.7669,
                "offsides": 0.3417,
                "ball_carries": 4.7177,
                "total_progression": 29.6864,
                "progressive_carries": 1.1618,
                "shots_off_target": 1.4405,
                "duel_xg_multiplier": 1.0935,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.264,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Leandro Cabrera, Quilindschy Hartman",
                "opponent_faced": "Leandro Cabrera, Quilindschy Hartman",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              },
              "changes": [
                {
                  "stat": "assists",
                  "before": 1.0,
                  "after": 0
                }
              ]
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.33 (squad xG sum 1.6168, xG scale 1.4380, xA scale 1.4481, team xA 1.51 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.6659,
                "goal_rate": 0.4971,
                "goals": 0,
                "shots_on_target": 1.2026,
                "total_shots": 2.6431,
                "expected_assists": 0.1282,
                "key_pass": 1.063,
                "rating": 6.9586,
                "minutes": 66.25,
                "total_pass": 12.6053,
                "accurate_pass": 11.5109,
                "duels_won": 2.0171,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 9.152,
                "accurate_opp_half_passes": 8.4595,
                "crosses_total": 0.2905,
                "crosses_accurate": 0.0,
                "touches": 22.9635,
                "possession_lost": 4.5388,
                "dispossessed": 1.3156,
                "duels_lost": 4.0092,
                "aerial_lost": 1.4875,
                "total_contest": 0.402,
                "won_contest": 0.0,
                "ball_recovery": 1.6573,
                "challenges_lost": 0.402,
                "fouls": 0.402,
                "fouls_drawn": 1.385,
                "assist_rate": 0.6925,
                "assists": 0,
                "interceptions": 0.7437,
                "tackles_won": 0.3417,
                "tackles": 0.3417,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.9829,
                "big_chances_missed": 1.5588,
                "xgot": 1.1028,
                "offsides": 0.3417,
                "ball_carries": 4.7177,
                "total_progression": 29.6864,
                "progressive_carries": 1.1618,
                "shots_off_target": 1.4405,
                "duel_xg_multiplier": 1.0935,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.264,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Leandro Cabrera, Quilindschy Hartman",
                "opponent_faced": "Leandro Cabrera, Quilindschy Hartman",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0663,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 2.325,
                "squad_xg_sum": 1.6168,
                "squad_xa_sum": 1.0436,
                "team_expected_assists": 1.5113,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.438,
                "xa_scale": 1.4481,
                "opponent_lambda": 1.337,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.4631,
                  "after": 0.6659
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0885,
                  "after": 0.1282
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 9 by projected rating, fifa_overall 80.0)",
              "stats": {
                "expected_goals": 0.6659,
                "goal_rate": 0.4971,
                "goals": 0,
                "shots_on_target": 1.2026,
                "total_shots": 2.6431,
                "expected_assists": 0.1282,
                "key_pass": 1.063,
                "rating": 6.9586,
                "minutes": 66.25,
                "total_pass": 12.6053,
                "accurate_pass": 11.5109,
                "duels_won": 2.0171,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 9.152,
                "accurate_opp_half_passes": 8.4595,
                "crosses_total": 0.2905,
                "crosses_accurate": 0.0,
                "touches": 22.9635,
                "possession_lost": 4.5388,
                "dispossessed": 1.3156,
                "duels_lost": 4.0092,
                "aerial_lost": 1.4875,
                "total_contest": 0.402,
                "won_contest": 0.0,
                "ball_recovery": 1.6573,
                "challenges_lost": 0.402,
                "fouls": 0.402,
                "fouls_drawn": 1.385,
                "assist_rate": 0.6925,
                "assists": 0,
                "interceptions": 0.7437,
                "tackles_won": 0.3417,
                "tackles": 0.3417,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.9829,
                "big_chances_missed": 1.5588,
                "xgot": 1.1028,
                "offsides": 0.3417,
                "ball_carries": 4.7177,
                "total_progression": 29.6864,
                "progressive_carries": 1.1618,
                "shots_off_target": 1.4405,
                "duel_xg_multiplier": 1.0935,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.264,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Leandro Cabrera, Quilindschy Hartman",
                "opponent_faced": "Leandro Cabrera, Quilindschy Hartman",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0663,
                "creation_factor": 1.25,
                "fifa_overall": 80.0
              },
              "params": {
                "match_squad_rank": 9,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1190,
                "fifa_rank": 738.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 80.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.6659,
                "goal_rate": 0.4971,
                "goals": 1,
                "shots_on_target": 1.2026,
                "total_shots": 2.6431,
                "expected_assists": 0.1282,
                "key_pass": 1.063,
                "rating": 6.9586,
                "minutes": 66.25,
                "total_pass": 12.6053,
                "accurate_pass": 11.5109,
                "duels_won": 2.0171,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 9.152,
                "accurate_opp_half_passes": 8.4595,
                "crosses_total": 0.2905,
                "crosses_accurate": 0.0,
                "touches": 22.9635,
                "possession_lost": 4.5388,
                "dispossessed": 1.3156,
                "duels_lost": 4.0092,
                "aerial_lost": 1.4875,
                "total_contest": 0.402,
                "won_contest": 0.0,
                "ball_recovery": 1.6573,
                "challenges_lost": 0.402,
                "fouls": 0.402,
                "fouls_drawn": 1.385,
                "assist_rate": 0.6925,
                "assists": 0,
                "interceptions": 0.7437,
                "tackles_won": 0.3417,
                "tackles": 0.3417,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.9829,
                "big_chances_missed": 1.5588,
                "xgot": 1.1028,
                "offsides": 0.3417,
                "ball_carries": 4.7177,
                "total_progression": 29.6864,
                "progressive_carries": 1.1618,
                "shots_off_target": 1.4405,
                "duel_xg_multiplier": 1.0935,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.264,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Leandro Cabrera, Quilindschy Hartman",
                "opponent_faced": "Leandro Cabrera, Quilindschy Hartman",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.4862,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0663,
                "creation_factor": 1.25,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 1,
                "goal_probability": 0.4862,
                "goal_rate": 0.4971,
                "scorer_weight": 0.71,
                "squad_weight_total": 2.409,
                "weight_share": 0.2948,
                "finishing_factor": 1.0663,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Jonathan David",
                    "weight": 0.71,
                    "already": 0,
                    "effective_weight": 0.71,
                    "runner_up": "Ademola Lookman",
                    "runner_up_effective_weight": 0.4553
                  },
                  {
                    "n": 2,
                    "player": "Ademola Lookman",
                    "weight": 0.4553,
                    "already": 0,
                    "effective_weight": 0.4553,
                    "runner_up": "Jonathan David",
                    "runner_up_effective_weight": 0.3021
                  }
                ]
              }
            },
            {
              "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.6659,
                "goal_rate": 0.4971,
                "goals": 1,
                "shots_on_target": 1.2026,
                "total_shots": 2.6431,
                "expected_assists": 0.1282,
                "key_pass": 1.063,
                "rating": 6.9586,
                "minutes": 66.25,
                "total_pass": 12.6053,
                "accurate_pass": 11.5109,
                "duels_won": 2.0171,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 9.152,
                "accurate_opp_half_passes": 8.4595,
                "crosses_total": 0.2905,
                "crosses_accurate": 0.0,
                "touches": 22.9635,
                "possession_lost": 4.5388,
                "dispossessed": 1.3156,
                "duels_lost": 4.0092,
                "aerial_lost": 1.4875,
                "total_contest": 0.402,
                "won_contest": 0.0,
                "ball_recovery": 1.6573,
                "challenges_lost": 0.402,
                "fouls": 0.402,
                "fouls_drawn": 1.385,
                "assist_rate": 0.6925,
                "assists": 0,
                "interceptions": 0.7437,
                "tackles_won": 0.3417,
                "tackles": 0.3417,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.9829,
                "big_chances_missed": 1.5588,
                "xgot": 1.1028,
                "offsides": 0.3417,
                "ball_carries": 4.7177,
                "total_progression": 29.6864,
                "progressive_carries": 1.1618,
                "shots_off_target": 1.4405,
                "duel_xg_multiplier": 1.0935,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.6,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.264,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Leandro Cabrera, Quilindschy Hartman",
                "opponent_faced": "Leandro Cabrera, Quilindschy Hartman",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.4862,
                "projected_assists": 0,
                "assist_probability": 0.1203,
                "finishing_factor": 1.0663,
                "creation_factor": 1.25,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1203,
                "assist_rate": 0.6925,
                "provider_weight": 0.1603,
                "squad_weight_total": 1.5221,
                "weight_share": 0.1053,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alejandro Grimaldo",
                    "weight": 0.1971,
                    "already": 0,
                    "effective_weight": 0.1971,
                    "runner_up": "Alex Baena",
                    "runner_up_effective_weight": 0.1837
                  }
                ]
              }
            }
          ]
        },
        "Ademola Lookman": {
          "player_id": 824200,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 11,
          "height": 174,
          "market_value": 44000000,
          "stats": {
            "expected_goals": 0.4508,
            "goal_rate": 0.3171,
            "goals": 1,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.158,
            "key_pass": 1,
            "rating": 6.8684,
            "minutes": 66,
            "total_pass": 21,
            "accurate_pass": 18,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 16,
            "accurate_opp_half_passes": 13,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 33,
            "possession_lost": 8.7095,
            "dispossessed": 1.5937,
            "duels_lost": 5,
            "aerial_lost": 0,
            "total_contest": 3,
            "won_contest": 1,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 1,
            "xgot": 0.2544,
            "offsides": 0,
            "ball_carries": 12,
            "total_progression": 37,
            "progressive_carries": 3,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.1179,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.5,
            "aerial_won": 1,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.28,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Leandro Cabrera, Quilindschy Hartman",
            "opponent_faced": "Leandro Cabrera, Quilindschy Hartman",
            "antagonist_source": "attacking_duel",
            "projected_goals": 1,
            "goal_probability": 0.3629,
            "projected_assists": 0,
            "assist_probability": 0.1462,
            "finishing_factor": 1.0099,
            "creation_factor": 0.8,
            "fifa_overall": 83.0
          },
          "latest_10_games": [
            {
              "match_id": 16421056,
              "match_date": "2026-10-10",
              "home_team": "Deportivo Alavés",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 45,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2564,
                "expected_assists": 0.0238,
                "total_shots": 3,
                "total_pass": 18,
                "accurate_pass": 16,
                "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": 16416339,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 23,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0578,
                "total_shots": 0,
                "total_pass": 14,
                "accurate_pass": 13,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416335,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 68,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.7464,
                "expected_assists": 0.1954,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 31,
                "accurate_pass": 27,
                "key_pass": 5,
                "tackles": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 76,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0408,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 12,
                "key_pass": 3,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 58,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0443,
                "expected_assists": 0.0411,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 14,
                "accurate_pass": 13
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416316,
              "match_date": "2026-08-29",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 66,
                "rating": 7.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.211,
                "expected_assists": 0.0891,
                "total_shots": 3,
                "shots_on_target": 1,
                "total_pass": 32,
                "accurate_pass": 25,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "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": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 79,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0183,
                "expected_assists": 0.2017,
                "total_shots": 1,
                "total_pass": 13,
                "accurate_pass": 12,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421055,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1539,
                "expected_assists": 0.0102,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 23,
                "accurate_pass": 17,
                "tackles": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "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": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 61,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0213,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 18,
                "tackles": 2,
                "tackles_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"
            },
            {
              "match_id": 14083661,
              "match_date": "2026-05-17",
              "home_team": "Atlético Madrid",
              "away_team": "Girona FC",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 63,
                "rating": 7.2,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.8642,
                "expected_assists": 0.0829,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 18,
                "accurate_pass": 16,
                "key_pass": 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": 451,
            "combined_rank_score": 272.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 236.0,
            "sofascore_rating": 7.1333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 308.0,
            "fifa_overall": 83.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8684,
            "source_file": "data/player_rankings.csv",
            "player_name": "Ademola Lookman",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Piero Hincapié",
                  "ranking": 446
                },
                {
                  "player_name": "Ha Jung-Woo",
                  "ranking": 447
                },
                {
                  "player_name": "Umar Adhamzoda",
                  "ranking": 448
                },
                {
                  "player_name": "Mateo Kovačić",
                  "ranking": 449
                },
                {
                  "player_name": "Jun-seok Lee",
                  "ranking": 450
                }
              ],
              "lower": [
                {
                  "player_name": "Gonzalo Escalante",
                  "ranking": 452
                },
                {
                  "player_name": "Sergio Carreira",
                  "ranking": 453
                },
                {
                  "player_name": "Neto Moura",
                  "ranking": 454
                },
                {
                  "player_name": "Walter",
                  "ranking": 455
                },
                {
                  "player_name": "Gonzalo Plata",
                  "ranking": 456
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.776,
          "history_matches": 20,
          "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": 20,
            "data_confidence": 0.776,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0177,
            "fbref_prior_metrics": {
              "squad": "Atlético Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 233.0,
              "goals_per90": 0.3846153846153846,
              "assists_per90": 0.0,
              "shots_per90": 2.32,
              "shots_on_target_pct": 50.0,
              "prior_reliability": 0.1733
            },
            "rationale": "XGBoost regressor (F_service) evaluated 20 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Atlético Madrid, rel: 0.17, gls/90: 0.3846153846153846, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.2755,
                "goals": 0.2788,
                "goal_rate": 0.2788,
                "shots_on_target": 0.8079,
                "total_shots": 2.0461,
                "expected_assists": 0.1072,
                "key_pass": 1.4488,
                "rating": 6.8684,
                "minutes": 66.39,
                "total_pass": 20.5529,
                "accurate_pass": 17.239,
                "duels_won": 2.115,
                "total_long_balls": 0.2383,
                "accurate_long_balls": 0.1266,
                "total_opp_half_passes": 15.6911,
                "accurate_opp_half_passes": 13.2309,
                "crosses_total": 0.9041,
                "crosses_accurate": 0.2015,
                "touches": 32.6927,
                "possession_lost": 8.558,
                "dispossessed": 1.566,
                "duels_lost": 5.2261,
                "aerial_lost": 0.2749,
                "total_contest": 2.4692,
                "won_contest": 0.5973,
                "ball_recovery": 1.8749,
                "challenges_lost": 0.3828,
                "fouls": 1.1991,
                "fouls_drawn": 0.9477,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0167,
                "tackles_won": 0.2604,
                "tackles": 0.5198,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1696,
                "big_chances_missed": 0.5302,
                "xgot": 0.1554,
                "offsides": 0.4206,
                "ball_carries": 11.4698,
                "total_progression": 36.2551,
                "progressive_carries": 2.8503,
                "shots_off_target": 1.2382
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-16T10:32:26.279343+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Deportivo Alavés",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.156,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Madrid",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.1326,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Osasuna",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.1127,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Real Sociedad",
                    "minutes": 76.0,
                    "is_starting": true,
                    "weight": 0.0958,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Athletic Club",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.0815,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Sevilla",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.0692,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Villarreal",
                    "minutes": 79.0,
                    "is_starting": true,
                    "weight": 0.0589,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.05,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-05-24",
                    "opponent": "Villarreal",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.0425,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Girona FC",
                    "minutes": 63.0,
                    "is_starting": true,
                    "weight": 0.0361,
                    "rating": 7.2
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalOppositionHalfPasses": 14.5937,
                  "expectedGoals": 0.2485,
                  "accurateOppositionHalfPasses": 12.3957,
                  "accuratePass": 16.2258,
                  "totalShots": 1.6578
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.27549418807029724,
                    "model_output": 0.2755,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0749
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0453
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0125
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0126
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0115
                        }
                      ],
                      "others": -0.0558,
                      "total": 0.2755,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.321352
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.1537
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.03845
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.03757
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.034068
                        }
                      ],
                      "others_margin": -0.184275
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.27875661849975586,
                    "model_output": 0.2788,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0706
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0471
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0258
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0133
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": 0.0138
                        }
                      ],
                      "others": -0.0436,
                      "total": 0.2788,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.297838
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.158569
                        },
                        {
                          "name": "goals",
                          "margin": -0.083745
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.044219
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": 0.043909
                        }
                      ],
                      "others_margin": -0.145417
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.8078773617744446,
                    "model_output": 0.8079,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1911
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0673
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0541
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0515
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0448
                        }
                      ],
                      "others": -0.0489,
                      "total": 0.8079,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.304081
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.088394
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.065723
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.058787
                        },
                        {
                          "name": "goals",
                          "margin": -0.050914
                        }
                      ],
                      "others_margin": -0.058868
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 2.046121597290039,
                    "model_output": 2.0461,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5347
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.126
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0457
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0444
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0277
                        }
                      ],
                      "others": -0.0148,
                      "total": 2.0461,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.534743
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.126049
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.045695
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.044355
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.02766
                        }
                      ],
                      "others_margin": -0.014831
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.10716280341148376,
                    "model_output": 0.1072,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0137
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0128
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0072
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0068
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0048
                        }
                      ],
                      "others": -0.0023,
                      "total": 0.1072,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.193579
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.151569
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.075994
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.067129
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.044676
                        }
                      ],
                      "others_margin": -0.020842
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 1.448836088180542,
                    "model_output": 1.4488,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1947
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.1095
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.1182
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.128
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0451
                        }
                      ],
                      "others": 0.1799,
                      "total": 1.4488,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.253959
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.118774
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.114168
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.110471
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.036214
                        }
                      ],
                      "others_margin": 0.132638
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.86839485168457,
                    "model_output": 6.8684,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0676
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0209
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0168
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0161
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0152
                        }
                      ],
                      "others": 0.0306,
                      "total": 6.8684,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.067624
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.020916
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.016752
                        },
                        {
                          "name": "rating",
                          "margin": -0.016102
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.0152
                        }
                      ],
                      "others_margin": 0.030506
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 20,
                  "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.0177, quality 0.800)",
              "stats": {
                "expected_goals": 0.2804,
                "goals": 0.2837,
                "goal_rate": 0.2837,
                "shots_on_target": 0.8222,
                "total_shots": 2.0823,
                "expected_assists": 0.1091,
                "key_pass": 1.4745,
                "rating": 6.8684,
                "minutes": 66.39,
                "total_pass": 20.9167,
                "accurate_pass": 17.5441,
                "duels_won": 2.1524,
                "total_long_balls": 0.2425,
                "accurate_long_balls": 0.1288,
                "total_opp_half_passes": 15.9688,
                "accurate_opp_half_passes": 13.4651,
                "crosses_total": 0.9201,
                "crosses_accurate": 0.2051,
                "touches": 33.2714,
                "possession_lost": 8.7095,
                "dispossessed": 1.5937,
                "duels_lost": 5.3186,
                "aerial_lost": 0.2798,
                "total_contest": 2.5129,
                "won_contest": 0.6079,
                "ball_recovery": 1.9081,
                "challenges_lost": 0.3896,
                "fouls": 1.2203,
                "fouls_drawn": 0.9645,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.017,
                "tackles_won": 0.265,
                "tackles": 0.529,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1726,
                "big_chances_missed": 0.5396,
                "xgot": 0.1582,
                "offsides": 0.428,
                "ball_carries": 11.6728,
                "total_progression": 36.8968,
                "progressive_carries": 2.9008,
                "shots_off_target": 1.2601
              },
              "params": {
                "market_value_eur": 44000000,
                "quality_factor": 0.8002,
                "boost_factor": 1.0177,
                "reference_quality": 0.505,
                "history_matches": 20,
                "history_shrink": 0.2,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0225)",
              "stats": {
                "expected_goals": 0.2804,
                "goals": 0.2837,
                "goal_rate": 0.2837,
                "shots_on_target": 0.823,
                "total_shots": 2.0739,
                "expected_assists": 0.1091,
                "key_pass": 1.4745,
                "rating": 6.8684,
                "minutes": 66.39,
                "total_pass": 20.9167,
                "accurate_pass": 17.5441,
                "duels_won": 2.1524,
                "total_long_balls": 0.2425,
                "accurate_long_balls": 0.1288,
                "total_opp_half_passes": 15.9688,
                "accurate_opp_half_passes": 13.4651,
                "crosses_total": 0.9122,
                "crosses_accurate": 0.2051,
                "touches": 33.2714,
                "possession_lost": 8.7095,
                "dispossessed": 1.5937,
                "duels_lost": 5.3186,
                "aerial_lost": 0.2798,
                "total_contest": 2.5129,
                "won_contest": 0.6079,
                "ball_recovery": 1.9081,
                "challenges_lost": 0.3896,
                "fouls": 1.2184,
                "fouls_drawn": 0.9747,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.023,
                "tackles_won": 0.2654,
                "tackles": 0.529,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1726,
                "big_chances_missed": 0.5396,
                "xgot": 0.1582,
                "offsides": 0.4311,
                "ball_carries": 11.6728,
                "total_progression": 36.8968,
                "progressive_carries": 2.9008,
                "shots_off_target": 1.2601
              },
              "params": {
                "blend_weight": 0.0225,
                "history_matches": 20,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.7377,
                "prior_reliability": 0.1733,
                "competition": "La Liga",
                "squad": "Atlético Madrid"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 0.9645,
                  "after": 0.9747
                },
                {
                  "stat": "totalShots",
                  "before": 2.0823,
                  "after": 2.0739
                },
                {
                  "stat": "totalCross",
                  "before": 0.9201,
                  "after": 0.9122
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.017,
                  "after": 0.023
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.2804,
                "goals": 0.2837,
                "goal_rate": 0.2837,
                "shots_on_target": 0.823,
                "total_shots": 2.0831,
                "expected_assists": 0.1091,
                "key_pass": 1.4745,
                "rating": 6.8684,
                "minutes": 66.39,
                "total_pass": 20.9167,
                "accurate_pass": 17.5441,
                "duels_won": 2.1524,
                "total_long_balls": 0.2425,
                "accurate_long_balls": 0.1288,
                "total_opp_half_passes": 15.9688,
                "accurate_opp_half_passes": 13.4651,
                "crosses_total": 0.9122,
                "crosses_accurate": 0.2051,
                "touches": 33.2714,
                "possession_lost": 8.7095,
                "dispossessed": 1.5937,
                "duels_lost": 5.3186,
                "aerial_lost": 0.2798,
                "total_contest": 2.5129,
                "won_contest": 0.6079,
                "ball_recovery": 1.9081,
                "challenges_lost": 0.3896,
                "fouls": 1.2184,
                "fouls_drawn": 0.9747,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.023,
                "tackles_won": 0.2654,
                "tackles": 0.529,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1726,
                "big_chances_missed": 0.5396,
                "xgot": 0.1582,
                "offsides": 0.4311,
                "ball_carries": 11.6728,
                "total_progression": 36.8968,
                "progressive_carries": 2.9008,
                "shots_off_target": 1.2601
              },
              "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.3135,
                "goals": 0.3171,
                "goal_rate": 0.3171,
                "shots_on_target": 0.92,
                "total_shots": 2.3287,
                "expected_assists": 0.1091,
                "key_pass": 1.4745,
                "rating": 6.8684,
                "minutes": 66.39,
                "total_pass": 20.9167,
                "accurate_pass": 17.5441,
                "duels_won": 2.1524,
                "total_long_balls": 0.2425,
                "accurate_long_balls": 0.1288,
                "total_opp_half_passes": 15.9688,
                "accurate_opp_half_passes": 13.4651,
                "crosses_total": 0.9122,
                "crosses_accurate": 0.2051,
                "touches": 33.2714,
                "possession_lost": 8.7095,
                "dispossessed": 1.5937,
                "duels_lost": 5.3186,
                "aerial_lost": 0.2798,
                "total_contest": 2.5129,
                "won_contest": 0.6079,
                "ball_recovery": 1.9081,
                "challenges_lost": 0.3896,
                "fouls": 1.2184,
                "fouls_drawn": 0.9747,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.023,
                "tackles_won": 0.2654,
                "tackles": 0.529,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1726,
                "big_chances_missed": 0.6032,
                "xgot": 0.1769,
                "offsides": 0.4311,
                "ball_carries": 11.6728,
                "total_progression": 36.8968,
                "progressive_carries": 2.9008,
                "shots_off_target": 1.4087,
                "duel_xg_multiplier": 1.1179,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.28,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Leandro Cabrera, Quilindschy Hartman",
                "opponent_faced": "Leandro Cabrera, Quilindschy Hartman",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Leandro Cabrera, Quilindschy Hartman",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.28,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 1.1179,
                  "skill_edge": 0.1302,
                  "height_edge": -0.05,
                  "attacker_skill": 0.8002,
                  "defender_skill": 0.5108,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Leandro Cabrera",
                      "market_value": 930000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4374
                    },
                    {
                      "player": "Quilindschy Hartman",
                      "market_value": 11600000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.5842
                    }
                  ],
                  "xg_override": 0.3135
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.0831,
                  "after": 2.3287
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.2601,
                  "after": 1.4087
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.823,
                  "after": 0.92
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.5396,
                  "after": 0.6032
                },
                {
                  "stat": "goals",
                  "before": 0.2837,
                  "after": 0.3171
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.2804,
                  "after": 0.3135
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.1582,
                  "after": 0.1769
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.3135,
                "goal_rate": 0.3171,
                "goals": 0,
                "shots_on_target": 0.92,
                "total_shots": 2.3287,
                "expected_assists": 0.1091,
                "key_pass": 1.4745,
                "rating": 6.8684,
                "minutes": 66.39,
                "total_pass": 20.9167,
                "accurate_pass": 17.5441,
                "duels_won": 2.1524,
                "total_long_balls": 0.2425,
                "accurate_long_balls": 0.1288,
                "total_opp_half_passes": 15.9688,
                "accurate_opp_half_passes": 13.4651,
                "crosses_total": 0.9122,
                "crosses_accurate": 0.2051,
                "touches": 33.2714,
                "possession_lost": 8.7095,
                "dispossessed": 1.5937,
                "duels_lost": 5.3186,
                "aerial_lost": 0.2798,
                "total_contest": 2.5129,
                "won_contest": 0.6079,
                "ball_recovery": 1.9081,
                "challenges_lost": 0.3896,
                "fouls": 1.2184,
                "fouls_drawn": 0.9747,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.023,
                "tackles_won": 0.2654,
                "tackles": 0.529,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1726,
                "big_chances_missed": 0.6032,
                "xgot": 0.1769,
                "offsides": 0.4311,
                "ball_carries": 11.6728,
                "total_progression": 36.8968,
                "progressive_carries": 2.9008,
                "shots_off_target": 1.4087,
                "duel_xg_multiplier": 1.1179,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.28,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Leandro Cabrera, Quilindschy Hartman",
                "opponent_faced": "Leandro Cabrera, Quilindschy Hartman",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.33 (squad xG sum 1.6168, xG scale 1.4380, xA scale 1.4481, team xA 1.51 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.4508,
                "goal_rate": 0.3171,
                "goals": 0,
                "shots_on_target": 0.92,
                "total_shots": 2.3287,
                "expected_assists": 0.158,
                "key_pass": 1.4745,
                "rating": 6.8684,
                "minutes": 66.39,
                "total_pass": 20.9167,
                "accurate_pass": 17.5441,
                "duels_won": 2.1524,
                "total_long_balls": 0.2425,
                "accurate_long_balls": 0.1288,
                "total_opp_half_passes": 15.9688,
                "accurate_opp_half_passes": 13.4651,
                "crosses_total": 0.9122,
                "crosses_accurate": 0.2051,
                "touches": 33.2714,
                "possession_lost": 8.7095,
                "dispossessed": 1.5937,
                "duels_lost": 5.3186,
                "aerial_lost": 0.2798,
                "total_contest": 2.5129,
                "won_contest": 0.6079,
                "ball_recovery": 1.9081,
                "challenges_lost": 0.3896,
                "fouls": 1.2184,
                "fouls_drawn": 0.9747,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.023,
                "tackles_won": 0.2654,
                "tackles": 0.529,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1726,
                "big_chances_missed": 0.6032,
                "xgot": 0.2544,
                "offsides": 0.4311,
                "ball_carries": 11.6728,
                "total_progression": 36.8968,
                "progressive_carries": 2.9008,
                "shots_off_target": 1.4087,
                "duel_xg_multiplier": 1.1179,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.28,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Leandro Cabrera, Quilindschy Hartman",
                "opponent_faced": "Leandro Cabrera, Quilindschy Hartman",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0099,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 2.325,
                "squad_xg_sum": 1.6168,
                "squad_xa_sum": 1.0436,
                "team_expected_assists": 1.5113,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.438,
                "xa_scale": 1.4481,
                "opponent_lambda": 1.337,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.3135,
                  "after": 0.4508
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1091,
                  "after": 0.158
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 13 by projected rating, fifa_overall 83.0)",
              "stats": {
                "expected_goals": 0.4508,
                "goal_rate": 0.3171,
                "goals": 0,
                "shots_on_target": 0.92,
                "total_shots": 2.3287,
                "expected_assists": 0.158,
                "key_pass": 1.4745,
                "rating": 6.8684,
                "minutes": 66.39,
                "total_pass": 20.9167,
                "accurate_pass": 17.5441,
                "duels_won": 2.1524,
                "total_long_balls": 0.2425,
                "accurate_long_balls": 0.1288,
                "total_opp_half_passes": 15.9688,
                "accurate_opp_half_passes": 13.4651,
                "crosses_total": 0.9122,
                "crosses_accurate": 0.2051,
                "touches": 33.2714,
                "possession_lost": 8.7095,
                "dispossessed": 1.5937,
                "duels_lost": 5.3186,
                "aerial_lost": 0.2798,
                "total_contest": 2.5129,
                "won_contest": 0.6079,
                "ball_recovery": 1.9081,
                "challenges_lost": 0.3896,
                "fouls": 1.2184,
                "fouls_drawn": 0.9747,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.023,
                "tackles_won": 0.2654,
                "tackles": 0.529,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1726,
                "big_chances_missed": 0.6032,
                "xgot": 0.2544,
                "offsides": 0.4311,
                "ball_carries": 11.6728,
                "total_progression": 36.8968,
                "progressive_carries": 2.9008,
                "shots_off_target": 1.4087,
                "duel_xg_multiplier": 1.1179,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.28,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Leandro Cabrera, Quilindschy Hartman",
                "opponent_faced": "Leandro Cabrera, Quilindschy Hartman",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0099,
                "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": 451,
                "fifa_rank": 308.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 83.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.4508,
                "goal_rate": 0.3171,
                "goals": 1,
                "shots_on_target": 0.92,
                "total_shots": 2.3287,
                "expected_assists": 0.158,
                "key_pass": 1.4745,
                "rating": 6.8684,
                "minutes": 66.39,
                "total_pass": 20.9167,
                "accurate_pass": 17.5441,
                "duels_won": 2.1524,
                "total_long_balls": 0.2425,
                "accurate_long_balls": 0.1288,
                "total_opp_half_passes": 15.9688,
                "accurate_opp_half_passes": 13.4651,
                "crosses_total": 0.9122,
                "crosses_accurate": 0.2051,
                "touches": 33.2714,
                "possession_lost": 8.7095,
                "dispossessed": 1.5937,
                "duels_lost": 5.3186,
                "aerial_lost": 0.2798,
                "total_contest": 2.5129,
                "won_contest": 0.6079,
                "ball_recovery": 1.9081,
                "challenges_lost": 0.3896,
                "fouls": 1.2184,
                "fouls_drawn": 0.9747,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.023,
                "tackles_won": 0.2654,
                "tackles": 0.529,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1726,
                "big_chances_missed": 0.6032,
                "xgot": 0.2544,
                "offsides": 0.4311,
                "ball_carries": 11.6728,
                "total_progression": 36.8968,
                "progressive_carries": 2.9008,
                "shots_off_target": 1.4087,
                "duel_xg_multiplier": 1.1179,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.28,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Leandro Cabrera, Quilindschy Hartman",
                "opponent_faced": "Leandro Cabrera, Quilindschy Hartman",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.3629,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0099,
                "creation_factor": 0.8,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 1,
                "goal_probability": 0.3629,
                "goal_rate": 0.3171,
                "scorer_weight": 0.4553,
                "squad_weight_total": 2.409,
                "weight_share": 0.189,
                "finishing_factor": 1.0099,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Jonathan David",
                    "weight": 0.71,
                    "already": 0,
                    "effective_weight": 0.71,
                    "runner_up": "Ademola Lookman",
                    "runner_up_effective_weight": 0.4553
                  },
                  {
                    "n": 2,
                    "player": "Ademola Lookman",
                    "weight": 0.4553,
                    "already": 0,
                    "effective_weight": 0.4553,
                    "runner_up": "Jonathan David",
                    "runner_up_effective_weight": 0.3021
                  }
                ]
              }
            },
            {
              "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.4508,
                "goal_rate": 0.3171,
                "goals": 1,
                "shots_on_target": 0.92,
                "total_shots": 2.3287,
                "expected_assists": 0.158,
                "key_pass": 1.4745,
                "rating": 6.8684,
                "minutes": 66.39,
                "total_pass": 20.9167,
                "accurate_pass": 17.5441,
                "duels_won": 2.1524,
                "total_long_balls": 0.2425,
                "accurate_long_balls": 0.1288,
                "total_opp_half_passes": 15.9688,
                "accurate_opp_half_passes": 13.4651,
                "crosses_total": 0.9122,
                "crosses_accurate": 0.2051,
                "touches": 33.2714,
                "possession_lost": 8.7095,
                "dispossessed": 1.5937,
                "duels_lost": 5.3186,
                "aerial_lost": 0.2798,
                "total_contest": 2.5129,
                "won_contest": 0.6079,
                "ball_recovery": 1.9081,
                "challenges_lost": 0.3896,
                "fouls": 1.2184,
                "fouls_drawn": 0.9747,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.023,
                "tackles_won": 0.2654,
                "tackles": 0.529,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1726,
                "big_chances_missed": 0.6032,
                "xgot": 0.2544,
                "offsides": 0.4311,
                "ball_carries": 11.6728,
                "total_progression": 36.8968,
                "progressive_carries": 2.9008,
                "shots_off_target": 1.4087,
                "duel_xg_multiplier": 1.1179,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.4,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.28,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Leandro Cabrera, Quilindschy Hartman",
                "opponent_faced": "Leandro Cabrera, Quilindschy Hartman",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.3629,
                "projected_assists": 0,
                "assist_probability": 0.1462,
                "finishing_factor": 1.0099,
                "creation_factor": 0.8,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1462,
                "assist_rate": 0.0,
                "provider_weight": 0.1264,
                "squad_weight_total": 1.5221,
                "weight_share": 0.083,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alejandro Grimaldo",
                    "weight": 0.1971,
                    "already": 0,
                    "effective_weight": 0.1971,
                    "runner_up": "Alex Baena",
                    "runner_up_effective_weight": 0.1837
                  }
                ]
              }
            }
          ]
        },
        "Pablo Barrios": {
          "player_id": 1142588,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 8,
          "height": 181,
          "market_value": 77000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1706,
            "assist_rate": 0.1155,
            "assists": 0,
            "expected_goals": 0.1122,
            "goal_rate": 0.0794,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 7.1595,
            "minutes": 77,
            "total_pass": 53,
            "accurate_pass": 49,
            "duels_won": 4,
            "total_long_balls": 3,
            "accurate_long_balls": 2,
            "total_own_half_passes": 20,
            "accurate_own_half_passes": 19,
            "total_opp_half_passes": 33,
            "accurate_opp_half_passes": 29,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 69,
            "possession_lost": 9.9086,
            "dispossessed": 1.4243,
            "duels_lost": 4,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 2,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "total_contest": 2,
            "won_contest": 1,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.2035,
            "ball_carries": 21,
            "total_progression": 47,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.3021,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.446,
            "pressing_faced": "LOW",
            "matchup_zone": "Attacking Mid vs Double Pivot — Tight Space Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Pol Lozano, Edu Expósito",
            "opponent_faced": "Pol Lozano, Edu Expósito",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1061,
            "projected_assists": 0,
            "assist_probability": 0.1568,
            "finishing_factor": 1.0109,
            "creation_factor": 0.9863,
            "fifa_overall": 83.0
          },
          "latest_10_games": [
            {
              "match_id": 16421056,
              "match_date": "2026-10-10",
              "home_team": "Deportivo Alavés",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 57,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0299,
                "expected_assists": 0.028,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 40,
                "accurate_pass": 37,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0391,
                "expected_assists": 0.154,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 73,
                "accurate_pass": 69,
                "key_pass": 3,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 4,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416316,
              "match_date": "2026-08-29",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.111,
                "expected_assists": 0.0406,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 80,
                "accurate_pass": 71,
                "key_pass": 2,
                "tackles": 1,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "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": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 24,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2205,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 23,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421055,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1045,
                "total_shots": 0,
                "total_pass": 58,
                "accurate_pass": 51,
                "key_pass": 1,
                "interceptions": 3,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 8
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083242,
              "match_date": "2026-04-25",
              "home_team": "Atlético Madrid",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 58,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0266,
                "total_shots": 0,
                "total_pass": 43,
                "accurate_pass": 36,
                "interceptions": 4,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 6
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083306,
              "match_date": "2026-04-22",
              "home_team": "Elche",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Elche",
              "stats": {
                "minutes": 28,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.085,
                "expected_assists": 0.0111,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 18,
                "accurate_pass": 18,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083241,
              "match_date": "2026-01-31",
              "home_team": "Levante UD",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 50,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0088,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 18,
                "tackles": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083107,
              "match_date": "2026-01-25",
              "home_team": "Atlético Madrid",
              "away_team": "Mallorca",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0788,
                "expected_assists": 0.1905,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 66,
                "accurate_pass": 61,
                "key_pass": 2,
                "tackles": 1,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 9
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083233,
              "match_date": "2026-01-18",
              "home_team": "Atlético Madrid",
              "away_team": "Deportivo Alavés",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 8.0,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.1015,
                "expected_assists": 0.2093,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 57,
                "accurate_pass": 52,
                "key_pass": 5,
                "tackles": 6,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 7,
                "ball_recovery": 5
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 246,
            "combined_rank_score": 183.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 52.0,
            "sofascore_rating": 7.7,
            "sofascore_appearances": 1.0,
            "fifa_rank": 315.0,
            "fifa_overall": 83.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.1595,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pablo Barrios",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Léo Pereira",
                  "ranking": 241
                },
                {
                  "player_name": "Andrei Cojuhar",
                  "ranking": 242
                },
                {
                  "player_name": "Willian Pacho",
                  "ranking": 243
                },
                {
                  "player_name": "Alex Baena",
                  "ranking": 244
                },
                {
                  "player_name": "Denzel Dumfries",
                  "ranking": 245
                }
              ],
              "lower": [
                {
                  "player_name": "Joaquín Moya",
                  "ranking": 247
                },
                {
                  "player_name": "Leonard Pllana",
                  "ranking": 248
                },
                {
                  "player_name": "Eldor Adhamov",
                  "ranking": 249
                },
                {
                  "player_name": "Arda Güler",
                  "ranking": 250
                },
                {
                  "player_name": "David Raum",
                  "ranking": 251
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.773,
          "history_matches": 28,
          "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": 28,
            "data_confidence": 0.773,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.017,
            "fbref_prior_metrics": {
              "squad": "Atlético Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 205.0,
              "goals_per90": 0.0,
              "assists_per90": 0.4347826086956522,
              "shots_per90": 0.44,
              "shots_on_target_pct": 100.0,
              "prior_reliability": 0.1533
            },
            "rationale": "XGBoost regressor (M_service) evaluated 28 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Atlético Madrid, rel: 0.15, gls/90: 0.0, ast/90: 0.4347826086956522)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1.1819,
                "expected_assists": 0.1158,
                "assists": 0.1097,
                "assist_rate": 0.1097,
                "expected_goals": 0.0589,
                "goals": 0.0609,
                "goal_rate": 0.0609,
                "shots_on_target": 0.2578,
                "total_shots": 0.926,
                "rating": 7.1595,
                "minutes": 76.59,
                "total_pass": 52.5847,
                "accurate_pass": 47.7122,
                "duels_won": 4.069,
                "total_long_balls": 3.1852,
                "accurate_long_balls": 2.1489,
                "total_own_half_passes": 20.027,
                "accurate_own_half_passes": 18.7216,
                "total_opp_half_passes": 32.5576,
                "accurate_opp_half_passes": 28.9905,
                "crosses_total": 1.4241,
                "crosses_accurate": 0.3016,
                "touches": 67.4724,
                "possession_lost": 9.743,
                "dispossessed": 1.4005,
                "duels_lost": 3.9274,
                "aerial_won": 0.6953,
                "aerial_lost": 0.3117,
                "interceptions": 1.5797,
                "tackles_won": 0.566,
                "tackles": 1.2257,
                "clearances": 0.3804,
                "total_contest": 2.0781,
                "won_contest": 1.2245,
                "challenges_lost": 0.9023,
                "fouls": 0.4593,
                "fouls_drawn": 0.9236,
                "blocks": 0.1741,
                "big_chances_created": 0.2209,
                "big_chances_missed": 0.0266,
                "xgot": 0.1069,
                "ball_carries": 20.4793,
                "total_progression": 46.6488,
                "progressive_carries": 1.3777,
                "shots_off_target": 0.6682
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-16T10:31:49.993480+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 895,
                    "rows": 24017
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Deportivo Alavés",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.1516,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1289,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1095,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Villarreal",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.0931,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0791,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Athletic Club",
                    "minutes": 58.0,
                    "is_starting": true,
                    "weight": 0.0673,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-04-22",
                    "opponent": "Elche",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.0572,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-01-31",
                    "opponent": "Levante UD",
                    "minutes": 50.0,
                    "is_starting": true,
                    "weight": 0.0486,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-01-25",
                    "opponent": "Mallorca",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0413,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-01-18",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0351,
                    "rating": 8.0
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.9231,
                  "creative_index": 0.5441,
                  "expectedGoals": 0.0453,
                  "expectedAssists": 0.0936,
                  "onTargetScoringAttempt": 0.3141
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.181947112083435,
                    "model_output": 1.1819,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.16
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1359
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0622
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0532
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0278
                      }
                    ],
                    "decomposition": {
                      "base": 0.893,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.123
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.1074
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0858
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.079
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0358
                        }
                      ],
                      "others": 0.0727,
                      "total": 1.1819,
                      "log_link": true,
                      "margin_base": -0.113189,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.129017
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.111769
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.090238
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.076494
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.032768
                        }
                      ],
                      "others_margin": 0.063604
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.11578274518251419,
                    "model_output": 0.1158,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1089
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1043
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1031
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0607
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0542
                      }
                    ],
                    "decomposition": {
                      "base": 0.0856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0105
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0044
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0038
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0026
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0024
                        }
                      ],
                      "others": 0.0117,
                      "total": 0.1158,
                      "log_link": true,
                      "margin_base": -2.457601,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.115683
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.044566
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.036834
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.025031
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.023218
                        }
                      ],
                      "others_margin": 0.106292
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.10974720865488052,
                    "model_output": 0.1097,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.057
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.052
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0301
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0295
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": 0.0092
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0085
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0082
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0066
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.005
                        }
                      ],
                      "others": -0.0018,
                      "total": 0.1097,
                      "log_link": true,
                      "margin_base": -2.439072,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": 0.100497
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.084105
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.075541
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.059726
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.045492
                        }
                      ],
                      "others_margin": -0.01641
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.05890842527151108,
                    "model_output": 0.0589,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1269
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0844
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0755
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0372
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0272
                      }
                    ],
                    "decomposition": {
                      "base": 0.0943,
                      "items": [
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0142
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0101
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0078
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0039
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0027
                        }
                      ],
                      "others": -0.0123,
                      "total": 0.0589,
                      "log_link": true,
                      "margin_base": -2.361326,
                      "item_margins": [
                        {
                          "name": "interceptionWon",
                          "margin": -0.163457
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.135538
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.105308
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.050928
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.036989
                        }
                      ],
                      "others_margin": -0.188841
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.06085227057337761,
                    "model_output": 0.0609,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0894
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0486
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0452
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0389
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0978,
                      "items": [
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0157
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0116
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0053
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0044
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.004
                        }
                      ],
                      "others": -0.0153,
                      "total": 0.0609,
                      "log_link": true,
                      "margin_base": -2.324947,
                      "item_margins": [
                        {
                          "name": "interceptionWon",
                          "margin": -0.174453
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.151986
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.072292
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.056968
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.051732
                        }
                      ],
                      "others_margin": -0.225447
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.25783586502075195,
                    "model_output": 0.2578,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1038
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0848
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0823
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0306
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.3257,
                      "items": [
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0471
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0356
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0241
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0163
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0144
                        }
                      ],
                      "others": -0.0016,
                      "total": 0.2578,
                      "log_link": true,
                      "margin_base": -1.121688,
                      "item_margins": [
                        {
                          "name": "interceptionWon",
                          "margin": -0.15619
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.120205
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.079659
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.057848
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.053985
                        }
                      ],
                      "others_margin": -0.006266
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.9260453581809998,
                    "model_output": 0.926,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1304
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.1272
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0577
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0476
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0242
                      }
                    ],
                    "decomposition": {
                      "base": 0.9955,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1317
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.084
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0263
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0187
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0165
                        }
                      ],
                      "others": -0.0887,
                      "total": 0.926,
                      "log_link": false,
                      "margin_base": 0.995535,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.131724
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.083975
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.026347
                        },
                        {
                          "name": "goals",
                          "margin": -0.018681
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.016526
                        }
                      ],
                      "others_margin": -0.088736
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.159538745880127,
                    "model_output": 7.1595,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0934
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0793
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0569
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0427
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 6.8531,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.116
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0927
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0284
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0283
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0195
                        }
                      ],
                      "others": 0.0215,
                      "total": 7.1595,
                      "log_link": false,
                      "margin_base": 6.853057,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.116009
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.092686
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.028443
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.02833
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.01951
                        }
                      ],
                      "others_margin": 0.021505
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 28,
                  "role_matches": 24,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0170, quality 0.879)",
              "stats": {
                "key_pass": 1.202,
                "expected_assists": 0.1178,
                "assists": 0.1116,
                "assist_rate": 0.1116,
                "expected_goals": 0.0599,
                "goals": 0.0619,
                "goal_rate": 0.0619,
                "shots_on_target": 0.2622,
                "total_shots": 0.9418,
                "rating": 7.1595,
                "minutes": 76.59,
                "total_pass": 53.4786,
                "accurate_pass": 48.5233,
                "duels_won": 4.1382,
                "total_long_balls": 3.2393,
                "accurate_long_balls": 2.1854,
                "total_own_half_passes": 20.3675,
                "accurate_own_half_passes": 19.0399,
                "total_opp_half_passes": 33.1111,
                "accurate_opp_half_passes": 29.4833,
                "crosses_total": 1.4483,
                "crosses_accurate": 0.3067,
                "touches": 68.6194,
                "possession_lost": 9.9086,
                "dispossessed": 1.4243,
                "duels_lost": 3.9942,
                "aerial_won": 0.7071,
                "aerial_lost": 0.317,
                "interceptions": 1.6066,
                "tackles_won": 0.5756,
                "tackles": 1.2465,
                "clearances": 0.3869,
                "total_contest": 2.1134,
                "won_contest": 1.2453,
                "challenges_lost": 0.9176,
                "fouls": 0.4671,
                "fouls_drawn": 0.9393,
                "blocks": 0.1771,
                "big_chances_created": 0.2247,
                "big_chances_missed": 0.0271,
                "xgot": 0.1087,
                "ball_carries": 20.8274,
                "total_progression": 47.4418,
                "progressive_carries": 1.4011,
                "shots_off_target": 0.6796
              },
              "params": {
                "market_value_eur": 77000000,
                "quality_factor": 0.8792,
                "boost_factor": 1.017,
                "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.0151)",
              "stats": {
                "key_pass": 1.202,
                "expected_assists": 0.1178,
                "assists": 0.1155,
                "assist_rate": 0.1155,
                "expected_goals": 0.0599,
                "goals": 0.061,
                "goal_rate": 0.061,
                "shots_on_target": 0.2639,
                "total_shots": 0.9332,
                "rating": 7.1595,
                "minutes": 76.59,
                "total_pass": 53.4786,
                "accurate_pass": 48.5233,
                "duels_won": 4.1382,
                "total_long_balls": 3.2393,
                "accurate_long_balls": 2.1854,
                "total_own_half_passes": 20.3675,
                "accurate_own_half_passes": 19.0399,
                "total_opp_half_passes": 33.1111,
                "accurate_opp_half_passes": 29.4833,
                "crosses_total": 1.432,
                "crosses_accurate": 0.3067,
                "touches": 68.6194,
                "possession_lost": 9.9086,
                "dispossessed": 1.4243,
                "duels_lost": 3.9942,
                "aerial_won": 0.7071,
                "aerial_lost": 0.317,
                "interceptions": 1.5991,
                "tackles_won": 0.5781,
                "tackles": 1.2465,
                "clearances": 0.3869,
                "total_contest": 2.1134,
                "won_contest": 1.2453,
                "challenges_lost": 0.9176,
                "fouls": 0.4712,
                "fouls_drawn": 0.953,
                "blocks": 0.1771,
                "big_chances_created": 0.2247,
                "big_chances_missed": 0.0271,
                "xgot": 0.1087,
                "ball_carries": 20.8274,
                "total_progression": 47.4418,
                "progressive_carries": 1.4011,
                "shots_off_target": 0.6796
              },
              "params": {
                "blend_weight": 0.0151,
                "history_matches": 28,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.851,
                "prior_reliability": 0.1533,
                "competition": "La Liga",
                "squad": "Atlético Madrid"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 1.4483,
                  "after": 1.432
                },
                {
                  "stat": "wasFouled",
                  "before": 0.9393,
                  "after": 0.953
                },
                {
                  "stat": "totalShots",
                  "before": 0.9418,
                  "after": 0.9332
                },
                {
                  "stat": "interceptionWon",
                  "before": 1.6066,
                  "after": 1.5991
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.202,
                "expected_assists": 0.1178,
                "assists": 0.1155,
                "assist_rate": 0.1155,
                "expected_goals": 0.0599,
                "goals": 0.061,
                "goal_rate": 0.061,
                "shots_on_target": 0.2639,
                "total_shots": 0.9435,
                "rating": 7.1595,
                "minutes": 76.59,
                "total_pass": 53.4786,
                "accurate_pass": 48.5233,
                "duels_won": 4.1382,
                "total_long_balls": 3.2393,
                "accurate_long_balls": 2.1854,
                "total_own_half_passes": 20.3675,
                "accurate_own_half_passes": 19.0399,
                "total_opp_half_passes": 33.1111,
                "accurate_opp_half_passes": 29.4833,
                "crosses_total": 1.432,
                "crosses_accurate": 0.3067,
                "touches": 68.6194,
                "possession_lost": 9.9086,
                "dispossessed": 1.4243,
                "duels_lost": 3.9942,
                "aerial_won": 0.7071,
                "aerial_lost": 0.317,
                "interceptions": 1.5991,
                "tackles_won": 0.5781,
                "tackles": 1.2465,
                "clearances": 0.3869,
                "total_contest": 2.1134,
                "won_contest": 1.2453,
                "challenges_lost": 0.9176,
                "fouls": 0.4712,
                "fouls_drawn": 0.953,
                "blocks": 0.1771,
                "big_chances_created": 0.2247,
                "big_chances_missed": 0.0271,
                "xgot": 0.1087,
                "ball_carries": 20.8274,
                "total_progression": 47.4418,
                "progressive_carries": 1.4011,
                "shots_off_target": 0.6796
              },
              "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.202,
                "expected_assists": 0.1178,
                "assists": 0.1155,
                "assist_rate": 0.1155,
                "expected_goals": 0.078,
                "goals": 0.0794,
                "goal_rate": 0.0794,
                "shots_on_target": 0.3436,
                "total_shots": 1.2285,
                "rating": 7.1595,
                "minutes": 76.59,
                "total_pass": 53.4786,
                "accurate_pass": 48.5233,
                "duels_won": 4.1382,
                "total_long_balls": 3.2393,
                "accurate_long_balls": 2.1854,
                "total_own_half_passes": 20.3675,
                "accurate_own_half_passes": 19.0399,
                "total_opp_half_passes": 33.1111,
                "accurate_opp_half_passes": 29.4833,
                "crosses_total": 1.432,
                "crosses_accurate": 0.3067,
                "touches": 68.6194,
                "possession_lost": 9.9086,
                "dispossessed": 1.4243,
                "duels_lost": 3.9942,
                "aerial_won": 1.1,
                "aerial_lost": 0.317,
                "interceptions": 1.5991,
                "tackles_won": 0.5781,
                "tackles": 1.2465,
                "clearances": 0.3869,
                "total_contest": 2.1134,
                "won_contest": 1.2453,
                "challenges_lost": 0.9176,
                "fouls": 0.4712,
                "fouls_drawn": 0.953,
                "blocks": 0.1771,
                "big_chances_created": 0.2247,
                "big_chances_missed": 0.0353,
                "xgot": 0.1415,
                "ball_carries": 20.8274,
                "total_progression": 47.4418,
                "progressive_carries": 1.4011,
                "shots_off_target": 0.8849,
                "duel_xg_multiplier": 1.3021,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.446,
                "pressing_faced": "LOW",
                "matchup_zone": "Attacking Mid vs Double Pivot — Tight Space Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Pol Lozano, Edu Expósito",
                "opponent_faced": "Pol Lozano, Edu Expósito",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pol Lozano, Edu Expósito",
                  "matchup_zone": "Attacking Mid vs Double Pivot — Tight Space Battle",
                  "duel_win_rate": 0.446,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 1.3021,
                  "skill_edge": 0.1835,
                  "height_edge": 0.022,
                  "attacker_skill": 0.8829,
                  "defender_skill": 0.4751,
                  "attacker_role": "CAM",
                  "attacker_mv_price_index": 0.95,
                  "defender_adjusted_parts": [
                    {
                      "player": "Pol Lozano",
                      "market_value": 5800000,
                      "role": "CDM",
                      "price_index": 0.85,
                      "adjusted_quality": 0.4845
                    },
                    {
                      "player": "Edu Expósito",
                      "market_value": 4500000,
                      "role": "CDM",
                      "price_index": 0.85,
                      "adjusted_quality": 0.4658
                    }
                  ],
                  "xg_override": 0.078
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.7071,
                  "after": 1.1
                },
                {
                  "stat": "totalShots",
                  "before": 0.9435,
                  "after": 1.2285
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.6796,
                  "after": 0.8849
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.2639,
                  "after": 0.3436
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.1087,
                  "after": 0.1415
                },
                {
                  "stat": "goals",
                  "before": 0.061,
                  "after": 0.0794
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.0599,
                  "after": 0.078
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.0271,
                  "after": 0.0353
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 1.202,
                "expected_assists": 0.1178,
                "assist_rate": 0.1155,
                "assists": 0,
                "expected_goals": 0.078,
                "goal_rate": 0.0794,
                "goals": 0,
                "shots_on_target": 0.3436,
                "total_shots": 1.2285,
                "rating": 7.1595,
                "minutes": 76.59,
                "total_pass": 53.4786,
                "accurate_pass": 48.5233,
                "duels_won": 4.1382,
                "total_long_balls": 3.2393,
                "accurate_long_balls": 2.1854,
                "total_own_half_passes": 20.3675,
                "accurate_own_half_passes": 19.0399,
                "total_opp_half_passes": 33.1111,
                "accurate_opp_half_passes": 29.4833,
                "crosses_total": 1.432,
                "crosses_accurate": 0.3067,
                "touches": 68.6194,
                "possession_lost": 9.9086,
                "dispossessed": 1.4243,
                "duels_lost": 3.9942,
                "aerial_won": 1.1,
                "aerial_lost": 0.317,
                "interceptions": 1.5991,
                "tackles_won": 0.5781,
                "tackles": 1.2465,
                "clearances": 0.3869,
                "total_contest": 2.1134,
                "won_contest": 1.2453,
                "challenges_lost": 0.9176,
                "fouls": 0.4712,
                "fouls_drawn": 0.953,
                "blocks": 0.1771,
                "big_chances_created": 0.2247,
                "big_chances_missed": 0.0353,
                "xgot": 0.1415,
                "ball_carries": 20.8274,
                "total_progression": 47.4418,
                "progressive_carries": 1.4011,
                "shots_off_target": 0.8849,
                "duel_xg_multiplier": 1.3021,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.446,
                "pressing_faced": "LOW",
                "matchup_zone": "Attacking Mid vs Double Pivot — Tight Space Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Pol Lozano, Edu Expósito",
                "opponent_faced": "Pol Lozano, Edu Expósito",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.33 (squad xG sum 1.6168, xG scale 1.4380, xA scale 1.4481, team xA 1.51 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1.202,
                "expected_assists": 0.1706,
                "assist_rate": 0.1155,
                "assists": 0,
                "expected_goals": 0.1122,
                "goal_rate": 0.0794,
                "goals": 0,
                "shots_on_target": 0.3436,
                "total_shots": 1.2285,
                "rating": 7.1595,
                "minutes": 76.59,
                "total_pass": 53.4786,
                "accurate_pass": 48.5233,
                "duels_won": 4.1382,
                "total_long_balls": 3.2393,
                "accurate_long_balls": 2.1854,
                "total_own_half_passes": 20.3675,
                "accurate_own_half_passes": 19.0399,
                "total_opp_half_passes": 33.1111,
                "accurate_opp_half_passes": 29.4833,
                "crosses_total": 1.432,
                "crosses_accurate": 0.3067,
                "touches": 68.6194,
                "possession_lost": 9.9086,
                "dispossessed": 1.4243,
                "duels_lost": 3.9942,
                "aerial_won": 1.1,
                "aerial_lost": 0.317,
                "interceptions": 1.5991,
                "tackles_won": 0.5781,
                "tackles": 1.2465,
                "clearances": 0.3869,
                "total_contest": 2.1134,
                "won_contest": 1.2453,
                "challenges_lost": 0.9176,
                "fouls": 0.4712,
                "fouls_drawn": 0.953,
                "blocks": 0.1771,
                "big_chances_created": 0.2247,
                "big_chances_missed": 0.0353,
                "xgot": 0.2035,
                "ball_carries": 20.8274,
                "total_progression": 47.4418,
                "progressive_carries": 1.4011,
                "shots_off_target": 0.8849,
                "duel_xg_multiplier": 1.3021,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.446,
                "pressing_faced": "LOW",
                "matchup_zone": "Attacking Mid vs Double Pivot — Tight Space Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Pol Lozano, Edu Expósito",
                "opponent_faced": "Pol Lozano, Edu Expósito",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0109,
                "creation_factor": 0.9863
              },
              "params": {
                "team_lambda": 2.325,
                "squad_xg_sum": 1.6168,
                "squad_xa_sum": 1.0436,
                "team_expected_assists": 1.5113,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.438,
                "xa_scale": 1.4481,
                "opponent_lambda": 1.337,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.078,
                  "after": 0.1122
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1178,
                  "after": 0.1706
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 3 by projected rating, fifa_overall 83.0)",
              "stats": {
                "key_pass": 1.202,
                "expected_assists": 0.1706,
                "assist_rate": 0.1155,
                "assists": 0,
                "expected_goals": 0.1122,
                "goal_rate": 0.0794,
                "goals": 0,
                "shots_on_target": 0.3436,
                "total_shots": 1.2285,
                "rating": 7.1595,
                "minutes": 76.59,
                "total_pass": 53.4786,
                "accurate_pass": 48.5233,
                "duels_won": 4.1382,
                "total_long_balls": 3.2393,
                "accurate_long_balls": 2.1854,
                "total_own_half_passes": 20.3675,
                "accurate_own_half_passes": 19.0399,
                "total_opp_half_passes": 33.1111,
                "accurate_opp_half_passes": 29.4833,
                "crosses_total": 1.432,
                "crosses_accurate": 0.3067,
                "touches": 68.6194,
                "possession_lost": 9.9086,
                "dispossessed": 1.4243,
                "duels_lost": 3.9942,
                "aerial_won": 1.1,
                "aerial_lost": 0.317,
                "interceptions": 1.5991,
                "tackles_won": 0.5781,
                "tackles": 1.2465,
                "clearances": 0.3869,
                "total_contest": 2.1134,
                "won_contest": 1.2453,
                "challenges_lost": 0.9176,
                "fouls": 0.4712,
                "fouls_drawn": 0.953,
                "blocks": 0.1771,
                "big_chances_created": 0.2247,
                "big_chances_missed": 0.0353,
                "xgot": 0.2035,
                "ball_carries": 20.8274,
                "total_progression": 47.4418,
                "progressive_carries": 1.4011,
                "shots_off_target": 0.8849,
                "duel_xg_multiplier": 1.3021,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.446,
                "pressing_faced": "LOW",
                "matchup_zone": "Attacking Mid vs Double Pivot — Tight Space Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Pol Lozano, Edu Expósito",
                "opponent_faced": "Pol Lozano, Edu Expósito",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0109,
                "creation_factor": 0.9863,
                "fifa_overall": 83.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": 246,
                "fifa_rank": 315.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 83.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1.202,
                "expected_assists": 0.1706,
                "assist_rate": 0.1155,
                "assists": 0,
                "expected_goals": 0.1122,
                "goal_rate": 0.0794,
                "goals": 0,
                "shots_on_target": 0.3436,
                "total_shots": 1.2285,
                "rating": 7.1595,
                "minutes": 76.59,
                "total_pass": 53.4786,
                "accurate_pass": 48.5233,
                "duels_won": 4.1382,
                "total_long_balls": 3.2393,
                "accurate_long_balls": 2.1854,
                "total_own_half_passes": 20.3675,
                "accurate_own_half_passes": 19.0399,
                "total_opp_half_passes": 33.1111,
                "accurate_opp_half_passes": 29.4833,
                "crosses_total": 1.432,
                "crosses_accurate": 0.3067,
                "touches": 68.6194,
                "possession_lost": 9.9086,
                "dispossessed": 1.4243,
                "duels_lost": 3.9942,
                "aerial_won": 1.1,
                "aerial_lost": 0.317,
                "interceptions": 1.5991,
                "tackles_won": 0.5781,
                "tackles": 1.2465,
                "clearances": 0.3869,
                "total_contest": 2.1134,
                "won_contest": 1.2453,
                "challenges_lost": 0.9176,
                "fouls": 0.4712,
                "fouls_drawn": 0.953,
                "blocks": 0.1771,
                "big_chances_created": 0.2247,
                "big_chances_missed": 0.0353,
                "xgot": 0.2035,
                "ball_carries": 20.8274,
                "total_progression": 47.4418,
                "progressive_carries": 1.4011,
                "shots_off_target": 0.8849,
                "duel_xg_multiplier": 1.3021,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.446,
                "pressing_faced": "LOW",
                "matchup_zone": "Attacking Mid vs Double Pivot — Tight Space Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Pol Lozano, Edu Expósito",
                "opponent_faced": "Pol Lozano, Edu Expósito",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1061,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0109,
                "creation_factor": 0.9863,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.1061,
                "goal_rate": 0.0794,
                "scorer_weight": 0.1134,
                "squad_weight_total": 2.409,
                "weight_share": 0.0471,
                "finishing_factor": 1.0109,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Jonathan David",
                    "weight": 0.71,
                    "already": 0,
                    "effective_weight": 0.71,
                    "runner_up": "Ademola Lookman",
                    "runner_up_effective_weight": 0.4553
                  },
                  {
                    "n": 2,
                    "player": "Ademola Lookman",
                    "weight": 0.4553,
                    "already": 0,
                    "effective_weight": 0.4553,
                    "runner_up": "Jonathan David",
                    "runner_up_effective_weight": 0.3021
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 1.202,
                "expected_assists": 0.1706,
                "assist_rate": 0.1155,
                "assists": 0,
                "expected_goals": 0.1122,
                "goal_rate": 0.0794,
                "goals": 0,
                "shots_on_target": 0.3436,
                "total_shots": 1.2285,
                "rating": 7.1595,
                "minutes": 76.59,
                "total_pass": 53.4786,
                "accurate_pass": 48.5233,
                "duels_won": 4.1382,
                "total_long_balls": 3.2393,
                "accurate_long_balls": 2.1854,
                "total_own_half_passes": 20.3675,
                "accurate_own_half_passes": 19.0399,
                "total_opp_half_passes": 33.1111,
                "accurate_opp_half_passes": 29.4833,
                "crosses_total": 1.432,
                "crosses_accurate": 0.3067,
                "touches": 68.6194,
                "possession_lost": 9.9086,
                "dispossessed": 1.4243,
                "duels_lost": 3.9942,
                "aerial_won": 1.1,
                "aerial_lost": 0.317,
                "interceptions": 1.5991,
                "tackles_won": 0.5781,
                "tackles": 1.2465,
                "clearances": 0.3869,
                "total_contest": 2.1134,
                "won_contest": 1.2453,
                "challenges_lost": 0.9176,
                "fouls": 0.4712,
                "fouls_drawn": 0.953,
                "blocks": 0.1771,
                "big_chances_created": 0.2247,
                "big_chances_missed": 0.0353,
                "xgot": 0.2035,
                "ball_carries": 20.8274,
                "total_progression": 47.4418,
                "progressive_carries": 1.4011,
                "shots_off_target": 0.8849,
                "duel_xg_multiplier": 1.3021,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.446,
                "pressing_faced": "LOW",
                "matchup_zone": "Attacking Mid vs Double Pivot — Tight Space Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Pol Lozano, Edu Expósito",
                "opponent_faced": "Pol Lozano, Edu Expósito",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1061,
                "projected_assists": 0,
                "assist_probability": 0.1568,
                "finishing_factor": 1.0109,
                "creation_factor": 0.9863,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1568,
                "assist_rate": 0.1155,
                "provider_weight": 0.1683,
                "squad_weight_total": 1.5221,
                "weight_share": 0.1105,
                "creation_factor": 0.9863,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alejandro Grimaldo",
                    "weight": 0.1971,
                    "already": 0,
                    "effective_weight": 0.1971,
                    "runner_up": "Alex Baena",
                    "runner_up_effective_weight": 0.1837
                  }
                ]
              }
            }
          ]
        },
        "Giuliano Simeone": {
          "player_id": 1099352,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 20,
          "height": 173,
          "market_value": 44000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1558,
            "assist_rate": 0.1065,
            "assists": 0,
            "expected_goals": 0.2085,
            "goal_rate": 0.1126,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "rating": 6.9079,
            "minutes": 76,
            "total_pass": 34,
            "accurate_pass": 27,
            "duels_won": 5,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 12,
            "accurate_own_half_passes": 10,
            "total_opp_half_passes": 22,
            "accurate_opp_half_passes": 17,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 51,
            "possession_lost": 12.1946,
            "dispossessed": 0.955,
            "duels_lost": 6,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 2,
            "tackles": 2,
            "clearances": 1,
            "total_contest": 2,
            "won_contest": 1,
            "challenges_lost": 2,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1931,
            "ball_carries": 12,
            "total_progression": 41,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.211,
            "dribbles_attempted": 2,
            "dribbles_successful": 1.0,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.564,
            "pressing_faced": "LOW",
            "matchup_zone": "CDM vs CDM",
            "numerical_situation": "1v1",
            "opponent_defenders": "Pol Lozano",
            "opponent_faced": "Pol Lozano",
            "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1882,
            "projected_assists": 0,
            "assist_probability": 0.1443,
            "finishing_factor": 0.8338,
            "creation_factor": 0.993,
            "fifa_overall": 81.0
          },
          "latest_10_games": [
            {
              "match_id": 16421056,
              "match_date": "2026-10-10",
              "home_team": "Deportivo Alavés",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 73,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0296,
                "expected_assists": 0.3532,
                "total_shots": 1,
                "total_pass": 36,
                "accurate_pass": 32,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 2,
                "aerial_won": 2,
                "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": 16416339,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0422,
                "expected_assists": 0.2204,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 41,
                "accurate_pass": 31,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 7,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416335,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 22,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0043,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 12,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 8.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.6425,
                "expected_assists": 0.0144,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 38,
                "accurate_pass": 25,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 3,
                "duels_won": 8,
                "ball_recovery": 8
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 59,
                "rating": 5.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0505,
                "expected_assists": 0.1149,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 34,
                "accurate_pass": 28,
                "key_pass": 1,
                "clearances": 1,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416316,
              "match_date": "2026-08-29",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0061,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 20,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 3,
                "clearances": 1,
                "aerial_won": 4,
                "duels_won": 9,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "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": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.2677,
                "expected_assists": 0.0438,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 36,
                "accurate_pass": 29,
                "key_pass": 2,
                "tackles": 5,
                "tackles_won": 3,
                "duels_won": 6,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421055,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 33,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0135,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 17,
                "key_pass": 1,
                "interceptions": 1,
                "aerial_won": 4,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "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": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 45,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3379,
                "expected_assists": 0.023,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 19,
                "accurate_pass": 17,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083661,
              "match_date": "2026-05-17",
              "home_team": "Atlético Madrid",
              "away_team": "Girona FC",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 45,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0327,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 13,
                "tackles": 4,
                "tackles_won": 2,
                "duels_won": 5,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 957,
            "combined_rank_score": 510.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 443.0,
            "sofascore_rating": 6.9065,
            "sofascore_appearances": 31.0,
            "fifa_rank": 578.0,
            "fifa_overall": 81.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9079,
            "source_file": "data/player_rankings.csv",
            "player_name": "Giuliano Simeone",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Seung-jae Lee",
                  "ranking": 952
                },
                {
                  "player_name": "Hyun-Jun Suk",
                  "ranking": 953
                },
                {
                  "player_name": "Theo Hernández",
                  "ranking": 954
                },
                {
                  "player_name": "Moussa Diaby",
                  "ranking": 955
                },
                {
                  "player_name": "Eduardo Camavinga",
                  "ranking": 956
                }
              ],
              "lower": [
                {
                  "player_name": "Gerónimo Rulli",
                  "ranking": 958
                },
                {
                  "player_name": "Mohamed Simakan",
                  "ranking": 959
                },
                {
                  "player_name": "Nico González",
                  "ranking": 960
                },
                {
                  "player_name": "Gonçalo Guedes",
                  "ranking": 961
                },
                {
                  "player_name": "Samuel Klein",
                  "ranking": 962
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.774,
          "history_matches": 39,
          "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": 39,
            "data_confidence": 0.774,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0101,
            "fbref_prior_metrics": {
              "squad": "Atlético Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 214.0,
              "goals_per90": 0.4166666666666667,
              "assists_per90": 0.4166666666666667,
              "shots_per90": 1.68,
              "shots_on_target_pct": 25.0,
              "prior_reliability": 0.16
            },
            "rationale": "XGBoost regressor (M_service) evaluated 39 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Atlético Madrid, rel: 0.16, gls/90: 0.4166666666666667, ast/90: 0.4166666666666667)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.9851,
                "expected_assists": 0.1065,
                "assists": 0.1026,
                "assist_rate": 0.1026,
                "expected_goals": 0.1185,
                "goals": 0.089,
                "goal_rate": 0.089,
                "shots_on_target": 0.4177,
                "total_shots": 1.116,
                "rating": 6.9079,
                "minutes": 76.13,
                "total_pass": 33.7734,
                "accurate_pass": 26.9702,
                "duels_won": 5.3639,
                "total_long_balls": 0.8163,
                "accurate_long_balls": 0.4289,
                "total_own_half_passes": 12.0675,
                "accurate_own_half_passes": 9.9578,
                "total_opp_half_passes": 21.7059,
                "accurate_opp_half_passes": 17.0124,
                "crosses_total": 1.2878,
                "crosses_accurate": 0.3868,
                "touches": 50.4716,
                "possession_lost": 12.0727,
                "dispossessed": 0.9455,
                "duels_lost": 5.5212,
                "aerial_won": 1.2048,
                "aerial_lost": 0.9152,
                "interceptions": 0.6482,
                "tackles_won": 1.611,
                "tackles": 2.3175,
                "clearances": 0.6516,
                "total_contest": 1.9135,
                "won_contest": 0.8335,
                "challenges_lost": 1.7206,
                "fouls": 1.0386,
                "fouls_drawn": 1.008,
                "blocks": 0.1401,
                "big_chances_created": 0.2317,
                "big_chances_missed": 0.1062,
                "xgot": 0.1098,
                "ball_carries": 11.4258,
                "total_progression": 40.3651,
                "progressive_carries": 2.0152,
                "shots_off_target": 0.6983
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-16T10:31:49.993480+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 895,
                    "rows": 24017
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Deportivo Alavés",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.1503,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Osasuna",
                    "minutes": 22.0,
                    "is_starting": false,
                    "weight": 0.1086,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Athletic Club",
                    "minutes": 59.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 5.7
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Málaga CF",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.0482,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-24",
                    "opponent": "Villarreal",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Girona FC",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.2
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 1.0669,
                  "creative_index": 0.4301,
                  "expectedGoals": 0.1247,
                  "expectedAssists": 0.1308,
                  "onTargetScoringAttempt": 0.275
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.9850806593894958,
                    "model_output": 0.9851,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.16
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1359
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0622
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0532
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0278
                      }
                    ],
                    "decomposition": {
                      "base": 0.893,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0959
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0855
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0505
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0374
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0208
                        }
                      ],
                      "others": 0.0194,
                      "total": 0.9851,
                      "log_link": true,
                      "margin_base": -0.113189,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.101989
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.082964
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.048105
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.037242
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.021318
                        }
                      ],
                      "others_margin": 0.01987
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.1065199226140976,
                    "model_output": 0.1065,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1089
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1043
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1031
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0607
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0542
                      }
                    ],
                    "decomposition": {
                      "base": 0.0856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0105
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0081
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0042
                        },
                        {
                          "name": "goalAssist",
                          "contribution": 0.0041
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0036
                        }
                      ],
                      "others": 0.006,
                      "total": 0.1065,
                      "log_link": true,
                      "margin_base": -2.457601,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.115163
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.0812
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.041266
                        },
                        {
                          "name": "goalAssist",
                          "margin": 0.03995
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.034783
                        }
                      ],
                      "others_margin": 0.057914
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.1025846004486084,
                    "model_output": 0.1026,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.057
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.052
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0301
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0295
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": 0.006
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0062
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0065
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0068
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0056
                        }
                      ],
                      "others": -0.0045,
                      "total": 0.1026,
                      "log_link": true,
                      "margin_base": -2.439072,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": 0.06704
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.064566
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.062836
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.062626
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.051317
                        }
                      ],
                      "others_margin": -0.043746
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.11847367137670517,
                    "model_output": 0.1185,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1269
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0844
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0755
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0372
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0272
                      }
                    ],
                    "decomposition": {
                      "base": 0.0943,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0244
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.014
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0104
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0037
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0029
                        }
                      ],
                      "others": 0.0028,
                      "total": 0.1185,
                      "log_link": true,
                      "margin_base": -2.361326,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": 0.229977
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.111693
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.081208
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.030668
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.025058
                        }
                      ],
                      "others_margin": 0.023526
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.0890430212020874,
                    "model_output": 0.089,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0894
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0486
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0452
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0389
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0978,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0145
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0138
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0119
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0065
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.005
                        }
                      ],
                      "others": -0.0085,
                      "total": 0.089,
                      "log_link": true,
                      "margin_base": -2.324947,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.161002
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.153109
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.115376
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.061344
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.049753
                        }
                      ],
                      "others_margin": -0.090074
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.417704701423645,
                    "model_output": 0.4177,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1038
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0848
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0823
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0306
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.3257,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0515
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0544
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0175
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0088
                        },
                        {
                          "name": "goalAssist",
                          "contribution": 0.0065
                        }
                      ],
                      "others": -0.0117,
                      "total": 0.4177,
                      "log_link": true,
                      "margin_base": -1.121688,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": 0.146856
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.134752
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.041416
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.021012
                        },
                        {
                          "name": "goalAssist",
                          "margin": 0.015342
                        }
                      ],
                      "others_margin": -0.02784
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.1160268783569336,
                    "model_output": 1.116,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1304
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.1272
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0577
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0476
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0242
                      }
                    ],
                    "decomposition": {
                      "base": 0.9955,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.156
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0528
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0278
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0248
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0173
                        }
                      ],
                      "others": -0.0184,
                      "total": 1.116,
                      "log_link": false,
                      "margin_base": 0.995535,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.156046
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.052834
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.027785
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.024799
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.017306
                        }
                      ],
                      "others_margin": -0.018497
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.907918930053711,
                    "model_output": 6.9079,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0934
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0793
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0569
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0427
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 6.8531,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0296
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0167
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0089
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0088
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0066
                        }
                      ],
                      "others": 0.002,
                      "total": 6.9079,
                      "log_link": false,
                      "margin_base": 6.853057,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.02962
                        },
                        {
                          "name": "rating",
                          "margin": 0.016704
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.00887
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.008786
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.00658
                        }
                      ],
                      "others_margin": 0.002044
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 39,
                  "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.0101, quality 0.800)",
              "stats": {
                "key_pass": 0.995,
                "expected_assists": 0.1076,
                "assists": 0.1036,
                "assist_rate": 0.1036,
                "expected_goals": 0.1197,
                "goals": 0.0899,
                "goal_rate": 0.0899,
                "shots_on_target": 0.4219,
                "total_shots": 1.1273,
                "rating": 6.9079,
                "minutes": 76.13,
                "total_pass": 34.1145,
                "accurate_pass": 27.2426,
                "duels_won": 5.4181,
                "total_long_balls": 0.8245,
                "accurate_long_balls": 0.4332,
                "total_own_half_passes": 12.1894,
                "accurate_own_half_passes": 10.0584,
                "total_opp_half_passes": 21.9251,
                "accurate_opp_half_passes": 17.1842,
                "crosses_total": 1.3008,
                "crosses_accurate": 0.3907,
                "touches": 50.9814,
                "possession_lost": 12.1946,
                "dispossessed": 0.955,
                "duels_lost": 5.577,
                "aerial_won": 1.217,
                "aerial_lost": 0.9244,
                "interceptions": 0.6547,
                "tackles_won": 1.6273,
                "tackles": 2.3409,
                "clearances": 0.6582,
                "total_contest": 1.9328,
                "won_contest": 0.8419,
                "challenges_lost": 1.738,
                "fouls": 1.0491,
                "fouls_drawn": 1.0182,
                "blocks": 0.1415,
                "big_chances_created": 0.234,
                "big_chances_missed": 0.1073,
                "xgot": 0.1109,
                "ball_carries": 11.5412,
                "total_progression": 40.7728,
                "progressive_carries": 2.0356,
                "shots_off_target": 0.7054
              },
              "params": {
                "market_value_eur": 44000000,
                "quality_factor": 0.8002,
                "boost_factor": 1.0101,
                "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.0118)",
              "stats": {
                "key_pass": 0.995,
                "expected_assists": 0.1076,
                "assists": 0.1065,
                "assist_rate": 0.1065,
                "expected_goals": 0.1197,
                "goals": 0.093,
                "goal_rate": 0.093,
                "shots_on_target": 0.4211,
                "total_shots": 1.1308,
                "rating": 6.9079,
                "minutes": 76.13,
                "total_pass": 34.1145,
                "accurate_pass": 27.2426,
                "duels_won": 5.4181,
                "total_long_balls": 0.8245,
                "accurate_long_balls": 0.4332,
                "total_own_half_passes": 12.1894,
                "accurate_own_half_passes": 10.0584,
                "total_opp_half_passes": 21.9251,
                "accurate_opp_half_passes": 17.1842,
                "crosses_total": 1.2979,
                "crosses_accurate": 0.3907,
                "touches": 50.9814,
                "possession_lost": 12.1946,
                "dispossessed": 0.955,
                "duels_lost": 5.577,
                "aerial_won": 1.217,
                "aerial_lost": 0.9244,
                "interceptions": 0.6636,
                "tackles_won": 1.6289,
                "tackles": 2.3409,
                "clearances": 0.6582,
                "total_contest": 1.9328,
                "won_contest": 0.8419,
                "challenges_lost": 1.738,
                "fouls": 1.045,
                "fouls_drawn": 1.0187,
                "blocks": 0.1415,
                "big_chances_created": 0.234,
                "big_chances_missed": 0.1073,
                "xgot": 0.1109,
                "ball_carries": 11.5412,
                "total_progression": 40.7728,
                "progressive_carries": 2.0356,
                "shots_off_target": 0.7054
              },
              "params": {
                "blend_weight": 0.0118,
                "history_matches": 39,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8459,
                "prior_reliability": 0.16,
                "competition": "La Liga",
                "squad": "Atlético Madrid"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 0.6547,
                  "after": 0.6636
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.995,
                "expected_assists": 0.1076,
                "assists": 0.1065,
                "assist_rate": 0.1065,
                "expected_goals": 0.1197,
                "goals": 0.093,
                "goal_rate": 0.093,
                "shots_on_target": 0.4211,
                "total_shots": 1.1308,
                "rating": 6.9079,
                "minutes": 76.13,
                "total_pass": 34.1145,
                "accurate_pass": 27.2426,
                "duels_won": 5.4181,
                "total_long_balls": 0.8245,
                "accurate_long_balls": 0.4332,
                "total_own_half_passes": 12.1894,
                "accurate_own_half_passes": 10.0584,
                "total_opp_half_passes": 21.9251,
                "accurate_opp_half_passes": 17.1842,
                "crosses_total": 1.2979,
                "crosses_accurate": 0.3907,
                "touches": 50.9814,
                "possession_lost": 12.1946,
                "dispossessed": 0.955,
                "duels_lost": 5.577,
                "aerial_won": 1.217,
                "aerial_lost": 0.9244,
                "interceptions": 0.6636,
                "tackles_won": 1.6289,
                "tackles": 2.3409,
                "clearances": 0.6582,
                "total_contest": 1.9328,
                "won_contest": 0.8419,
                "challenges_lost": 1.738,
                "fouls": 1.045,
                "fouls_drawn": 1.0187,
                "blocks": 0.1415,
                "big_chances_created": 0.234,
                "big_chances_missed": 0.1073,
                "xgot": 0.1109,
                "ball_carries": 11.5412,
                "total_progression": 40.7728,
                "progressive_carries": 2.0356,
                "shots_off_target": 0.7054
              },
              "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.995,
                "expected_assists": 0.1076,
                "assists": 0.1065,
                "assist_rate": 0.1065,
                "expected_goals": 0.145,
                "goals": 0.1126,
                "goal_rate": 0.1126,
                "shots_on_target": 0.51,
                "total_shots": 1.3694,
                "rating": 6.9079,
                "minutes": 76.13,
                "total_pass": 34.1145,
                "accurate_pass": 27.2426,
                "duels_won": 5.4181,
                "total_long_balls": 0.8245,
                "accurate_long_balls": 0.4332,
                "total_own_half_passes": 12.1894,
                "accurate_own_half_passes": 10.0584,
                "total_opp_half_passes": 21.9251,
                "accurate_opp_half_passes": 17.1842,
                "crosses_total": 1.2979,
                "crosses_accurate": 0.3907,
                "touches": 50.9814,
                "possession_lost": 12.1946,
                "dispossessed": 0.955,
                "duels_lost": 5.577,
                "aerial_won": 0.9,
                "aerial_lost": 0.9244,
                "interceptions": 0.6636,
                "tackles_won": 1.6289,
                "tackles": 2.3409,
                "clearances": 0.6582,
                "total_contest": 1.9328,
                "won_contest": 0.8419,
                "challenges_lost": 1.738,
                "fouls": 1.045,
                "fouls_drawn": 1.0187,
                "blocks": 0.1415,
                "big_chances_created": 0.234,
                "big_chances_missed": 0.1299,
                "xgot": 0.1343,
                "ball_carries": 11.5412,
                "total_progression": 40.7728,
                "progressive_carries": 2.0356,
                "shots_off_target": 0.8542,
                "duel_xg_multiplier": 1.211,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 1.0,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.564,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pol Lozano",
                "opponent_faced": "Pol Lozano",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pol Lozano",
                  "matchup_zone": "CDM vs CDM",
                  "duel_win_rate": 0.564,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.211,
                  "skill_edge": 0.1555,
                  "height_edge": -0.012,
                  "attacker_skill": 0.8301,
                  "defender_skill": 0.4845,
                  "attacker_role": "CDM",
                  "attacker_mv_price_index": 0.85,
                  "defender_adjusted_parts": [
                    {
                      "player": "Pol Lozano",
                      "market_value": 5800000,
                      "role": "CDM",
                      "price_index": 0.85,
                      "adjusted_quality": 0.4845
                    }
                  ],
                  "xg_override": 0.145
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 1.217,
                  "after": 0.9
                },
                {
                  "stat": "totalShots",
                  "before": 1.1308,
                  "after": 1.3694
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.7054,
                  "after": 0.8542
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.4211,
                  "after": 0.51
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1197,
                  "after": 0.145
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.1109,
                  "after": 0.1343
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.1073,
                  "after": 0.1299
                },
                {
                  "stat": "goals",
                  "before": 0.093,
                  "after": 0.1126
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.995,
                "expected_assists": 0.1076,
                "assist_rate": 0.1065,
                "assists": 0,
                "expected_goals": 0.145,
                "goal_rate": 0.1126,
                "goals": 0,
                "shots_on_target": 0.51,
                "total_shots": 1.3694,
                "rating": 6.9079,
                "minutes": 76.13,
                "total_pass": 34.1145,
                "accurate_pass": 27.2426,
                "duels_won": 5.4181,
                "total_long_balls": 0.8245,
                "accurate_long_balls": 0.4332,
                "total_own_half_passes": 12.1894,
                "accurate_own_half_passes": 10.0584,
                "total_opp_half_passes": 21.9251,
                "accurate_opp_half_passes": 17.1842,
                "crosses_total": 1.2979,
                "crosses_accurate": 0.3907,
                "touches": 50.9814,
                "possession_lost": 12.1946,
                "dispossessed": 0.955,
                "duels_lost": 5.577,
                "aerial_won": 0.9,
                "aerial_lost": 0.9244,
                "interceptions": 0.6636,
                "tackles_won": 1.6289,
                "tackles": 2.3409,
                "clearances": 0.6582,
                "total_contest": 1.9328,
                "won_contest": 0.8419,
                "challenges_lost": 1.738,
                "fouls": 1.045,
                "fouls_drawn": 1.0187,
                "blocks": 0.1415,
                "big_chances_created": 0.234,
                "big_chances_missed": 0.1299,
                "xgot": 0.1343,
                "ball_carries": 11.5412,
                "total_progression": 40.7728,
                "progressive_carries": 2.0356,
                "shots_off_target": 0.8542,
                "duel_xg_multiplier": 1.211,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 1.0,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.564,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pol Lozano",
                "opponent_faced": "Pol Lozano",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.33 (squad xG sum 1.6168, xG scale 1.4380, xA scale 1.4481, team xA 1.51 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0.995,
                "expected_assists": 0.1558,
                "assist_rate": 0.1065,
                "assists": 0,
                "expected_goals": 0.2085,
                "goal_rate": 0.1126,
                "goals": 0,
                "shots_on_target": 0.51,
                "total_shots": 1.3694,
                "rating": 6.9079,
                "minutes": 76.13,
                "total_pass": 34.1145,
                "accurate_pass": 27.2426,
                "duels_won": 5.4181,
                "total_long_balls": 0.8245,
                "accurate_long_balls": 0.4332,
                "total_own_half_passes": 12.1894,
                "accurate_own_half_passes": 10.0584,
                "total_opp_half_passes": 21.9251,
                "accurate_opp_half_passes": 17.1842,
                "crosses_total": 1.2979,
                "crosses_accurate": 0.3907,
                "touches": 50.9814,
                "possession_lost": 12.1946,
                "dispossessed": 0.955,
                "duels_lost": 5.577,
                "aerial_won": 0.9,
                "aerial_lost": 0.9244,
                "interceptions": 0.6636,
                "tackles_won": 1.6289,
                "tackles": 2.3409,
                "clearances": 0.6582,
                "total_contest": 1.9328,
                "won_contest": 0.8419,
                "challenges_lost": 1.738,
                "fouls": 1.045,
                "fouls_drawn": 1.0187,
                "blocks": 0.1415,
                "big_chances_created": 0.234,
                "big_chances_missed": 0.1299,
                "xgot": 0.1931,
                "ball_carries": 11.5412,
                "total_progression": 40.7728,
                "progressive_carries": 2.0356,
                "shots_off_target": 0.8542,
                "duel_xg_multiplier": 1.211,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 1.0,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.564,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pol Lozano",
                "opponent_faced": "Pol Lozano",
                "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.8338,
                "creation_factor": 0.993
              },
              "params": {
                "team_lambda": 2.325,
                "squad_xg_sum": 1.6168,
                "squad_xa_sum": 1.0436,
                "team_expected_assists": 1.5113,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.438,
                "xa_scale": 1.4481,
                "opponent_lambda": 1.337,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.145,
                  "after": 0.2085
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1076,
                  "after": 0.1558
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 12 by projected rating, fifa_overall 81.0)",
              "stats": {
                "key_pass": 0.995,
                "expected_assists": 0.1558,
                "assist_rate": 0.1065,
                "assists": 0,
                "expected_goals": 0.2085,
                "goal_rate": 0.1126,
                "goals": 0,
                "shots_on_target": 0.51,
                "total_shots": 1.3694,
                "rating": 6.9079,
                "minutes": 76.13,
                "total_pass": 34.1145,
                "accurate_pass": 27.2426,
                "duels_won": 5.4181,
                "total_long_balls": 0.8245,
                "accurate_long_balls": 0.4332,
                "total_own_half_passes": 12.1894,
                "accurate_own_half_passes": 10.0584,
                "total_opp_half_passes": 21.9251,
                "accurate_opp_half_passes": 17.1842,
                "crosses_total": 1.2979,
                "crosses_accurate": 0.3907,
                "touches": 50.9814,
                "possession_lost": 12.1946,
                "dispossessed": 0.955,
                "duels_lost": 5.577,
                "aerial_won": 0.9,
                "aerial_lost": 0.9244,
                "interceptions": 0.6636,
                "tackles_won": 1.6289,
                "tackles": 2.3409,
                "clearances": 0.6582,
                "total_contest": 1.9328,
                "won_contest": 0.8419,
                "challenges_lost": 1.738,
                "fouls": 1.045,
                "fouls_drawn": 1.0187,
                "blocks": 0.1415,
                "big_chances_created": 0.234,
                "big_chances_missed": 0.1299,
                "xgot": 0.1931,
                "ball_carries": 11.5412,
                "total_progression": 40.7728,
                "progressive_carries": 2.0356,
                "shots_off_target": 0.8542,
                "duel_xg_multiplier": 1.211,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 1.0,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.564,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pol Lozano",
                "opponent_faced": "Pol Lozano",
                "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.8338,
                "creation_factor": 0.993,
                "fifa_overall": 81.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": 957,
                "fifa_rank": 578.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 81.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0.995,
                "expected_assists": 0.1558,
                "assist_rate": 0.1065,
                "assists": 0,
                "expected_goals": 0.2085,
                "goal_rate": 0.1126,
                "goals": 0,
                "shots_on_target": 0.51,
                "total_shots": 1.3694,
                "rating": 6.9079,
                "minutes": 76.13,
                "total_pass": 34.1145,
                "accurate_pass": 27.2426,
                "duels_won": 5.4181,
                "total_long_balls": 0.8245,
                "accurate_long_balls": 0.4332,
                "total_own_half_passes": 12.1894,
                "accurate_own_half_passes": 10.0584,
                "total_opp_half_passes": 21.9251,
                "accurate_opp_half_passes": 17.1842,
                "crosses_total": 1.2979,
                "crosses_accurate": 0.3907,
                "touches": 50.9814,
                "possession_lost": 12.1946,
                "dispossessed": 0.955,
                "duels_lost": 5.577,
                "aerial_won": 0.9,
                "aerial_lost": 0.9244,
                "interceptions": 0.6636,
                "tackles_won": 1.6289,
                "tackles": 2.3409,
                "clearances": 0.6582,
                "total_contest": 1.9328,
                "won_contest": 0.8419,
                "challenges_lost": 1.738,
                "fouls": 1.045,
                "fouls_drawn": 1.0187,
                "blocks": 0.1415,
                "big_chances_created": 0.234,
                "big_chances_missed": 0.1299,
                "xgot": 0.1931,
                "ball_carries": 11.5412,
                "total_progression": 40.7728,
                "progressive_carries": 2.0356,
                "shots_off_target": 0.8542,
                "duel_xg_multiplier": 1.211,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 1.0,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.564,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pol Lozano",
                "opponent_faced": "Pol Lozano",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1882,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8338,
                "creation_factor": 0.993,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.1882,
                "goal_rate": 0.1126,
                "scorer_weight": 0.1738,
                "squad_weight_total": 2.409,
                "weight_share": 0.0722,
                "finishing_factor": 0.8338,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Jonathan David",
                    "weight": 0.71,
                    "already": 0,
                    "effective_weight": 0.71,
                    "runner_up": "Ademola Lookman",
                    "runner_up_effective_weight": 0.4553
                  },
                  {
                    "n": 2,
                    "player": "Ademola Lookman",
                    "weight": 0.4553,
                    "already": 0,
                    "effective_weight": 0.4553,
                    "runner_up": "Jonathan David",
                    "runner_up_effective_weight": 0.3021
                  }
                ]
              }
            },
            {
              "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.995,
                "expected_assists": 0.1558,
                "assist_rate": 0.1065,
                "assists": 0,
                "expected_goals": 0.2085,
                "goal_rate": 0.1126,
                "goals": 0,
                "shots_on_target": 0.51,
                "total_shots": 1.3694,
                "rating": 6.9079,
                "minutes": 76.13,
                "total_pass": 34.1145,
                "accurate_pass": 27.2426,
                "duels_won": 5.4181,
                "total_long_balls": 0.8245,
                "accurate_long_balls": 0.4332,
                "total_own_half_passes": 12.1894,
                "accurate_own_half_passes": 10.0584,
                "total_opp_half_passes": 21.9251,
                "accurate_opp_half_passes": 17.1842,
                "crosses_total": 1.2979,
                "crosses_accurate": 0.3907,
                "touches": 50.9814,
                "possession_lost": 12.1946,
                "dispossessed": 0.955,
                "duels_lost": 5.577,
                "aerial_won": 0.9,
                "aerial_lost": 0.9244,
                "interceptions": 0.6636,
                "tackles_won": 1.6289,
                "tackles": 2.3409,
                "clearances": 0.6582,
                "total_contest": 1.9328,
                "won_contest": 0.8419,
                "challenges_lost": 1.738,
                "fouls": 1.045,
                "fouls_drawn": 1.0187,
                "blocks": 0.1415,
                "big_chances_created": 0.234,
                "big_chances_missed": 0.1299,
                "xgot": 0.1931,
                "ball_carries": 11.5412,
                "total_progression": 40.7728,
                "progressive_carries": 2.0356,
                "shots_off_target": 0.8542,
                "duel_xg_multiplier": 1.211,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 1.0,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.564,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pol Lozano",
                "opponent_faced": "Pol Lozano",
                "antagonist_source": "defensive_duel, attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1882,
                "projected_assists": 0,
                "assist_probability": 0.1443,
                "finishing_factor": 0.8338,
                "creation_factor": 0.993,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1443,
                "assist_rate": 0.1065,
                "provider_weight": 0.1547,
                "squad_weight_total": 1.5221,
                "weight_share": 0.1016,
                "creation_factor": 0.993,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alejandro Grimaldo",
                    "weight": 0.1971,
                    "already": 0,
                    "effective_weight": 0.1971,
                    "runner_up": "Alex Baena",
                    "runner_up_effective_weight": 0.1837
                  }
                ]
              }
            }
          ]
        },
        "Koke": {
          "player_id": 84539,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 6,
          "height": 177,
          "market_value": 4600000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1781,
            "assist_rate": 0.123,
            "assists": 0,
            "expected_goals": 0.0581,
            "goal_rate": 0.0465,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 7.1911,
            "minutes": 83,
            "total_pass": 76,
            "accurate_pass": 69,
            "duels_won": 4,
            "total_long_balls": 6,
            "accurate_long_balls": 4,
            "total_own_half_passes": 29,
            "accurate_own_half_passes": 28,
            "total_opp_half_passes": 47,
            "accurate_opp_half_passes": 41,
            "crosses_total": 2,
            "crosses_accurate": 1,
            "touches": 89,
            "possession_lost": 10.8612,
            "dispossessed": 0.644,
            "duels_lost": 3,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 2,
            "tackles": 3,
            "clearances": 1,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 1,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0165,
            "ball_carries": 23,
            "total_progression": 72,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "duel_xg_multiplier": 0.8327,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.0,
            "crosses_attempted": 1.9,
            "duel_win_rate": 0.366,
            "pressing_faced": "LOW",
            "matchup_zone": "Left Wing vs Right Back — Flank Battle",
            "numerical_situation": "1v1",
            "opponent_defenders": "Omar El Hilali",
            "opponent_faced": "Omar El Hilali",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0564,
            "projected_assists": 0,
            "assist_probability": 0.1631,
            "finishing_factor": 1.0675,
            "creation_factor": 1.0,
            "fifa_overall": 81.0
          },
          "latest_10_games": [
            {
              "match_id": 16421056,
              "match_date": "2026-10-10",
              "home_team": "Deportivo Alavés",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 8.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0976,
                "total_shots": 0,
                "total_pass": 122,
                "accurate_pass": 113,
                "key_pass": 2,
                "tackles": 4,
                "tackles_won": 4,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 9,
                "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": 16416339,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 45,
                "rating": 7.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0785,
                "expected_assists": 0.2256,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 64,
                "accurate_pass": 62,
                "key_pass": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416335,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1059,
                "total_shots": 0,
                "total_pass": 87,
                "accurate_pass": 78,
                "key_pass": 1,
                "tackles": 5,
                "tackles_won": 4,
                "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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 30,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0562,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 19,
                "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": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 31,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0618,
                "total_shots": 0,
                "total_pass": 44,
                "accurate_pass": 43,
                "key_pass": 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": 16416316,
              "match_date": "2026-08-29",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 18,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 4,
                "accurate_pass": 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": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 66,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0369,
                "expected_assists": 0.0802,
                "total_shots": 1,
                "total_pass": 44,
                "accurate_pass": 39,
                "key_pass": 2,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 8,
                "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": 16421055,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 78,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0658,
                "total_shots": 0,
                "total_pass": 67,
                "accurate_pass": 59,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 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": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2093,
                "total_shots": 0,
                "total_pass": 87,
                "accurate_pass": 76,
                "key_pass": 3,
                "interceptions": 1,
                "clearances": 1,
                "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": 14083661,
              "match_date": "2026-05-17",
              "home_team": "Atlético Madrid",
              "away_team": "Girona FC",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1689,
                "expected_assists": 0.216,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 59,
                "accurate_pass": 56,
                "key_pass": 1,
                "tackles": 1,
                "duels_won": 4,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 714,
            "combined_rank_score": 345.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 122.0,
            "sofascore_rating": 7.4,
            "sofascore_appearances": 1.0,
            "fifa_rank": 569.0,
            "fifa_overall": 81.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 2,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.1911,
            "source_file": "data/player_rankings.csv",
            "player_name": "Koke",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Cristhofer Mesías",
                  "ranking": 709
                },
                {
                  "player_name": "Luis Javier Suárez",
                  "ranking": 710
                },
                {
                  "player_name": "Iñigo Ruiz de Galarreta",
                  "ranking": 711
                },
                {
                  "player_name": "Javokhir Roziyev",
                  "ranking": 712
                },
                {
                  "player_name": "Victor Froholdt",
                  "ranking": 713
                }
              ],
              "lower": [
                {
                  "player_name": "Aleksandar Vojnović",
                  "ranking": 715
                },
                {
                  "player_name": "Ørjan Nyland",
                  "ranking": 716
                },
                {
                  "player_name": "Joaquín Sosa",
                  "ranking": 717
                },
                {
                  "player_name": "Seung-bin Lee",
                  "ranking": 718
                },
                {
                  "player_name": "Jo Yun-seong",
                  "ranking": 719
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.768,
          "history_matches": 42,
          "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": 42,
            "data_confidence": 0.768,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9985,
            "fbref_prior_metrics": {
              "squad": "Atlético Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 161.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.56,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.12
            },
            "rationale": "XGBoost regressor (M_service) evaluated 42 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Atlético Madrid, rel: 0.12, 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.4973,
                "expected_assists": 0.1232,
                "assists": 0.1242,
                "assist_rate": 0.1242,
                "expected_goals": 0.0486,
                "goals": 0.0565,
                "goal_rate": 0.0565,
                "shots_on_target": 0.1556,
                "total_shots": 0.6767,
                "rating": 7.1911,
                "minutes": 82.55,
                "total_pass": 75.7327,
                "accurate_pass": 68.7906,
                "duels_won": 4.483,
                "total_long_balls": 6.2572,
                "accurate_long_balls": 3.7197,
                "total_own_half_passes": 29.0708,
                "accurate_own_half_passes": 27.6866,
                "total_opp_half_passes": 46.662,
                "accurate_opp_half_passes": 41.1041,
                "crosses_total": 2.3838,
                "crosses_accurate": 0.6118,
                "touches": 89.2084,
                "possession_lost": 10.8775,
                "dispossessed": 0.645,
                "duels_lost": 2.8815,
                "aerial_won": 0.2093,
                "aerial_lost": 0.3093,
                "interceptions": 0.4265,
                "tackles_won": 1.9308,
                "tackles": 2.5875,
                "clearances": 0.6135,
                "total_contest": 0.7491,
                "won_contest": 0.2825,
                "challenges_lost": 0.9149,
                "fouls": 0.5457,
                "fouls_drawn": 1.4036,
                "blocks": 0.5447,
                "big_chances_created": 0.191,
                "big_chances_missed": 0.0,
                "xgot": 0.0138,
                "ball_carries": 22.7474,
                "total_progression": 71.8651,
                "progressive_carries": 1.2229,
                "shots_off_target": 0.5211
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-16T10:31:49.993480+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 895,
                    "rows": 24017
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Madrid",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1276,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Real Sociedad",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.0922,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Athletic Club",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.0784,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Sevilla",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.0666,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Villarreal",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Málaga CF",
                    "minutes": 78.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-05-24",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Girona FC",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.33,
                  "creative_index": 0.6317,
                  "expectedGoals": 0.0223,
                  "expectedAssists": 0.1198,
                  "onTargetScoringAttempt": 0.1461
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.4973154067993164,
                    "model_output": 1.4973,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.16
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1359
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0622
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0532
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0278
                      }
                    ],
                    "decomposition": {
                      "base": 0.893,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.128
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.1094
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.1047
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.095
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0533
                        }
                      ],
                      "others": 0.2205,
                      "total": 1.4973,
                      "log_link": true,
                      "margin_base": -0.113189,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.133992
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.101756
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.088563
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.074117
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.040904
                        }
                      ],
                      "others_margin": 0.159339
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.12321260571479797,
                    "model_output": 0.1232,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1089
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1043
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1031
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0607
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0542
                      }
                    ],
                    "decomposition": {
                      "base": 0.0856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0109
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0076
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0062
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0046
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0044
                        }
                      ],
                      "others": 0.0039,
                      "total": 0.1232,
                      "log_link": true,
                      "margin_base": -2.457601,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.119724
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.075719
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.057464
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.041196
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.037351
                        }
                      ],
                      "others_margin": 0.032301
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.12416316568851471,
                    "model_output": 0.1242,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.057
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.052
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0301
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0295
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0162
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0099
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0101
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0085
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0074
                        }
                      ],
                      "others": 0.0167,
                      "total": 0.1242,
                      "log_link": true,
                      "margin_base": -2.439072,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.170329
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.091114
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.085448
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.071449
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.066452
                        }
                      ],
                      "others_margin": 0.143925
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.04861564561724663,
                    "model_output": 0.0486,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1269
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0844
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0755
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0372
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0272
                      }
                    ],
                    "decomposition": {
                      "base": 0.0943,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0311
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0107
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0075
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.003
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0025
                        }
                      ],
                      "others": -0.0059,
                      "total": 0.0486,
                      "log_link": true,
                      "margin_base": -2.361326,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.40025
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.185559
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.133646
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.050524
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.044334
                        }
                      ],
                      "others_margin": -0.115462
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.056483082473278046,
                    "model_output": 0.0565,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0894
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0486
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0452
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0389
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0978,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0209
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.013
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0072
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0075
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0049
                        }
                      ],
                      "others": -0.0172,
                      "total": 0.0565,
                      "log_link": true,
                      "margin_base": -2.324947,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.240136
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.184701
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.106222
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.100427
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.063896
                        }
                      ],
                      "others_margin": -0.266783
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.1556449979543686,
                    "model_output": 0.1556,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1038
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0848
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0823
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0306
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.3257,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0834
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.046
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0244
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0217
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0161
                        }
                      ],
                      "others": -0.0219,
                      "total": 0.1556,
                      "log_link": true,
                      "margin_base": -1.121688,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.295711
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.210406
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.132881
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.118999
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.086885
                        }
                      ],
                      "others_margin": -0.131606
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.6767151951789856,
                    "model_output": 0.6767,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1304
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.1272
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0577
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0476
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0242
                      }
                    ],
                    "decomposition": {
                      "base": 0.9955,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2695
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1291
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0371
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0288
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0246
                        }
                      ],
                      "others": -0.1371,
                      "total": 0.6767,
                      "log_link": false,
                      "margin_base": 0.995535,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.26948
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.129113
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.037136
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.028782
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.024552
                        }
                      ],
                      "others_margin": -0.137087
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.1911234855651855,
                    "model_output": 7.1911,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0934
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0793
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0569
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0427
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 6.8531,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.1347
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.1047
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.039
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0297
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0248
                        }
                      ],
                      "others": 0.0051,
                      "total": 7.1911,
                      "log_link": false,
                      "margin_base": 6.853057,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.13466
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.10474
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.039015
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.029681
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.024824
                        }
                      ],
                      "others_margin": 0.005148
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 42,
                  "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 0.9985, quality 0.457)",
              "stats": {
                "key_pass": 1.4951,
                "expected_assists": 0.123,
                "assists": 0.124,
                "assist_rate": 0.124,
                "expected_goals": 0.0485,
                "goals": 0.0564,
                "goal_rate": 0.0564,
                "shots_on_target": 0.1554,
                "total_shots": 0.6757,
                "rating": 7.1911,
                "minutes": 82.55,
                "total_pass": 75.6191,
                "accurate_pass": 68.6874,
                "duels_won": 4.4763,
                "total_long_balls": 6.2478,
                "accurate_long_balls": 3.7141,
                "total_own_half_passes": 29.0272,
                "accurate_own_half_passes": 27.6451,
                "total_opp_half_passes": 46.592,
                "accurate_opp_half_passes": 41.0424,
                "crosses_total": 2.3802,
                "crosses_accurate": 0.6109,
                "touches": 89.0746,
                "possession_lost": 10.8612,
                "dispossessed": 0.644,
                "duels_lost": 2.8772,
                "aerial_won": 0.209,
                "aerial_lost": 0.3088,
                "interceptions": 0.4259,
                "tackles_won": 1.9279,
                "tackles": 2.5836,
                "clearances": 0.6126,
                "total_contest": 0.748,
                "won_contest": 0.2821,
                "challenges_lost": 0.9135,
                "fouls": 0.5449,
                "fouls_drawn": 1.4015,
                "blocks": 0.5439,
                "big_chances_created": 0.1907,
                "big_chances_missed": 0.0,
                "xgot": 0.0138,
                "ball_carries": 22.7133,
                "total_progression": 71.7573,
                "progressive_carries": 1.2211,
                "shots_off_target": 0.5203
              },
              "params": {
                "market_value_eur": 4600000,
                "quality_factor": 0.4572,
                "boost_factor": 0.9985,
                "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.0083)",
              "stats": {
                "key_pass": 1.4951,
                "expected_assists": 0.123,
                "assists": 0.123,
                "assist_rate": 0.123,
                "expected_goals": 0.0485,
                "goals": 0.0559,
                "goal_rate": 0.0559,
                "shots_on_target": 0.1541,
                "total_shots": 0.6744,
                "rating": 7.1911,
                "minutes": 82.55,
                "total_pass": 75.6191,
                "accurate_pass": 68.6874,
                "duels_won": 4.4763,
                "total_long_balls": 6.2478,
                "accurate_long_balls": 3.7141,
                "total_own_half_passes": 29.0272,
                "accurate_own_half_passes": 27.6451,
                "total_opp_half_passes": 46.592,
                "accurate_opp_half_passes": 41.0424,
                "crosses_total": 2.3816,
                "crosses_accurate": 0.6109,
                "touches": 89.0746,
                "possession_lost": 10.8612,
                "dispossessed": 0.644,
                "duels_lost": 2.8772,
                "aerial_won": 0.209,
                "aerial_lost": 0.3088,
                "interceptions": 0.4266,
                "tackles_won": 1.9288,
                "tackles": 2.5836,
                "clearances": 0.6126,
                "total_contest": 0.748,
                "won_contest": 0.2821,
                "challenges_lost": 0.9135,
                "fouls": 0.5446,
                "fouls_drawn": 1.4068,
                "blocks": 0.5439,
                "big_chances_created": 0.1907,
                "big_chances_missed": 0.0,
                "xgot": 0.0138,
                "ball_carries": 22.7133,
                "total_progression": 71.7573,
                "progressive_carries": 1.2211,
                "shots_off_target": 0.5203
              },
              "params": {
                "blend_weight": 0.0083,
                "history_matches": 42,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9172,
                "prior_reliability": 0.12,
                "competition": "La Liga",
                "squad": "Atlético Madrid"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 1.4015,
                  "after": 1.4068
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.4951,
                "expected_assists": 0.123,
                "assists": 0.123,
                "assist_rate": 0.123,
                "expected_goals": 0.0485,
                "goals": 0.0559,
                "goal_rate": 0.0559,
                "shots_on_target": 0.1541,
                "total_shots": 0.6744,
                "rating": 7.1911,
                "minutes": 82.55,
                "total_pass": 75.6191,
                "accurate_pass": 68.6874,
                "duels_won": 4.4763,
                "total_long_balls": 6.2478,
                "accurate_long_balls": 3.7141,
                "total_own_half_passes": 29.0272,
                "accurate_own_half_passes": 27.6451,
                "total_opp_half_passes": 46.592,
                "accurate_opp_half_passes": 41.0424,
                "crosses_total": 2.3816,
                "crosses_accurate": 0.6109,
                "touches": 89.0746,
                "possession_lost": 10.8612,
                "dispossessed": 0.644,
                "duels_lost": 2.8772,
                "aerial_won": 0.209,
                "aerial_lost": 0.3088,
                "interceptions": 0.4266,
                "tackles_won": 1.9288,
                "tackles": 2.5836,
                "clearances": 0.6126,
                "total_contest": 0.748,
                "won_contest": 0.2821,
                "challenges_lost": 0.9135,
                "fouls": 0.5446,
                "fouls_drawn": 1.4068,
                "blocks": 0.5439,
                "big_chances_created": 0.1907,
                "big_chances_missed": 0.0,
                "xgot": 0.0138,
                "ball_carries": 22.7133,
                "total_progression": 71.7573,
                "progressive_carries": 1.2211,
                "shots_off_target": 0.5203
              },
              "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.4951,
                "expected_assists": 0.123,
                "assists": 0.123,
                "assist_rate": 0.123,
                "expected_goals": 0.0404,
                "goals": 0.0465,
                "goal_rate": 0.0465,
                "shots_on_target": 0.1283,
                "total_shots": 0.5616,
                "rating": 7.1911,
                "minutes": 82.55,
                "total_pass": 75.6191,
                "accurate_pass": 68.6874,
                "duels_won": 4.4763,
                "total_long_balls": 6.2478,
                "accurate_long_balls": 3.7141,
                "total_own_half_passes": 29.0272,
                "accurate_own_half_passes": 27.6451,
                "total_opp_half_passes": 46.592,
                "accurate_opp_half_passes": 41.0424,
                "crosses_total": 2.3816,
                "crosses_accurate": 0.6109,
                "touches": 89.0746,
                "possession_lost": 10.8612,
                "dispossessed": 0.644,
                "duels_lost": 2.8772,
                "aerial_won": 1.0,
                "aerial_lost": 0.3088,
                "interceptions": 0.4266,
                "tackles_won": 1.9288,
                "tackles": 2.5836,
                "clearances": 0.6126,
                "total_contest": 0.748,
                "won_contest": 0.2821,
                "challenges_lost": 0.9135,
                "fouls": 0.5446,
                "fouls_drawn": 1.4068,
                "blocks": 0.5439,
                "big_chances_created": 0.1907,
                "big_chances_missed": 0.0,
                "xgot": 0.0115,
                "ball_carries": 22.7133,
                "total_progression": 71.7573,
                "progressive_carries": 1.2211,
                "shots_off_target": 0.4333,
                "duel_xg_multiplier": 0.8327,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.0,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.366,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Omar El Hilali",
                "opponent_faced": "Omar El Hilali",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Omar El Hilali",
                  "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                  "duel_win_rate": 0.366,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.8327,
                  "skill_edge": -0.0898,
                  "height_edge": -0.024,
                  "attacker_skill": 0.4572,
                  "defender_skill": 0.6569,
                  "attacker_role": "LW",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Omar El Hilali",
                      "market_value": 15900000,
                      "role": "RB",
                      "price_index": 0.7,
                      "adjusted_quality": 0.6569
                    }
                  ],
                  "xg_override": 0.0404
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.209,
                  "after": 1.0
                },
                {
                  "stat": "totalShots",
                  "before": 0.6744,
                  "after": 0.5616
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.5203,
                  "after": 0.4333
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.1541,
                  "after": 0.1283
                },
                {
                  "stat": "goals",
                  "before": 0.0559,
                  "after": 0.0465
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.0485,
                  "after": 0.0404
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 1.4951,
                "expected_assists": 0.123,
                "assist_rate": 0.123,
                "assists": 0,
                "expected_goals": 0.0404,
                "goal_rate": 0.0465,
                "goals": 0,
                "shots_on_target": 0.1283,
                "total_shots": 0.5616,
                "rating": 7.1911,
                "minutes": 82.55,
                "total_pass": 75.6191,
                "accurate_pass": 68.6874,
                "duels_won": 4.4763,
                "total_long_balls": 6.2478,
                "accurate_long_balls": 3.7141,
                "total_own_half_passes": 29.0272,
                "accurate_own_half_passes": 27.6451,
                "total_opp_half_passes": 46.592,
                "accurate_opp_half_passes": 41.0424,
                "crosses_total": 2.3816,
                "crosses_accurate": 0.6109,
                "touches": 89.0746,
                "possession_lost": 10.8612,
                "dispossessed": 0.644,
                "duels_lost": 2.8772,
                "aerial_won": 1.0,
                "aerial_lost": 0.3088,
                "interceptions": 0.4266,
                "tackles_won": 1.9288,
                "tackles": 2.5836,
                "clearances": 0.6126,
                "total_contest": 0.748,
                "won_contest": 0.2821,
                "challenges_lost": 0.9135,
                "fouls": 0.5446,
                "fouls_drawn": 1.4068,
                "blocks": 0.5439,
                "big_chances_created": 0.1907,
                "big_chances_missed": 0.0,
                "xgot": 0.0115,
                "ball_carries": 22.7133,
                "total_progression": 71.7573,
                "progressive_carries": 1.2211,
                "shots_off_target": 0.4333,
                "duel_xg_multiplier": 0.8327,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.0,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.366,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Omar El Hilali",
                "opponent_faced": "Omar El Hilali",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.33 (squad xG sum 1.6168, xG scale 1.4380, xA scale 1.4481, team xA 1.51 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1.4951,
                "expected_assists": 0.1781,
                "assist_rate": 0.123,
                "assists": 0,
                "expected_goals": 0.0581,
                "goal_rate": 0.0465,
                "goals": 0,
                "shots_on_target": 0.1283,
                "total_shots": 0.5616,
                "rating": 7.1911,
                "minutes": 82.55,
                "total_pass": 75.6191,
                "accurate_pass": 68.6874,
                "duels_won": 4.4763,
                "total_long_balls": 6.2478,
                "accurate_long_balls": 3.7141,
                "total_own_half_passes": 29.0272,
                "accurate_own_half_passes": 27.6451,
                "total_opp_half_passes": 46.592,
                "accurate_opp_half_passes": 41.0424,
                "crosses_total": 2.3816,
                "crosses_accurate": 0.6109,
                "touches": 89.0746,
                "possession_lost": 10.8612,
                "dispossessed": 0.644,
                "duels_lost": 2.8772,
                "aerial_won": 1.0,
                "aerial_lost": 0.3088,
                "interceptions": 0.4266,
                "tackles_won": 1.9288,
                "tackles": 2.5836,
                "clearances": 0.6126,
                "total_contest": 0.748,
                "won_contest": 0.2821,
                "challenges_lost": 0.9135,
                "fouls": 0.5446,
                "fouls_drawn": 1.4068,
                "blocks": 0.5439,
                "big_chances_created": 0.1907,
                "big_chances_missed": 0.0,
                "xgot": 0.0165,
                "ball_carries": 22.7133,
                "total_progression": 71.7573,
                "progressive_carries": 1.2211,
                "shots_off_target": 0.4333,
                "duel_xg_multiplier": 0.8327,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.0,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.366,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Omar El Hilali",
                "opponent_faced": "Omar El Hilali",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0675,
                "creation_factor": 1.0
              },
              "params": {
                "team_lambda": 2.325,
                "squad_xg_sum": 1.6168,
                "squad_xa_sum": 1.0436,
                "team_expected_assists": 1.5113,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.438,
                "xa_scale": 1.4481,
                "opponent_lambda": 1.337,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0404,
                  "after": 0.0581
                },
                {
                  "stat": "expected_assists",
                  "before": 0.123,
                  "after": 0.1781
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 2 by projected rating, fifa_overall 81.0)",
              "stats": {
                "key_pass": 1.4951,
                "expected_assists": 0.1781,
                "assist_rate": 0.123,
                "assists": 0,
                "expected_goals": 0.0581,
                "goal_rate": 0.0465,
                "goals": 0,
                "shots_on_target": 0.1283,
                "total_shots": 0.5616,
                "rating": 7.1911,
                "minutes": 82.55,
                "total_pass": 75.6191,
                "accurate_pass": 68.6874,
                "duels_won": 4.4763,
                "total_long_balls": 6.2478,
                "accurate_long_balls": 3.7141,
                "total_own_half_passes": 29.0272,
                "accurate_own_half_passes": 27.6451,
                "total_opp_half_passes": 46.592,
                "accurate_opp_half_passes": 41.0424,
                "crosses_total": 2.3816,
                "crosses_accurate": 0.6109,
                "touches": 89.0746,
                "possession_lost": 10.8612,
                "dispossessed": 0.644,
                "duels_lost": 2.8772,
                "aerial_won": 1.0,
                "aerial_lost": 0.3088,
                "interceptions": 0.4266,
                "tackles_won": 1.9288,
                "tackles": 2.5836,
                "clearances": 0.6126,
                "total_contest": 0.748,
                "won_contest": 0.2821,
                "challenges_lost": 0.9135,
                "fouls": 0.5446,
                "fouls_drawn": 1.4068,
                "blocks": 0.5439,
                "big_chances_created": 0.1907,
                "big_chances_missed": 0.0,
                "xgot": 0.0165,
                "ball_carries": 22.7133,
                "total_progression": 71.7573,
                "progressive_carries": 1.2211,
                "shots_off_target": 0.4333,
                "duel_xg_multiplier": 0.8327,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.0,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.366,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Omar El Hilali",
                "opponent_faced": "Omar El Hilali",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0675,
                "creation_factor": 1.0,
                "fifa_overall": 81.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": 714,
                "fifa_rank": 569.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 81.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1.4951,
                "expected_assists": 0.1781,
                "assist_rate": 0.123,
                "assists": 0,
                "expected_goals": 0.0581,
                "goal_rate": 0.0465,
                "goals": 0,
                "shots_on_target": 0.1283,
                "total_shots": 0.5616,
                "rating": 7.1911,
                "minutes": 82.55,
                "total_pass": 75.6191,
                "accurate_pass": 68.6874,
                "duels_won": 4.4763,
                "total_long_balls": 6.2478,
                "accurate_long_balls": 3.7141,
                "total_own_half_passes": 29.0272,
                "accurate_own_half_passes": 27.6451,
                "total_opp_half_passes": 46.592,
                "accurate_opp_half_passes": 41.0424,
                "crosses_total": 2.3816,
                "crosses_accurate": 0.6109,
                "touches": 89.0746,
                "possession_lost": 10.8612,
                "dispossessed": 0.644,
                "duels_lost": 2.8772,
                "aerial_won": 1.0,
                "aerial_lost": 0.3088,
                "interceptions": 0.4266,
                "tackles_won": 1.9288,
                "tackles": 2.5836,
                "clearances": 0.6126,
                "total_contest": 0.748,
                "won_contest": 0.2821,
                "challenges_lost": 0.9135,
                "fouls": 0.5446,
                "fouls_drawn": 1.4068,
                "blocks": 0.5439,
                "big_chances_created": 0.1907,
                "big_chances_missed": 0.0,
                "xgot": 0.0165,
                "ball_carries": 22.7133,
                "total_progression": 71.7573,
                "progressive_carries": 1.2211,
                "shots_off_target": 0.4333,
                "duel_xg_multiplier": 0.8327,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.0,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.366,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Omar El Hilali",
                "opponent_faced": "Omar El Hilali",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0564,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0675,
                "creation_factor": 1.0,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0564,
                "goal_rate": 0.0465,
                "scorer_weight": 0.062,
                "squad_weight_total": 2.409,
                "weight_share": 0.0257,
                "finishing_factor": 1.0675,
                "appearance_weight": 1.0,
                "weight_rank": 11,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Jonathan David",
                    "weight": 0.71,
                    "already": 0,
                    "effective_weight": 0.71,
                    "runner_up": "Ademola Lookman",
                    "runner_up_effective_weight": 0.4553
                  },
                  {
                    "n": 2,
                    "player": "Ademola Lookman",
                    "weight": 0.4553,
                    "already": 0,
                    "effective_weight": 0.4553,
                    "runner_up": "Jonathan David",
                    "runner_up_effective_weight": 0.3021
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 1.4951,
                "expected_assists": 0.1781,
                "assist_rate": 0.123,
                "assists": 0,
                "expected_goals": 0.0581,
                "goal_rate": 0.0465,
                "goals": 0,
                "shots_on_target": 0.1283,
                "total_shots": 0.5616,
                "rating": 7.1911,
                "minutes": 82.55,
                "total_pass": 75.6191,
                "accurate_pass": 68.6874,
                "duels_won": 4.4763,
                "total_long_balls": 6.2478,
                "accurate_long_balls": 3.7141,
                "total_own_half_passes": 29.0272,
                "accurate_own_half_passes": 27.6451,
                "total_opp_half_passes": 46.592,
                "accurate_opp_half_passes": 41.0424,
                "crosses_total": 2.3816,
                "crosses_accurate": 0.6109,
                "touches": 89.0746,
                "possession_lost": 10.8612,
                "dispossessed": 0.644,
                "duels_lost": 2.8772,
                "aerial_won": 1.0,
                "aerial_lost": 0.3088,
                "interceptions": 0.4266,
                "tackles_won": 1.9288,
                "tackles": 2.5836,
                "clearances": 0.6126,
                "total_contest": 0.748,
                "won_contest": 0.2821,
                "challenges_lost": 0.9135,
                "fouls": 0.5446,
                "fouls_drawn": 1.4068,
                "blocks": 0.5439,
                "big_chances_created": 0.1907,
                "big_chances_missed": 0.0,
                "xgot": 0.0165,
                "ball_carries": 22.7133,
                "total_progression": 71.7573,
                "progressive_carries": 1.2211,
                "shots_off_target": 0.4333,
                "duel_xg_multiplier": 0.8327,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.0,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.366,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wing vs Right Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Omar El Hilali",
                "opponent_faced": "Omar El Hilali",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0564,
                "projected_assists": 0,
                "assist_probability": 0.1631,
                "finishing_factor": 1.0675,
                "creation_factor": 1.0,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1631,
                "assist_rate": 0.123,
                "provider_weight": 0.1781,
                "squad_weight_total": 1.5221,
                "weight_share": 0.117,
                "creation_factor": 1.0,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alejandro Grimaldo",
                    "weight": 0.1971,
                    "already": 0,
                    "effective_weight": 0.1971,
                    "runner_up": "Alex Baena",
                    "runner_up_effective_weight": 0.1837
                  }
                ]
              }
            }
          ]
        },
        "Johnny Cardoso": {
          "player_id": 990169,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 5,
          "height": 186,
          "market_value": 18700000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0823,
            "assist_rate": 0.051,
            "assists": 0,
            "expected_goals": 0.0557,
            "goal_rate": 0.0527,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.9487,
            "minutes": 79,
            "total_pass": 54,
            "accurate_pass": 50,
            "duels_won": 5,
            "total_long_balls": 3,
            "accurate_long_balls": 2,
            "total_own_half_passes": 23,
            "accurate_own_half_passes": 22,
            "total_opp_half_passes": 31,
            "accurate_opp_half_passes": 28,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 68,
            "possession_lost": 7.4626,
            "dispossessed": 1.267,
            "duels_lost": 6,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 2,
            "tackles": 2,
            "clearances": 2,
            "total_contest": 1,
            "won_contest": 1,
            "challenges_lost": 1,
            "fouls": 2,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 17,
            "total_progression": 69,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "duel_xg_multiplier": 1.1685,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.9,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.535,
            "pressing_faced": "LOW",
            "matchup_zone": "CDM vs CDM",
            "numerical_situation": "1v1",
            "opponent_defenders": "Pol Lozano",
            "opponent_faced": "Pol Lozano",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0542,
            "projected_assists": 0,
            "assist_probability": 0.079,
            "finishing_factor": 1.1578,
            "creation_factor": 0.9457,
            "fifa_overall": 80.0
          },
          "latest_10_games": [
            {
              "match_id": 16421056,
              "match_date": "2026-10-10",
              "home_team": "Deportivo Alavés",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0554,
                "total_shots": 0,
                "total_pass": 77,
                "accurate_pass": 73,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 3,
                "aerial_won": 2,
                "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": 16416339,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0634,
                "expected_assists": 0.0453,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 68,
                "accurate_pass": 64,
                "interceptions": 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": 16416335,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 85,
                "rating": 8.1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0123,
                "expected_assists": 0.3227,
                "total_shots": 1,
                "total_pass": 81,
                "accurate_pass": 77,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 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": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 31,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0476,
                "expected_assists": 0.0043,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 14,
                "accurate_pass": 10,
                "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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 14,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0115,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 23,
                "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": 16416316,
              "match_date": "2026-08-29",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 12,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083242,
              "match_date": "2026-04-25",
              "home_team": "Atlético Madrid",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 32,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0027,
                "total_shots": 0,
                "total_pass": 14,
                "accurate_pass": 13,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 3,
                "clearances": 2,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083306,
              "match_date": "2026-04-22",
              "home_team": "Elche",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0097,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 21,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 3,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14081807,
              "match_date": "2026-03-22",
              "home_team": "Real Madrid",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 57,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0125,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 26,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083602,
              "match_date": "2026-03-07",
              "home_team": "Atlético Madrid",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 29,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.09,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 12,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 1498,
            "combined_rank_score": 619.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 475.0,
            "sofascore_rating": 6.8778,
            "sofascore_appearances": 10.0,
            "fifa_rank": 763.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9487,
            "source_file": "data/player_rankings.csv",
            "player_name": "Johnny Cardoso",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Lucas Hernández",
                  "ranking": 1493
                },
                {
                  "player_name": "Yerco Oyanedel",
                  "ranking": 1494
                },
                {
                  "player_name": "Bekhruz Karimov",
                  "ranking": 1495
                },
                {
                  "player_name": "Ermedin Demirović",
                  "ranking": 1496
                },
                {
                  "player_name": "Julio Enciso",
                  "ranking": 1497
                }
              ],
              "lower": [
                {
                  "player_name": "Jerdy Schouten",
                  "ranking": 1499
                },
                {
                  "player_name": "Hyeon-je Kang",
                  "ranking": 1500
                },
                {
                  "player_name": "Marcos Alonso",
                  "ranking": 1501
                },
                {
                  "player_name": "Eduardo Vargas",
                  "ranking": 1502
                },
                {
                  "player_name": "Tomislav Uskok",
                  "ranking": 1503
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.751,
          "history_matches": 21,
          "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": 21,
            "data_confidence": 0.751,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0065,
            "fbref_prior_metrics": {
              "squad": "Atlético Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 0.0,
              "minutes": 6.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.0067
            },
            "rationale": "XGBoost regressor (M_service) evaluated 21 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Atlético Madrid, rel: 0.01, 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.684,
                "expected_assists": 0.0564,
                "assists": 0.0506,
                "assist_rate": 0.0506,
                "expected_goals": 0.0329,
                "goals": 0.0448,
                "goal_rate": 0.0448,
                "shots_on_target": 0.1318,
                "total_shots": 0.5464,
                "rating": 6.9487,
                "minutes": 79.2,
                "total_pass": 53.7471,
                "accurate_pass": 49.4357,
                "duels_won": 4.5615,
                "total_long_balls": 2.5098,
                "accurate_long_balls": 1.9652,
                "total_own_half_passes": 22.9963,
                "accurate_own_half_passes": 21.4735,
                "total_opp_half_passes": 30.7508,
                "accurate_opp_half_passes": 27.9622,
                "crosses_total": 0.1585,
                "crosses_accurate": 0.0199,
                "touches": 67.1792,
                "possession_lost": 7.4144,
                "dispossessed": 1.2588,
                "duels_lost": 5.8672,
                "aerial_won": 0.8299,
                "aerial_lost": 1.4691,
                "interceptions": 1.3249,
                "tackles_won": 1.5107,
                "tackles": 2.3609,
                "clearances": 1.5382,
                "total_contest": 0.7304,
                "won_contest": 0.6366,
                "challenges_lost": 1.4317,
                "fouls": 1.6137,
                "fouls_drawn": 0.734,
                "blocks": 0.3777,
                "big_chances_created": 0.1329,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 17.3422,
                "total_progression": 68.0797,
                "progressive_carries": 1.1952,
                "shots_off_target": 0.4146
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-16T10:31:49.993480+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 895,
                    "rows": 24017
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1551,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1318,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Osasuna",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.1121,
                    "rating": 8.1
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Real Sociedad",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.0953,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Athletic Club",
                    "minutes": 14.0,
                    "is_starting": false,
                    "weight": 0.081,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Sevilla",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.0688,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Athletic Club",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.0585,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-04-22",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0497,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-03-22",
                    "opponent": "Real Madrid",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.0423,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-03-07",
                    "opponent": "Real Sociedad",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.0359,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.3639,
                  "creative_index": 0.1663,
                  "expectedGoals": 0.0155,
                  "expectedAssists": 0.0619,
                  "onTargetScoringAttempt": 0.0
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.6839678883552551,
                    "model_output": 0.684,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.16
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1359
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0622
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0532
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0278
                      }
                    ],
                    "decomposition": {
                      "base": 0.893,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.116
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.1105
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.089
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0318
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0277
                        }
                      ],
                      "others": -0.066,
                      "total": 0.684,
                      "log_link": true,
                      "margin_base": -0.113189,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.122149
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.115942
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.104334
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.040058
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.036203
                        }
                      ],
                      "others_margin": -0.092267
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.05639757961034775,
                    "model_output": 0.0564,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1089
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1043
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1031
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0607
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0542
                      }
                    ],
                    "decomposition": {
                      "base": 0.0856,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.0163
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0102
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.009
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0048
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0027
                        }
                      ],
                      "others": -0.0066,
                      "total": 0.0564,
                      "log_link": true,
                      "margin_base": -2.457601,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.211245
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.136838
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.119797
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.070892
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.042388
                        }
                      ],
                      "others_margin": -0.110245
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.05062846466898918,
                    "model_output": 0.0506,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.057
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.052
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0301
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0295
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.0111
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0069
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0068
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0055
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0046
                        }
                      ],
                      "others": -0.0155,
                      "total": 0.0506,
                      "log_link": true,
                      "margin_base": -2.439072,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.13597
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.086469
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.085201
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.075177
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.066535
                        }
                      ],
                      "others_margin": -0.267754
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.03288761153817177,
                    "model_output": 0.0329,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1269
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0844
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0755
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0372
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0272
                      }
                    ],
                    "decomposition": {
                      "base": 0.0943,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0366
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0098
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0062
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0053
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0046
                        }
                      ],
                      "others": -0.0095,
                      "total": 0.0329,
                      "log_link": true,
                      "margin_base": -2.361326,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.49053
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.186907
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.137958
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.11956
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.103529
                        }
                      ],
                      "others_margin": -0.253969
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.044784992933273315,
                    "model_output": 0.0448,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0894
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0486
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0452
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0389
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0978,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0224
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0142
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0082
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.006
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0051
                        }
                      ],
                      "others": -0.0091,
                      "total": 0.0448,
                      "log_link": true,
                      "margin_base": -2.324947,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.260427
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.208904
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.144571
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.108205
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.090285
                        }
                      ],
                      "others_margin": -0.184952
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.13177432119846344,
                    "model_output": 0.1318,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1038
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0848
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0823
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0306
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.3257,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.077
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0494
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.03
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0219
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0208
                        }
                      ],
                      "others": -0.0364,
                      "total": 0.1318,
                      "log_link": true,
                      "margin_base": -1.121688,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.269847
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.221381
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.162842
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.138749
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.132031
                        }
                      ],
                      "others_margin": -0.244187
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5463436841964722,
                    "model_output": 0.5463,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1304
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.1272
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0577
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0476
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0242
                      }
                    ],
                    "decomposition": {
                      "base": 0.9955,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2728
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1106
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0601
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0475
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0436
                        }
                      ],
                      "others": -0.1358,
                      "total": 0.5463,
                      "log_link": false,
                      "margin_base": 0.995535,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.27281
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.110578
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.060051
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.047461
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.043619
                        }
                      ],
                      "others_margin": -0.135827
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.948669910430908,
                    "model_output": 6.9487,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0934
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0793
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0569
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0427
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 6.8531,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0987
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0328
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0231
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0191
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0178
                        }
                      ],
                      "others": -0.0221,
                      "total": 6.9487,
                      "log_link": false,
                      "margin_base": 6.853057,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.098655
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.032752
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.023091
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.019071
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.017835
                        }
                      ],
                      "others_margin": -0.021979
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 21,
                  "role_matches": 15,
                  "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.0065, quality 0.618)",
              "stats": {
                "key_pass": 0.6884,
                "expected_assists": 0.0568,
                "assists": 0.051,
                "assist_rate": 0.051,
                "expected_goals": 0.0331,
                "goals": 0.0451,
                "goal_rate": 0.0451,
                "shots_on_target": 0.1326,
                "total_shots": 0.5499,
                "rating": 6.9487,
                "minutes": 79.2,
                "total_pass": 54.0965,
                "accurate_pass": 49.757,
                "duels_won": 4.5911,
                "total_long_balls": 2.5261,
                "accurate_long_balls": 1.978,
                "total_own_half_passes": 23.1458,
                "accurate_own_half_passes": 21.6131,
                "total_opp_half_passes": 30.9507,
                "accurate_opp_half_passes": 28.144,
                "crosses_total": 0.1595,
                "crosses_accurate": 0.02,
                "touches": 67.6159,
                "possession_lost": 7.4626,
                "dispossessed": 1.267,
                "duels_lost": 5.9053,
                "aerial_won": 0.8353,
                "aerial_lost": 1.4786,
                "interceptions": 1.3335,
                "tackles_won": 1.5205,
                "tackles": 2.3762,
                "clearances": 1.5482,
                "total_contest": 0.7351,
                "won_contest": 0.6407,
                "challenges_lost": 1.441,
                "fouls": 1.6242,
                "fouls_drawn": 0.7388,
                "blocks": 0.3802,
                "big_chances_created": 0.1338,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 17.4549,
                "total_progression": 68.5222,
                "progressive_carries": 1.203,
                "shots_off_target": 0.4173
              },
              "params": {
                "market_value_eur": 18700000,
                "quality_factor": 0.6181,
                "boost_factor": 1.0065,
                "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.0008)",
              "stats": {
                "key_pass": 0.6884,
                "expected_assists": 0.0568,
                "assists": 0.051,
                "assist_rate": 0.051,
                "expected_goals": 0.0331,
                "goals": 0.0451,
                "goal_rate": 0.0451,
                "shots_on_target": 0.1325,
                "total_shots": 0.5494,
                "rating": 6.9487,
                "minutes": 79.2,
                "total_pass": 54.0965,
                "accurate_pass": 49.757,
                "duels_won": 4.5911,
                "total_long_balls": 2.5261,
                "accurate_long_balls": 1.978,
                "total_own_half_passes": 23.1458,
                "accurate_own_half_passes": 21.6131,
                "total_opp_half_passes": 30.9507,
                "accurate_opp_half_passes": 28.144,
                "crosses_total": 0.1594,
                "crosses_accurate": 0.02,
                "touches": 67.6159,
                "possession_lost": 7.4626,
                "dispossessed": 1.267,
                "duels_lost": 5.9053,
                "aerial_won": 0.8353,
                "aerial_lost": 1.4786,
                "interceptions": 1.3398,
                "tackles_won": 1.5266,
                "tackles": 2.3762,
                "clearances": 1.5482,
                "total_contest": 0.7351,
                "won_contest": 0.6407,
                "challenges_lost": 1.441,
                "fouls": 1.6302,
                "fouls_drawn": 0.7456,
                "blocks": 0.3802,
                "big_chances_created": 0.1338,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 17.4549,
                "total_progression": 68.5222,
                "progressive_carries": 1.203,
                "shots_off_target": 0.4173
              },
              "params": {
                "blend_weight": 0.0008,
                "history_matches": 21,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.88,
                "prior_reliability": 0.0067,
                "competition": "La Liga",
                "squad": "Atlético Madrid"
              },
              "changes": [
                {
                  "stat": "wasFouled",
                  "before": 0.7388,
                  "after": 0.7456
                },
                {
                  "stat": "interceptionWon",
                  "before": 1.3335,
                  "after": 1.3398
                },
                {
                  "stat": "wonTackle",
                  "before": 1.5205,
                  "after": 1.5266
                },
                {
                  "stat": "fouls",
                  "before": 1.6242,
                  "after": 1.6302
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.6884,
                "expected_assists": 0.0568,
                "assists": 0.051,
                "assist_rate": 0.051,
                "expected_goals": 0.0331,
                "goals": 0.0451,
                "goal_rate": 0.0451,
                "shots_on_target": 0.1325,
                "total_shots": 0.5498,
                "rating": 6.9487,
                "minutes": 79.2,
                "total_pass": 54.0965,
                "accurate_pass": 49.757,
                "duels_won": 4.5911,
                "total_long_balls": 2.5261,
                "accurate_long_balls": 1.978,
                "total_own_half_passes": 23.1458,
                "accurate_own_half_passes": 21.6131,
                "total_opp_half_passes": 30.9507,
                "accurate_opp_half_passes": 28.144,
                "crosses_total": 0.1594,
                "crosses_accurate": 0.02,
                "touches": 67.6159,
                "possession_lost": 7.4626,
                "dispossessed": 1.267,
                "duels_lost": 5.9053,
                "aerial_won": 0.8353,
                "aerial_lost": 1.4786,
                "interceptions": 1.3398,
                "tackles_won": 1.5266,
                "tackles": 2.3762,
                "clearances": 1.5482,
                "total_contest": 0.7351,
                "won_contest": 0.6407,
                "challenges_lost": 1.441,
                "fouls": 1.6302,
                "fouls_drawn": 0.7456,
                "blocks": 0.3802,
                "big_chances_created": 0.1338,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 17.4549,
                "total_progression": 68.5222,
                "progressive_carries": 1.203,
                "shots_off_target": 0.4173
              },
              "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.6884,
                "expected_assists": 0.0568,
                "assists": 0.051,
                "assist_rate": 0.051,
                "expected_goals": 0.0387,
                "goals": 0.0527,
                "goal_rate": 0.0527,
                "shots_on_target": 0.1548,
                "total_shots": 0.6424,
                "rating": 6.9487,
                "minutes": 79.2,
                "total_pass": 54.0965,
                "accurate_pass": 49.757,
                "duels_won": 4.5911,
                "total_long_balls": 2.5261,
                "accurate_long_balls": 1.978,
                "total_own_half_passes": 23.1458,
                "accurate_own_half_passes": 21.6131,
                "total_opp_half_passes": 30.9507,
                "accurate_opp_half_passes": 28.144,
                "crosses_total": 0.1594,
                "crosses_accurate": 0.02,
                "touches": 67.6159,
                "possession_lost": 7.4626,
                "dispossessed": 1.267,
                "duels_lost": 5.9053,
                "aerial_won": 1.2,
                "aerial_lost": 1.4786,
                "interceptions": 1.3398,
                "tackles_won": 1.5266,
                "tackles": 2.3762,
                "clearances": 1.5482,
                "total_contest": 0.7351,
                "won_contest": 0.6407,
                "challenges_lost": 1.441,
                "fouls": 1.6302,
                "fouls_drawn": 0.7456,
                "blocks": 0.3802,
                "big_chances_created": 0.1338,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 17.4549,
                "total_progression": 68.5222,
                "progressive_carries": 1.203,
                "shots_off_target": 0.4876,
                "duel_xg_multiplier": 1.1685,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.535,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pol Lozano",
                "opponent_faced": "Pol Lozano",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Pol Lozano",
                  "matchup_zone": "CDM vs CDM",
                  "duel_win_rate": 0.535,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.1685,
                  "skill_edge": 0.0746,
                  "height_edge": 0.04,
                  "attacker_skill": 0.6503,
                  "defender_skill": 0.4845,
                  "attacker_role": "CDM",
                  "attacker_mv_price_index": 0.85,
                  "defender_adjusted_parts": [
                    {
                      "player": "Pol Lozano",
                      "market_value": 5800000,
                      "role": "CDM",
                      "price_index": 0.85,
                      "adjusted_quality": 0.4845
                    }
                  ],
                  "xg_override": 0.0387
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.8353,
                  "after": 1.2
                },
                {
                  "stat": "totalShots",
                  "before": 0.5498,
                  "after": 0.6424
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.4173,
                  "after": 0.4876
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.1325,
                  "after": 0.1548
                },
                {
                  "stat": "goals",
                  "before": 0.0451,
                  "after": 0.0527
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.0331,
                  "after": 0.0387
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.6884,
                "expected_assists": 0.0568,
                "assist_rate": 0.051,
                "assists": 0,
                "expected_goals": 0.0387,
                "goal_rate": 0.0527,
                "goals": 0,
                "shots_on_target": 0.1548,
                "total_shots": 0.6424,
                "rating": 6.9487,
                "minutes": 79.2,
                "total_pass": 54.0965,
                "accurate_pass": 49.757,
                "duels_won": 4.5911,
                "total_long_balls": 2.5261,
                "accurate_long_balls": 1.978,
                "total_own_half_passes": 23.1458,
                "accurate_own_half_passes": 21.6131,
                "total_opp_half_passes": 30.9507,
                "accurate_opp_half_passes": 28.144,
                "crosses_total": 0.1594,
                "crosses_accurate": 0.02,
                "touches": 67.6159,
                "possession_lost": 7.4626,
                "dispossessed": 1.267,
                "duels_lost": 5.9053,
                "aerial_won": 1.2,
                "aerial_lost": 1.4786,
                "interceptions": 1.3398,
                "tackles_won": 1.5266,
                "tackles": 2.3762,
                "clearances": 1.5482,
                "total_contest": 0.7351,
                "won_contest": 0.6407,
                "challenges_lost": 1.441,
                "fouls": 1.6302,
                "fouls_drawn": 0.7456,
                "blocks": 0.3802,
                "big_chances_created": 0.1338,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 17.4549,
                "total_progression": 68.5222,
                "progressive_carries": 1.203,
                "shots_off_target": 0.4876,
                "duel_xg_multiplier": 1.1685,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.535,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pol Lozano",
                "opponent_faced": "Pol Lozano",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.33 (squad xG sum 1.6168, xG scale 1.4380, xA scale 1.4481, team xA 1.51 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0.6884,
                "expected_assists": 0.0823,
                "assist_rate": 0.051,
                "assists": 0,
                "expected_goals": 0.0557,
                "goal_rate": 0.0527,
                "goals": 0,
                "shots_on_target": 0.1548,
                "total_shots": 0.6424,
                "rating": 6.9487,
                "minutes": 79.2,
                "total_pass": 54.0965,
                "accurate_pass": 49.757,
                "duels_won": 4.5911,
                "total_long_balls": 2.5261,
                "accurate_long_balls": 1.978,
                "total_own_half_passes": 23.1458,
                "accurate_own_half_passes": 21.6131,
                "total_opp_half_passes": 30.9507,
                "accurate_opp_half_passes": 28.144,
                "crosses_total": 0.1594,
                "crosses_accurate": 0.02,
                "touches": 67.6159,
                "possession_lost": 7.4626,
                "dispossessed": 1.267,
                "duels_lost": 5.9053,
                "aerial_won": 1.2,
                "aerial_lost": 1.4786,
                "interceptions": 1.3398,
                "tackles_won": 1.5266,
                "tackles": 2.3762,
                "clearances": 1.5482,
                "total_contest": 0.7351,
                "won_contest": 0.6407,
                "challenges_lost": 1.441,
                "fouls": 1.6302,
                "fouls_drawn": 0.7456,
                "blocks": 0.3802,
                "big_chances_created": 0.1338,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 17.4549,
                "total_progression": 68.5222,
                "progressive_carries": 1.203,
                "shots_off_target": 0.4876,
                "duel_xg_multiplier": 1.1685,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.535,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pol Lozano",
                "opponent_faced": "Pol Lozano",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1578,
                "creation_factor": 0.9457
              },
              "params": {
                "team_lambda": 2.325,
                "squad_xg_sum": 1.6168,
                "squad_xa_sum": 1.0436,
                "team_expected_assists": 1.5113,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.438,
                "xa_scale": 1.4481,
                "opponent_lambda": 1.337,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0387,
                  "after": 0.0557
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0568,
                  "after": 0.0823
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 10 by projected rating, fifa_overall 80.0)",
              "stats": {
                "key_pass": 0.6884,
                "expected_assists": 0.0823,
                "assist_rate": 0.051,
                "assists": 0,
                "expected_goals": 0.0557,
                "goal_rate": 0.0527,
                "goals": 0,
                "shots_on_target": 0.1548,
                "total_shots": 0.6424,
                "rating": 6.9487,
                "minutes": 79.2,
                "total_pass": 54.0965,
                "accurate_pass": 49.757,
                "duels_won": 4.5911,
                "total_long_balls": 2.5261,
                "accurate_long_balls": 1.978,
                "total_own_half_passes": 23.1458,
                "accurate_own_half_passes": 21.6131,
                "total_opp_half_passes": 30.9507,
                "accurate_opp_half_passes": 28.144,
                "crosses_total": 0.1594,
                "crosses_accurate": 0.02,
                "touches": 67.6159,
                "possession_lost": 7.4626,
                "dispossessed": 1.267,
                "duels_lost": 5.9053,
                "aerial_won": 1.2,
                "aerial_lost": 1.4786,
                "interceptions": 1.3398,
                "tackles_won": 1.5266,
                "tackles": 2.3762,
                "clearances": 1.5482,
                "total_contest": 0.7351,
                "won_contest": 0.6407,
                "challenges_lost": 1.441,
                "fouls": 1.6302,
                "fouls_drawn": 0.7456,
                "blocks": 0.3802,
                "big_chances_created": 0.1338,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 17.4549,
                "total_progression": 68.5222,
                "progressive_carries": 1.203,
                "shots_off_target": 0.4876,
                "duel_xg_multiplier": 1.1685,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.535,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pol Lozano",
                "opponent_faced": "Pol Lozano",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1578,
                "creation_factor": 0.9457,
                "fifa_overall": 80.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": 1498,
                "fifa_rank": 763.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 80.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0.6884,
                "expected_assists": 0.0823,
                "assist_rate": 0.051,
                "assists": 0,
                "expected_goals": 0.0557,
                "goal_rate": 0.0527,
                "goals": 0,
                "shots_on_target": 0.1548,
                "total_shots": 0.6424,
                "rating": 6.9487,
                "minutes": 79.2,
                "total_pass": 54.0965,
                "accurate_pass": 49.757,
                "duels_won": 4.5911,
                "total_long_balls": 2.5261,
                "accurate_long_balls": 1.978,
                "total_own_half_passes": 23.1458,
                "accurate_own_half_passes": 21.6131,
                "total_opp_half_passes": 30.9507,
                "accurate_opp_half_passes": 28.144,
                "crosses_total": 0.1594,
                "crosses_accurate": 0.02,
                "touches": 67.6159,
                "possession_lost": 7.4626,
                "dispossessed": 1.267,
                "duels_lost": 5.9053,
                "aerial_won": 1.2,
                "aerial_lost": 1.4786,
                "interceptions": 1.3398,
                "tackles_won": 1.5266,
                "tackles": 2.3762,
                "clearances": 1.5482,
                "total_contest": 0.7351,
                "won_contest": 0.6407,
                "challenges_lost": 1.441,
                "fouls": 1.6302,
                "fouls_drawn": 0.7456,
                "blocks": 0.3802,
                "big_chances_created": 0.1338,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 17.4549,
                "total_progression": 68.5222,
                "progressive_carries": 1.203,
                "shots_off_target": 0.4876,
                "duel_xg_multiplier": 1.1685,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.535,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pol Lozano",
                "opponent_faced": "Pol Lozano",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0542,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1578,
                "creation_factor": 0.9457,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0542,
                "goal_rate": 0.0527,
                "scorer_weight": 0.0645,
                "squad_weight_total": 2.409,
                "weight_share": 0.0268,
                "finishing_factor": 1.1578,
                "appearance_weight": 1.0,
                "weight_rank": 10,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Jonathan David",
                    "weight": 0.71,
                    "already": 0,
                    "effective_weight": 0.71,
                    "runner_up": "Ademola Lookman",
                    "runner_up_effective_weight": 0.4553
                  },
                  {
                    "n": 2,
                    "player": "Ademola Lookman",
                    "weight": 0.4553,
                    "already": 0,
                    "effective_weight": 0.4553,
                    "runner_up": "Jonathan David",
                    "runner_up_effective_weight": 0.3021
                  }
                ]
              }
            },
            {
              "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.6884,
                "expected_assists": 0.0823,
                "assist_rate": 0.051,
                "assists": 0,
                "expected_goals": 0.0557,
                "goal_rate": 0.0527,
                "goals": 0,
                "shots_on_target": 0.1548,
                "total_shots": 0.6424,
                "rating": 6.9487,
                "minutes": 79.2,
                "total_pass": 54.0965,
                "accurate_pass": 49.757,
                "duels_won": 4.5911,
                "total_long_balls": 2.5261,
                "accurate_long_balls": 1.978,
                "total_own_half_passes": 23.1458,
                "accurate_own_half_passes": 21.6131,
                "total_opp_half_passes": 30.9507,
                "accurate_opp_half_passes": 28.144,
                "crosses_total": 0.1594,
                "crosses_accurate": 0.02,
                "touches": 67.6159,
                "possession_lost": 7.4626,
                "dispossessed": 1.267,
                "duels_lost": 5.9053,
                "aerial_won": 1.2,
                "aerial_lost": 1.4786,
                "interceptions": 1.3398,
                "tackles_won": 1.5266,
                "tackles": 2.3762,
                "clearances": 1.5482,
                "total_contest": 0.7351,
                "won_contest": 0.6407,
                "challenges_lost": 1.441,
                "fouls": 1.6302,
                "fouls_drawn": 0.7456,
                "blocks": 0.3802,
                "big_chances_created": 0.1338,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 17.4549,
                "total_progression": 68.5222,
                "progressive_carries": 1.203,
                "shots_off_target": 0.4876,
                "duel_xg_multiplier": 1.1685,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.9,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.535,
                "pressing_faced": "LOW",
                "matchup_zone": "CDM vs CDM",
                "numerical_situation": "1v1",
                "opponent_defenders": "Pol Lozano",
                "opponent_faced": "Pol Lozano",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0542,
                "projected_assists": 0,
                "assist_probability": 0.079,
                "finishing_factor": 1.1578,
                "creation_factor": 0.9457,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.079,
                "assist_rate": 0.051,
                "provider_weight": 0.0778,
                "squad_weight_total": 1.5221,
                "weight_share": 0.0511,
                "creation_factor": 0.9457,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alejandro Grimaldo",
                    "weight": 0.1971,
                    "already": 0,
                    "effective_weight": 0.1971,
                    "runner_up": "Alex Baena",
                    "runner_up_effective_weight": 0.1837
                  }
                ]
              }
            }
          ]
        },
        "Alejandro Grimaldo": {
          "player_id": 177177,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 22,
          "height": 171,
          "market_value": 19400000,
          "stats": {
            "key_pass": 2,
            "expected_assists": 0.2159,
            "assist_rate": 0.1317,
            "assists": 1,
            "expected_goals": 0.2965,
            "goal_rate": 0.1879,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "rating": 7.2042,
            "minutes": 88,
            "total_pass": 52,
            "accurate_pass": 45,
            "duels_won": 5,
            "total_long_balls": 4,
            "accurate_long_balls": 2,
            "total_own_half_passes": 20,
            "accurate_own_half_passes": 18,
            "total_opp_half_passes": 33,
            "accurate_opp_half_passes": 27,
            "crosses_total": 5,
            "crosses_accurate": 1,
            "touches": 79,
            "possession_lost": 15.69,
            "dispossessed": 0.2995,
            "duels_lost": 4,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 2,
            "clearances": 1,
            "total_contest": 3,
            "won_contest": 2,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.4733,
            "ball_carries": 20,
            "total_progression": 68,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.0149,
            "dribbles_attempted": 4,
            "dribbles_successful": 1.7,
            "crosses_attempted": 2.2,
            "duel_win_rate": 0.49,
            "pressing_faced": "LOW",
            "matchup_zone": "Right Wing vs Left Back — Flank Battle",
            "numerical_situation": "1v1",
            "opponent_defenders": "Clemens Riedel",
            "opponent_faced": "Clemens Riedel",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.2566,
            "projected_assists": 1,
            "assist_probability": 0.1942,
            "finishing_factor": 0.9286,
            "creation_factor": 0.9131,
            "fifa_overall": 89.0
          },
          "latest_10_games": [
            {
              "match_id": 16421056,
              "match_date": "2026-10-10",
              "home_team": "Deportivo Alavés",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 8.2,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1707,
                "expected_assists": 0.2518,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 62,
                "accurate_pass": 56,
                "key_pass": 5,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "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": 16416339,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.8458,
                "expected_assists": 0.0237,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 47,
                "accurate_pass": 42,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416335,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 85,
                "rating": 8.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3081,
                "expected_assists": 0.2421,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 54,
                "accurate_pass": 49,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 7,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.8419,
                "expected_assists": 0.0527,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 47,
                "accurate_pass": 33,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0107,
                "expected_assists": 0.0749,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 56,
                "accurate_pass": 49,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416316,
              "match_date": "2026-08-29",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0902,
                "expected_assists": 0.012,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 35,
                "accurate_pass": 28,
                "tackles": 2,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "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": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0172,
                "expected_assists": 0.06,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 48,
                "accurate_pass": 42,
                "tackles": 5,
                "tackles_won": 3,
                "interceptions": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 8,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 20,
            "combined_rank_score": 22.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 30.0,
            "sofascore_rating": 8.0,
            "sofascore_appearances": 1.0,
            "fifa_rank": 15.0,
            "fifa_overall": 89.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.2042,
            "source_file": "data/player_rankings.csv",
            "player_name": "Alejandro Grimaldo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Gabriel",
                  "ranking": 15
                },
                {
                  "player_name": "Cesinha",
                  "ranking": 16
                },
                {
                  "player_name": "James Rodríguez",
                  "ranking": 17
                },
                {
                  "player_name": "Memphis Depay",
                  "ranking": 18
                },
                {
                  "player_name": "Gustavo Henrique",
                  "ranking": 19
                }
              ],
              "lower": [
                {
                  "player_name": "Marc Bartra",
                  "ranking": 21
                },
                {
                  "player_name": "Khvicha Kvaratskhelia",
                  "ranking": 22
                },
                {
                  "player_name": "Danijel Petković",
                  "ranking": 23
                },
                {
                  "player_name": "Angel Fortuno",
                  "ranking": 24
                },
                {
                  "player_name": "Hyun-woo Cho",
                  "ranking": 25
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.688,
          "history_matches": 7,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "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": 7,
            "data_confidence": 0.688,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.015,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (M_service) evaluated 7 historical appearances across 8 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1.7453,
                "expected_assists": 0.1468,
                "assists": 0.1298,
                "assist_rate": 0.1298,
                "expected_goals": 0.2002,
                "goals": 0.1824,
                "goal_rate": 0.1824,
                "shots_on_target": 0.7024,
                "total_shots": 2.1178,
                "rating": 7.2042,
                "minutes": 88.49,
                "total_pass": 51.3732,
                "accurate_pass": 44.4225,
                "duels_won": 4.7392,
                "total_long_balls": 4.0454,
                "accurate_long_balls": 1.7844,
                "total_own_half_passes": 19.3016,
                "accurate_own_half_passes": 18.047,
                "total_opp_half_passes": 32.0716,
                "accurate_opp_half_passes": 26.3755,
                "crosses_total": 4.8728,
                "crosses_accurate": 1.0607,
                "touches": 78.2544,
                "possession_lost": 15.4581,
                "dispossessed": 0.2951,
                "duels_lost": 4.0599,
                "aerial_won": 0.4321,
                "aerial_lost": 0.562,
                "interceptions": 0.9553,
                "tackles_won": 1.3194,
                "tackles": 2.0621,
                "clearances": 1.1469,
                "total_contest": 3.3252,
                "won_contest": 1.7052,
                "challenges_lost": 0.703,
                "fouls": 1.1006,
                "fouls_drawn": 0.5398,
                "blocks": 0.1812,
                "big_chances_created": 0.2951,
                "big_chances_missed": 0.2402,
                "xgot": 0.3195,
                "ball_carries": 19.2624,
                "total_progression": 67.4655,
                "progressive_carries": 2.1242,
                "shots_off_target": 1.4154
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-16T10:31:49.993480+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 895,
                    "rows": 24017
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 8.2
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Osasuna",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0833,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 1.0,
                  "totalShots": 2.0223,
                  "creative_index": 0.6958,
                  "expectedGoals": 0.3712,
                  "expectedAssists": 0.1206,
                  "onTargetScoringAttempt": 1.0816
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.7453254461288452,
                    "model_output": 1.7453,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.16
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1359
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0622
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0532
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0278
                      }
                    ],
                    "decomposition": {
                      "base": 0.893,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1142
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.126
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0991
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0981
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0513
                        }
                      ],
                      "others": 0.3636,
                      "total": 1.7453,
                      "log_link": true,
                      "margin_base": -0.113189,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.120325
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.117911
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.083871
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.076568
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.037854
                        }
                      ],
                      "others_margin": 0.233601
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.1468329280614853,
                    "model_output": 0.1468,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1089
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1043
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1031
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0607
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0542
                      }
                    ],
                    "decomposition": {
                      "base": 0.0856,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": 0.0088
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0094
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0064
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0052
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.005
                        }
                      ],
                      "others": 0.0264,
                      "total": 0.1468,
                      "log_link": true,
                      "margin_base": -2.457601,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": 0.097329
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.095295
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.060048
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.045756
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.042703
                        }
                      ],
                      "others_margin": 0.19801
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.12978245317935944,
                    "model_output": 0.1298,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.057
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.052
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0301
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0295
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0087
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0093
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0075
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0079
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0081
                        }
                      ],
                      "others": 0.0011,
                      "total": 0.1298,
                      "log_link": true,
                      "margin_base": -2.439072,
                      "item_margins": [
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.094778
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.092357
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.068632
                        },
                        {
                          "name": "goals",
                          "margin": 0.067636
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.06472
                        }
                      ],
                      "others_margin": 0.009052
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.20019306242465973,
                    "model_output": 0.2002,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1269
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0844
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0755
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0372
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0272
                      }
                    ],
                    "decomposition": {
                      "base": 0.0943,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0599
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0369
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0229
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0131
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0113
                        }
                      ],
                      "others": -0.012,
                      "total": 0.2002,
                      "log_link": true,
                      "margin_base": -2.361326,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": 0.491473
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.214586
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.113277
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.063156
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.054661
                        }
                      ],
                      "others_margin": -0.057988
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1823510080575943,
                    "model_output": 0.1824,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0894
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0486
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0452
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0389
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0978,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0453
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0335
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0196
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0154
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0136
                        }
                      ],
                      "others": 0.0272,
                      "total": 0.1824,
                      "log_link": true,
                      "margin_base": -2.324947,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.380477
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.210148
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.117456
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.10302
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.092014
                        }
                      ],
                      "others_margin": 0.160963
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.7023910284042358,
                    "model_output": 0.7024,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1038
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0848
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0823
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0306
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.3257,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.1131
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.1489
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0848
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.065
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0415
                        }
                      ],
                      "others": 0.093,
                      "total": 0.7024,
                      "log_link": true,
                      "margin_base": -1.121688,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.29813
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.292188
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.155803
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.121472
                        },
                        {
                          "name": "goals",
                          "margin": 0.070583
                        }
                      ],
                      "others_margin": 0.141854
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 2.1178019046783447,
                    "model_output": 2.1178,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1304
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.1272
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0577
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0476
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0242
                      }
                    ],
                    "decomposition": {
                      "base": 0.9955,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.6609
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1716
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.1494
                        },
                        {
                          "name": "goals",
                          "contribution": 0.1069
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0787
                        }
                      ],
                      "others": -0.0452,
                      "total": 2.1178,
                      "log_link": false,
                      "margin_base": 0.995535,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.660872
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.171644
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.149414
                        },
                        {
                          "name": "goals",
                          "margin": 0.106882
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.078733
                        }
                      ],
                      "others_margin": -0.045276
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.2041754722595215,
                    "model_output": 7.2042,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0934
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0793
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0569
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0427
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 6.8531,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.134
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.1009
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0366
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0326
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.026
                        }
                      ],
                      "others": 0.021,
                      "total": 7.2042,
                      "log_link": false,
                      "margin_base": 6.853057,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.134033
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.100878
                        },
                        {
                          "name": "touches",
                          "margin": 0.036634
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.03258
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.025977
                        }
                      ],
                      "others_margin": 0.021018
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 7,
                  "role_matches": 7,
                  "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.0150, quality 0.625)",
              "stats": {
                "key_pass": 1.7715,
                "expected_assists": 0.149,
                "assists": 0.1317,
                "assist_rate": 0.1317,
                "expected_goals": 0.2032,
                "goals": 0.1851,
                "goal_rate": 0.1851,
                "shots_on_target": 0.7129,
                "total_shots": 2.1496,
                "rating": 7.2042,
                "minutes": 88.49,
                "total_pass": 52.1438,
                "accurate_pass": 45.0888,
                "duels_won": 4.8103,
                "total_long_balls": 4.1061,
                "accurate_long_balls": 1.8112,
                "total_own_half_passes": 19.5911,
                "accurate_own_half_passes": 18.3177,
                "total_opp_half_passes": 32.5527,
                "accurate_opp_half_passes": 26.7711,
                "crosses_total": 4.9459,
                "crosses_accurate": 1.0766,
                "touches": 79.4282,
                "possession_lost": 15.69,
                "dispossessed": 0.2995,
                "duels_lost": 4.1208,
                "aerial_won": 0.4386,
                "aerial_lost": 0.5704,
                "interceptions": 0.9696,
                "tackles_won": 1.3392,
                "tackles": 2.093,
                "clearances": 1.1641,
                "total_contest": 3.3751,
                "won_contest": 1.7308,
                "challenges_lost": 0.7135,
                "fouls": 1.1171,
                "fouls_drawn": 0.5479,
                "blocks": 0.1839,
                "big_chances_created": 0.2995,
                "big_chances_missed": 0.2438,
                "xgot": 0.3243,
                "ball_carries": 19.5513,
                "total_progression": 68.4775,
                "progressive_carries": 2.1561,
                "shots_off_target": 1.4366
              },
              "params": {
                "market_value_eur": 19400000,
                "quality_factor": 0.6251,
                "boost_factor": 1.015,
                "reference_quality": 0.505,
                "history_matches": 7,
                "history_shrink": 0.4167,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.7715,
                "expected_assists": 0.149,
                "assists": 0.1317,
                "assist_rate": 0.1317,
                "expected_goals": 0.2032,
                "goals": 0.1851,
                "goal_rate": 0.1851,
                "shots_on_target": 0.7129,
                "total_shots": 2.1496,
                "rating": 7.2042,
                "minutes": 88.49,
                "total_pass": 52.1438,
                "accurate_pass": 45.0888,
                "duels_won": 4.8103,
                "total_long_balls": 4.1061,
                "accurate_long_balls": 1.8112,
                "total_own_half_passes": 19.5911,
                "accurate_own_half_passes": 18.3177,
                "total_opp_half_passes": 32.5527,
                "accurate_opp_half_passes": 26.7711,
                "crosses_total": 4.9459,
                "crosses_accurate": 1.0766,
                "touches": 79.4282,
                "possession_lost": 15.69,
                "dispossessed": 0.2995,
                "duels_lost": 4.1208,
                "aerial_won": 0.4386,
                "aerial_lost": 0.5704,
                "interceptions": 0.9696,
                "tackles_won": 1.3392,
                "tackles": 2.093,
                "clearances": 1.1641,
                "total_contest": 3.3751,
                "won_contest": 1.7308,
                "challenges_lost": 0.7135,
                "fouls": 1.1171,
                "fouls_drawn": 0.5479,
                "blocks": 0.1839,
                "big_chances_created": 0.2995,
                "big_chances_missed": 0.2438,
                "xgot": 0.3243,
                "ball_carries": 19.5513,
                "total_progression": 68.4775,
                "progressive_carries": 2.1561,
                "shots_off_target": 1.4366
              },
              "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.7715,
                "expected_assists": 0.149,
                "assists": 0.1317,
                "assist_rate": 0.1317,
                "expected_goals": 0.2062,
                "goals": 0.1879,
                "goal_rate": 0.1879,
                "shots_on_target": 0.7235,
                "total_shots": 2.1816,
                "rating": 7.2042,
                "minutes": 88.49,
                "total_pass": 52.1438,
                "accurate_pass": 45.0888,
                "duels_won": 4.8103,
                "total_long_balls": 4.1061,
                "accurate_long_balls": 1.8112,
                "total_own_half_passes": 19.5911,
                "accurate_own_half_passes": 18.3177,
                "total_opp_half_passes": 32.5527,
                "accurate_opp_half_passes": 26.7711,
                "crosses_total": 4.9459,
                "crosses_accurate": 1.0766,
                "touches": 79.4282,
                "possession_lost": 15.69,
                "dispossessed": 0.2995,
                "duels_lost": 4.1208,
                "aerial_won": 0.8,
                "aerial_lost": 0.5704,
                "interceptions": 0.9696,
                "tackles_won": 1.3392,
                "tackles": 2.093,
                "clearances": 1.1641,
                "total_contest": 3.3751,
                "won_contest": 1.7308,
                "challenges_lost": 0.7135,
                "fouls": 1.1171,
                "fouls_drawn": 0.5479,
                "blocks": 0.1839,
                "big_chances_created": 0.2995,
                "big_chances_missed": 0.2474,
                "xgot": 0.3291,
                "ball_carries": 19.5513,
                "total_progression": 68.4775,
                "progressive_carries": 2.1561,
                "shots_off_target": 1.458,
                "duel_xg_multiplier": 1.0149,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 1.7,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.49,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Clemens Riedel",
                "opponent_faced": "Clemens Riedel",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Clemens Riedel",
                  "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                  "duel_win_rate": 0.49,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 1.0149,
                  "skill_edge": 0.0702,
                  "height_edge": -0.06,
                  "attacker_skill": 0.6251,
                  "defender_skill": 0.4692,
                  "attacker_role": "RW",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Clemens Riedel",
                      "market_value": 3900000,
                      "role": "LB",
                      "price_index": 0.7,
                      "adjusted_quality": 0.4692
                    }
                  ],
                  "xg_override": 0.2062
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.4386,
                  "after": 0.8
                },
                {
                  "stat": "totalShots",
                  "before": 2.1496,
                  "after": 2.1816
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.4366,
                  "after": 1.458
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.7129,
                  "after": 0.7235
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 1.7715,
                "expected_assists": 0.149,
                "assist_rate": 0.1317,
                "assists": 0,
                "expected_goals": 0.2062,
                "goal_rate": 0.1879,
                "goals": 0,
                "shots_on_target": 0.7235,
                "total_shots": 2.1816,
                "rating": 7.2042,
                "minutes": 88.49,
                "total_pass": 52.1438,
                "accurate_pass": 45.0888,
                "duels_won": 4.8103,
                "total_long_balls": 4.1061,
                "accurate_long_balls": 1.8112,
                "total_own_half_passes": 19.5911,
                "accurate_own_half_passes": 18.3177,
                "total_opp_half_passes": 32.5527,
                "accurate_opp_half_passes": 26.7711,
                "crosses_total": 4.9459,
                "crosses_accurate": 1.0766,
                "touches": 79.4282,
                "possession_lost": 15.69,
                "dispossessed": 0.2995,
                "duels_lost": 4.1208,
                "aerial_won": 0.8,
                "aerial_lost": 0.5704,
                "interceptions": 0.9696,
                "tackles_won": 1.3392,
                "tackles": 2.093,
                "clearances": 1.1641,
                "total_contest": 3.3751,
                "won_contest": 1.7308,
                "challenges_lost": 0.7135,
                "fouls": 1.1171,
                "fouls_drawn": 0.5479,
                "blocks": 0.1839,
                "big_chances_created": 0.2995,
                "big_chances_missed": 0.2474,
                "xgot": 0.3291,
                "ball_carries": 19.5513,
                "total_progression": 68.4775,
                "progressive_carries": 2.1561,
                "shots_off_target": 1.458,
                "duel_xg_multiplier": 1.0149,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 1.7,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.49,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Clemens Riedel",
                "opponent_faced": "Clemens Riedel",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.33 (squad xG sum 1.6168, xG scale 1.4380, xA scale 1.4481, team xA 1.51 = 0.65 x lambda)",
              "stats": {
                "key_pass": 1.7715,
                "expected_assists": 0.2159,
                "assist_rate": 0.1317,
                "assists": 0,
                "expected_goals": 0.2965,
                "goal_rate": 0.1879,
                "goals": 0,
                "shots_on_target": 0.7235,
                "total_shots": 2.1816,
                "rating": 7.2042,
                "minutes": 88.49,
                "total_pass": 52.1438,
                "accurate_pass": 45.0888,
                "duels_won": 4.8103,
                "total_long_balls": 4.1061,
                "accurate_long_balls": 1.8112,
                "total_own_half_passes": 19.5911,
                "accurate_own_half_passes": 18.3177,
                "total_opp_half_passes": 32.5527,
                "accurate_opp_half_passes": 26.7711,
                "crosses_total": 4.9459,
                "crosses_accurate": 1.0766,
                "touches": 79.4282,
                "possession_lost": 15.69,
                "dispossessed": 0.2995,
                "duels_lost": 4.1208,
                "aerial_won": 0.8,
                "aerial_lost": 0.5704,
                "interceptions": 0.9696,
                "tackles_won": 1.3392,
                "tackles": 2.093,
                "clearances": 1.1641,
                "total_contest": 3.3751,
                "won_contest": 1.7308,
                "challenges_lost": 0.7135,
                "fouls": 1.1171,
                "fouls_drawn": 0.5479,
                "blocks": 0.1839,
                "big_chances_created": 0.2995,
                "big_chances_missed": 0.2474,
                "xgot": 0.4733,
                "ball_carries": 19.5513,
                "total_progression": 68.4775,
                "progressive_carries": 2.1561,
                "shots_off_target": 1.458,
                "duel_xg_multiplier": 1.0149,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 1.7,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.49,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Clemens Riedel",
                "opponent_faced": "Clemens Riedel",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9286,
                "creation_factor": 0.9131
              },
              "params": {
                "team_lambda": 2.325,
                "squad_xg_sum": 1.6168,
                "squad_xa_sum": 1.0436,
                "team_expected_assists": 1.5113,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.438,
                "xa_scale": 1.4481,
                "opponent_lambda": 1.337,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2062,
                  "after": 0.2965
                },
                {
                  "stat": "expected_assists",
                  "before": 0.149,
                  "after": 0.2159
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 1 by projected rating, fifa_overall 89.0)",
              "stats": {
                "key_pass": 1.7715,
                "expected_assists": 0.2159,
                "assist_rate": 0.1317,
                "assists": 0,
                "expected_goals": 0.2965,
                "goal_rate": 0.1879,
                "goals": 0,
                "shots_on_target": 0.7235,
                "total_shots": 2.1816,
                "rating": 7.2042,
                "minutes": 88.49,
                "total_pass": 52.1438,
                "accurate_pass": 45.0888,
                "duels_won": 4.8103,
                "total_long_balls": 4.1061,
                "accurate_long_balls": 1.8112,
                "total_own_half_passes": 19.5911,
                "accurate_own_half_passes": 18.3177,
                "total_opp_half_passes": 32.5527,
                "accurate_opp_half_passes": 26.7711,
                "crosses_total": 4.9459,
                "crosses_accurate": 1.0766,
                "touches": 79.4282,
                "possession_lost": 15.69,
                "dispossessed": 0.2995,
                "duels_lost": 4.1208,
                "aerial_won": 0.8,
                "aerial_lost": 0.5704,
                "interceptions": 0.9696,
                "tackles_won": 1.3392,
                "tackles": 2.093,
                "clearances": 1.1641,
                "total_contest": 3.3751,
                "won_contest": 1.7308,
                "challenges_lost": 0.7135,
                "fouls": 1.1171,
                "fouls_drawn": 0.5479,
                "blocks": 0.1839,
                "big_chances_created": 0.2995,
                "big_chances_missed": 0.2474,
                "xgot": 0.4733,
                "ball_carries": 19.5513,
                "total_progression": 68.4775,
                "progressive_carries": 2.1561,
                "shots_off_target": 1.458,
                "duel_xg_multiplier": 1.0149,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 1.7,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.49,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Clemens Riedel",
                "opponent_faced": "Clemens Riedel",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9286,
                "creation_factor": 0.9131,
                "fifa_overall": 89.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": 20,
                "fifa_rank": 15.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 89.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 1.7715,
                "expected_assists": 0.2159,
                "assist_rate": 0.1317,
                "assists": 0,
                "expected_goals": 0.2965,
                "goal_rate": 0.1879,
                "goals": 0,
                "shots_on_target": 0.7235,
                "total_shots": 2.1816,
                "rating": 7.2042,
                "minutes": 88.49,
                "total_pass": 52.1438,
                "accurate_pass": 45.0888,
                "duels_won": 4.8103,
                "total_long_balls": 4.1061,
                "accurate_long_balls": 1.8112,
                "total_own_half_passes": 19.5911,
                "accurate_own_half_passes": 18.3177,
                "total_opp_half_passes": 32.5527,
                "accurate_opp_half_passes": 26.7711,
                "crosses_total": 4.9459,
                "crosses_accurate": 1.0766,
                "touches": 79.4282,
                "possession_lost": 15.69,
                "dispossessed": 0.2995,
                "duels_lost": 4.1208,
                "aerial_won": 0.8,
                "aerial_lost": 0.5704,
                "interceptions": 0.9696,
                "tackles_won": 1.3392,
                "tackles": 2.093,
                "clearances": 1.1641,
                "total_contest": 3.3751,
                "won_contest": 1.7308,
                "challenges_lost": 0.7135,
                "fouls": 1.1171,
                "fouls_drawn": 0.5479,
                "blocks": 0.1839,
                "big_chances_created": 0.2995,
                "big_chances_missed": 0.2474,
                "xgot": 0.4733,
                "ball_carries": 19.5513,
                "total_progression": 68.4775,
                "progressive_carries": 2.1561,
                "shots_off_target": 1.458,
                "duel_xg_multiplier": 1.0149,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 1.7,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.49,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Clemens Riedel",
                "opponent_faced": "Clemens Riedel",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.2566,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9286,
                "creation_factor": 0.9131,
                "fifa_overall": 89.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.2566,
                "goal_rate": 0.1879,
                "scorer_weight": 0.2753,
                "squad_weight_total": 2.409,
                "weight_share": 0.1143,
                "finishing_factor": 0.9286,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Jonathan David",
                    "weight": 0.71,
                    "already": 0,
                    "effective_weight": 0.71,
                    "runner_up": "Ademola Lookman",
                    "runner_up_effective_weight": 0.4553
                  },
                  {
                    "n": 2,
                    "player": "Ademola Lookman",
                    "weight": 0.4553,
                    "already": 0,
                    "effective_weight": 0.4553,
                    "runner_up": "Jonathan David",
                    "runner_up_effective_weight": 0.3021
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 1.7715,
                "expected_assists": 0.2159,
                "assist_rate": 0.1317,
                "assists": 1,
                "expected_goals": 0.2965,
                "goal_rate": 0.1879,
                "goals": 0,
                "shots_on_target": 0.7235,
                "total_shots": 2.1816,
                "rating": 7.2042,
                "minutes": 88.49,
                "total_pass": 52.1438,
                "accurate_pass": 45.0888,
                "duels_won": 4.8103,
                "total_long_balls": 4.1061,
                "accurate_long_balls": 1.8112,
                "total_own_half_passes": 19.5911,
                "accurate_own_half_passes": 18.3177,
                "total_opp_half_passes": 32.5527,
                "accurate_opp_half_passes": 26.7711,
                "crosses_total": 4.9459,
                "crosses_accurate": 1.0766,
                "touches": 79.4282,
                "possession_lost": 15.69,
                "dispossessed": 0.2995,
                "duels_lost": 4.1208,
                "aerial_won": 0.8,
                "aerial_lost": 0.5704,
                "interceptions": 0.9696,
                "tackles_won": 1.3392,
                "tackles": 2.093,
                "clearances": 1.1641,
                "total_contest": 3.3751,
                "won_contest": 1.7308,
                "challenges_lost": 0.7135,
                "fouls": 1.1171,
                "fouls_drawn": 0.5479,
                "blocks": 0.1839,
                "big_chances_created": 0.2995,
                "big_chances_missed": 0.2474,
                "xgot": 0.4733,
                "ball_carries": 19.5513,
                "total_progression": 68.4775,
                "progressive_carries": 2.1561,
                "shots_off_target": 1.458,
                "duel_xg_multiplier": 1.0149,
                "dribbles_attempted": 4.0,
                "dribbles_successful": 1.7,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.49,
                "pressing_faced": "LOW",
                "matchup_zone": "Right Wing vs Left Back — Flank Battle",
                "numerical_situation": "1v1",
                "opponent_defenders": "Clemens Riedel",
                "opponent_faced": "Clemens Riedel",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.2566,
                "projected_assists": 1,
                "assist_probability": 0.1942,
                "finishing_factor": 0.9286,
                "creation_factor": 0.9131,
                "fifa_overall": 89.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 1,
                "assist_probability": 0.1942,
                "assist_rate": 0.1317,
                "provider_weight": 0.1971,
                "squad_weight_total": 1.5221,
                "weight_share": 0.1295,
                "creation_factor": 0.9131,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alejandro Grimaldo",
                    "weight": 0.1971,
                    "already": 0,
                    "effective_weight": 0.1971,
                    "runner_up": "Alex Baena",
                    "runner_up_effective_weight": 0.1837
                  }
                ]
              }
            }
          ]
        },
        "Robin Le Normand": {
          "player_id": 787751,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 24,
          "height": 187,
          "market_value": 17200000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 5,
            "aerial_won": 2,
            "total_shots": 0,
            "rating": 6.7314,
            "minutes": 80,
            "total_pass": 43,
            "accurate_pass": 39,
            "duels_won": 4,
            "total_long_balls": 4,
            "accurate_long_balls": 2,
            "total_own_half_passes": 30,
            "accurate_own_half_passes": 28,
            "total_opp_half_passes": 13,
            "accurate_opp_half_passes": 11,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 54,
            "possession_lost": 4.9892,
            "dispossessed": 0.1769,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 4,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.1469,
            "goals": 0,
            "assist_rate": 0.0581,
            "assists": 0,
            "expected_goals": 0.0318,
            "expected_assists": 0.0107,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0549,
            "ball_carries": 12,
            "total_progression": 27,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 1.0,
            "interceptions_in_zone": 1.0,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 0.6,
            "defensive_success_rate": 0.82,
            "opponent_faced": "Roberto Fernández",
            "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0313,
            "projected_assists": 0,
            "assist_probability": 0.0106,
            "finishing_factor": 1.25,
            "creation_factor": 1.25,
            "fifa_overall": 81.0
          },
          "latest_10_games": [
            {
              "match_id": 16421056,
              "match_date": "2026-10-10",
              "home_team": "Deportivo Alavés",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 62,
                "rating": 5.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0045,
                "total_shots": 0,
                "total_pass": 41,
                "accurate_pass": 37,
                "tackles": 1,
                "interceptions": 1,
                "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": 16416339,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 8,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416335,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 8.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0146,
                "expected_assists": 0.0069,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 68,
                "accurate_pass": 63,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 6,
                "aerial_won": 3,
                "duels_won": 5,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "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": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 76,
                "rating": 5.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0039,
                "total_shots": 0,
                "total_pass": 35,
                "accurate_pass": 32,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421055,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0029,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 28,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 3,
                "clearances": 8,
                "aerial_won": 3,
                "duels_won": 6,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083661,
              "match_date": "2026-05-17",
              "home_team": "Atlético Madrid",
              "away_team": "Girona FC",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0291,
                "total_shots": 0,
                "total_pass": 52,
                "accurate_pass": 44,
                "tackles": 7,
                "tackles_won": 4,
                "clearances": 8,
                "aerial_won": 2,
                "duels_won": 9,
                "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": 14083634,
              "match_date": "2026-05-12",
              "home_team": "Osasuna",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 72,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0013,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 16,
                "interceptions": 2,
                "clearances": 4,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083551,
              "match_date": "2026-05-09",
              "home_team": "Atlético Madrid",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 49,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0063,
                "total_shots": 0,
                "total_pass": 37,
                "accurate_pass": 32,
                "interceptions": 4,
                "aerial_won": 3,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083476,
              "match_date": "2026-05-02",
              "home_team": "Valencia",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1861,
                "expected_assists": 0.008,
                "total_shots": 3,
                "shots_off_target": 1,
                "total_pass": 36,
                "accurate_pass": 33,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 3,
                "clearances": 6,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083242,
              "match_date": "2026-04-25",
              "home_team": "Atlético Madrid",
              "away_team": "Athletic Club",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 18,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 8,
                "tackles": 2,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 3
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 701,
            "combined_rank_score": 338.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 100.0,
            "sofascore_rating": 7.475,
            "sofascore_appearances": 4.0,
            "fifa_rank": 576.0,
            "fifa_overall": 81.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7314,
            "source_file": "data/player_rankings.csv",
            "player_name": "Robin Le Normand",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jamal Lewis",
                  "ranking": 696
                },
                {
                  "player_name": "Lasha Dvali",
                  "ranking": 697
                },
                {
                  "player_name": "Haris Hajdarević",
                  "ranking": 698
                },
                {
                  "player_name": "Adam Wharton",
                  "ranking": 699
                },
                {
                  "player_name": "Ji-ung Baek",
                  "ranking": 700
                }
              ],
              "lower": [
                {
                  "player_name": "Jonathan Villagra",
                  "ranking": 702
                },
                {
                  "player_name": "Bo-seob Kim",
                  "ranking": 703
                },
                {
                  "player_name": "Mateo Retegui",
                  "ranking": 704
                },
                {
                  "player_name": "Abdukodir Khusanov",
                  "ranking": 705
                },
                {
                  "player_name": "Bradley Barcola",
                  "ranking": 706
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.768,
          "history_matches": 33,
          "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": 33,
            "data_confidence": 0.768,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0039,
            "fbref_prior_metrics": {
              "squad": "Atlético Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "minutes": 165.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.12
            },
            "rationale": "XGBoost regressor (D_service) evaluated 33 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Atlético Madrid, rel: 0.12, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1.0059,
                "tackles": 1.3874,
                "tackles_won": 0.8047,
                "clearances": 4.5796,
                "aerial_won": 1.8167,
                "total_shots": 0.3456,
                "rating": 6.7314,
                "minutes": 80.35,
                "total_pass": 43.0523,
                "accurate_pass": 38.7411,
                "duels_won": 4.3333,
                "total_long_balls": 4.1449,
                "accurate_long_balls": 2.0201,
                "total_own_half_passes": 29.6188,
                "accurate_own_half_passes": 27.7239,
                "total_opp_half_passes": 13.4334,
                "accurate_opp_half_passes": 11.0172,
                "crosses_total": 0.0083,
                "crosses_accurate": 0.0,
                "touches": 54.0271,
                "possession_lost": 4.9698,
                "dispossessed": 0.1762,
                "duels_lost": 3.1114,
                "aerial_lost": 1.0702,
                "total_contest": 0.217,
                "won_contest": 0.0,
                "ball_recovery": 3.5333,
                "challenges_lost": 0.3429,
                "fouls": 1.3111,
                "fouls_drawn": 0.546,
                "blocks": 0.1444,
                "goals": 0.1478,
                "goal_rate": 0.1478,
                "assists": 0.0585,
                "assist_rate": 0.0585,
                "expected_goals": 0.022,
                "expected_assists": 0.0074,
                "shots_on_target": 0.1478,
                "big_chances_created": 0.0609,
                "xgot": 0.0381,
                "ball_carries": 12.0663,
                "total_progression": 27.1521,
                "progressive_carries": 0.1719,
                "key_pass": 0.0585,
                "shots_off_target": 0.1978
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-16T10:30:59.837052+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 625,
                    "rows": 21030
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Deportivo Alavés",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.1507,
                    "rating": 5.7
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Madrid",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.1281,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1089,
                    "rating": 8.3
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Villarreal",
                    "minutes": 76.0,
                    "is_starting": true,
                    "weight": 0.0926,
                    "rating": 5.6
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0787,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Girona FC",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0669,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Osasuna",
                    "minutes": 72.0,
                    "is_starting": false,
                    "weight": 0.0568,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Celta Vigo",
                    "minutes": 49.0,
                    "is_starting": false,
                    "weight": 0.0483,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0411,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-04-25",
                    "opponent": "Athletic Club",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.0349,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 3.405,
                  "aerialWon": 1.7551,
                  "totalClearance_p90": 4.2021,
                  "totalTackle": 1.3178,
                  "defensive_actions": 2.3183
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.0059287548065186,
                    "model_output": 1.0059,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2924
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0396
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0252
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0247
                      },
                      {
                        "name": "touches",
                        "importance": 0.0228
                      }
                    ],
                    "decomposition": {
                      "base": 0.8609,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0975
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0509
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0243
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0178
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0113
                        }
                      ],
                      "others": -0.0212,
                      "total": 1.0059,
                      "log_link": true,
                      "margin_base": -0.149807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.107292
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.051723
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.023834
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.017351
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.011075
                        }
                      ],
                      "others_margin": -0.020856
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.3873693943023682,
                    "model_output": 1.3874,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2589
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0677
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.049
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.044
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 1.3915,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.192
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0647
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0629
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0549
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.044
                        }
                      ],
                      "others": -0.0954,
                      "total": 1.3874,
                      "log_link": true,
                      "margin_base": 0.330386,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.129251
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.041729
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.04055
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.035349
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.029215
                        }
                      ],
                      "others_margin": -0.066484
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.8047434091567993,
                    "model_output": 0.8047,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2078
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0673
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0422
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0415
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.8542,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1223
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0516
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0361
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0316
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0293
                        }
                      ],
                      "others": -0.0818,
                      "total": 0.8047,
                      "log_link": true,
                      "margin_base": -0.157629,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.133809
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.054318
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.039769
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.036198
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.033574
                        }
                      ],
                      "others_margin": -0.096702
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 4.579615116119385,
                    "model_output": 4.5796,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2949
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0875
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0204
                      }
                    ],
                    "decomposition": {
                      "base": 3.4327,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4789
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.4122
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.1409
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.1343
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0965
                        }
                      ],
                      "others": 0.1527,
                      "total": 4.5796,
                      "log_link": true,
                      "margin_base": 1.233356,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.130596
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.100191
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.032064
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.030552
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.022037
                        }
                      ],
                      "others_margin": 0.033921
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.8167240619659424,
                    "model_output": 1.8167,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1614
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1583
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0863
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 1.3773,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": 0.2117
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1713
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0674
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0617
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0589
                        }
                      ],
                      "others": -0.0138,
                      "total": 1.8167,
                      "log_link": true,
                      "margin_base": 0.320134,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": 0.142981
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.102392
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.037548
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.033216
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.031676
                        }
                      ],
                      "others_margin": -0.007559
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.34556877613067627,
                    "model_output": 0.3456,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.105
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.033
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0307
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 0.4745,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1037
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0473
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0181
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0165
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0108
                        }
                      ],
                      "others": -0.0633,
                      "total": 0.3456,
                      "log_link": false,
                      "margin_base": 0.474501,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.103692
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.047253
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.01806
                        },
                        {
                          "name": "rating",
                          "margin": -0.016482
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.01078
                        }
                      ],
                      "others_margin": -0.06329
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.731377601623535,
                    "model_output": 6.7314,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0634
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0627
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0603
                      },
                      {
                        "name": "touches",
                        "importance": 0.0395
                      },
                      {
                        "name": "rating",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 6.7847,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": -0.0195
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0134
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0116
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0065
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0065
                        }
                      ],
                      "others": -0.0088,
                      "total": 6.7314,
                      "log_link": false,
                      "margin_base": 6.784704,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.019493
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.0134
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.011556
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.006485
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.006463
                        }
                      ],
                      "others_margin": -0.008854
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 33,
                  "role_matches": 21,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0039, quality 0.603)",
              "stats": {
                "interceptions": 1.0099,
                "tackles": 1.3928,
                "tackles_won": 0.8079,
                "clearances": 4.5975,
                "aerial_won": 1.8238,
                "total_shots": 0.347,
                "rating": 6.7314,
                "minutes": 80.35,
                "total_pass": 43.2202,
                "accurate_pass": 38.8922,
                "duels_won": 4.3502,
                "total_long_balls": 4.1611,
                "accurate_long_balls": 2.028,
                "total_own_half_passes": 29.7343,
                "accurate_own_half_passes": 27.832,
                "total_opp_half_passes": 13.4858,
                "accurate_opp_half_passes": 11.0602,
                "crosses_total": 0.0083,
                "crosses_accurate": 0.0,
                "touches": 54.2378,
                "possession_lost": 4.9892,
                "dispossessed": 0.1769,
                "duels_lost": 3.1235,
                "aerial_lost": 1.0744,
                "total_contest": 0.2178,
                "won_contest": 0.0,
                "ball_recovery": 3.5471,
                "challenges_lost": 0.3442,
                "fouls": 1.3162,
                "fouls_drawn": 0.5481,
                "blocks": 0.145,
                "goals": 0.1484,
                "goal_rate": 0.1484,
                "assists": 0.0587,
                "assist_rate": 0.0587,
                "expected_goals": 0.0221,
                "expected_assists": 0.0074,
                "shots_on_target": 0.1484,
                "big_chances_created": 0.0611,
                "xgot": 0.0382,
                "ball_carries": 12.1134,
                "total_progression": 27.258,
                "progressive_carries": 0.1726,
                "key_pass": 0.0587,
                "shots_off_target": 0.1986
              },
              "params": {
                "market_value_eur": 17200000,
                "quality_factor": 0.6027,
                "boost_factor": 1.0039,
                "reference_quality": 0.505,
                "history_matches": 33,
                "history_shrink": 0.1316,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0103)",
              "stats": {
                "interceptions": 1.0199,
                "tackles": 1.3928,
                "tackles_won": 0.8098,
                "clearances": 4.5975,
                "aerial_won": 1.8238,
                "total_shots": 0.3434,
                "rating": 6.7314,
                "minutes": 80.35,
                "total_pass": 43.2202,
                "accurate_pass": 38.8922,
                "duels_won": 4.3502,
                "total_long_balls": 4.1611,
                "accurate_long_balls": 2.028,
                "total_own_half_passes": 29.7343,
                "accurate_own_half_passes": 27.832,
                "total_opp_half_passes": 13.4858,
                "accurate_opp_half_passes": 11.0602,
                "crosses_total": 0.0082,
                "crosses_accurate": 0.0,
                "touches": 54.2378,
                "possession_lost": 4.9892,
                "dispossessed": 0.1769,
                "duels_lost": 3.1235,
                "aerial_lost": 1.0744,
                "total_contest": 0.2178,
                "won_contest": 0.0,
                "ball_recovery": 3.5471,
                "challenges_lost": 0.3442,
                "fouls": 1.3129,
                "fouls_drawn": 0.5476,
                "blocks": 0.145,
                "goals": 0.1469,
                "goal_rate": 0.1469,
                "assists": 0.0581,
                "assist_rate": 0.0581,
                "expected_goals": 0.0221,
                "expected_assists": 0.0074,
                "shots_on_target": 0.1469,
                "big_chances_created": 0.0611,
                "xgot": 0.0382,
                "ball_carries": 12.1134,
                "total_progression": 27.258,
                "progressive_carries": 0.1726,
                "key_pass": 0.0587,
                "shots_off_target": 0.1986
              },
              "params": {
                "blend_weight": 0.0103,
                "history_matches": 33,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8928,
                "prior_reliability": 0.12,
                "competition": "La Liga",
                "squad": "Atlético Madrid"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 1.0099,
                  "after": 1.0199
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.0199,
                "tackles": 1.3928,
                "tackles_won": 0.8098,
                "clearances": 4.5975,
                "aerial_won": 1.8238,
                "total_shots": 0.3455,
                "rating": 6.7314,
                "minutes": 80.35,
                "total_pass": 43.2202,
                "accurate_pass": 38.8922,
                "duels_won": 4.3502,
                "total_long_balls": 4.1611,
                "accurate_long_balls": 2.028,
                "total_own_half_passes": 29.7343,
                "accurate_own_half_passes": 27.832,
                "total_opp_half_passes": 13.4858,
                "accurate_opp_half_passes": 11.0602,
                "crosses_total": 0.0082,
                "crosses_accurate": 0.0,
                "touches": 54.2378,
                "possession_lost": 4.9892,
                "dispossessed": 0.1769,
                "duels_lost": 3.1235,
                "aerial_lost": 1.0744,
                "total_contest": 0.2178,
                "won_contest": 0.0,
                "ball_recovery": 3.5471,
                "challenges_lost": 0.3442,
                "fouls": 1.3129,
                "fouls_drawn": 0.5476,
                "blocks": 0.145,
                "goals": 0.1469,
                "goal_rate": 0.1469,
                "assists": 0.0581,
                "assist_rate": 0.0581,
                "expected_goals": 0.0221,
                "expected_assists": 0.0074,
                "shots_on_target": 0.1469,
                "big_chances_created": 0.0611,
                "xgot": 0.0382,
                "ball_carries": 12.1134,
                "total_progression": 27.258,
                "progressive_carries": 0.1726,
                "key_pass": 0.0587,
                "shots_off_target": 0.1986
              },
              "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": 1.0199,
                "tackles": 1.3928,
                "tackles_won": 0.8098,
                "clearances": 4.5975,
                "aerial_won": 1.8238,
                "total_shots": 0.3455,
                "rating": 6.7314,
                "minutes": 80.35,
                "total_pass": 43.2202,
                "accurate_pass": 38.8922,
                "duels_won": 4.3502,
                "total_long_balls": 4.1611,
                "accurate_long_balls": 2.028,
                "total_own_half_passes": 29.7343,
                "accurate_own_half_passes": 27.832,
                "total_opp_half_passes": 13.4858,
                "accurate_opp_half_passes": 11.0602,
                "crosses_total": 0.0082,
                "crosses_accurate": 0.0,
                "touches": 54.2378,
                "possession_lost": 4.9892,
                "dispossessed": 0.1769,
                "duels_lost": 3.1235,
                "aerial_lost": 1.0744,
                "total_contest": 0.2178,
                "won_contest": 0.0,
                "ball_recovery": 3.5471,
                "challenges_lost": 0.3442,
                "fouls": 1.3129,
                "fouls_drawn": 0.5476,
                "blocks": 0.145,
                "goals": 0.1469,
                "goal_rate": 0.1469,
                "assists": 0.0581,
                "assist_rate": 0.0581,
                "expected_goals": 0.0221,
                "expected_assists": 0.0074,
                "shots_on_target": 0.1469,
                "big_chances_created": 0.0611,
                "xgot": 0.0382,
                "ball_carries": 12.1134,
                "total_progression": 27.258,
                "progressive_carries": 0.1726,
                "key_pass": 0.0587,
                "shots_off_target": 0.1986,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.0,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Roberto Fernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Roberto Fernández",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 1.0199,
                "tackles": 1.3928,
                "tackles_won": 0.8098,
                "clearances": 4.5975,
                "aerial_won": 1.8238,
                "total_shots": 0.3455,
                "rating": 6.7314,
                "minutes": 80.35,
                "total_pass": 43.2202,
                "accurate_pass": 38.8922,
                "duels_won": 4.3502,
                "total_long_balls": 4.1611,
                "accurate_long_balls": 2.028,
                "total_own_half_passes": 29.7343,
                "accurate_own_half_passes": 27.832,
                "total_opp_half_passes": 13.4858,
                "accurate_opp_half_passes": 11.0602,
                "crosses_total": 0.0082,
                "crosses_accurate": 0.0,
                "touches": 54.2378,
                "possession_lost": 4.9892,
                "dispossessed": 0.1769,
                "duels_lost": 3.1235,
                "aerial_lost": 1.0744,
                "total_contest": 0.2178,
                "won_contest": 0.0,
                "ball_recovery": 3.5471,
                "challenges_lost": 0.3442,
                "fouls": 1.3129,
                "fouls_drawn": 0.5476,
                "blocks": 0.145,
                "goal_rate": 0.1469,
                "goals": 0,
                "assist_rate": 0.0581,
                "assists": 0,
                "expected_goals": 0.0221,
                "expected_assists": 0.0074,
                "shots_on_target": 0.1469,
                "big_chances_created": 0.0611,
                "xgot": 0.0382,
                "ball_carries": 12.1134,
                "total_progression": 27.258,
                "progressive_carries": 0.1726,
                "key_pass": 0.0587,
                "shots_off_target": 0.1986,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.0,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Roberto Fernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.33 (squad xG sum 1.6168, xG scale 1.4380, xA scale 1.4481, team xA 1.51 = 0.65 x lambda)",
              "stats": {
                "interceptions": 1.0199,
                "tackles": 1.3928,
                "tackles_won": 0.8098,
                "clearances": 4.5975,
                "aerial_won": 1.8238,
                "total_shots": 0.3455,
                "rating": 6.7314,
                "minutes": 80.35,
                "total_pass": 43.2202,
                "accurate_pass": 38.8922,
                "duels_won": 4.3502,
                "total_long_balls": 4.1611,
                "accurate_long_balls": 2.028,
                "total_own_half_passes": 29.7343,
                "accurate_own_half_passes": 27.832,
                "total_opp_half_passes": 13.4858,
                "accurate_opp_half_passes": 11.0602,
                "crosses_total": 0.0082,
                "crosses_accurate": 0.0,
                "touches": 54.2378,
                "possession_lost": 4.9892,
                "dispossessed": 0.1769,
                "duels_lost": 3.1235,
                "aerial_lost": 1.0744,
                "total_contest": 0.2178,
                "won_contest": 0.0,
                "ball_recovery": 3.5471,
                "challenges_lost": 0.3442,
                "fouls": 1.3129,
                "fouls_drawn": 0.5476,
                "blocks": 0.145,
                "goal_rate": 0.1469,
                "goals": 0,
                "assist_rate": 0.0581,
                "assists": 0,
                "expected_goals": 0.0318,
                "expected_assists": 0.0107,
                "shots_on_target": 0.1469,
                "big_chances_created": 0.0611,
                "xgot": 0.0549,
                "ball_carries": 12.1134,
                "total_progression": 27.258,
                "progressive_carries": 0.1726,
                "key_pass": 0.0587,
                "shots_off_target": 0.1986,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.0,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Roberto Fernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 2.325,
                "squad_xg_sum": 1.6168,
                "squad_xa_sum": 1.0436,
                "team_expected_assists": 1.5113,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.438,
                "xa_scale": 1.4481,
                "opponent_lambda": 1.337,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0221,
                  "after": 0.0318
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 16 by projected rating, fifa_overall 81.0)",
              "stats": {
                "interceptions": 1.0199,
                "tackles": 1.3928,
                "tackles_won": 0.8098,
                "clearances": 4.5975,
                "aerial_won": 1.8238,
                "total_shots": 0.3455,
                "rating": 6.7314,
                "minutes": 80.35,
                "total_pass": 43.2202,
                "accurate_pass": 38.8922,
                "duels_won": 4.3502,
                "total_long_balls": 4.1611,
                "accurate_long_balls": 2.028,
                "total_own_half_passes": 29.7343,
                "accurate_own_half_passes": 27.832,
                "total_opp_half_passes": 13.4858,
                "accurate_opp_half_passes": 11.0602,
                "crosses_total": 0.0082,
                "crosses_accurate": 0.0,
                "touches": 54.2378,
                "possession_lost": 4.9892,
                "dispossessed": 0.1769,
                "duels_lost": 3.1235,
                "aerial_lost": 1.0744,
                "total_contest": 0.2178,
                "won_contest": 0.0,
                "ball_recovery": 3.5471,
                "challenges_lost": 0.3442,
                "fouls": 1.3129,
                "fouls_drawn": 0.5476,
                "blocks": 0.145,
                "goal_rate": 0.1469,
                "goals": 0,
                "assist_rate": 0.0581,
                "assists": 0,
                "expected_goals": 0.0318,
                "expected_assists": 0.0107,
                "shots_on_target": 0.1469,
                "big_chances_created": 0.0611,
                "xgot": 0.0549,
                "ball_carries": 12.1134,
                "total_progression": 27.258,
                "progressive_carries": 0.1726,
                "key_pass": 0.0587,
                "shots_off_target": 0.1986,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.0,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Roberto Fernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 81.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 701,
                "fifa_rank": 576.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 81.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 1.0199,
                "tackles": 1.3928,
                "tackles_won": 0.8098,
                "clearances": 4.5975,
                "aerial_won": 1.8238,
                "total_shots": 0.3455,
                "rating": 6.7314,
                "minutes": 80.35,
                "total_pass": 43.2202,
                "accurate_pass": 38.8922,
                "duels_won": 4.3502,
                "total_long_balls": 4.1611,
                "accurate_long_balls": 2.028,
                "total_own_half_passes": 29.7343,
                "accurate_own_half_passes": 27.832,
                "total_opp_half_passes": 13.4858,
                "accurate_opp_half_passes": 11.0602,
                "crosses_total": 0.0082,
                "crosses_accurate": 0.0,
                "touches": 54.2378,
                "possession_lost": 4.9892,
                "dispossessed": 0.1769,
                "duels_lost": 3.1235,
                "aerial_lost": 1.0744,
                "total_contest": 0.2178,
                "won_contest": 0.0,
                "ball_recovery": 3.5471,
                "challenges_lost": 0.3442,
                "fouls": 1.3129,
                "fouls_drawn": 0.5476,
                "blocks": 0.145,
                "goal_rate": 0.1469,
                "goals": 0,
                "assist_rate": 0.0581,
                "assists": 0,
                "expected_goals": 0.0318,
                "expected_assists": 0.0107,
                "shots_on_target": 0.1469,
                "big_chances_created": 0.0611,
                "xgot": 0.0549,
                "ball_carries": 12.1134,
                "total_progression": 27.258,
                "progressive_carries": 0.1726,
                "key_pass": 0.0587,
                "shots_off_target": 0.1986,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.0,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Roberto Fernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0313,
                "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": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0313,
                "goal_rate": 0.1469,
                "scorer_weight": 0.0398,
                "squad_weight_total": 2.409,
                "weight_share": 0.0165,
                "finishing_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Jonathan David",
                    "weight": 0.71,
                    "already": 0,
                    "effective_weight": 0.71,
                    "runner_up": "Ademola Lookman",
                    "runner_up_effective_weight": 0.4553
                  },
                  {
                    "n": 2,
                    "player": "Ademola Lookman",
                    "weight": 0.4553,
                    "already": 0,
                    "effective_weight": 0.4553,
                    "runner_up": "Jonathan David",
                    "runner_up_effective_weight": 0.3021
                  }
                ]
              }
            },
            {
              "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.0199,
                "tackles": 1.3928,
                "tackles_won": 0.8098,
                "clearances": 4.5975,
                "aerial_won": 1.8238,
                "total_shots": 0.3455,
                "rating": 6.7314,
                "minutes": 80.35,
                "total_pass": 43.2202,
                "accurate_pass": 38.8922,
                "duels_won": 4.3502,
                "total_long_balls": 4.1611,
                "accurate_long_balls": 2.028,
                "total_own_half_passes": 29.7343,
                "accurate_own_half_passes": 27.832,
                "total_opp_half_passes": 13.4858,
                "accurate_opp_half_passes": 11.0602,
                "crosses_total": 0.0082,
                "crosses_accurate": 0.0,
                "touches": 54.2378,
                "possession_lost": 4.9892,
                "dispossessed": 0.1769,
                "duels_lost": 3.1235,
                "aerial_lost": 1.0744,
                "total_contest": 0.2178,
                "won_contest": 0.0,
                "ball_recovery": 3.5471,
                "challenges_lost": 0.3442,
                "fouls": 1.3129,
                "fouls_drawn": 0.5476,
                "blocks": 0.145,
                "goal_rate": 0.1469,
                "goals": 0,
                "assist_rate": 0.0581,
                "assists": 0,
                "expected_goals": 0.0318,
                "expected_assists": 0.0107,
                "shots_on_target": 0.1469,
                "big_chances_created": 0.0611,
                "xgot": 0.0549,
                "ball_carries": 12.1134,
                "total_progression": 27.258,
                "progressive_carries": 0.1726,
                "key_pass": 0.0587,
                "shots_off_target": 0.1986,
                "tackles_in_zone": 1.0,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.0,
                "clearances_in_zone": 0.8,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Roberto Fernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0313,
                "projected_assists": 0,
                "assist_probability": 0.0106,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0106,
                "assist_rate": 0.0581,
                "provider_weight": 0.0134,
                "squad_weight_total": 1.5221,
                "weight_share": 0.0088,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 13,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alejandro Grimaldo",
                    "weight": 0.1971,
                    "already": 0,
                    "effective_weight": 0.1971,
                    "runner_up": "Alex Baena",
                    "runner_up_effective_weight": 0.1837
                  }
                ]
              }
            }
          ]
        },
        "Cristian Romero": {
          "player_id": 829932,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 21,
          "height": 185,
          "market_value": 37000000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 4,
            "aerial_won": 2,
            "total_shots": 1,
            "rating": 7.0143,
            "minutes": 81,
            "total_pass": 55,
            "accurate_pass": 50,
            "duels_won": 7,
            "total_long_balls": 5,
            "accurate_long_balls": 3,
            "total_own_half_passes": 32,
            "accurate_own_half_passes": 31,
            "total_opp_half_passes": 23,
            "accurate_opp_half_passes": 19,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 68,
            "possession_lost": 6.752,
            "dispossessed": 0.2137,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 4,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.2601,
            "goals": 0,
            "assist_rate": 0.0044,
            "assists": 0,
            "expected_goals": 0.1983,
            "expected_assists": 0.0657,
            "shots_on_target": 1,
            "big_chances_created": 0,
            "xgot": 0.3217,
            "ball_carries": 20,
            "total_progression": 97,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.1,
            "tackles_won_in_zone": 1.0,
            "interceptions_in_zone": 1.2,
            "clearances_in_zone": 1.1,
            "aerial_duels_won": 0.6,
            "defensive_success_rate": 0.82,
            "opponent_faced": "Roberto Fernández",
            "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.1799,
            "projected_assists": 0,
            "assist_probability": 0.0636,
            "finishing_factor": 1.25,
            "creation_factor": 0.8,
            "fifa_overall": 82.0
          },
          "latest_10_games": [
            {
              "match_id": 16421056,
              "match_date": "2026-10-10",
              "home_team": "Deportivo Alavés",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 8.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5698,
                "expected_assists": 0.0261,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 82,
                "accurate_pass": 75,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 3,
                "duels_won": 6,
                "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": 16416339,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 89,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0716,
                "expected_assists": 0.014,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 56,
                "accurate_pass": 54,
                "interceptions": 1,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416335,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 68,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1119,
                "expected_assists": 0.0237,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 60,
                "accurate_pass": 54,
                "tackles": 3,
                "tackles_won": 3,
                "clearances": 3,
                "aerial_won": 3,
                "duels_won": 8,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0446,
                "total_shots": 0,
                "total_pass": 54,
                "accurate_pass": 49,
                "tackles": 1,
                "clearances": 11,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 31,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1759,
                "expected_assists": 0.0216,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 35,
                "accurate_pass": 33,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14025026,
              "match_date": "2026-04-12",
              "home_team": "Sunderland",
              "away_team": "Tottenham Hotspur",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Tottenham Hotspur",
              "opponent": "Sunderland",
              "stats": {
                "minutes": 70,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0427,
                "expected_assists": 0.0052,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 32,
                "accurate_pass": 29,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 4,
                "aerial_won": 3,
                "duels_won": 8,
                "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": 14024020,
              "match_date": "2026-03-22",
              "home_team": "Tottenham Hotspur",
              "away_team": "Nottingham Forest",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Tottenham Hotspur",
              "opponent": "Nottingham Forest",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0185,
                "expected_assists": 0.0421,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 68,
                "accurate_pass": 59,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 4,
                "aerial_won": 6,
                "duels_won": 11,
                "ball_recovery": 6
              },
              "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": 14025176,
              "match_date": "2026-02-07",
              "home_team": "Manchester United",
              "away_team": "Tottenham Hotspur",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Tottenham Hotspur",
              "opponent": "Manchester United",
              "stats": {
                "minutes": 29,
                "rating": 5.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0185,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 12,
                "tackles": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 2,
                "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": 14025149,
              "match_date": "2026-02-01",
              "home_team": "Tottenham Hotspur",
              "away_team": "Manchester City",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Tottenham Hotspur",
              "opponent": "Manchester City",
              "stats": {
                "minutes": 45,
                "rating": 5.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0022,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 22,
                "interceptions": 1,
                "duels_won": 1,
                "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": 14025104,
              "match_date": "2026-01-24",
              "home_team": "Burnley",
              "away_team": "Tottenham Hotspur",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Tottenham Hotspur",
              "opponent": "Burnley",
              "stats": {
                "minutes": 89,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0918,
                "expected_assists": 0.0097,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 66,
                "accurate_pass": 58,
                "tackles": 6,
                "tackles_won": 4,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 3,
                "duels_won": 10,
                "ball_recovery": 7
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 332,
            "combined_rank_score": 222.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 72.0,
            "sofascore_rating": 7.58,
            "sofascore_appearances": 5.0,
            "fifa_rank": 372.0,
            "fifa_overall": 82.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 4,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0143,
            "source_file": "data/player_rankings.csv",
            "player_name": "Cristian Romero",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Diego Murillo",
                  "ranking": 327
                },
                {
                  "player_name": "Boubacar Kamara",
                  "ranking": 328
                },
                {
                  "player_name": "Min-woo Kim",
                  "ranking": 329
                },
                {
                  "player_name": "Juan Berrocal",
                  "ranking": 330
                },
                {
                  "player_name": "Marcos Senesi",
                  "ranking": 331
                }
              ],
              "lower": [
                {
                  "player_name": "Alejandro Iturbe",
                  "ranking": 333
                },
                {
                  "player_name": "Oyarzabal",
                  "ranking": 334
                },
                {
                  "player_name": "Manuel Akanji",
                  "ranking": 335
                },
                {
                  "player_name": "Phil Foden",
                  "ranking": 336
                },
                {
                  "player_name": "Charles Aránguiz",
                  "ranking": 337
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 28,
          "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": 28,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.0118,
            "fbref_prior_metrics": {
              "squad": "Atlético Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 0.0,
              "starts": 0.0,
              "prior_reliability": 0.0
            },
            "rationale": "XGBoost regressor (D_service) evaluated 28 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Atlético Madrid, rel: 0.00, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.97,
                "tackles": 1.6489,
                "tackles_won": 1.019,
                "clearances": 4.3532,
                "aerial_won": 2.3662,
                "total_shots": 0.7841,
                "rating": 7.0143,
                "minutes": 80.7,
                "total_pass": 54.3852,
                "accurate_pass": 48.9442,
                "duels_won": 6.5084,
                "total_long_balls": 4.5685,
                "accurate_long_balls": 2.8106,
                "total_own_half_passes": 32.0198,
                "accurate_own_half_passes": 30.5171,
                "total_opp_half_passes": 22.3654,
                "accurate_opp_half_passes": 18.4271,
                "crosses_total": 0.03,
                "crosses_accurate": 0.0,
                "touches": 67.4652,
                "possession_lost": 6.6733,
                "dispossessed": 0.2112,
                "duels_lost": 2.9058,
                "aerial_lost": 1.2564,
                "total_contest": 0.4241,
                "won_contest": 0.4015,
                "ball_recovery": 4.413,
                "challenges_lost": 0.3903,
                "fouls": 1.2148,
                "fouls_drawn": 1.0354,
                "blocks": 0.3535,
                "goals": 0.2571,
                "goal_rate": 0.2571,
                "assists": 0.0043,
                "assist_rate": 0.0043,
                "expected_goals": 0.1363,
                "expected_assists": 0.0449,
                "shots_on_target": 0.5034,
                "big_chances_created": 0.0775,
                "xgot": 0.2211,
                "ball_carries": 19.334,
                "total_progression": 95.3953,
                "progressive_carries": 0.5238,
                "key_pass": 0.3562,
                "shots_off_target": 0.2807
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-16T10:30:59.837052+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 625,
                    "rows": 21030
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1516,
                    "rating": 8.1
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Madrid",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.1289,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Osasuna",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.1095,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0931,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Athletic Club",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.0791,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-04-12",
                    "opponent": "Sunderland",
                    "minutes": 70.0,
                    "is_starting": true,
                    "weight": 0.0673,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-03-22",
                    "opponent": "Nottingham Forest",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0572,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-02-07",
                    "opponent": "Manchester United",
                    "minutes": 29.0,
                    "is_starting": true,
                    "weight": 0.0486,
                    "rating": 5.3
                  },
                  {
                    "match_date": "2026-02-01",
                    "opponent": "Manchester City",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0413,
                    "rating": 5.8
                  },
                  {
                    "match_date": "2026-01-24",
                    "opponent": "Burnley",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.0351,
                    "rating": 7.8
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 3.7909,
                  "aerialWon": 2.8219,
                  "totalClearance_p90": 4.3423,
                  "totalTackle": 1.8302,
                  "defensive_actions": 2.63
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.9699629545211792,
                    "model_output": 0.97,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2924
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0396
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0252
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0247
                      },
                      {
                        "name": "touches",
                        "importance": 0.0228
                      }
                    ],
                    "decomposition": {
                      "base": 0.8609,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1115
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.034
                        },
                        {
                          "name": "errorLeadToAGoal",
                          "contribution": -0.0181
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0165
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0147
                        }
                      ],
                      "others": 0.0515,
                      "total": 0.97,
                      "log_link": true,
                      "margin_base": -0.149807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.12181
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.035596
                        },
                        {
                          "name": "errorLeadToAGoal",
                          "margin": -0.019526
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.018054
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.016149
                        }
                      ],
                      "others_margin": 0.054527
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.648949384689331,
                    "model_output": 1.6489,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2589
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0677
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.049
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.044
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 1.3915,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1929
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0783
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.063
                        },
                        {
                          "name": "wonTackle",
                          "contribution": 0.0393
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0391
                        }
                      ],
                      "others": -0.077,
                      "total": 1.6489,
                      "log_link": true,
                      "margin_base": 0.330386,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.129837
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.048234
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.03717
                        },
                        {
                          "name": "wonTackle",
                          "margin": 0.022515
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.02239
                        }
                      ],
                      "others_margin": -0.045615
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.0190067291259766,
                    "model_output": 1.019,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2078
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0673
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0422
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0415
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.8542,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1151
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0573
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0468
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0366
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0328
                        }
                      ],
                      "others": -0.0302,
                      "total": 1.019,
                      "log_link": true,
                      "margin_base": -0.157629,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.126363
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.057456
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.046621
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.036694
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.031802
                        }
                      ],
                      "others_margin": -0.029236
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 4.3532328605651855,
                    "model_output": 4.3532,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2949
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0875
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0204
                      }
                    ],
                    "decomposition": {
                      "base": 3.4327,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4068
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.3857
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.1812
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.1352
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0991
                        }
                      ],
                      "others": -0.0893,
                      "total": 4.3532,
                      "log_link": true,
                      "margin_base": 1.233356,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.112005
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.095711
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.042001
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.03022
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.022054
                        }
                      ],
                      "others_margin": -0.020322
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 2.3662469387054443,
                    "model_output": 2.3662,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1614
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1583
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0863
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 1.3773,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": 0.6387
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2253
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0983
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0602
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0481
                        }
                      ],
                      "others": 0.0387,
                      "total": 2.3662,
                      "log_link": true,
                      "margin_base": 0.320134,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": 0.380996
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.105945
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.042933
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.026075
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.020874
                        }
                      ],
                      "others_margin": 0.016498
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.7840878367424011,
                    "model_output": 0.7841,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.105
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.033
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0307
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 0.4745,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.1736
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0401
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0383
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.032
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0238
                        }
                      ],
                      "others": 0.0494,
                      "total": 0.7841,
                      "log_link": false,
                      "margin_base": 0.474501,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.173629
                        },
                        {
                          "name": "rating",
                          "margin": 0.040076
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.03828
                        },
                        {
                          "name": "duelWon",
                          "margin": 0.031951
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.023811
                        }
                      ],
                      "others_margin": 0.049463
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.014289855957031,
                    "model_output": 7.0143,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0634
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0627
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0603
                      },
                      {
                        "name": "touches",
                        "importance": 0.0395
                      },
                      {
                        "name": "rating",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 6.7847,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.042
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0382
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0355
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0328
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0143
                        }
                      ],
                      "others": 0.0668,
                      "total": 7.0143,
                      "log_link": false,
                      "margin_base": 6.784704,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.041998
                        },
                        {
                          "name": "rating",
                          "margin": 0.03821
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.035523
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.032808
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.014262
                        }
                      ],
                      "others_margin": 0.066785
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 28,
                  "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.0118, quality 0.764)",
              "stats": {
                "interceptions": 0.9814,
                "tackles": 1.6684,
                "tackles_won": 1.031,
                "clearances": 4.4046,
                "aerial_won": 2.3942,
                "total_shots": 0.7934,
                "rating": 7.0143,
                "minutes": 80.7,
                "total_pass": 55.0269,
                "accurate_pass": 49.5217,
                "duels_won": 6.5852,
                "total_long_balls": 4.6224,
                "accurate_long_balls": 2.8438,
                "total_own_half_passes": 32.3976,
                "accurate_own_half_passes": 30.8772,
                "total_opp_half_passes": 22.6293,
                "accurate_opp_half_passes": 18.6445,
                "crosses_total": 0.0304,
                "crosses_accurate": 0.0,
                "touches": 68.2613,
                "possession_lost": 6.752,
                "dispossessed": 0.2137,
                "duels_lost": 2.9401,
                "aerial_lost": 1.2712,
                "total_contest": 0.4291,
                "won_contest": 0.4062,
                "ball_recovery": 4.4651,
                "challenges_lost": 0.3949,
                "fouls": 1.2291,
                "fouls_drawn": 1.0476,
                "blocks": 0.3577,
                "goals": 0.2601,
                "goal_rate": 0.2601,
                "assists": 0.0044,
                "assist_rate": 0.0044,
                "expected_goals": 0.1379,
                "expected_assists": 0.0454,
                "shots_on_target": 0.5093,
                "big_chances_created": 0.0784,
                "xgot": 0.2237,
                "ball_carries": 19.5621,
                "total_progression": 96.521,
                "progressive_carries": 0.53,
                "key_pass": 0.3604,
                "shots_off_target": 0.284
              },
              "params": {
                "market_value_eur": 37000000,
                "quality_factor": 0.7641,
                "boost_factor": 1.0118,
                "reference_quality": 0.505,
                "history_matches": 28,
                "history_shrink": 0.1515,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.9814,
                "tackles": 1.6684,
                "tackles_won": 1.031,
                "clearances": 4.4046,
                "aerial_won": 2.3942,
                "total_shots": 0.7934,
                "rating": 7.0143,
                "minutes": 80.7,
                "total_pass": 55.0269,
                "accurate_pass": 49.5217,
                "duels_won": 6.5852,
                "total_long_balls": 4.6224,
                "accurate_long_balls": 2.8438,
                "total_own_half_passes": 32.3976,
                "accurate_own_half_passes": 30.8772,
                "total_opp_half_passes": 22.6293,
                "accurate_opp_half_passes": 18.6445,
                "crosses_total": 0.0304,
                "crosses_accurate": 0.0,
                "touches": 68.2613,
                "possession_lost": 6.752,
                "dispossessed": 0.2137,
                "duels_lost": 2.9401,
                "aerial_lost": 1.2712,
                "total_contest": 0.4291,
                "won_contest": 0.4062,
                "ball_recovery": 4.4651,
                "challenges_lost": 0.3949,
                "fouls": 1.2291,
                "fouls_drawn": 1.0476,
                "blocks": 0.3577,
                "goals": 0.2601,
                "goal_rate": 0.2601,
                "assists": 0.0044,
                "assist_rate": 0.0044,
                "expected_goals": 0.1379,
                "expected_assists": 0.0454,
                "shots_on_target": 0.5093,
                "big_chances_created": 0.0784,
                "xgot": 0.2237,
                "ball_carries": 19.5621,
                "total_progression": 96.521,
                "progressive_carries": 0.53,
                "key_pass": 0.3604,
                "shots_off_target": 0.284
              },
              "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.9814,
                "tackles": 1.6684,
                "tackles_won": 1.031,
                "clearances": 4.4046,
                "aerial_won": 2.3942,
                "total_shots": 0.7934,
                "rating": 7.0143,
                "minutes": 80.7,
                "total_pass": 55.0269,
                "accurate_pass": 49.5217,
                "duels_won": 6.5852,
                "total_long_balls": 4.6224,
                "accurate_long_balls": 2.8438,
                "total_own_half_passes": 32.3976,
                "accurate_own_half_passes": 30.8772,
                "total_opp_half_passes": 22.6293,
                "accurate_opp_half_passes": 18.6445,
                "crosses_total": 0.0304,
                "crosses_accurate": 0.0,
                "touches": 68.2613,
                "possession_lost": 6.752,
                "dispossessed": 0.2137,
                "duels_lost": 2.9401,
                "aerial_lost": 1.2712,
                "total_contest": 0.4291,
                "won_contest": 0.4062,
                "ball_recovery": 4.4651,
                "challenges_lost": 0.3949,
                "fouls": 1.2291,
                "fouls_drawn": 1.0476,
                "blocks": 0.3577,
                "goals": 0.2601,
                "goal_rate": 0.2601,
                "assists": 0.0044,
                "assist_rate": 0.0044,
                "expected_goals": 0.1379,
                "expected_assists": 0.0454,
                "shots_on_target": 0.5093,
                "big_chances_created": 0.0784,
                "xgot": 0.2237,
                "ball_carries": 19.5621,
                "total_progression": 96.521,
                "progressive_carries": 0.53,
                "key_pass": 0.3604,
                "shots_off_target": 0.284,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.2,
                "clearances_in_zone": 1.1,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Roberto Fernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Roberto Fernández",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 0.9814,
                "tackles": 1.6684,
                "tackles_won": 1.031,
                "clearances": 4.4046,
                "aerial_won": 2.3942,
                "total_shots": 0.7934,
                "rating": 7.0143,
                "minutes": 80.7,
                "total_pass": 55.0269,
                "accurate_pass": 49.5217,
                "duels_won": 6.5852,
                "total_long_balls": 4.6224,
                "accurate_long_balls": 2.8438,
                "total_own_half_passes": 32.3976,
                "accurate_own_half_passes": 30.8772,
                "total_opp_half_passes": 22.6293,
                "accurate_opp_half_passes": 18.6445,
                "crosses_total": 0.0304,
                "crosses_accurate": 0.0,
                "touches": 68.2613,
                "possession_lost": 6.752,
                "dispossessed": 0.2137,
                "duels_lost": 2.9401,
                "aerial_lost": 1.2712,
                "total_contest": 0.4291,
                "won_contest": 0.4062,
                "ball_recovery": 4.4651,
                "challenges_lost": 0.3949,
                "fouls": 1.2291,
                "fouls_drawn": 1.0476,
                "blocks": 0.3577,
                "goal_rate": 0.2601,
                "goals": 0,
                "assist_rate": 0.0044,
                "assists": 0,
                "expected_goals": 0.1379,
                "expected_assists": 0.0454,
                "shots_on_target": 0.5093,
                "big_chances_created": 0.0784,
                "xgot": 0.2237,
                "ball_carries": 19.5621,
                "total_progression": 96.521,
                "progressive_carries": 0.53,
                "key_pass": 0.3604,
                "shots_off_target": 0.284,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.2,
                "clearances_in_zone": 1.1,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Roberto Fernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.33 (squad xG sum 1.6168, xG scale 1.4380, xA scale 1.4481, team xA 1.51 = 0.65 x lambda)",
              "stats": {
                "interceptions": 0.9814,
                "tackles": 1.6684,
                "tackles_won": 1.031,
                "clearances": 4.4046,
                "aerial_won": 2.3942,
                "total_shots": 0.7934,
                "rating": 7.0143,
                "minutes": 80.7,
                "total_pass": 55.0269,
                "accurate_pass": 49.5217,
                "duels_won": 6.5852,
                "total_long_balls": 4.6224,
                "accurate_long_balls": 2.8438,
                "total_own_half_passes": 32.3976,
                "accurate_own_half_passes": 30.8772,
                "total_opp_half_passes": 22.6293,
                "accurate_opp_half_passes": 18.6445,
                "crosses_total": 0.0304,
                "crosses_accurate": 0.0,
                "touches": 68.2613,
                "possession_lost": 6.752,
                "dispossessed": 0.2137,
                "duels_lost": 2.9401,
                "aerial_lost": 1.2712,
                "total_contest": 0.4291,
                "won_contest": 0.4062,
                "ball_recovery": 4.4651,
                "challenges_lost": 0.3949,
                "fouls": 1.2291,
                "fouls_drawn": 1.0476,
                "blocks": 0.3577,
                "goal_rate": 0.2601,
                "goals": 0,
                "assist_rate": 0.0044,
                "assists": 0,
                "expected_goals": 0.1983,
                "expected_assists": 0.0657,
                "shots_on_target": 0.5093,
                "big_chances_created": 0.0784,
                "xgot": 0.3217,
                "ball_carries": 19.5621,
                "total_progression": 96.521,
                "progressive_carries": 0.53,
                "key_pass": 0.3604,
                "shots_off_target": 0.284,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.2,
                "clearances_in_zone": 1.1,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Roberto Fernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 2.325,
                "squad_xg_sum": 1.6168,
                "squad_xa_sum": 1.0436,
                "team_expected_assists": 1.5113,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.438,
                "xa_scale": 1.4481,
                "opponent_lambda": 1.337,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1379,
                  "after": 0.1983
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0454,
                  "after": 0.0657
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 4 by projected rating, fifa_overall 82.0)",
              "stats": {
                "interceptions": 0.9814,
                "tackles": 1.6684,
                "tackles_won": 1.031,
                "clearances": 4.4046,
                "aerial_won": 2.3942,
                "total_shots": 0.7934,
                "rating": 7.0143,
                "minutes": 80.7,
                "total_pass": 55.0269,
                "accurate_pass": 49.5217,
                "duels_won": 6.5852,
                "total_long_balls": 4.6224,
                "accurate_long_balls": 2.8438,
                "total_own_half_passes": 32.3976,
                "accurate_own_half_passes": 30.8772,
                "total_opp_half_passes": 22.6293,
                "accurate_opp_half_passes": 18.6445,
                "crosses_total": 0.0304,
                "crosses_accurate": 0.0,
                "touches": 68.2613,
                "possession_lost": 6.752,
                "dispossessed": 0.2137,
                "duels_lost": 2.9401,
                "aerial_lost": 1.2712,
                "total_contest": 0.4291,
                "won_contest": 0.4062,
                "ball_recovery": 4.4651,
                "challenges_lost": 0.3949,
                "fouls": 1.2291,
                "fouls_drawn": 1.0476,
                "blocks": 0.3577,
                "goal_rate": 0.2601,
                "goals": 0,
                "assist_rate": 0.0044,
                "assists": 0,
                "expected_goals": 0.1983,
                "expected_assists": 0.0657,
                "shots_on_target": 0.5093,
                "big_chances_created": 0.0784,
                "xgot": 0.3217,
                "ball_carries": 19.5621,
                "total_progression": 96.521,
                "progressive_carries": 0.53,
                "key_pass": 0.3604,
                "shots_off_target": 0.284,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.2,
                "clearances_in_zone": 1.1,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Roberto Fernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 82.0
              },
              "params": {
                "match_squad_rank": 4,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 332,
                "fifa_rank": 372.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 82.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 0.9814,
                "tackles": 1.6684,
                "tackles_won": 1.031,
                "clearances": 4.4046,
                "aerial_won": 2.3942,
                "total_shots": 0.7934,
                "rating": 7.0143,
                "minutes": 80.7,
                "total_pass": 55.0269,
                "accurate_pass": 49.5217,
                "duels_won": 6.5852,
                "total_long_balls": 4.6224,
                "accurate_long_balls": 2.8438,
                "total_own_half_passes": 32.3976,
                "accurate_own_half_passes": 30.8772,
                "total_opp_half_passes": 22.6293,
                "accurate_opp_half_passes": 18.6445,
                "crosses_total": 0.0304,
                "crosses_accurate": 0.0,
                "touches": 68.2613,
                "possession_lost": 6.752,
                "dispossessed": 0.2137,
                "duels_lost": 2.9401,
                "aerial_lost": 1.2712,
                "total_contest": 0.4291,
                "won_contest": 0.4062,
                "ball_recovery": 4.4651,
                "challenges_lost": 0.3949,
                "fouls": 1.2291,
                "fouls_drawn": 1.0476,
                "blocks": 0.3577,
                "goal_rate": 0.2601,
                "goals": 0,
                "assist_rate": 0.0044,
                "assists": 0,
                "expected_goals": 0.1983,
                "expected_assists": 0.0657,
                "shots_on_target": 0.5093,
                "big_chances_created": 0.0784,
                "xgot": 0.3217,
                "ball_carries": 19.5621,
                "total_progression": 96.521,
                "progressive_carries": 0.53,
                "key_pass": 0.3604,
                "shots_off_target": 0.284,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.2,
                "clearances_in_zone": 1.1,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Roberto Fernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.1799,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.1799,
                "goal_rate": 0.2601,
                "scorer_weight": 0.2479,
                "squad_weight_total": 2.409,
                "weight_share": 0.1029,
                "finishing_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Jonathan David",
                    "weight": 0.71,
                    "already": 0,
                    "effective_weight": 0.71,
                    "runner_up": "Ademola Lookman",
                    "runner_up_effective_weight": 0.4553
                  },
                  {
                    "n": 2,
                    "player": "Ademola Lookman",
                    "weight": 0.4553,
                    "already": 0,
                    "effective_weight": 0.4553,
                    "runner_up": "Jonathan David",
                    "runner_up_effective_weight": 0.3021
                  }
                ]
              }
            },
            {
              "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.9814,
                "tackles": 1.6684,
                "tackles_won": 1.031,
                "clearances": 4.4046,
                "aerial_won": 2.3942,
                "total_shots": 0.7934,
                "rating": 7.0143,
                "minutes": 80.7,
                "total_pass": 55.0269,
                "accurate_pass": 49.5217,
                "duels_won": 6.5852,
                "total_long_balls": 4.6224,
                "accurate_long_balls": 2.8438,
                "total_own_half_passes": 32.3976,
                "accurate_own_half_passes": 30.8772,
                "total_opp_half_passes": 22.6293,
                "accurate_opp_half_passes": 18.6445,
                "crosses_total": 0.0304,
                "crosses_accurate": 0.0,
                "touches": 68.2613,
                "possession_lost": 6.752,
                "dispossessed": 0.2137,
                "duels_lost": 2.9401,
                "aerial_lost": 1.2712,
                "total_contest": 0.4291,
                "won_contest": 0.4062,
                "ball_recovery": 4.4651,
                "challenges_lost": 0.3949,
                "fouls": 1.2291,
                "fouls_drawn": 1.0476,
                "blocks": 0.3577,
                "goal_rate": 0.2601,
                "goals": 0,
                "assist_rate": 0.0044,
                "assists": 0,
                "expected_goals": 0.1983,
                "expected_assists": 0.0657,
                "shots_on_target": 0.5093,
                "big_chances_created": 0.0784,
                "xgot": 0.3217,
                "ball_carries": 19.5621,
                "total_progression": 96.521,
                "progressive_carries": 0.53,
                "key_pass": 0.3604,
                "shots_off_target": 0.284,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.2,
                "clearances_in_zone": 1.1,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "Roberto Fernández",
                "pressing_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.1799,
                "projected_assists": 0,
                "assist_probability": 0.0636,
                "finishing_factor": 1.25,
                "creation_factor": 0.8,
                "fifa_overall": 82.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0636,
                "assist_rate": 0.0044,
                "provider_weight": 0.0526,
                "squad_weight_total": 1.5221,
                "weight_share": 0.0345,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 10,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alejandro Grimaldo",
                    "weight": 0.1971,
                    "already": 0,
                    "effective_weight": 0.1971,
                    "runner_up": "Alex Baena",
                    "runner_up_effective_weight": 0.1837
                  }
                ]
              }
            }
          ]
        },
        "Marcos Llorente": {
          "player_id": 353138,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 14,
          "height": 184,
          "market_value": 21000000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 6.9925,
            "minutes": 83,
            "total_pass": 62,
            "accurate_pass": 58,
            "duels_won": 4,
            "total_long_balls": 3,
            "accurate_long_balls": 2,
            "total_own_half_passes": 27,
            "accurate_own_half_passes": 25,
            "total_opp_half_passes": 35,
            "accurate_opp_half_passes": 33,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 81,
            "possession_lost": 8.2763,
            "dispossessed": 0.7026,
            "duels_lost": 3,
            "aerial_lost": 0,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 4,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.108,
            "assists": 0,
            "expected_goals": 0.0815,
            "expected_assists": 0.13,
            "shots_on_target": 1,
            "big_chances_created": 0,
            "xgot": 0.0661,
            "ball_carries": 21,
            "total_progression": 79,
            "progressive_carries": 2,
            "key_pass": 1,
            "shots_off_target": 0,
            "opponent_faced": "Roberto Fernández",
            "matchup_zone": "Shape fallback",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0783,
            "projected_assists": 0,
            "assist_probability": 0.1219,
            "finishing_factor": 0.8,
            "creation_factor": 1.1302,
            "fifa_overall": 85.0
          },
          "latest_10_games": [
            {
              "match_id": 16421056,
              "match_date": "2026-10-10",
              "home_team": "Deportivo Alavés",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2286,
                "expected_assists": 0.0684,
                "total_shots": 3,
                "shots_on_target": 2,
                "total_pass": 91,
                "accurate_pass": 89,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416339,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.041,
                "total_shots": 0,
                "total_pass": 81,
                "accurate_pass": 77,
                "key_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416335,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0664,
                "total_shots": 0,
                "total_pass": 62,
                "accurate_pass": 59,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 4,
                "clearances": 1,
                "duels_won": 6,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 60,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0269,
                "total_shots": 0,
                "total_pass": 31,
                "accurate_pass": 25,
                "key_pass": 2,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0755,
                "expected_assists": 0.0281,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 68,
                "accurate_pass": 63,
                "key_pass": 2,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416316,
              "match_date": "2026-08-29",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 66,
                "rating": 7.9,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.0129,
                "total_shots": 0,
                "total_pass": 51,
                "accurate_pass": 48,
                "key_pass": 1,
                "tackles": 2,
                "interceptions": 3,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "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": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 24,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0306,
                "expected_assists": 0.0425,
                "total_shots": 1,
                "total_pass": 21,
                "accurate_pass": 20,
                "tackles": 2,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421055,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 45,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0088,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 31,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "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": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 5.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.435,
                "total_shots": 0,
                "total_pass": 57,
                "accurate_pass": 54,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "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": 14083634,
              "match_date": "2026-05-12",
              "home_team": "Osasuna",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 79,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0078,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 14,
                "key_pass": 1,
                "tackles": 7,
                "tackles_won": 5,
                "interceptions": 1,
                "clearances": 2,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 264,
            "combined_rank_score": 196.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 236.0,
            "sofascore_rating": 7.1333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 157.0,
            "fifa_overall": 85.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9925,
            "source_file": "data/player_rankings.csv",
            "player_name": "Marcos Llorente",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "James Nicholas Delianov",
                  "ranking": 259
                },
                {
                  "player_name": "Scott McTominay",
                  "ranking": 260
                },
                {
                  "player_name": "Yann Sommer",
                  "ranking": 261
                },
                {
                  "player_name": "Éder Militão",
                  "ranking": 262
                },
                {
                  "player_name": "Aleksandar Pavlović",
                  "ranking": 263
                }
              ],
              "lower": [
                {
                  "player_name": "Alexander Sørloth",
                  "ranking": 265
                },
                {
                  "player_name": "Edgar Silva",
                  "ranking": 266
                },
                {
                  "player_name": "Antonio Rüdiger",
                  "ranking": 267
                },
                {
                  "player_name": "Ibrahima Konaté",
                  "ranking": 268
                },
                {
                  "player_name": "Jorge Henríquez",
                  "ranking": 269
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.765,
          "history_matches": 37,
          "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": 37,
            "data_confidence": 0.765,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0048,
            "fbref_prior_metrics": {
              "squad": "Atlético Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "minutes": 135.0,
              "goals_per90": 0.0,
              "assists_per90": 0.6666666666666666,
              "shots_per90": 0.67,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.1
            },
            "rationale": "XGBoost regressor (D_service) evaluated 37 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Atlético Madrid, rel: 0.10, gls/90: 0.0, ast/90: 0.6666666666666666)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1.0955,
                "tackles": 2.0665,
                "tackles_won": 1.2373,
                "clearances": 1.782,
                "aerial_won": 0.5094,
                "total_shots": 0.7188,
                "rating": 6.9925,
                "minutes": 82.89,
                "total_pass": 61.6262,
                "accurate_pass": 57.4721,
                "duels_won": 3.5734,
                "total_long_balls": 3.0015,
                "accurate_long_balls": 1.7409,
                "total_own_half_passes": 26.4032,
                "accurate_own_half_passes": 24.9906,
                "total_opp_half_passes": 35.223,
                "accurate_opp_half_passes": 32.4816,
                "crosses_total": 1.7611,
                "crosses_accurate": 0.2049,
                "touches": 80.7948,
                "possession_lost": 8.2368,
                "dispossessed": 0.6992,
                "duels_lost": 3.0325,
                "aerial_lost": 0.4111,
                "total_contest": 1.0343,
                "won_contest": 0.781,
                "ball_recovery": 4.1144,
                "challenges_lost": 0.9289,
                "fouls": 0.74,
                "fouls_drawn": 0.2379,
                "blocks": 0.2417,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1036,
                "assist_rate": 0.1036,
                "expected_goals": 0.0564,
                "expected_assists": 0.0894,
                "shots_on_target": 0.5154,
                "big_chances_created": 0.0633,
                "xgot": 0.0458,
                "ball_carries": 20.9288,
                "total_progression": 78.715,
                "progressive_carries": 1.6237,
                "key_pass": 1.1265,
                "shots_off_target": 0.2034
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-16T10:30:59.837052+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 625,
                    "rows": 21030
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1504,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1278,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Real Sociedad",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0785,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Sevilla",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 7.9
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Villarreal",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.0567,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Málaga CF",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0482,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-24",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 5.5
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Osasuna",
                    "minutes": 79.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 1.0973,
                  "aerialWon": 0.2462,
                  "totalClearance_p90": 1.4913,
                  "totalTackle": 2.0505,
                  "defensive_actions": 3.2244
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.0954779386520386,
                    "model_output": 1.0955,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2924
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0396
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0252
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0247
                      },
                      {
                        "name": "touches",
                        "importance": 0.0228
                      }
                    ],
                    "decomposition": {
                      "base": 0.8609,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1256
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.055
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0549
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0346
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.029
                        }
                      ],
                      "others": 0.1147,
                      "total": 1.0955,
                      "log_link": true,
                      "margin_base": -0.149807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.136187
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.057382
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.057262
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.035747
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.030039
                        }
                      ],
                      "others_margin": 0.110639
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 2.0664584636688232,
                    "model_output": 2.0665,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2589
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0677
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.049
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.044
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 1.3915,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1936
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.1035
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0953
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0896
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0817
                        }
                      ],
                      "others": 0.1113,
                      "total": 2.0665,
                      "log_link": true,
                      "margin_base": 0.330386,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.130273
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.063275
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.054873
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.048983
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.042705
                        }
                      ],
                      "others_margin": 0.055341
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.2372996807098389,
                    "model_output": 1.2373,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2078
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0673
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0422
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0415
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.8542,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1147
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.071
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0612
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0562
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0466
                        }
                      ],
                      "others": 0.0334,
                      "total": 1.2373,
                      "log_link": true,
                      "margin_base": -0.157629,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.125992
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.070747
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.057206
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.049741
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.039472
                        }
                      ],
                      "others_margin": 0.027402
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.7820225954055786,
                    "model_output": 1.782,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2949
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0875
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0204
                      }
                    ],
                    "decomposition": {
                      "base": 3.4327,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.784
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.3431
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.2999
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.2236
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1867
                        }
                      ],
                      "others": -0.4996,
                      "total": 1.782,
                      "log_link": true,
                      "margin_base": 1.233356,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.259282
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.121816
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.105616
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.086731
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.078663
                        }
                      ],
                      "others_margin": -0.247132
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.5094452500343323,
                    "model_output": 0.5094,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1614
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1583
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0863
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 1.3773,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.5373
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.1114
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0864
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.084
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0449
                        }
                      ],
                      "others": -0.1719,
                      "total": 0.5094,
                      "log_link": true,
                      "margin_base": 0.320134,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.494434
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.142212
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.126183
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.122876
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.063759
                        }
                      ],
                      "others_margin": -0.290855
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.718790590763092,
                    "model_output": 0.7188,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.105
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.033
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0307
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 0.4745,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.1273
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0582
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0262
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0236
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0213
                        }
                      ],
                      "others": -0.0123,
                      "total": 0.7188,
                      "log_link": false,
                      "margin_base": 0.474501,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.127292
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.058196
                        },
                        {
                          "name": "rating",
                          "margin": 0.026168
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.02358
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.02134
                        }
                      ],
                      "others_margin": -0.012285
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.992541313171387,
                    "model_output": 6.9925,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0634
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0627
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0603
                      },
                      {
                        "name": "touches",
                        "importance": 0.0395
                      },
                      {
                        "name": "rating",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 6.7847,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0774
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.039
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0298
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0284
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0161
                        }
                      ],
                      "others": 0.0171,
                      "total": 6.9925,
                      "log_link": false,
                      "margin_base": 6.784704,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.07739
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.038998
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.029834
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.028365
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.016104
                        }
                      ],
                      "others_margin": 0.017147
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 37,
                  "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.0048, quality 0.641)",
              "stats": {
                "interceptions": 1.1007,
                "tackles": 2.0764,
                "tackles_won": 1.2432,
                "clearances": 1.7906,
                "aerial_won": 0.5119,
                "total_shots": 0.7223,
                "rating": 6.9925,
                "minutes": 82.89,
                "total_pass": 61.922,
                "accurate_pass": 57.748,
                "duels_won": 3.5906,
                "total_long_balls": 3.0159,
                "accurate_long_balls": 1.7493,
                "total_own_half_passes": 26.5299,
                "accurate_own_half_passes": 25.1106,
                "total_opp_half_passes": 35.3921,
                "accurate_opp_half_passes": 32.6375,
                "crosses_total": 1.7696,
                "crosses_accurate": 0.2059,
                "touches": 81.1826,
                "possession_lost": 8.2763,
                "dispossessed": 0.7026,
                "duels_lost": 3.0471,
                "aerial_lost": 0.4131,
                "total_contest": 1.0393,
                "won_contest": 0.7847,
                "ball_recovery": 4.1341,
                "challenges_lost": 0.9334,
                "fouls": 0.7436,
                "fouls_drawn": 0.239,
                "blocks": 0.2429,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.1041,
                "assist_rate": 0.1041,
                "expected_goals": 0.0567,
                "expected_assists": 0.0898,
                "shots_on_target": 0.5179,
                "big_chances_created": 0.0636,
                "xgot": 0.046,
                "ball_carries": 21.0293,
                "total_progression": 79.0928,
                "progressive_carries": 1.6315,
                "key_pass": 1.1319,
                "shots_off_target": 0.2044
              },
              "params": {
                "market_value_eur": 21000000,
                "quality_factor": 0.6408,
                "boost_factor": 1.0048,
                "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.0077)",
              "stats": {
                "interceptions": 1.1112,
                "tackles": 2.0764,
                "tackles_won": 1.2431,
                "clearances": 1.7906,
                "aerial_won": 0.5119,
                "total_shots": 0.7215,
                "rating": 6.9925,
                "minutes": 82.89,
                "total_pass": 61.922,
                "accurate_pass": 57.748,
                "duels_won": 3.5906,
                "total_long_balls": 3.0159,
                "accurate_long_balls": 1.7493,
                "total_own_half_passes": 26.5299,
                "accurate_own_half_passes": 25.1106,
                "total_opp_half_passes": 35.3921,
                "accurate_opp_half_passes": 32.6375,
                "crosses_total": 1.7559,
                "crosses_accurate": 0.2059,
                "touches": 81.1826,
                "possession_lost": 8.2763,
                "dispossessed": 0.7026,
                "duels_lost": 3.0471,
                "aerial_lost": 0.4131,
                "total_contest": 1.0393,
                "won_contest": 0.7847,
                "ball_recovery": 4.1341,
                "challenges_lost": 0.9334,
                "fouls": 0.7664,
                "fouls_drawn": 0.2467,
                "blocks": 0.2429,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.108,
                "assist_rate": 0.108,
                "expected_goals": 0.0567,
                "expected_assists": 0.0898,
                "shots_on_target": 0.5139,
                "big_chances_created": 0.0636,
                "xgot": 0.046,
                "ball_carries": 21.0293,
                "total_progression": 79.0928,
                "progressive_carries": 1.6315,
                "key_pass": 1.1319,
                "shots_off_target": 0.2044
              },
              "params": {
                "blend_weight": 0.0077,
                "history_matches": 37,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.921,
                "prior_reliability": 0.1,
                "competition": "La Liga",
                "squad": "Atlético Madrid"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.7436,
                  "after": 0.7664
                },
                {
                  "stat": "totalCross",
                  "before": 1.7696,
                  "after": 1.7559
                },
                {
                  "stat": "interceptionWon",
                  "before": 1.1007,
                  "after": 1.1112
                },
                {
                  "stat": "wasFouled",
                  "before": 0.239,
                  "after": 0.2467
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.1112,
                "tackles": 2.0764,
                "tackles_won": 1.2431,
                "clearances": 1.7906,
                "aerial_won": 0.5119,
                "total_shots": 0.7215,
                "rating": 6.9925,
                "minutes": 82.89,
                "total_pass": 61.922,
                "accurate_pass": 57.748,
                "duels_won": 3.5906,
                "total_long_balls": 3.0159,
                "accurate_long_balls": 1.7493,
                "total_own_half_passes": 26.5299,
                "accurate_own_half_passes": 25.1106,
                "total_opp_half_passes": 35.3921,
                "accurate_opp_half_passes": 32.6375,
                "crosses_total": 1.7559,
                "crosses_accurate": 0.2059,
                "touches": 81.1826,
                "possession_lost": 8.2763,
                "dispossessed": 0.7026,
                "duels_lost": 3.0471,
                "aerial_lost": 0.4131,
                "total_contest": 1.0393,
                "won_contest": 0.7847,
                "ball_recovery": 4.1341,
                "challenges_lost": 0.9334,
                "fouls": 0.7664,
                "fouls_drawn": 0.2467,
                "blocks": 0.2429,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.108,
                "assist_rate": 0.108,
                "expected_goals": 0.0567,
                "expected_assists": 0.0898,
                "shots_on_target": 0.5139,
                "big_chances_created": 0.0636,
                "xgot": 0.046,
                "ball_carries": 21.0293,
                "total_progression": 79.0928,
                "progressive_carries": 1.6315,
                "key_pass": 1.1319,
                "shots_off_target": 0.2044
              },
              "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.1112,
                "tackles": 2.0764,
                "tackles_won": 1.2431,
                "clearances": 1.7906,
                "aerial_won": 0.5119,
                "total_shots": 0.7215,
                "rating": 6.9925,
                "minutes": 82.89,
                "total_pass": 61.922,
                "accurate_pass": 57.748,
                "duels_won": 3.5906,
                "total_long_balls": 3.0159,
                "accurate_long_balls": 1.7493,
                "total_own_half_passes": 26.5299,
                "accurate_own_half_passes": 25.1106,
                "total_opp_half_passes": 35.3921,
                "accurate_opp_half_passes": 32.6375,
                "crosses_total": 1.7559,
                "crosses_accurate": 0.2059,
                "touches": 81.1826,
                "possession_lost": 8.2763,
                "dispossessed": 0.7026,
                "duels_lost": 3.0471,
                "aerial_lost": 0.4131,
                "total_contest": 1.0393,
                "won_contest": 0.7847,
                "ball_recovery": 4.1341,
                "challenges_lost": 0.9334,
                "fouls": 0.7664,
                "fouls_drawn": 0.2467,
                "blocks": 0.2429,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.108,
                "assist_rate": 0.108,
                "expected_goals": 0.0567,
                "expected_assists": 0.0898,
                "shots_on_target": 0.5139,
                "big_chances_created": 0.0636,
                "xgot": 0.046,
                "ball_carries": 21.0293,
                "total_progression": 79.0928,
                "progressive_carries": 1.6315,
                "key_pass": 1.1319,
                "shots_off_target": 0.2044,
                "opponent_faced": "Roberto Fernández",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Roberto Fernández",
                  "matchup_zone": "Shape fallback"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 1.1112,
                "tackles": 2.0764,
                "tackles_won": 1.2431,
                "clearances": 1.7906,
                "aerial_won": 0.5119,
                "total_shots": 0.7215,
                "rating": 6.9925,
                "minutes": 82.89,
                "total_pass": 61.922,
                "accurate_pass": 57.748,
                "duels_won": 3.5906,
                "total_long_balls": 3.0159,
                "accurate_long_balls": 1.7493,
                "total_own_half_passes": 26.5299,
                "accurate_own_half_passes": 25.1106,
                "total_opp_half_passes": 35.3921,
                "accurate_opp_half_passes": 32.6375,
                "crosses_total": 1.7559,
                "crosses_accurate": 0.2059,
                "touches": 81.1826,
                "possession_lost": 8.2763,
                "dispossessed": 0.7026,
                "duels_lost": 3.0471,
                "aerial_lost": 0.4131,
                "total_contest": 1.0393,
                "won_contest": 0.7847,
                "ball_recovery": 4.1341,
                "challenges_lost": 0.9334,
                "fouls": 0.7664,
                "fouls_drawn": 0.2467,
                "blocks": 0.2429,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.108,
                "assists": 0,
                "expected_goals": 0.0567,
                "expected_assists": 0.0898,
                "shots_on_target": 0.5139,
                "big_chances_created": 0.0636,
                "xgot": 0.046,
                "ball_carries": 21.0293,
                "total_progression": 79.0928,
                "progressive_carries": 1.6315,
                "key_pass": 1.1319,
                "shots_off_target": 0.2044,
                "opponent_faced": "Roberto Fernández",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.33 (squad xG sum 1.6168, xG scale 1.4380, xA scale 1.4481, team xA 1.51 = 0.65 x lambda)",
              "stats": {
                "interceptions": 1.1112,
                "tackles": 2.0764,
                "tackles_won": 1.2431,
                "clearances": 1.7906,
                "aerial_won": 0.5119,
                "total_shots": 0.7215,
                "rating": 6.9925,
                "minutes": 82.89,
                "total_pass": 61.922,
                "accurate_pass": 57.748,
                "duels_won": 3.5906,
                "total_long_balls": 3.0159,
                "accurate_long_balls": 1.7493,
                "total_own_half_passes": 26.5299,
                "accurate_own_half_passes": 25.1106,
                "total_opp_half_passes": 35.3921,
                "accurate_opp_half_passes": 32.6375,
                "crosses_total": 1.7559,
                "crosses_accurate": 0.2059,
                "touches": 81.1826,
                "possession_lost": 8.2763,
                "dispossessed": 0.7026,
                "duels_lost": 3.0471,
                "aerial_lost": 0.4131,
                "total_contest": 1.0393,
                "won_contest": 0.7847,
                "ball_recovery": 4.1341,
                "challenges_lost": 0.9334,
                "fouls": 0.7664,
                "fouls_drawn": 0.2467,
                "blocks": 0.2429,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.108,
                "assists": 0,
                "expected_goals": 0.0815,
                "expected_assists": 0.13,
                "shots_on_target": 0.5139,
                "big_chances_created": 0.0636,
                "xgot": 0.0661,
                "ball_carries": 21.0293,
                "total_progression": 79.0928,
                "progressive_carries": 1.6315,
                "key_pass": 1.1319,
                "shots_off_target": 0.2044,
                "opponent_faced": "Roberto Fernández",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.1302
              },
              "params": {
                "team_lambda": 2.325,
                "squad_xg_sum": 1.6168,
                "squad_xa_sum": 1.0436,
                "team_expected_assists": 1.5113,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.438,
                "xa_scale": 1.4481,
                "opponent_lambda": 1.337,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0567,
                  "after": 0.0815
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0898,
                  "after": 0.13
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 5 by projected rating, fifa_overall 85.0)",
              "stats": {
                "interceptions": 1.1112,
                "tackles": 2.0764,
                "tackles_won": 1.2431,
                "clearances": 1.7906,
                "aerial_won": 0.5119,
                "total_shots": 0.7215,
                "rating": 6.9925,
                "minutes": 82.89,
                "total_pass": 61.922,
                "accurate_pass": 57.748,
                "duels_won": 3.5906,
                "total_long_balls": 3.0159,
                "accurate_long_balls": 1.7493,
                "total_own_half_passes": 26.5299,
                "accurate_own_half_passes": 25.1106,
                "total_opp_half_passes": 35.3921,
                "accurate_opp_half_passes": 32.6375,
                "crosses_total": 1.7559,
                "crosses_accurate": 0.2059,
                "touches": 81.1826,
                "possession_lost": 8.2763,
                "dispossessed": 0.7026,
                "duels_lost": 3.0471,
                "aerial_lost": 0.4131,
                "total_contest": 1.0393,
                "won_contest": 0.7847,
                "ball_recovery": 4.1341,
                "challenges_lost": 0.9334,
                "fouls": 0.7664,
                "fouls_drawn": 0.2467,
                "blocks": 0.2429,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.108,
                "assists": 0,
                "expected_goals": 0.0815,
                "expected_assists": 0.13,
                "shots_on_target": 0.5139,
                "big_chances_created": 0.0636,
                "xgot": 0.0661,
                "ball_carries": 21.0293,
                "total_progression": 79.0928,
                "progressive_carries": 1.6315,
                "key_pass": 1.1319,
                "shots_off_target": 0.2044,
                "opponent_faced": "Roberto Fernández",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.1302,
                "fifa_overall": 85.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": 264,
                "fifa_rank": 157.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 85.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 1.1112,
                "tackles": 2.0764,
                "tackles_won": 1.2431,
                "clearances": 1.7906,
                "aerial_won": 0.5119,
                "total_shots": 0.7215,
                "rating": 6.9925,
                "minutes": 82.89,
                "total_pass": 61.922,
                "accurate_pass": 57.748,
                "duels_won": 3.5906,
                "total_long_balls": 3.0159,
                "accurate_long_balls": 1.7493,
                "total_own_half_passes": 26.5299,
                "accurate_own_half_passes": 25.1106,
                "total_opp_half_passes": 35.3921,
                "accurate_opp_half_passes": 32.6375,
                "crosses_total": 1.7559,
                "crosses_accurate": 0.2059,
                "touches": 81.1826,
                "possession_lost": 8.2763,
                "dispossessed": 0.7026,
                "duels_lost": 3.0471,
                "aerial_lost": 0.4131,
                "total_contest": 1.0393,
                "won_contest": 0.7847,
                "ball_recovery": 4.1341,
                "challenges_lost": 0.9334,
                "fouls": 0.7664,
                "fouls_drawn": 0.2467,
                "blocks": 0.2429,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.108,
                "assists": 0,
                "expected_goals": 0.0815,
                "expected_assists": 0.13,
                "shots_on_target": 0.5139,
                "big_chances_created": 0.0636,
                "xgot": 0.0661,
                "ball_carries": 21.0293,
                "total_progression": 79.0928,
                "progressive_carries": 1.6315,
                "key_pass": 1.1319,
                "shots_off_target": 0.2044,
                "opponent_faced": "Roberto Fernández",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0783,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 1.1302,
                "fifa_overall": 85.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0783,
                "goal_rate": 0.0,
                "scorer_weight": 0.0652,
                "squad_weight_total": 2.409,
                "weight_share": 0.0271,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Jonathan David",
                    "weight": 0.71,
                    "already": 0,
                    "effective_weight": 0.71,
                    "runner_up": "Ademola Lookman",
                    "runner_up_effective_weight": 0.4553
                  },
                  {
                    "n": 2,
                    "player": "Ademola Lookman",
                    "weight": 0.4553,
                    "already": 0,
                    "effective_weight": 0.4553,
                    "runner_up": "Jonathan David",
                    "runner_up_effective_weight": 0.3021
                  }
                ]
              }
            },
            {
              "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.1112,
                "tackles": 2.0764,
                "tackles_won": 1.2431,
                "clearances": 1.7906,
                "aerial_won": 0.5119,
                "total_shots": 0.7215,
                "rating": 6.9925,
                "minutes": 82.89,
                "total_pass": 61.922,
                "accurate_pass": 57.748,
                "duels_won": 3.5906,
                "total_long_balls": 3.0159,
                "accurate_long_balls": 1.7493,
                "total_own_half_passes": 26.5299,
                "accurate_own_half_passes": 25.1106,
                "total_opp_half_passes": 35.3921,
                "accurate_opp_half_passes": 32.6375,
                "crosses_total": 1.7559,
                "crosses_accurate": 0.2059,
                "touches": 81.1826,
                "possession_lost": 8.2763,
                "dispossessed": 0.7026,
                "duels_lost": 3.0471,
                "aerial_lost": 0.4131,
                "total_contest": 1.0393,
                "won_contest": 0.7847,
                "ball_recovery": 4.1341,
                "challenges_lost": 0.9334,
                "fouls": 0.7664,
                "fouls_drawn": 0.2467,
                "blocks": 0.2429,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.108,
                "assists": 0,
                "expected_goals": 0.0815,
                "expected_assists": 0.13,
                "shots_on_target": 0.5139,
                "big_chances_created": 0.0636,
                "xgot": 0.0661,
                "ball_carries": 21.0293,
                "total_progression": 79.0928,
                "progressive_carries": 1.6315,
                "key_pass": 1.1319,
                "shots_off_target": 0.2044,
                "opponent_faced": "Roberto Fernández",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0783,
                "projected_assists": 0,
                "assist_probability": 0.1219,
                "finishing_factor": 0.8,
                "creation_factor": 1.1302,
                "fifa_overall": 85.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1219,
                "assist_rate": 0.108,
                "provider_weight": 0.1469,
                "squad_weight_total": 1.5221,
                "weight_share": 0.0965,
                "creation_factor": 1.1302,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alejandro Grimaldo",
                    "weight": 0.1971,
                    "already": 0,
                    "effective_weight": 0.1971,
                    "runner_up": "Alex Baena",
                    "runner_up_effective_weight": 0.1837
                  }
                ]
              }
            }
          ]
        },
        "Jan Oblak": {
          "player_id": 69768,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 13,
          "height": 189,
          "market_value": 16000000,
          "stats": {
            "saves": 3,
            "goals_prevented": 0.0324,
            "rating": 6.981,
            "minutes": 90,
            "total_pass": 27,
            "accurate_pass": 20,
            "total_long_balls": 12,
            "accurate_long_balls": 5,
            "touches": 36,
            "clearances": 0,
            "ball_recovery": 8,
            "high_claims": 1,
            "punches": 0.4532,
            "aerial_won": 0,
            "sweeper_actions": 1,
            "sweeper_accurate": 1,
            "saves_inside_box": 1,
            "possession_lost": 7.3793,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 21,
            "accurate_own_half_passes": 18,
            "gk_engine_opponent_lambda": 1.4715,
            "shots_faced": 12.7,
            "expected_saves": 3.11,
            "high_pressure_saves": 1.07,
            "opponent_faced": "Roberto Fernández, Javier Hernández",
            "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": 88.0
          },
          "latest_10_games": [
            {
              "match_id": 16421056,
              "match_date": "2026-10-10",
              "home_team": "Deportivo Alavés",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 14,
                "ball_recovery": 4,
                "saves": 2,
                "goals_prevented": 0.1248
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416339,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 19,
                "clearances": 1,
                "ball_recovery": 13,
                "saves": 2,
                "goals_prevented": -0.5685
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416335,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 22,
                "ball_recovery": 6,
                "saves": 1,
                "goals_prevented": 0.3059
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 24,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 10,
                "saves": 3,
                "goals_prevented": 0.4909
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 5.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 15,
                "ball_recovery": 6,
                "saves": 1,
                "goals_prevented": -1.7703
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416316,
              "match_date": "2026-08-29",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0012,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 22,
                "interceptions": 1,
                "duels_won": 1,
                "ball_recovery": 8,
                "saves": 4,
                "goals_prevented": -0.3214
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "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": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 8.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 25,
                "ball_recovery": 9,
                "saves": 4,
                "goals_prevented": 0.9056
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421055,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0004,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 22,
                "ball_recovery": 6,
                "saves": 1,
                "goals_prevented": 0.0174
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083661,
              "match_date": "2026-05-17",
              "home_team": "Atlético Madrid",
              "away_team": "Girona FC",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 90,
                "rating": 9.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0015,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 27,
                "ball_recovery": 15,
                "saves": 11,
                "goals_prevented": 1.0844
              },
              "has_player_stats": true,
              "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": 14083551,
              "match_date": "2026-05-09",
              "home_team": "Atlético Madrid",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 22,
                "clearances": 1,
                "ball_recovery": 8,
                "goals_prevented": -0.5452
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 121,
            "combined_rank_score": 112.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 180.0,
            "sofascore_rating": 7.2333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 45.0,
            "fifa_overall": 88.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.981,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jan Oblak",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Viktor Gyökeres",
                  "ranking": 116
                },
                {
                  "player_name": "Matías Zaldivia",
                  "ranking": 117
                },
                {
                  "player_name": "Adrián de la Fuente",
                  "ranking": 118
                },
                {
                  "player_name": "Jaylan Hankins",
                  "ranking": 119
                },
                {
                  "player_name": "Marquinhos",
                  "ranking": 120
                }
              ],
              "lower": [
                {
                  "player_name": "Morgan Rogers",
                  "ranking": 122
                },
                {
                  "player_name": "Joan García",
                  "ranking": 123
                },
                {
                  "player_name": "Bruno Henrique",
                  "ranking": 124
                },
                {
                  "player_name": "Jung Seung-bae",
                  "ranking": 125
                },
                {
                  "player_name": "Alexander Badolato",
                  "ranking": 126
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 38,
          "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": 38,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.003,
            "fbref_prior_metrics": {
              "squad": "Atlético Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 270.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (G_service) evaluated 38 historical appearances across 3 target models; FBref 2026-2027 prior blended (La Liga, Atlético Madrid, rel: 0.20, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost G_service raw output over 3 target models",
              "stats": {
                "saves": 2.9416,
                "goals_prevented": 0.0323,
                "rating": 6.981,
                "minutes": 90.0,
                "total_pass": 27.2818,
                "accurate_pass": 20.0366,
                "total_long_balls": 11.7846,
                "accurate_long_balls": 4.7717,
                "touches": 35.7442,
                "clearances": 0.4229,
                "ball_recovery": 8.1619,
                "high_claims": 0.5902,
                "punches": 0.4518,
                "aerial_won": 0.115,
                "sweeper_actions": 0.7395,
                "sweeper_accurate": 0.7395,
                "saves_inside_box": 1.3097,
                "possession_lost": 7.3572,
                "duels_won": 0.197,
                "duels_lost": 0.0042,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0826,
                "total_own_half_passes": 20.6837,
                "accurate_own_half_passes": 17.9155
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 5,
                  "trained_at": "2026-10-16T10:30:08.177787+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 200,
                    "rows": 7041
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1503,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1278,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0785,
                    "rating": 5.5
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 8.3
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Girona FC",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 9.8
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "accurateLongBalls": 4.7717,
                  "save_contribution": 2.464,
                  "distribution_accuracy": 0.867,
                  "accurateOwnHalfPasses": 17.9155,
                  "passValueNormalized": 0.0486,
                  "totalOwnHalfPasses": 20.6837
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.9416184425354004,
                    "model_output": 2.9416,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "save_contribution",
                        "importance": 0.0393
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.039
                      },
                      {
                        "name": "saves",
                        "importance": 0.0355
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0354
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 2.941,
                      "items": [
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0502
                        },
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "contribution": -0.0245
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0151
                        },
                        {
                          "name": "save_contribution",
                          "contribution": 0.0101
                        },
                        {
                          "name": "goodHighClaim",
                          "contribution": -0.0084
                        }
                      ],
                      "others": -0.0419,
                      "total": 2.9416,
                      "log_link": true,
                      "margin_base": 1.078763,
                      "item_margins": [
                        {
                          "name": "passValueNormalized",
                          "margin": 0.016923
                        },
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "margin": -0.008232
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.005073
                        },
                        {
                          "name": "save_contribution",
                          "margin": 0.003376
                        },
                        {
                          "name": "goodHighClaim",
                          "margin": -0.002802
                        }
                      ],
                      "others_margin": -0.014141
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": 0.032257113605737686,
                    "model_output": 0.0323,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.0405
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.0401
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0394
                      },
                      {
                        "name": "totalOwnHalfPasses",
                        "importance": 0.0381
                      },
                      {
                        "name": "punches",
                        "importance": 0.0363
                      }
                    ],
                    "decomposition": {
                      "base": -0.0281,
                      "items": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": 0.0362
                        },
                        {
                          "name": "inside_box_save_rate",
                          "contribution": -0.0152
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0124
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0111
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "contribution": -0.0108
                        }
                      ],
                      "others": 0.0515,
                      "total": 0.0323,
                      "log_link": false,
                      "margin_base": -0.028113,
                      "item_margins": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": 0.03619
                        },
                        {
                          "name": "inside_box_save_rate",
                          "margin": -0.015166
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.012351
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.011077
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "margin": -0.010796
                        }
                      ],
                      "others_margin": 0.051415
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.980984210968018,
                    "model_output": 6.981,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0379
                      },
                      {
                        "name": "commanding_index",
                        "importance": 0.0375
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.037
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0354
                      },
                      {
                        "name": "sweeper_accuracy",
                        "importance": 0.0347
                      }
                    ],
                    "decomposition": {
                      "base": 6.9974,
                      "items": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": 0.0372
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": -0.0177
                        },
                        {
                          "name": "sweeper_accuracy",
                          "contribution": -0.0115
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": -0.0103
                        },
                        {
                          "name": "accurateOwnHalfPasses",
                          "contribution": -0.0066
                        }
                      ],
                      "others": -0.0075,
                      "total": 6.981,
                      "log_link": false,
                      "margin_base": 6.997403,
                      "item_margins": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": 0.037187
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": -0.017668
                        },
                        {
                          "name": "sweeper_accuracy",
                          "margin": -0.011546
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": -0.010329
                        },
                        {
                          "name": "accurateOwnHalfPasses",
                          "margin": -0.006565
                        }
                      ],
                      "others_margin": -0.0075
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 38,
                  "role_matches": 38,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0030, quality 0.590)",
              "stats": {
                "saves": 2.9504,
                "goals_prevented": 0.0324,
                "rating": 6.981,
                "minutes": 90.0,
                "total_pass": 27.3636,
                "accurate_pass": 20.0967,
                "total_long_balls": 11.82,
                "accurate_long_balls": 4.786,
                "touches": 35.8514,
                "clearances": 0.4242,
                "ball_recovery": 8.1864,
                "high_claims": 0.592,
                "punches": 0.4532,
                "aerial_won": 0.1153,
                "sweeper_actions": 0.7417,
                "sweeper_accurate": 0.7417,
                "saves_inside_box": 1.3136,
                "possession_lost": 7.3793,
                "duels_won": 0.1976,
                "duels_lost": 0.0042,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0828,
                "total_own_half_passes": 20.7458,
                "accurate_own_half_passes": 17.9692
              },
              "params": {
                "market_value_eur": 16000000,
                "quality_factor": 0.59,
                "boost_factor": 1.003,
                "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": {
                "saves": 2.9511,
                "goals_prevented": 0.0324,
                "rating": 6.981,
                "minutes": 90.0,
                "total_pass": 27.3636,
                "accurate_pass": 20.0967,
                "total_long_balls": 11.82,
                "accurate_long_balls": 4.786,
                "touches": 35.8514,
                "clearances": 0.4242,
                "ball_recovery": 8.1864,
                "high_claims": 0.592,
                "punches": 0.4532,
                "aerial_won": 0.1153,
                "sweeper_actions": 0.7417,
                "sweeper_accurate": 0.7417,
                "saves_inside_box": 1.3136,
                "possession_lost": 7.3793,
                "duels_won": 0.1976,
                "duels_lost": 0.0042,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0866,
                "total_own_half_passes": 20.7458,
                "accurate_own_half_passes": 17.9692
              },
              "params": {
                "blend_weight": 0.0151,
                "history_matches": 38,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 1.0,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Atlético Madrid"
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 2.9511,
                "goals_prevented": 0.0324,
                "rating": 6.981,
                "minutes": 90.0,
                "total_pass": 27.3636,
                "accurate_pass": 20.0967,
                "total_long_balls": 11.82,
                "accurate_long_balls": 4.786,
                "touches": 35.8514,
                "clearances": 0.4242,
                "ball_recovery": 8.1864,
                "high_claims": 0.592,
                "punches": 0.4532,
                "aerial_won": 0.1153,
                "sweeper_actions": 0.7417,
                "sweeper_accurate": 0.7417,
                "saves_inside_box": 1.3136,
                "possession_lost": 7.3793,
                "duels_won": 0.1976,
                "duels_lost": 0.0042,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0866,
                "total_own_half_passes": 20.7458,
                "accurate_own_half_passes": 17.9692
              },
              "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.9511,
                "goals_prevented": 0.0324,
                "rating": 6.981,
                "minutes": 90.0,
                "total_pass": 27.3636,
                "accurate_pass": 20.0967,
                "total_long_balls": 11.82,
                "accurate_long_balls": 4.786,
                "touches": 35.8514,
                "clearances": 0.4242,
                "ball_recovery": 8.1864,
                "high_claims": 0.592,
                "punches": 0.4532,
                "aerial_won": 0.1153,
                "sweeper_actions": 0.7417,
                "sweeper_accurate": 0.7417,
                "saves_inside_box": 1.3136,
                "possession_lost": 7.3793,
                "duels_won": 0.1976,
                "duels_lost": 0.0042,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0866,
                "total_own_half_passes": 20.7458,
                "accurate_own_half_passes": 17.9692,
                "gk_engine_opponent_lambda": 1.4715,
                "shots_faced": 14.0,
                "expected_saves": 3.43,
                "high_pressure_saves": 1.18,
                "opponent_faced": "Roberto Fernández, Javier Hernández",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Roberto Fernández, Javier Hernández",
                  "matchup_zone": "Goalkeeper shot-stopping context",
                  "opponent_lambda": 1.4715
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "saves": 2.9511,
                "goals_prevented": 0.0324,
                "rating": 6.981,
                "minutes": 90.0,
                "total_pass": 27.3636,
                "accurate_pass": 20.0967,
                "total_long_balls": 11.82,
                "accurate_long_balls": 4.786,
                "touches": 35.8514,
                "clearances": 0.4242,
                "ball_recovery": 8.1864,
                "high_claims": 0.592,
                "punches": 0.4532,
                "aerial_won": 0.1153,
                "sweeper_actions": 0.7417,
                "sweeper_accurate": 0.7417,
                "saves_inside_box": 1.3136,
                "possession_lost": 7.3793,
                "duels_won": 0.1976,
                "duels_lost": 0.0042,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0866,
                "total_own_half_passes": 20.7458,
                "accurate_own_half_passes": 17.9692,
                "gk_engine_opponent_lambda": 1.4715,
                "shots_faced": 14.0,
                "expected_saves": 3.43,
                "high_pressure_saves": 1.18,
                "opponent_faced": "Roberto Fernández, Javier Hernández",
                "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
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.33 (squad xG sum 1.6168, xG scale 1.4380, xA scale 1.4481, team xA 1.51 = 0.65 x lambda)",
              "stats": {
                "saves": 2.9511,
                "goals_prevented": 0.0324,
                "rating": 6.981,
                "minutes": 90.0,
                "total_pass": 27.3636,
                "accurate_pass": 20.0967,
                "total_long_balls": 11.82,
                "accurate_long_balls": 4.786,
                "touches": 35.8514,
                "clearances": 0.4242,
                "ball_recovery": 8.1864,
                "high_claims": 0.592,
                "punches": 0.4532,
                "aerial_won": 0.1153,
                "sweeper_actions": 0.7417,
                "sweeper_accurate": 0.7417,
                "saves_inside_box": 1.3136,
                "possession_lost": 7.3793,
                "duels_won": 0.1976,
                "duels_lost": 0.0042,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0866,
                "total_own_half_passes": 20.7458,
                "accurate_own_half_passes": 17.9692,
                "gk_engine_opponent_lambda": 1.4715,
                "shots_faced": 12.7,
                "expected_saves": 3.11,
                "high_pressure_saves": 1.07,
                "opponent_faced": "Roberto Fernández, Javier Hernández",
                "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": 2.325,
                "squad_xg_sum": 1.6168,
                "squad_xa_sum": 1.0436,
                "team_expected_assists": 1.5113,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.438,
                "xa_scale": 1.4481,
                "opponent_lambda": 1.337,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "shots_faced",
                  "before": 14.0,
                  "after": 12.7
                },
                {
                  "stat": "expected_saves",
                  "before": 3.43,
                  "after": 3.11
                },
                {
                  "stat": "high_pressure_saves",
                  "before": 1.18,
                  "after": 1.07
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 6 by projected rating, fifa_overall 88.0)",
              "stats": {
                "saves": 2.9511,
                "goals_prevented": 0.0324,
                "rating": 6.981,
                "minutes": 90.0,
                "total_pass": 27.3636,
                "accurate_pass": 20.0967,
                "total_long_balls": 11.82,
                "accurate_long_balls": 4.786,
                "touches": 35.8514,
                "clearances": 0.4242,
                "ball_recovery": 8.1864,
                "high_claims": 0.592,
                "punches": 0.4532,
                "aerial_won": 0.1153,
                "sweeper_actions": 0.7417,
                "sweeper_accurate": 0.7417,
                "saves_inside_box": 1.3136,
                "possession_lost": 7.3793,
                "duels_won": 0.1976,
                "duels_lost": 0.0042,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0866,
                "total_own_half_passes": 20.7458,
                "accurate_own_half_passes": 17.9692,
                "gk_engine_opponent_lambda": 1.4715,
                "shots_faced": 12.7,
                "expected_saves": 3.11,
                "high_pressure_saves": 1.07,
                "opponent_faced": "Roberto Fernández, Javier Hernández",
                "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": 88.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": 121,
                "fifa_rank": 45.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 88.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "saves": 2.9511,
                "goals_prevented": 0.0324,
                "rating": 6.981,
                "minutes": 90.0,
                "total_pass": 27.3636,
                "accurate_pass": 20.0967,
                "total_long_balls": 11.82,
                "accurate_long_balls": 4.786,
                "touches": 35.8514,
                "clearances": 0.4242,
                "ball_recovery": 8.1864,
                "high_claims": 0.592,
                "punches": 0.4532,
                "aerial_won": 0.1153,
                "sweeper_actions": 0.7417,
                "sweeper_accurate": 0.7417,
                "saves_inside_box": 1.3136,
                "possession_lost": 7.3793,
                "duels_won": 0.1976,
                "duels_lost": 0.0042,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0866,
                "total_own_half_passes": 20.7458,
                "accurate_own_half_passes": 17.9692,
                "gk_engine_opponent_lambda": 1.4715,
                "shots_faced": 12.7,
                "expected_saves": 3.11,
                "high_pressure_saves": 1.07,
                "opponent_faced": "Roberto Fernández, Javier Hernández",
                "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": 88.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.0,
                "squad_weight_total": 2.409,
                "weight_share": 0.0,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Jonathan David",
                    "weight": 0.71,
                    "already": 0,
                    "effective_weight": 0.71,
                    "runner_up": "Ademola Lookman",
                    "runner_up_effective_weight": 0.4553
                  },
                  {
                    "n": 2,
                    "player": "Ademola Lookman",
                    "weight": 0.4553,
                    "already": 0,
                    "effective_weight": 0.4553,
                    "runner_up": "Jonathan David",
                    "runner_up_effective_weight": 0.3021
                  }
                ]
              }
            },
            {
              "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.9511,
                "goals_prevented": 0.0324,
                "rating": 6.981,
                "minutes": 90.0,
                "total_pass": 27.3636,
                "accurate_pass": 20.0967,
                "total_long_balls": 11.82,
                "accurate_long_balls": 4.786,
                "touches": 35.8514,
                "clearances": 0.4242,
                "ball_recovery": 8.1864,
                "high_claims": 0.592,
                "punches": 0.4532,
                "aerial_won": 0.1153,
                "sweeper_actions": 0.7417,
                "sweeper_accurate": 0.7417,
                "saves_inside_box": 1.3136,
                "possession_lost": 7.3793,
                "duels_won": 0.1976,
                "duels_lost": 0.0042,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0,
                "fouls_drawn": 0.0866,
                "total_own_half_passes": 20.7458,
                "accurate_own_half_passes": 17.9692,
                "gk_engine_opponent_lambda": 1.4715,
                "shots_faced": 12.7,
                "expected_saves": 3.11,
                "high_pressure_saves": 1.07,
                "opponent_faced": "Roberto Fernández, Javier Hernández",
                "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": 88.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0,
                "squad_weight_total": 1.5221,
                "weight_share": 0.0,
                "creation_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alejandro Grimaldo",
                    "weight": 0.1971,
                    "already": 0,
                    "effective_weight": 0.1971,
                    "runner_up": "Alex Baena",
                    "runner_up_effective_weight": 0.1837
                  }
                ]
              }
            }
          ]
        }
      },
      "bench_players": {
        "Juan Musso": {
          "player_id": 263651,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 1,
          "height": 191,
          "market_value": 3200000,
          "stats": {
            "saves": 0,
            "goals_prevented": -0.0258,
            "rating": 6.9691,
            "minutes": 4,
            "total_pass": 4,
            "accurate_pass": 3,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "touches": 6,
            "clearances": 0,
            "ball_recovery": 2,
            "high_claims": 0,
            "punches": 0.1192,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 1.069,
            "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.109,
            "bench_expected_minutes": 4.4,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.543,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "goals": 0,
            "projected_goals": 0,
            "goal_probability": 0.0,
            "assists": 0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 82.0
          },
          "latest_10_games": [
            {
              "match_id": 14083735,
              "match_date": "2026-05-24",
              "home_team": "Villarreal",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 5.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0,
                "total_shots": 0,
                "total_pass": 18,
                "accurate_pass": 17,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 11,
                "saves": 3,
                "goals_prevented": -1.5578
              },
              "has_player_stats": true,
              "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": 14083634,
              "match_date": "2026-05-12",
              "home_team": "Osasuna",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 8.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0018,
                "total_shots": 0,
                "total_pass": 39,
                "accurate_pass": 25,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 13,
                "saves": 4,
                "goals_prevented": 0.201
              },
              "has_player_stats": true,
              "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": 14083476,
              "match_date": "2026-05-02",
              "home_team": "Valencia",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0007,
                "total_shots": 0,
                "total_pass": 36,
                "accurate_pass": 25,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 5
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083161,
              "match_date": "2026-04-11",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0043,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 22,
                "ball_recovery": 13,
                "goals_prevented": -0.7825
              },
              "has_player_stats": true
            },
            {
              "match_id": 14081810,
              "match_date": "2026-04-04",
              "home_team": "Atlético Madrid",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0003,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 17,
                "clearances": 2,
                "ball_recovery": 11,
                "saves": 6,
                "goals_prevented": 0.3665
              },
              "has_player_stats": true
            },
            {
              "match_id": 14081807,
              "match_date": "2026-03-22",
              "home_team": "Real Madrid",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0004,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 15,
                "ball_recovery": 8,
                "saves": 5,
                "goals_prevented": -1.2567
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083612,
              "match_date": "2026-03-14",
              "home_team": "Atlético Madrid",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 8.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0003,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 22,
                "duels_won": 1,
                "ball_recovery": 9,
                "saves": 3,
                "goals_prevented": 1.1327
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083131,
              "match_date": "2025-11-23",
              "home_team": "Getafe",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.001,
                "total_shots": 0,
                "total_pass": 26,
                "accurate_pass": 25,
                "clearances": 1,
                "ball_recovery": 7,
                "saves": 1,
                "goals_prevented": 0.0135
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 315,
            "combined_rank_score": 216.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 21.0,
            "sofascore_rating": 8.1,
            "sofascore_appearances": 4.0,
            "fifa_rank": 411.0,
            "fifa_overall": 82.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9691,
            "source_file": "data/player_rankings.csv",
            "player_name": "Juan Musso",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Josh Wilson-Esbrand",
                  "ranking": 310
                },
                {
                  "player_name": "Choi Jun-yeong",
                  "ranking": 311
                },
                {
                  "player_name": "Wladimiro Falcone",
                  "ranking": 312
                },
                {
                  "player_name": "Morgan Gibbs-White",
                  "ranking": 313
                },
                {
                  "player_name": "Bojan Ciger",
                  "ranking": 314
                }
              ],
              "lower": [
                {
                  "player_name": "Ju-kong Kim",
                  "ranking": 316
                },
                {
                  "player_name": "Jae-yong Bak",
                  "ranking": 317
                },
                {
                  "player_name": "Bryan Mbeumo",
                  "ranking": 318
                },
                {
                  "player_name": "Sandzhar Kuvvatov",
                  "ranking": 319
                },
                {
                  "player_name": "Jon Ander Olasagasti",
                  "ranking": 320
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 8,
          "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": 8,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 4.40206294284004,
            "bench_appearance_prob": 0.10918467922000183,
            "market_value_adjustment": 0.9925,
            "fbref_prior_metrics": {
              "squad": "Atlético Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 0.0,
              "starts": 0.0,
              "sub_appearances": 0.0,
              "prior_reliability": 0.0
            },
            "rationale": "Bench projection scaled from XGBoost G_service (8 historical appearances) to 4.4 expected mins (appearance prob 0.11); 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.7841,
                "goals_prevented": -0.1683,
                "rating": 6.9691,
                "minutes": 28.5,
                "total_pass": 27.6104,
                "accurate_pass": 20.9615,
                "total_long_balls": 11.5241,
                "accurate_long_balls": 4.8752,
                "touches": 40.563,
                "clearances": 1.0442,
                "ball_recovery": 10.0156,
                "high_claims": 1.6892,
                "punches": 0.7776,
                "aerial_won": 0.8546,
                "sweeper_actions": 0.7251,
                "sweeper_accurate": 0.7251,
                "saves_inside_box": 1.7757,
                "possession_lost": 6.9731,
                "duels_won": 0.9324,
                "duels_lost": 0.2062,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.2062,
                "fouls_drawn": 0.3757,
                "total_own_half_passes": 21.0245,
                "accurate_own_half_passes": 19.0589
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 5,
                  "trained_at": "2026-10-16T10:30:08.177787+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 200,
                    "rows": 7041
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-05-24",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2062,
                    "rating": 5.6
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1753,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.149,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-04-11",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1266,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-04-04",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1076,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-03-22",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0915,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-03-14",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0778,
                    "rating": 8.3
                  },
                  {
                    "match_date": "2025-11-23",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0661,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 8.0,
                  "is_starting_11": 0.0,
                  "accurateLongBalls": 4.8752,
                  "save_contribution": 2.3506,
                  "distribution_accuracy": 0.9105,
                  "accurateOwnHalfPasses": 19.0589,
                  "passValueNormalized": 0.0733,
                  "totalOwnHalfPasses": 21.0245
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.7841272354125977,
                    "model_output": 2.7841,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "save_contribution",
                        "importance": 0.0393
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.039
                      },
                      {
                        "name": "saves",
                        "importance": 0.0355
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0354
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 2.941,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2254
                        },
                        {
                          "name": "goodHighClaim",
                          "contribution": 0.0471
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0291
                        },
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "contribution": -0.0171
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0151
                        }
                      ],
                      "others": -0.0057,
                      "total": 2.7841,
                      "log_link": true,
                      "margin_base": 1.078763,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.079745
                        },
                        {
                          "name": "goodHighClaim",
                          "margin": 0.017179
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.010488
                        },
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "margin": -0.006155
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.005422
                        }
                      ],
                      "others_margin": -0.002017
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": -0.16833049058914185,
                    "model_output": -0.1683,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "aerialWon",
                        "importance": 0.0405
                      },
                      {
                        "name": "accurateLongBalls",
                        "importance": 0.0401
                      },
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0394
                      },
                      {
                        "name": "totalOwnHalfPasses",
                        "importance": 0.0381
                      },
                      {
                        "name": "punches",
                        "importance": 0.0363
                      }
                    ],
                    "decomposition": {
                      "base": -0.0281,
                      "items": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": -0.0379
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0313
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.029
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "contribution": -0.0232
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0165
                        }
                      ],
                      "others": -0.0353,
                      "total": -0.1683,
                      "log_link": false,
                      "margin_base": -0.028113,
                      "item_margins": [
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": -0.037883
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.031335
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.029039
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "margin": -0.023156
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.016542
                        }
                      ],
                      "others_margin": -0.035347
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.969145774841309,
                    "model_output": 6.9691,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0379
                      },
                      {
                        "name": "commanding_index",
                        "importance": 0.0375
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.037
                      },
                      {
                        "name": "totalLongBalls",
                        "importance": 0.0354
                      },
                      {
                        "name": "sweeper_accuracy",
                        "importance": 0.0347
                      }
                    ],
                    "decomposition": {
                      "base": 6.9974,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.0224
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": -0.0205
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0196
                        },
                        {
                          "name": "commanding_index",
                          "contribution": 0.0159
                        },
                        {
                          "name": "goalsPrevented",
                          "contribution": -0.0111
                        }
                      ],
                      "others": -0.0098,
                      "total": 6.9691,
                      "log_link": false,
                      "margin_base": 6.997403,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.022404
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": -0.020521
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.01964
                        },
                        {
                          "name": "commanding_index",
                          "margin": 0.015911
                        },
                        {
                          "name": "goalsPrevented",
                          "margin": -0.011113
                        }
                      ],
                      "others_margin": -0.00977
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 8,
                  "role_matches": 0,
                  "minutes_source": "position_median",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9925, quality 0.440)",
              "stats": {
                "saves": 2.7632,
                "goals_prevented": -0.1671,
                "rating": 6.9691,
                "minutes": 28.5,
                "total_pass": 27.4033,
                "accurate_pass": 20.8043,
                "total_long_balls": 11.4377,
                "accurate_long_balls": 4.8386,
                "touches": 40.2588,
                "clearances": 1.0364,
                "ball_recovery": 9.9405,
                "high_claims": 1.6765,
                "punches": 0.7718,
                "aerial_won": 0.8482,
                "sweeper_actions": 0.7197,
                "sweeper_accurate": 0.7197,
                "saves_inside_box": 1.7624,
                "possession_lost": 6.9208,
                "duels_won": 0.9254,
                "duels_lost": 0.2047,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.2047,
                "fouls_drawn": 0.3729,
                "total_own_half_passes": 20.8668,
                "accurate_own_half_passes": 18.916
              },
              "params": {
                "market_value_eur": 3200000,
                "quality_factor": 0.4399,
                "boost_factor": 0.9925,
                "reference_quality": 0.505,
                "history_matches": 8,
                "history_shrink": 0.3846,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 28.5 to 4.4 expected minutes (appearance prob 0.11)",
              "stats": {
                "saves": 0.4268,
                "goals_prevented": -0.0258,
                "rating": 6.9691,
                "minutes": 4.4,
                "total_pass": 4.2327,
                "accurate_pass": 3.2134,
                "total_long_balls": 1.7666,
                "accurate_long_balls": 0.7474,
                "touches": 6.2183,
                "clearances": 0.1601,
                "ball_recovery": 1.5354,
                "high_claims": 0.2589,
                "punches": 0.1192,
                "aerial_won": 0.131,
                "sweeper_actions": 0.1112,
                "sweeper_accurate": 0.1112,
                "saves_inside_box": 0.2722,
                "possession_lost": 1.069,
                "duels_won": 0.1429,
                "duels_lost": 0.0316,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0316,
                "fouls_drawn": 0.0576,
                "total_own_half_passes": 3.2231,
                "accurate_own_half_passes": 2.9217,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.4
              },
              "params": {
                "expected_minutes": 4.4,
                "projection_minutes": 28.5,
                "minutes_scale": 0.1545,
                "appearance_probability": 0.109
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 0.4268,
                "goals_prevented": -0.0258,
                "rating": 6.9691,
                "minutes": 4.4,
                "total_pass": 4.2327,
                "accurate_pass": 3.2134,
                "total_long_balls": 1.7666,
                "accurate_long_balls": 0.7474,
                "touches": 6.2183,
                "clearances": 0.1601,
                "ball_recovery": 1.5354,
                "high_claims": 0.2589,
                "punches": 0.1192,
                "aerial_won": 0.131,
                "sweeper_actions": 0.1112,
                "sweeper_accurate": 0.1112,
                "saves_inside_box": 0.2722,
                "possession_lost": 1.069,
                "duels_won": 0.1429,
                "duels_lost": 0.0316,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0316,
                "fouls_drawn": 0.0576,
                "total_own_half_passes": 3.2231,
                "accurate_own_half_passes": 2.9217,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.4
              },
              "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.4268,
                "goals_prevented": -0.0258,
                "rating": 6.9691,
                "minutes": 4.4,
                "total_pass": 4.2327,
                "accurate_pass": 3.2134,
                "total_long_balls": 1.7666,
                "accurate_long_balls": 0.7474,
                "touches": 6.2183,
                "clearances": 0.1601,
                "ball_recovery": 1.5354,
                "high_claims": 0.2589,
                "punches": 0.1192,
                "aerial_won": 0.131,
                "sweeper_actions": 0.1112,
                "sweeper_accurate": 0.1112,
                "saves_inside_box": 0.2722,
                "possession_lost": 1.069,
                "duels_won": 0.1429,
                "duels_lost": 0.0316,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0316,
                "fouls_drawn": 0.0576,
                "total_own_half_passes": 3.2231,
                "accurate_own_half_passes": 2.9217,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.543,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.109,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 8 by projected rating, fifa_overall 82.0)",
              "stats": {
                "saves": 0.4268,
                "goals_prevented": -0.0258,
                "rating": 6.9691,
                "minutes": 4.4,
                "total_pass": 4.2327,
                "accurate_pass": 3.2134,
                "total_long_balls": 1.7666,
                "accurate_long_balls": 0.7474,
                "touches": 6.2183,
                "clearances": 0.1601,
                "ball_recovery": 1.5354,
                "high_claims": 0.2589,
                "punches": 0.1192,
                "aerial_won": 0.131,
                "sweeper_actions": 0.1112,
                "sweeper_accurate": 0.1112,
                "saves_inside_box": 0.2722,
                "possession_lost": 1.069,
                "duels_won": 0.1429,
                "duels_lost": 0.0316,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0316,
                "fouls_drawn": 0.0576,
                "total_own_half_passes": 3.2231,
                "accurate_own_half_passes": 2.9217,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.543,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 82.0
              },
              "params": {
                "match_squad_rank": 8,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 315,
                "fifa_rank": 411.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 82.0
              }
            }
          ]
        },
        "Marc Pubill": {
          "player_id": 1094106,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 18,
          "height": 190,
          "market_value": 48000000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 1,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.7616,
            "minutes": 15,
            "total_pass": 10,
            "accurate_pass": 9,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 6,
            "accurate_own_half_passes": 6,
            "total_opp_half_passes": 4,
            "accurate_opp_half_passes": 3,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 13,
            "possession_lost": 1.4108,
            "dispossessed": 0.1682,
            "duels_lost": 1,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0012,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0017,
            "expected_assists": 0.0041,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0116,
            "ball_carries": 3,
            "total_progression": 10,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.248,
            "bench_expected_minutes": 15.07,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.543,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 87.0
          },
          "latest_10_games": [
            {
              "match_id": 16416339,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 45,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0282,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 22,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416335,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 22,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0012,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 23,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0079,
                "total_shots": 0,
                "total_pass": 40,
                "accurate_pass": 36,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0082,
                "total_shots": 0,
                "total_pass": 83,
                "accurate_pass": 78,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416316,
              "match_date": "2026-08-29",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0921,
                "expected_assists": 0.0028,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 57,
                "accurate_pass": 51,
                "clearances": 4,
                "aerial_won": 3,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "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": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 66,
                "rating": 8.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0623,
                "expected_assists": 0.0403,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 32,
                "accurate_pass": 28,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "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": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 45,
                "rating": 6.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4462,
                "expected_assists": 0.0062,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 42,
                "accurate_pass": 39,
                "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": 14083661,
              "match_date": "2026-05-17",
              "home_team": "Atlético Madrid",
              "away_team": "Girona FC",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2044,
                "expected_assists": 0.0044,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 33,
                "accurate_pass": 27,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 4,
                "aerial_won": 4,
                "duels_won": 7,
                "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": 14083634,
              "match_date": "2026-05-12",
              "home_team": "Osasuna",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0425,
                "expected_assists": 0.0031,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 22,
                "accurate_pass": 19,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 8,
                "aerial_won": 5,
                "duels_won": 11,
                "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": 14083551,
              "match_date": "2026-05-09",
              "home_team": "Atlético Madrid",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0356,
                "total_shots": 0,
                "total_pass": 63,
                "accurate_pass": 56,
                "tackles": 2,
                "tackles_won": 2,
                "duels_won": 5,
                "ball_recovery": 6
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 153,
            "combined_rank_score": 101.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 138.0,
            "sofascore_rating": 7.35,
            "sofascore_appearances": 2.0,
            "fifa_rank": 64.0,
            "fifa_overall": 87.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7616,
            "source_file": "data/player_rankings.csv",
            "player_name": "Marc Pubill",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Kipras Kazukolovas",
                  "ranking": 148
                },
                {
                  "player_name": "Fabián Mina",
                  "ranking": 149
                },
                {
                  "player_name": "Jonathan Tah",
                  "ranking": 150
                },
                {
                  "player_name": "Kevin Méndez",
                  "ranking": 151
                },
                {
                  "player_name": "Elseid Hysaj",
                  "ranking": 152
                }
              ],
              "lower": [
                {
                  "player_name": "Alex Muralha",
                  "ranking": 154
                },
                {
                  "player_name": "Guilherme Arana",
                  "ranking": 155
                },
                {
                  "player_name": "Will Smallbone",
                  "ranking": 156
                },
                {
                  "player_name": "Do-dam Kim",
                  "ranking": 157
                },
                {
                  "player_name": "Nuno Mendes",
                  "ranking": 158
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.767,
          "history_matches": 25,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 25,
            "data_confidence": 0.767,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 15.074636121884067,
            "bench_appearance_prob": 0.248,
            "market_value_adjustment": 1.0156,
            "fbref_prior_metrics": {
              "squad": "Atlético Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.5882352941176471,
              "assists_per90": 0.0,
              "prior_reliability": 0.1133
            },
            "rationale": "Bench projection scaled from XGBoost D_service (25 historical appearances) to 15.1 expected mins (appearance prob 0.25); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.3026,
                "tackles": 0.5725,
                "tackles_won": 0.2952,
                "clearances": 1.1075,
                "aerial_won": 0.5796,
                "total_shots": 0.2317,
                "rating": 6.7616,
                "minutes": 23.81,
                "total_pass": 15.7315,
                "accurate_pass": 14.2289,
                "duels_won": 1.1639,
                "total_long_balls": 0.7049,
                "accurate_long_balls": 0.1656,
                "total_own_half_passes": 9.3398,
                "accurate_own_half_passes": 8.841,
                "total_opp_half_passes": 6.3916,
                "accurate_opp_half_passes": 5.3879,
                "crosses_total": 0.1656,
                "crosses_accurate": 0.1656,
                "touches": 20.7781,
                "possession_lost": 2.1942,
                "dispossessed": 0.1656,
                "duels_lost": 0.9844,
                "aerial_lost": 0.4584,
                "total_contest": 0.1656,
                "won_contest": 0.0,
                "ball_recovery": 0.7685,
                "challenges_lost": 0.0,
                "fouls": 0.1948,
                "fouls_drawn": 0.2292,
                "blocks": 0.3896,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0027,
                "expected_assists": 0.0063,
                "shots_on_target": 0.1408,
                "big_chances_created": 0.0,
                "xgot": 0.018,
                "ball_carries": 4.5549,
                "total_progression": 16.0605,
                "progressive_carries": 0.0,
                "key_pass": 0.1656,
                "shots_off_target": 0.0909
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-16T10:30:59.837052+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 625,
                    "rows": 21030
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Madrid",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.1526,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Osasuna",
                    "minutes": 22.0,
                    "is_starting": false,
                    "weight": 0.1297,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1103,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0937,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0797,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Villarreal",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.0677,
                    "rating": 8.1
                  },
                  {
                    "match_date": "2026-05-24",
                    "opponent": "Villarreal",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0576,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Girona FC",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0489,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0416,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0354,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 2.3436,
                  "aerialWon": 1.5048,
                  "totalClearance_p90": 2.6712,
                  "totalTackle": 1.304,
                  "defensive_actions": 1.681
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.3025941848754883,
                    "model_output": 0.3026,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2924
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0396
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0252
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0247
                      },
                      {
                        "name": "touches",
                        "importance": 0.0228
                      }
                    ],
                    "decomposition": {
                      "base": 0.8609,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.49
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0347
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0091
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0082
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0074
                        }
                      ],
                      "others": -0.0237,
                      "total": 0.3026,
                      "log_link": true,
                      "margin_base": -0.149807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.842086
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.098147
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.027543
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.025445
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.022978
                        }
                      ],
                      "others_margin": -0.075314
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.5725118517875671,
                    "model_output": 0.5725,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2589
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0677
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.049
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.044
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 1.3915,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7472
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0187
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0183
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0136
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": -0.0125
                        }
                      ],
                      "others": -0.0453,
                      "total": 0.5725,
                      "log_link": true,
                      "margin_base": 0.330386,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.769996
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.029485
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.028822
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.021428
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": -0.020041
                        }
                      ],
                      "others_margin": -0.075981
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.2951815128326416,
                    "model_output": 0.2952,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2078
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0673
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0422
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0415
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.8542,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4829
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0132
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0093
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0089
                        },
                        {
                          "name": "errorLeadToAShot",
                          "contribution": 0.0087
                        }
                      ],
                      "others": -0.0712,
                      "total": 0.2952,
                      "log_link": true,
                      "margin_base": -0.157629,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.833236
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.036286
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.02646
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.025155
                        },
                        {
                          "name": "errorLeadToAShot",
                          "margin": 0.023984
                        }
                      ],
                      "others_margin": -0.215693
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.107452630996704,
                    "model_output": 1.1075,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2949
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0875
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0204
                      }
                    ],
                    "decomposition": {
                      "base": 3.4327,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.063
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.2076
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0657
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.037
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0223
                        }
                      ],
                      "others": -0.0482,
                      "total": 1.1075,
                      "log_link": true,
                      "margin_base": 1.233356,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.918734
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.164365
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.058194
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.033173
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.019507
                        }
                      ],
                      "others_margin": -0.04268
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.5795769095420837,
                    "model_output": 0.5796,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1614
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1583
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0863
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 1.3773,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7486
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0441
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0397
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0214
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0206
                        }
                      ],
                      "others": -0.0027,
                      "total": 0.5796,
                      "log_link": true,
                      "margin_base": 0.320134,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.784148
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.072757
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.065722
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.034862
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.0347
                        }
                      ],
                      "others_margin": -0.004846
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.2317107766866684,
                    "model_output": 0.2317,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.105
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.033
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0307
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 0.4745,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2333
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.026
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0233
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0147
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0088
                        }
                      ],
                      "others": -0.0127,
                      "total": 0.2317,
                      "log_link": false,
                      "margin_base": 0.474501,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.233317
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.025994
                        },
                        {
                          "name": "rating",
                          "margin": 0.023289
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.014731
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.008808
                        }
                      ],
                      "others_margin": -0.012691
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.761634826660156,
                    "model_output": 6.7616,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0634
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0627
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0603
                      },
                      {
                        "name": "touches",
                        "importance": 0.0395
                      },
                      {
                        "name": "rating",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 6.7847,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0183
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0131
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0127
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0118
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0082
                        }
                      ],
                      "others": -0.0244,
                      "total": 6.7616,
                      "log_link": false,
                      "margin_base": 6.784704,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.01826
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.013116
                        },
                        {
                          "name": "rating",
                          "margin": 0.012712
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.011824
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.008228
                        }
                      ],
                      "others_margin": -0.024455
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 25,
                  "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.0156, quality 0.817)",
              "stats": {
                "interceptions": 0.3073,
                "tackles": 0.5814,
                "tackles_won": 0.2998,
                "clearances": 1.1247,
                "aerial_won": 0.5886,
                "total_shots": 0.2353,
                "rating": 6.7616,
                "minutes": 23.81,
                "total_pass": 15.9769,
                "accurate_pass": 14.4509,
                "duels_won": 1.1821,
                "total_long_balls": 0.7159,
                "accurate_long_balls": 0.1682,
                "total_own_half_passes": 9.4855,
                "accurate_own_half_passes": 8.9789,
                "total_opp_half_passes": 6.4913,
                "accurate_opp_half_passes": 5.472,
                "crosses_total": 0.1682,
                "crosses_accurate": 0.1682,
                "touches": 21.1022,
                "possession_lost": 2.2284,
                "dispossessed": 0.1682,
                "duels_lost": 0.9998,
                "aerial_lost": 0.4656,
                "total_contest": 0.1682,
                "won_contest": 0.0,
                "ball_recovery": 0.7805,
                "challenges_lost": 0.0,
                "fouls": 0.1978,
                "fouls_drawn": 0.2328,
                "blocks": 0.3957,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0027,
                "expected_assists": 0.0064,
                "shots_on_target": 0.143,
                "big_chances_created": 0.0,
                "xgot": 0.0183,
                "ball_carries": 4.626,
                "total_progression": 16.311,
                "progressive_carries": 0.0,
                "key_pass": 0.1682,
                "shots_off_target": 0.0923
              },
              "params": {
                "market_value_eur": 48000000,
                "quality_factor": 0.8168,
                "boost_factor": 1.0156,
                "reference_quality": 0.505,
                "history_matches": 25,
                "history_shrink": 0.1667,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0123)",
              "stats": {
                "interceptions": 0.3035,
                "tackles": 0.5814,
                "tackles_won": 0.298,
                "clearances": 1.1247,
                "aerial_won": 0.5886,
                "total_shots": 0.2362,
                "rating": 6.7616,
                "minutes": 23.81,
                "total_pass": 15.9769,
                "accurate_pass": 14.4509,
                "duels_won": 1.1821,
                "total_long_balls": 0.7159,
                "accurate_long_balls": 0.1682,
                "total_own_half_passes": 9.4855,
                "accurate_own_half_passes": 8.9789,
                "total_opp_half_passes": 6.4913,
                "accurate_opp_half_passes": 5.472,
                "crosses_total": 0.17,
                "crosses_accurate": 0.1682,
                "touches": 21.1022,
                "possession_lost": 2.2284,
                "dispossessed": 0.1682,
                "duels_lost": 0.9998,
                "aerial_lost": 0.4656,
                "total_contest": 0.1682,
                "won_contest": 0.0,
                "ball_recovery": 0.7805,
                "challenges_lost": 0.0,
                "fouls": 0.1992,
                "fouls_drawn": 0.2338,
                "blocks": 0.3957,
                "goals": 0.0019,
                "goal_rate": 0.0019,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0027,
                "expected_assists": 0.0064,
                "shots_on_target": 0.1431,
                "big_chances_created": 0.0,
                "xgot": 0.0183,
                "ball_carries": 4.626,
                "total_progression": 16.311,
                "progressive_carries": 0.0,
                "key_pass": 0.1682,
                "shots_off_target": 0.0923
              },
              "params": {
                "blend_weight": 0.0123,
                "history_matches": 25,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2646,
                "prior_reliability": 0.1133,
                "competition": "La Liga",
                "squad": "Atlético Madrid"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 23.8 to 15.1 expected minutes (appearance prob 0.25)",
              "stats": {
                "interceptions": 0.1922,
                "tackles": 0.3681,
                "tackles_won": 0.1887,
                "clearances": 0.7121,
                "aerial_won": 0.3727,
                "total_shots": 0.1495,
                "rating": 6.7616,
                "minutes": 15.07,
                "total_pass": 10.1153,
                "accurate_pass": 9.1492,
                "duels_won": 0.7484,
                "total_long_balls": 0.4533,
                "accurate_long_balls": 0.1065,
                "total_own_half_passes": 6.0055,
                "accurate_own_half_passes": 5.6847,
                "total_opp_half_passes": 4.1098,
                "accurate_opp_half_passes": 3.4644,
                "crosses_total": 0.1076,
                "crosses_accurate": 0.1065,
                "touches": 13.3603,
                "possession_lost": 1.4108,
                "dispossessed": 0.1682,
                "duels_lost": 0.633,
                "aerial_lost": 0.4656,
                "total_contest": 0.1065,
                "won_contest": 0.0,
                "ball_recovery": 0.4942,
                "challenges_lost": 0.0,
                "fouls": 0.1261,
                "fouls_drawn": 0.148,
                "blocks": 0.2505,
                "goals": 0.0012,
                "goal_rate": 0.0012,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0017,
                "expected_assists": 0.0041,
                "shots_on_target": 0.0906,
                "big_chances_created": 0.0,
                "xgot": 0.0116,
                "ball_carries": 2.9288,
                "total_progression": 10.3269,
                "progressive_carries": 0.0,
                "key_pass": 0.1065,
                "shots_off_target": 0.0584,
                "bench_appearance_probability": 0.248,
                "bench_expected_minutes": 15.07
              },
              "params": {
                "expected_minutes": 15.07,
                "projection_minutes": 23.81,
                "minutes_scale": 0.6331,
                "appearance_probability": 0.248
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.1922,
                "tackles": 0.3681,
                "tackles_won": 0.1887,
                "clearances": 0.7121,
                "aerial_won": 0.3727,
                "total_shots": 0.1495,
                "rating": 6.7616,
                "minutes": 15.07,
                "total_pass": 10.1153,
                "accurate_pass": 9.1492,
                "duels_won": 0.7484,
                "total_long_balls": 0.4533,
                "accurate_long_balls": 0.1065,
                "total_own_half_passes": 6.0055,
                "accurate_own_half_passes": 5.6847,
                "total_opp_half_passes": 4.1098,
                "accurate_opp_half_passes": 3.4644,
                "crosses_total": 0.1076,
                "crosses_accurate": 0.1065,
                "touches": 13.3603,
                "possession_lost": 1.4108,
                "dispossessed": 0.1682,
                "duels_lost": 0.633,
                "aerial_lost": 0.4656,
                "total_contest": 0.1065,
                "won_contest": 0.0,
                "ball_recovery": 0.4942,
                "challenges_lost": 0.0,
                "fouls": 0.1261,
                "fouls_drawn": 0.148,
                "blocks": 0.2505,
                "goals": 0.0012,
                "goal_rate": 0.0012,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0017,
                "expected_assists": 0.0041,
                "shots_on_target": 0.0906,
                "big_chances_created": 0.0,
                "xgot": 0.0116,
                "ball_carries": 2.9288,
                "total_progression": 10.3269,
                "progressive_carries": 0.0,
                "key_pass": 0.1065,
                "shots_off_target": 0.0584,
                "bench_appearance_probability": 0.248,
                "bench_expected_minutes": 15.07
              },
              "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.1922,
                "tackles": 0.3681,
                "tackles_won": 0.1887,
                "clearances": 0.7121,
                "aerial_won": 0.3727,
                "total_shots": 0.1495,
                "rating": 6.7616,
                "minutes": 15.07,
                "total_pass": 10.1153,
                "accurate_pass": 9.1492,
                "duels_won": 0.7484,
                "total_long_balls": 0.4533,
                "accurate_long_balls": 0.1065,
                "total_own_half_passes": 6.0055,
                "accurate_own_half_passes": 5.6847,
                "total_opp_half_passes": 4.1098,
                "accurate_opp_half_passes": 3.4644,
                "crosses_total": 0.1076,
                "crosses_accurate": 0.1065,
                "touches": 13.3603,
                "possession_lost": 1.4108,
                "dispossessed": 0.1682,
                "duels_lost": 0.633,
                "aerial_lost": 0.4656,
                "total_contest": 0.1065,
                "won_contest": 0.0,
                "ball_recovery": 0.4942,
                "challenges_lost": 0.0,
                "fouls": 0.1261,
                "fouls_drawn": 0.148,
                "blocks": 0.2505,
                "goal_rate": 0.0012,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0017,
                "expected_assists": 0.0041,
                "shots_on_target": 0.0906,
                "big_chances_created": 0.0,
                "xgot": 0.0116,
                "ball_carries": 2.9288,
                "total_progression": 10.3269,
                "progressive_carries": 0.0,
                "key_pass": 0.1065,
                "shots_off_target": 0.0584,
                "bench_appearance_probability": 0.248,
                "bench_expected_minutes": 15.07,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.543,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.248,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 15 by projected rating, fifa_overall 87.0)",
              "stats": {
                "interceptions": 0.1922,
                "tackles": 0.3681,
                "tackles_won": 0.1887,
                "clearances": 0.7121,
                "aerial_won": 0.3727,
                "total_shots": 0.1495,
                "rating": 6.7616,
                "minutes": 15.07,
                "total_pass": 10.1153,
                "accurate_pass": 9.1492,
                "duels_won": 0.7484,
                "total_long_balls": 0.4533,
                "accurate_long_balls": 0.1065,
                "total_own_half_passes": 6.0055,
                "accurate_own_half_passes": 5.6847,
                "total_opp_half_passes": 4.1098,
                "accurate_opp_half_passes": 3.4644,
                "crosses_total": 0.1076,
                "crosses_accurate": 0.1065,
                "touches": 13.3603,
                "possession_lost": 1.4108,
                "dispossessed": 0.1682,
                "duels_lost": 0.633,
                "aerial_lost": 0.4656,
                "total_contest": 0.1065,
                "won_contest": 0.0,
                "ball_recovery": 0.4942,
                "challenges_lost": 0.0,
                "fouls": 0.1261,
                "fouls_drawn": 0.148,
                "blocks": 0.2505,
                "goal_rate": 0.0012,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0017,
                "expected_assists": 0.0041,
                "shots_on_target": 0.0906,
                "big_chances_created": 0.0,
                "xgot": 0.0116,
                "ball_carries": 2.9288,
                "total_progression": 10.3269,
                "progressive_carries": 0.0,
                "key_pass": 0.1065,
                "shots_off_target": 0.0584,
                "bench_appearance_probability": 0.248,
                "bench_expected_minutes": 15.07,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.543,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 87.0
              },
              "params": {
                "match_squad_rank": 15,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 153,
                "fifa_rank": 64.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 87.0
              }
            }
          ]
        },
        "Dávid Hancko": {
          "player_id": 807771,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 17,
          "height": 188,
          "market_value": 36000000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 1,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.9429,
            "minutes": 15,
            "total_pass": 14,
            "accurate_pass": 12,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 8,
            "accurate_own_half_passes": 7,
            "total_opp_half_passes": 6,
            "accurate_opp_half_passes": 5,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 18,
            "possession_lost": 2.8365,
            "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.0008,
            "assists": 0,
            "expected_goals": 0.047,
            "expected_assists": 0.0046,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 4,
            "total_progression": 20,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.243,
            "bench_expected_minutes": 14.84,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.543,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 83.0
          },
          "latest_10_games": [
            {
              "match_id": 16421056,
              "match_date": "2026-10-10",
              "home_team": "Deportivo Alavés",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 28,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.182,
                "expected_assists": 0.016,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 36,
                "accurate_pass": 34,
                "clearances": 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": 16416339,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2788,
                "expected_assists": 0.1352,
                "total_shots": 4,
                "shots_on_target": 1,
                "total_pass": 67,
                "accurate_pass": 59,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 1,
                "clearances": 5,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416335,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 9,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0019,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 7,
                "interceptions": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0181,
                "expected_assists": 0.0061,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 53,
                "accurate_pass": 45,
                "key_pass": 1,
                "tackles": 1,
                "clearances": 3,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0224,
                "total_shots": 0,
                "total_pass": 72,
                "accurate_pass": 65,
                "interceptions": 2,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416316,
              "match_date": "2026-08-29",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0148,
                "total_shots": 0,
                "total_pass": 72,
                "accurate_pass": 62,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 11,
                "aerial_won": 4,
                "duels_won": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "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": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0399,
                "total_shots": 0,
                "total_pass": 69,
                "accurate_pass": 62,
                "interceptions": 2,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421055,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 90,
                "rating": 8.7,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0688,
                "expected_assists": 0.2126,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 95,
                "accurate_pass": 91,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 7,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "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": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 45,
                "rating": 5.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0272,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 20,
                "clearances": 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": 14083661,
              "match_date": "2026-05-17",
              "home_team": "Atlético Madrid",
              "away_team": "Girona FC",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0618,
                "expected_assists": 0.0069,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 47,
                "accurate_pass": 44,
                "interceptions": 1,
                "clearances": 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": 208,
            "combined_rank_score": 158.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 6.0,
            "sofascore_rating": 8.7,
            "sofascore_appearances": 1.0,
            "fifa_rank": 311.0,
            "fifa_overall": 83.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9429,
            "source_file": "data/player_rankings.csv",
            "player_name": "Dávid Hancko",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Emil Tîmbur",
                  "ranking": 203
                },
                {
                  "player_name": "Matvii Ponomarenko",
                  "ranking": 204
                },
                {
                  "player_name": "Kim In-sung",
                  "ranking": 205
                },
                {
                  "player_name": "Marco Carnesecchi",
                  "ranking": 206
                },
                {
                  "player_name": "Abdessamad Ezzalzouli",
                  "ranking": 207
                }
              ],
              "lower": [
                {
                  "player_name": "Dae-han Park",
                  "ranking": 209
                },
                {
                  "player_name": "Vladimir Jovović",
                  "ranking": 210
                },
                {
                  "player_name": "Kenan Yıldız",
                  "ranking": 211
                },
                {
                  "player_name": "Ruslanbek Jiyanov",
                  "ranking": 212
                },
                {
                  "player_name": "Jovan Đokić",
                  "ranking": 213
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 38,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 38,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 14.84226978299407,
            "bench_appearance_prob": 0.243,
            "market_value_adjustment": 1.0088,
            "fbref_prior_metrics": {
              "squad": "Atlético Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.0,
              "assists_per90": 0.3333333333333333,
              "prior_reliability": 0.2
            },
            "rationale": "Bench projection scaled from XGBoost D_service (38 historical appearances) to 14.8 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.3166,
                "tackles": 0.5064,
                "tackles_won": 0.3432,
                "clearances": 1.8668,
                "aerial_won": 0.481,
                "total_shots": 0.4652,
                "rating": 6.9429,
                "minutes": 21.58,
                "total_pass": 20.1859,
                "accurate_pass": 17.5518,
                "duels_won": 0.9252,
                "total_long_balls": 1.8902,
                "accurate_long_balls": 0.6301,
                "total_own_half_passes": 11.0339,
                "accurate_own_half_passes": 10.3746,
                "total_opp_half_passes": 9.152,
                "accurate_opp_half_passes": 7.1771,
                "crosses_total": 0.2696,
                "crosses_accurate": 0.0,
                "touches": 26.1533,
                "possession_lost": 4.0881,
                "dispossessed": 0.0,
                "duels_lost": 0.424,
                "aerial_lost": 0.0,
                "total_contest": 0.2292,
                "won_contest": 0.2292,
                "ball_recovery": 0.9612,
                "challenges_lost": 0.1948,
                "fouls": 0.2292,
                "fouls_drawn": 0.0,
                "blocks": 0.1948,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0678,
                "expected_assists": 0.0066,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 6.1831,
                "total_progression": 28.2272,
                "progressive_carries": 0.3887,
                "key_pass": 0.3604,
                "shots_off_target": 0.4652
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-16T10:30:59.837052+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 625,
                    "rows": 21030
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Deportivo Alavés",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.1503,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1278,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Osasuna",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.1086,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Athletic Club",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0785,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Málaga CF",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 8.7
                  },
                  {
                    "match_date": "2026-05-24",
                    "opponent": "Villarreal",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 5.7
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Girona FC",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 3.6865,
                  "aerialWon": 0.9353,
                  "totalClearance_p90": 4.783,
                  "totalTackle": 0.9325,
                  "defensive_actions": 1.692
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.3166181743144989,
                    "model_output": 0.3166,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2924
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0396
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0252
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0247
                      },
                      {
                        "name": "touches",
                        "importance": 0.0228
                      }
                    ],
                    "decomposition": {
                      "base": 0.8609,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4998
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0104
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0085
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.008
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0061
                        }
                      ],
                      "others": -0.0275,
                      "total": 0.3166,
                      "log_link": true,
                      "margin_base": -0.149807,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.868878
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.029125
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.024568
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.023247
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.017625
                        }
                      ],
                      "others_margin": -0.083304
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.506388247013092,
                    "model_output": 0.5064,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2589
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0677
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.049
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.044
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0277
                      }
                    ],
                    "decomposition": {
                      "base": 1.3915,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7263
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0296
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0216
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0172
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0156
                        }
                      ],
                      "others": -0.0748,
                      "total": 0.5064,
                      "log_link": true,
                      "margin_base": 0.330386,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.738114
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.045537
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.034593
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.028348
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.026498
                        }
                      ],
                      "others_margin": -0.137746
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.3432098925113678,
                    "model_output": 0.3432,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2078
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0673
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0422
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0415
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.8542,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4323
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0168
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0154
                        },
                        {
                          "name": "errorLeadToAShot",
                          "contribution": 0.0153
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0151
                        }
                      ],
                      "others": -0.0803,
                      "total": 0.3432,
                      "log_link": true,
                      "margin_base": -0.157629,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.705329
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.039104
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.035627
                        },
                        {
                          "name": "errorLeadToAShot",
                          "margin": 0.035503
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.035019
                        }
                      ],
                      "others_margin": -0.210415
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.8668264150619507,
                    "model_output": 1.8668,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2949
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1597
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0875
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0328
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0204
                      }
                    ],
                    "decomposition": {
                      "base": 3.4327,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.0453
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.1598
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.1473
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.092
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0425
                        }
                      ],
                      "others": 0.0378,
                      "total": 1.8668,
                      "log_link": true,
                      "margin_base": 1.233356,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.905921
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.109009
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.090917
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.052852
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.023529
                        }
                      ],
                      "others_margin": 0.020496
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.48099270462989807,
                    "model_output": 0.481,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1614
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1583
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0863
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0302
                      }
                    ],
                    "decomposition": {
                      "base": 1.3773,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.8008
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1026
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0271
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0195
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": 0.011
                        }
                      ],
                      "others": -0.0115,
                      "total": 0.481,
                      "log_link": true,
                      "margin_base": 0.320134,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.870974
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.196094
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.055674
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.039757
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": 0.022585
                        }
                      ],
                      "others_margin": -0.023472
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4652329087257385,
                    "model_output": 0.4652,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.105
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.033
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0307
                      },
                      {
                        "name": "rating",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 0.4745,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2537
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1658
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0263
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0158
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0148
                        }
                      ],
                      "others": 0.0217,
                      "total": 0.4652,
                      "log_link": false,
                      "margin_base": 0.474501,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.253708
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.165759
                        },
                        {
                          "name": "rating",
                          "margin": 0.026342
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.015813
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.014809
                        }
                      ],
                      "others_margin": 0.021718
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.942891597747803,
                    "model_output": 6.9429,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0634
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0627
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0603
                      },
                      {
                        "name": "touches",
                        "importance": 0.0395
                      },
                      {
                        "name": "rating",
                        "importance": 0.0354
                      }
                    ],
                    "decomposition": {
                      "base": 6.7847,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.036
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0284
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0279
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0278
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0225
                        }
                      ],
                      "others": 0.0876,
                      "total": 6.9429,
                      "log_link": false,
                      "margin_base": 6.784704,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.035991
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.02842
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.027866
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.027774
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.022487
                        }
                      ],
                      "others_margin": 0.087631
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 38,
                  "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.0088, quality 0.758)",
              "stats": {
                "interceptions": 0.3194,
                "tackles": 0.5108,
                "tackles_won": 0.3462,
                "clearances": 1.8833,
                "aerial_won": 0.4852,
                "total_shots": 0.4693,
                "rating": 6.9429,
                "minutes": 21.58,
                "total_pass": 20.3635,
                "accurate_pass": 17.7063,
                "duels_won": 0.9333,
                "total_long_balls": 1.9068,
                "accurate_long_balls": 0.6356,
                "total_own_half_passes": 11.131,
                "accurate_own_half_passes": 10.4659,
                "total_opp_half_passes": 9.2325,
                "accurate_opp_half_passes": 7.2403,
                "crosses_total": 0.272,
                "crosses_accurate": 0.0,
                "touches": 26.3834,
                "possession_lost": 4.1241,
                "dispossessed": 0.0,
                "duels_lost": 0.4277,
                "aerial_lost": 0.0,
                "total_contest": 0.2312,
                "won_contest": 0.2312,
                "ball_recovery": 0.9697,
                "challenges_lost": 0.1965,
                "fouls": 0.2312,
                "fouls_drawn": 0.0,
                "blocks": 0.1965,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0684,
                "expected_assists": 0.0067,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 6.2375,
                "total_progression": 28.4756,
                "progressive_carries": 0.3921,
                "key_pass": 0.3636,
                "shots_off_target": 0.4693
              },
              "params": {
                "market_value_eur": 36000000,
                "quality_factor": 0.7581,
                "boost_factor": 1.0088,
                "reference_quality": 0.505,
                "history_matches": 38,
                "history_shrink": 0.1163,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0151)",
              "stats": {
                "interceptions": 0.3218,
                "tackles": 0.5108,
                "tackles_won": 0.3458,
                "clearances": 1.8833,
                "aerial_won": 0.4852,
                "total_shots": 0.4658,
                "rating": 6.9429,
                "minutes": 21.58,
                "total_pass": 20.3635,
                "accurate_pass": 17.7063,
                "duels_won": 0.9333,
                "total_long_balls": 1.9068,
                "accurate_long_balls": 0.6356,
                "total_own_half_passes": 11.131,
                "accurate_own_half_passes": 10.4659,
                "total_opp_half_passes": 9.2325,
                "accurate_opp_half_passes": 7.2403,
                "crosses_total": 0.2691,
                "crosses_accurate": 0.0,
                "touches": 26.3834,
                "possession_lost": 4.1241,
                "dispossessed": 0.0,
                "duels_lost": 0.4277,
                "aerial_lost": 0.0,
                "total_contest": 0.2312,
                "won_contest": 0.2312,
                "ball_recovery": 0.9697,
                "challenges_lost": 0.1965,
                "fouls": 0.2289,
                "fouls_drawn": 0.0036,
                "blocks": 0.1965,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0012,
                "assist_rate": 0.0012,
                "expected_goals": 0.0684,
                "expected_assists": 0.0067,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 6.2375,
                "total_progression": 28.4756,
                "progressive_carries": 0.3921,
                "key_pass": 0.3636,
                "shots_off_target": 0.4693
              },
              "params": {
                "blend_weight": 0.0151,
                "history_matches": 38,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2398,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Atlético Madrid"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 21.6 to 14.8 expected minutes (appearance prob 0.24)",
              "stats": {
                "interceptions": 0.2213,
                "tackles": 0.3513,
                "tackles_won": 0.2378,
                "clearances": 1.2953,
                "aerial_won": 0.3337,
                "total_shots": 0.3228,
                "rating": 6.9429,
                "minutes": 14.84,
                "total_pass": 14.0056,
                "accurate_pass": 12.178,
                "duels_won": 0.6419,
                "total_long_balls": 1.3115,
                "accurate_long_balls": 0.4372,
                "total_own_half_passes": 7.6557,
                "accurate_own_half_passes": 7.1982,
                "total_opp_half_passes": 6.3499,
                "accurate_opp_half_passes": 4.9797,
                "crosses_total": 0.1851,
                "crosses_accurate": 0.0,
                "touches": 18.1459,
                "possession_lost": 2.8365,
                "dispossessed": 0.0,
                "duels_lost": 0.2942,
                "aerial_lost": 0.0,
                "total_contest": 0.159,
                "won_contest": 0.159,
                "ball_recovery": 0.6669,
                "challenges_lost": 0.1965,
                "fouls": 0.1574,
                "fouls_drawn": 0.0025,
                "blocks": 0.1351,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0008,
                "assist_rate": 0.0008,
                "expected_goals": 0.047,
                "expected_assists": 0.0046,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.29,
                "total_progression": 19.5849,
                "progressive_carries": 0.2697,
                "key_pass": 0.2501,
                "shots_off_target": 0.3228,
                "bench_appearance_probability": 0.243,
                "bench_expected_minutes": 14.84
              },
              "params": {
                "expected_minutes": 14.84,
                "projection_minutes": 21.58,
                "minutes_scale": 0.6878,
                "appearance_probability": 0.243
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.2213,
                "tackles": 0.3513,
                "tackles_won": 0.2378,
                "clearances": 1.2953,
                "aerial_won": 0.3337,
                "total_shots": 0.3228,
                "rating": 6.9429,
                "minutes": 14.84,
                "total_pass": 14.0056,
                "accurate_pass": 12.178,
                "duels_won": 0.6419,
                "total_long_balls": 1.3115,
                "accurate_long_balls": 0.4372,
                "total_own_half_passes": 7.6557,
                "accurate_own_half_passes": 7.1982,
                "total_opp_half_passes": 6.3499,
                "accurate_opp_half_passes": 4.9797,
                "crosses_total": 0.1851,
                "crosses_accurate": 0.0,
                "touches": 18.1459,
                "possession_lost": 2.8365,
                "dispossessed": 0.0,
                "duels_lost": 0.2942,
                "aerial_lost": 0.0,
                "total_contest": 0.159,
                "won_contest": 0.159,
                "ball_recovery": 0.6669,
                "challenges_lost": 0.1965,
                "fouls": 0.1574,
                "fouls_drawn": 0.0025,
                "blocks": 0.1351,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0008,
                "assist_rate": 0.0008,
                "expected_goals": 0.047,
                "expected_assists": 0.0046,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.29,
                "total_progression": 19.5849,
                "progressive_carries": 0.2697,
                "key_pass": 0.2501,
                "shots_off_target": 0.3228,
                "bench_appearance_probability": 0.243,
                "bench_expected_minutes": 14.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": {
                "interceptions": 0.2213,
                "tackles": 0.3513,
                "tackles_won": 0.2378,
                "clearances": 1.2953,
                "aerial_won": 0.3337,
                "total_shots": 0.3228,
                "rating": 6.9429,
                "minutes": 14.84,
                "total_pass": 14.0056,
                "accurate_pass": 12.178,
                "duels_won": 0.6419,
                "total_long_balls": 1.3115,
                "accurate_long_balls": 0.4372,
                "total_own_half_passes": 7.6557,
                "accurate_own_half_passes": 7.1982,
                "total_opp_half_passes": 6.3499,
                "accurate_opp_half_passes": 4.9797,
                "crosses_total": 0.1851,
                "crosses_accurate": 0.0,
                "touches": 18.1459,
                "possession_lost": 2.8365,
                "dispossessed": 0.0,
                "duels_lost": 0.2942,
                "aerial_lost": 0.0,
                "total_contest": 0.159,
                "won_contest": 0.159,
                "ball_recovery": 0.6669,
                "challenges_lost": 0.1965,
                "fouls": 0.1574,
                "fouls_drawn": 0.0025,
                "blocks": 0.1351,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0008,
                "assists": 0,
                "expected_goals": 0.047,
                "expected_assists": 0.0046,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.29,
                "total_progression": 19.5849,
                "progressive_carries": 0.2697,
                "key_pass": 0.2501,
                "shots_off_target": 0.3228,
                "bench_appearance_probability": 0.243,
                "bench_expected_minutes": 14.84,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.543,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.243,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 11 by projected rating, fifa_overall 83.0)",
              "stats": {
                "interceptions": 0.2213,
                "tackles": 0.3513,
                "tackles_won": 0.2378,
                "clearances": 1.2953,
                "aerial_won": 0.3337,
                "total_shots": 0.3228,
                "rating": 6.9429,
                "minutes": 14.84,
                "total_pass": 14.0056,
                "accurate_pass": 12.178,
                "duels_won": 0.6419,
                "total_long_balls": 1.3115,
                "accurate_long_balls": 0.4372,
                "total_own_half_passes": 7.6557,
                "accurate_own_half_passes": 7.1982,
                "total_opp_half_passes": 6.3499,
                "accurate_opp_half_passes": 4.9797,
                "crosses_total": 0.1851,
                "crosses_accurate": 0.0,
                "touches": 18.1459,
                "possession_lost": 2.8365,
                "dispossessed": 0.0,
                "duels_lost": 0.2942,
                "aerial_lost": 0.0,
                "total_contest": 0.159,
                "won_contest": 0.159,
                "ball_recovery": 0.6669,
                "challenges_lost": 0.1965,
                "fouls": 0.1574,
                "fouls_drawn": 0.0025,
                "blocks": 0.1351,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0008,
                "assists": 0,
                "expected_goals": 0.047,
                "expected_assists": 0.0046,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 4.29,
                "total_progression": 19.5849,
                "progressive_carries": 0.2697,
                "key_pass": 0.2501,
                "shots_off_target": 0.3228,
                "bench_appearance_probability": 0.243,
                "bench_expected_minutes": 14.84,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.543,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 83.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": 208,
                "fifa_rank": 311.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 83.0
              }
            }
          ]
        },
        "Morten Hjulmand": {
          "player_id": 859917,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 23,
          "height": 185,
          "market_value": 48000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0198,
            "assist_rate": 0.0438,
            "assists": 0,
            "expected_goals": 0.022,
            "goal_rate": 0.0545,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7205,
            "minutes": 18,
            "total_pass": 11,
            "accurate_pass": 10,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 6,
            "accurate_own_half_passes": 6,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 4,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 12,
            "possession_lost": 0.8476,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 1,
            "total_progression": 4,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.466,
            "bench_expected_minutes": 17.71,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.543,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0215,
            "projected_assists": 0,
            "assist_probability": 0.0194,
            "finishing_factor": 1.25,
            "creation_factor": 1.1814,
            "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": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 8,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0399,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 3,
                "key_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416335,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 9,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0032,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 10
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1497,
                "expected_assists": 0.0488,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 53,
                "accurate_pass": 48,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 59,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1353,
                "total_shots": 0,
                "total_pass": 35,
                "accurate_pass": 28,
                "key_pass": 2,
                "tackles": 1,
                "interceptions": 3,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416316,
              "match_date": "2026-08-29",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 85,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.028,
                "total_shots": 0,
                "total_pass": 49,
                "accurate_pass": 46,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "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": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0189,
                "expected_assists": 0.0565,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 66,
                "accurate_pass": 64,
                "key_pass": 5,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421055,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 12,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.002,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 10,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 404,
            "combined_rank_score": 257.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 204.0,
            "sofascore_rating": 7.1875,
            "sofascore_appearances": 8.0,
            "fifa_rank": 310.0,
            "fifa_overall": 83.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7205,
            "source_file": "data/player_rankings.csv",
            "player_name": "Morten Hjulmand",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Min Ji-Hoon",
                  "ranking": 399
                },
                {
                  "player_name": "Avazbek Ulmasaliyev",
                  "ranking": 400
                },
                {
                  "player_name": "Jun-yeong Jang",
                  "ranking": 401
                },
                {
                  "player_name": "Moise Kean",
                  "ranking": 402
                },
                {
                  "player_name": "Khurshidbek Mukhtorov",
                  "ranking": 403
                }
              ],
              "lower": [
                {
                  "player_name": "Seung-gun Kim",
                  "ranking": 405
                },
                {
                  "player_name": "Claudio Aquino",
                  "ranking": 406
                },
                {
                  "player_name": "Sherzod Nasrullaev",
                  "ranking": 407
                },
                {
                  "player_name": "Jun-sang Lee",
                  "ranking": 408
                },
                {
                  "player_name": "Boburbek Yuldashov",
                  "ranking": 409
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.709,
          "history_matches": 7,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "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": 7,
            "data_confidence": 0.709,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 17.71,
            "bench_appearance_prob": 0.466,
            "market_value_adjustment": 1.039,
            "fbref_prior_metrics": {
              "squad": "Atlético Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 13.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.14
            },
            "rationale": "Bench projection scaled from XGBoost M_service (7 historical appearances) to 17.7 expected mins (appearance prob 0.47); FBref playing time empirical prior: 1.0 sub appearances, 13.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.3623,
                "expected_assists": 0.0212,
                "assists": 0.0328,
                "assist_rate": 0.0328,
                "expected_goals": 0.0236,
                "goals": 0.0408,
                "goal_rate": 0.0408,
                "shots_on_target": 0.0748,
                "total_shots": 0.2272,
                "rating": 6.7205,
                "minutes": 13.27,
                "total_pass": 7.8902,
                "accurate_pass": 7.2789,
                "duels_won": 0.5617,
                "total_long_balls": 0.3304,
                "accurate_long_balls": 0.3304,
                "total_own_half_passes": 4.3372,
                "accurate_own_half_passes": 4.0563,
                "total_opp_half_passes": 3.553,
                "accurate_opp_half_passes": 3.2226,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 8.4519,
                "possession_lost": 0.6113,
                "dispossessed": 0.0,
                "duels_lost": 0.2809,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.2809,
                "tackles": 0.2809,
                "clearances": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.2809,
                "fouls_drawn": 0.2809,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 0.8921,
                "total_progression": 2.7284,
                "progressive_carries": 0.0,
                "shots_off_target": 0.1524
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-16T10:31:49.993480+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 895,
                    "rows": 24017
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Madrid",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.2208,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Osasuna",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.1877,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Athletic Club",
                    "minutes": 59.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Sevilla",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Málaga CF",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.0833,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.417,
                  "creative_index": 0.4194,
                  "expectedGoals": 0.0257,
                  "expectedAssists": 0.0445,
                  "onTargetScoringAttempt": 0.0
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.3622867465019226,
                    "model_output": 0.3623,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.16
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1359
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0622
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0532
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0278
                      }
                    ],
                    "decomposition": {
                      "base": 0.893,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3667
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0471
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0311
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0302
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0208
                        }
                      ],
                      "others": -0.0952,
                      "total": 0.3623,
                      "log_link": true,
                      "margin_base": -0.113189,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.528783
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.093666
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.067
                        },
                        {
                          "name": "duelLost",
                          "margin": 0.065232
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.044386
                        }
                      ],
                      "others_margin": -0.233527
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.021205313503742218,
                    "model_output": 0.0212,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1089
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1043
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1031
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0607
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0542
                      }
                    ],
                    "decomposition": {
                      "base": 0.0856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0392
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0083
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0052
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0023
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.002
                        }
                      ],
                      "others": -0.0074,
                      "total": 0.0212,
                      "log_link": true,
                      "margin_base": -2.457601,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.612991
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.197338
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.146308
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.071507
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.068066
                        }
                      ],
                      "others_margin": -0.299694
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.03277222812175751,
                    "model_output": 0.0328,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.057
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.052
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0301
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0295
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0223
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.012
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0088
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0042
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0034
                        }
                      ],
                      "others": -0.0105,
                      "total": 0.0328,
                      "log_link": true,
                      "margin_base": -2.439072,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.295519
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.204716
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.18107
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.099768
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.082277
                        }
                      ],
                      "others_margin": -0.280304
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.023646408692002296,
                    "model_output": 0.0236,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1269
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0844
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0755
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0372
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0272
                      }
                    ],
                    "decomposition": {
                      "base": 0.0943,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0375
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0159
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0064
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0036
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0024
                        }
                      ],
                      "others": -0.0049,
                      "total": 0.0236,
                      "log_link": true,
                      "margin_base": -2.361326,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.507361
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.328329
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.170185
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.11091
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.082365
                        }
                      ],
                      "others_margin": -0.184067
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.04079987853765488,
                    "model_output": 0.0408,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0894
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0486
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0452
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0389
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0335
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0098
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0079
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0042
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0037
                        }
                      ],
                      "others": -0.0137,
                      "total": 0.0408,
                      "log_link": true,
                      "margin_base": -2.324947,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.419691
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.165648
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.155989
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.087223
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.069715
                        }
                      ],
                      "others_margin": -0.289739
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.07481937855482101,
                    "model_output": 0.0748,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1038
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0848
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0823
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0306
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.3257,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1281
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0489
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0232
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0179
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0091
                        }
                      ],
                      "others": -0.0237,
                      "total": 0.0748,
                      "log_link": true,
                      "margin_base": -1.121688,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.499435
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.284034
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.16985
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.153601
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.087846
                        }
                      ],
                      "others_margin": -0.276224
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.22723613679409027,
                    "model_output": 0.2272,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1304
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.1272
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0577
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0476
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0242
                      }
                    ],
                    "decomposition": {
                      "base": 0.9955,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.325
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.2027
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0416
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0341
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0293
                        }
                      ],
                      "others": -0.1356,
                      "total": 0.2272,
                      "log_link": false,
                      "margin_base": 0.995535,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.324995
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.20274
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.041583
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.034116
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.029283
                        }
                      ],
                      "others_margin": -0.135581
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.720470428466797,
                    "model_output": 6.7205,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0934
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0793
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0569
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0427
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 6.8531,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0849
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0245
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0243
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0086
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0077
                        }
                      ],
                      "others": 0.002,
                      "total": 6.7205,
                      "log_link": false,
                      "margin_base": 6.853057,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.084925
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.024515
                        },
                        {
                          "name": "rating",
                          "margin": -0.024309
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.008565
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": 0.007718
                        }
                      ],
                      "others_margin": 0.00201
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 7,
                  "role_matches": 3,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0390, quality 0.817)",
              "stats": {
                "key_pass": 0.3764,
                "expected_assists": 0.022,
                "assists": 0.0341,
                "assist_rate": 0.0341,
                "expected_goals": 0.0246,
                "goals": 0.0424,
                "goal_rate": 0.0424,
                "shots_on_target": 0.0777,
                "total_shots": 0.2361,
                "rating": 6.7205,
                "minutes": 13.27,
                "total_pass": 8.1979,
                "accurate_pass": 7.5628,
                "duels_won": 0.5836,
                "total_long_balls": 0.3433,
                "accurate_long_balls": 0.3433,
                "total_own_half_passes": 4.5064,
                "accurate_own_half_passes": 4.2145,
                "total_opp_half_passes": 3.6916,
                "accurate_opp_half_passes": 3.3483,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 8.7815,
                "possession_lost": 0.6351,
                "dispossessed": 0.0,
                "duels_lost": 0.2919,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.2919,
                "tackles": 0.2919,
                "clearances": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.2919,
                "fouls_drawn": 0.2919,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 0.9269,
                "total_progression": 2.8348,
                "progressive_carries": 0.0,
                "shots_off_target": 0.1583
              },
              "params": {
                "market_value_eur": 48000000,
                "quality_factor": 0.8168,
                "boost_factor": 1.039,
                "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.0379)",
              "stats": {
                "key_pass": 0.3764,
                "expected_assists": 0.022,
                "assists": 0.0328,
                "assist_rate": 0.0328,
                "expected_goals": 0.0246,
                "goals": 0.0408,
                "goal_rate": 0.0408,
                "shots_on_target": 0.0748,
                "total_shots": 0.2298,
                "rating": 6.7205,
                "minutes": 13.27,
                "total_pass": 8.1979,
                "accurate_pass": 7.5628,
                "duels_won": 0.5836,
                "total_long_balls": 0.3433,
                "accurate_long_balls": 0.3433,
                "total_own_half_passes": 4.5064,
                "accurate_own_half_passes": 4.2145,
                "total_opp_half_passes": 3.6916,
                "accurate_opp_half_passes": 3.3483,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 8.7815,
                "possession_lost": 0.6351,
                "dispossessed": 0.0,
                "duels_lost": 0.2919,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.008,
                "tackles_won": 0.2915,
                "tackles": 0.2919,
                "clearances": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.2888,
                "fouls_drawn": 0.2915,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 0.9269,
                "total_progression": 2.8348,
                "progressive_carries": 0.0,
                "shots_off_target": 0.1583
              },
              "params": {
                "blend_weight": 0.0379,
                "history_matches": 7,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.1474,
                "prior_reliability": 0.14,
                "competition": "La Liga",
                "squad": "Atlético Madrid"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.008
                },
                {
                  "stat": "totalShots",
                  "before": 0.2361,
                  "after": 0.2298
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 13.3 to 17.7 expected minutes (appearance prob 0.47)",
              "stats": {
                "key_pass": 0.5023,
                "expected_assists": 0.0294,
                "assists": 0.0438,
                "assist_rate": 0.0438,
                "expected_goals": 0.0328,
                "goals": 0.0545,
                "goal_rate": 0.0545,
                "shots_on_target": 0.0998,
                "total_shots": 0.3111,
                "rating": 6.7205,
                "minutes": 17.71,
                "total_pass": 10.9408,
                "accurate_pass": 10.0932,
                "duels_won": 0.7789,
                "total_long_balls": 0.4582,
                "accurate_long_balls": 0.4582,
                "total_own_half_passes": 6.0142,
                "accurate_own_half_passes": 5.6246,
                "total_opp_half_passes": 4.9268,
                "accurate_opp_half_passes": 4.4686,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 11.7197,
                "possession_lost": 0.8476,
                "dispossessed": 0.0,
                "duels_lost": 0.3896,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.0107,
                "tackles_won": 0.389,
                "tackles": 0.3896,
                "clearances": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.3854,
                "fouls_drawn": 0.389,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.237,
                "total_progression": 3.7833,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2113,
                "bench_appearance_probability": 0.466,
                "bench_expected_minutes": 17.71
              },
              "params": {
                "expected_minutes": 17.71,
                "projection_minutes": 13.27,
                "minutes_scale": 1.3346,
                "appearance_probability": 0.466
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.5023,
                "expected_assists": 0.0294,
                "assists": 0.0438,
                "assist_rate": 0.0438,
                "expected_goals": 0.0328,
                "goals": 0.0545,
                "goal_rate": 0.0545,
                "shots_on_target": 0.0998,
                "total_shots": 0.3111,
                "rating": 6.7205,
                "minutes": 17.71,
                "total_pass": 10.9408,
                "accurate_pass": 10.0932,
                "duels_won": 0.7789,
                "total_long_balls": 0.4582,
                "accurate_long_balls": 0.4582,
                "total_own_half_passes": 6.0142,
                "accurate_own_half_passes": 5.6246,
                "total_opp_half_passes": 4.9268,
                "accurate_opp_half_passes": 4.4686,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 11.7197,
                "possession_lost": 0.8476,
                "dispossessed": 0.0,
                "duels_lost": 0.3896,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.0107,
                "tackles_won": 0.389,
                "tackles": 0.3896,
                "clearances": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.3854,
                "fouls_drawn": 0.389,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.237,
                "total_progression": 3.7833,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2113,
                "bench_appearance_probability": 0.466,
                "bench_expected_minutes": 17.71
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.5023,
                "expected_assists": 0.0294,
                "assist_rate": 0.0438,
                "assists": 0,
                "expected_goals": 0.0328,
                "goal_rate": 0.0545,
                "goals": 0,
                "shots_on_target": 0.0998,
                "total_shots": 0.3111,
                "rating": 6.7205,
                "minutes": 17.71,
                "total_pass": 10.9408,
                "accurate_pass": 10.0932,
                "duels_won": 0.7789,
                "total_long_balls": 0.4582,
                "accurate_long_balls": 0.4582,
                "total_own_half_passes": 6.0142,
                "accurate_own_half_passes": 5.6246,
                "total_opp_half_passes": 4.9268,
                "accurate_opp_half_passes": 4.4686,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 11.7197,
                "possession_lost": 0.8476,
                "dispossessed": 0.0,
                "duels_lost": 0.3896,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.0107,
                "tackles_won": 0.389,
                "tackles": 0.3896,
                "clearances": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.3854,
                "fouls_drawn": 0.389,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.237,
                "total_progression": 3.7833,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2113,
                "bench_appearance_probability": 0.466,
                "bench_expected_minutes": 17.71,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.543,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.33 (squad xG sum 1.6168, xG scale 1.4380, xA scale 1.4481, team xA 1.51 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0.5023,
                "expected_assists": 0.0198,
                "assist_rate": 0.0438,
                "assists": 0,
                "expected_goals": 0.022,
                "goal_rate": 0.0545,
                "goals": 0,
                "shots_on_target": 0.0998,
                "total_shots": 0.3111,
                "rating": 6.7205,
                "minutes": 17.71,
                "total_pass": 10.9408,
                "accurate_pass": 10.0932,
                "duels_won": 0.7789,
                "total_long_balls": 0.4582,
                "accurate_long_balls": 0.4582,
                "total_own_half_passes": 6.0142,
                "accurate_own_half_passes": 5.6246,
                "total_opp_half_passes": 4.9268,
                "accurate_opp_half_passes": 4.4686,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 11.7197,
                "possession_lost": 0.8476,
                "dispossessed": 0.0,
                "duels_lost": 0.3896,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.0107,
                "tackles_won": 0.389,
                "tackles": 0.3896,
                "clearances": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.3854,
                "fouls_drawn": 0.389,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.237,
                "total_progression": 3.7833,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2113,
                "bench_appearance_probability": 0.466,
                "bench_expected_minutes": 17.71,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.543,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.1814
              },
              "params": {
                "team_lambda": 2.325,
                "squad_xg_sum": 1.6168,
                "squad_xa_sum": 1.0436,
                "team_expected_assists": 1.5113,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.438,
                "xa_scale": 1.4481,
                "opponent_lambda": 1.337,
                "scoreline_reset": true,
                "appearance_weight": 0.466
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0328,
                  "after": 0.022
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0294,
                  "after": 0.0198
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 17 by projected rating, fifa_overall 83.0)",
              "stats": {
                "key_pass": 0.5023,
                "expected_assists": 0.0198,
                "assist_rate": 0.0438,
                "assists": 0,
                "expected_goals": 0.022,
                "goal_rate": 0.0545,
                "goals": 0,
                "shots_on_target": 0.0998,
                "total_shots": 0.3111,
                "rating": 6.7205,
                "minutes": 17.71,
                "total_pass": 10.9408,
                "accurate_pass": 10.0932,
                "duels_won": 0.7789,
                "total_long_balls": 0.4582,
                "accurate_long_balls": 0.4582,
                "total_own_half_passes": 6.0142,
                "accurate_own_half_passes": 5.6246,
                "total_opp_half_passes": 4.9268,
                "accurate_opp_half_passes": 4.4686,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 11.7197,
                "possession_lost": 0.8476,
                "dispossessed": 0.0,
                "duels_lost": 0.3896,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.0107,
                "tackles_won": 0.389,
                "tackles": 0.3896,
                "clearances": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.3854,
                "fouls_drawn": 0.389,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.237,
                "total_progression": 3.7833,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2113,
                "bench_appearance_probability": 0.466,
                "bench_expected_minutes": 17.71,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.543,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.1814,
                "fifa_overall": 83.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": 404,
                "fifa_rank": 310.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 83.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0.5023,
                "expected_assists": 0.0198,
                "assist_rate": 0.0438,
                "assists": 0,
                "expected_goals": 0.022,
                "goal_rate": 0.0545,
                "goals": 0,
                "shots_on_target": 0.0998,
                "total_shots": 0.3111,
                "rating": 6.7205,
                "minutes": 17.71,
                "total_pass": 10.9408,
                "accurate_pass": 10.0932,
                "duels_won": 0.7789,
                "total_long_balls": 0.4582,
                "accurate_long_balls": 0.4582,
                "total_own_half_passes": 6.0142,
                "accurate_own_half_passes": 5.6246,
                "total_opp_half_passes": 4.9268,
                "accurate_opp_half_passes": 4.4686,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 11.7197,
                "possession_lost": 0.8476,
                "dispossessed": 0.0,
                "duels_lost": 0.3896,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.0107,
                "tackles_won": 0.389,
                "tackles": 0.3896,
                "clearances": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.3854,
                "fouls_drawn": 0.389,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.237,
                "total_progression": 3.7833,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2113,
                "bench_appearance_probability": 0.466,
                "bench_expected_minutes": 17.71,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.543,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0215,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.1814,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0215,
                "goal_rate": 0.0545,
                "scorer_weight": 0.0275,
                "squad_weight_total": 2.409,
                "weight_share": 0.0114,
                "finishing_factor": 1.25,
                "appearance_weight": 0.466,
                "weight_rank": 13,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Jonathan David",
                    "weight": 0.71,
                    "already": 0,
                    "effective_weight": 0.71,
                    "runner_up": "Ademola Lookman",
                    "runner_up_effective_weight": 0.4553
                  },
                  {
                    "n": 2,
                    "player": "Ademola Lookman",
                    "weight": 0.4553,
                    "already": 0,
                    "effective_weight": 0.4553,
                    "runner_up": "Jonathan David",
                    "runner_up_effective_weight": 0.3021
                  }
                ]
              }
            },
            {
              "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.5023,
                "expected_assists": 0.0198,
                "assist_rate": 0.0438,
                "assists": 0,
                "expected_goals": 0.022,
                "goal_rate": 0.0545,
                "goals": 0,
                "shots_on_target": 0.0998,
                "total_shots": 0.3111,
                "rating": 6.7205,
                "minutes": 17.71,
                "total_pass": 10.9408,
                "accurate_pass": 10.0932,
                "duels_won": 0.7789,
                "total_long_balls": 0.4582,
                "accurate_long_balls": 0.4582,
                "total_own_half_passes": 6.0142,
                "accurate_own_half_passes": 5.6246,
                "total_opp_half_passes": 4.9268,
                "accurate_opp_half_passes": 4.4686,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 11.7197,
                "possession_lost": 0.8476,
                "dispossessed": 0.0,
                "duels_lost": 0.3896,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.0107,
                "tackles_won": 0.389,
                "tackles": 0.3896,
                "clearances": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.3854,
                "fouls_drawn": 0.389,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.237,
                "total_progression": 3.7833,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2113,
                "bench_appearance_probability": 0.466,
                "bench_expected_minutes": 17.71,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.543,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0215,
                "projected_assists": 0,
                "assist_probability": 0.0194,
                "finishing_factor": 1.25,
                "creation_factor": 1.1814,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0194,
                "assist_rate": 0.0438,
                "provider_weight": 0.0234,
                "squad_weight_total": 1.5221,
                "weight_share": 0.0154,
                "creation_factor": 1.1814,
                "appearance_weight": 0.466,
                "weight_rank": 12,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alejandro Grimaldo",
                    "weight": 0.1971,
                    "already": 0,
                    "effective_weight": 0.1971,
                    "runner_up": "Alex Baena",
                    "runner_up_effective_weight": 0.1837
                  }
                ]
              }
            }
          ]
        },
        "Rodrigo Mendoza": {
          "player_id": 1391752,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 4,
          "height": 182,
          "market_value": 21000000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0192,
            "assist_rate": 0.0241,
            "assists": 0,
            "expected_goals": 0.034,
            "goal_rate": 0.0315,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.6834,
            "minutes": 14,
            "total_pass": 7,
            "accurate_pass": 6,
            "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": 4,
            "accurate_opp_half_passes": 3,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 10,
            "possession_lost": 2.2901,
            "dispossessed": 0.5269,
            "duels_lost": 2,
            "aerial_won": 0,
            "aerial_lost": 1,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0023,
            "ball_carries": 3,
            "total_progression": 7,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.452,
            "bench_expected_minutes": 13.55,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.543,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16416316,
              "match_date": "2026-08-29",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 12,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "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": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 45,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0839,
                "expected_assists": 0.0065,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 16,
                "accurate_pass": 14,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421055,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 57,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2244,
                "expected_assists": 0.0766,
                "total_shots": 3,
                "shots_on_target": 2,
                "total_pass": 22,
                "accurate_pass": 20,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083634,
              "match_date": "2026-05-12",
              "home_team": "Osasuna",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 18,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3552,
                "expected_assists": 0.0003,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 4,
                "accurate_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": 14083476,
              "match_date": "2026-05-02",
              "home_team": "Valencia",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Valencia",
              "stats": {
                "minutes": 73,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5079,
                "expected_assists": 0.0226,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 35,
                "accurate_pass": 28,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083306,
              "match_date": "2026-04-22",
              "home_team": "Elche",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Elche",
              "stats": {
                "minutes": 62,
                "rating": 5.9,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.0929,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 10,
                "key_pass": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083161,
              "match_date": "2026-04-11",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 71,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0182,
                "expected_assists": 0.0509,
                "total_shots": 1,
                "total_pass": 54,
                "accurate_pass": 49,
                "key_pass": 3,
                "clearances": 5,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083602,
              "match_date": "2026-03-07",
              "home_team": "Atlético Madrid",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 45,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0142,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 17,
                "tackles": 2,
                "tackles_won": 2,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true
            },
            {
              "match_id": 14081795,
              "match_date": "2026-02-28",
              "home_team": "Real Oviedo",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 61,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0799,
                "expected_assists": 0.0299,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 43,
                "accurate_pass": 38,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 5,
                "ball_recovery": 4
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083472,
              "match_date": "2026-02-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 56,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0169,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 22,
                "tackles": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 1376,
            "combined_rank_score": 713.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 578.0,
            "sofascore_rating": 6.8,
            "sofascore_appearances": 1.0,
            "fifa_rank": 848.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6834,
            "source_file": "data/player_rankings.csv",
            "player_name": "Rodrigo Mendoza",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jemmes",
                  "ranking": 1371
                },
                {
                  "player_name": "Samandar Muratbaev",
                  "ranking": 1372
                },
                {
                  "player_name": "Kyeong-jae Kim",
                  "ranking": 1373
                },
                {
                  "player_name": "Jung-min Lee",
                  "ranking": 1374
                },
                {
                  "player_name": "Rafa Garrido",
                  "ranking": 1375
                }
              ],
              "lower": [
                {
                  "player_name": "Peque Fernández",
                  "ranking": 1377
                },
                {
                  "player_name": "Javi Morcillo",
                  "ranking": 1378
                },
                {
                  "player_name": "Luis Pacheco",
                  "ranking": 1379
                },
                {
                  "player_name": "Fredy Noguera",
                  "ranking": 1380
                },
                {
                  "player_name": "Guillermo Varela",
                  "ranking": 1381
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.762,
          "history_matches": 27,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 27,
            "data_confidence": 0.762,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 13.55,
            "bench_appearance_prob": 0.452,
            "market_value_adjustment": 1.0064,
            "fbref_prior_metrics": {
              "squad": "Atlético Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 6.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.08
            },
            "rationale": "Bench projection scaled from XGBoost M_service (27 historical appearances) to 13.6 expected mins (appearance prob 0.45); FBref playing time empirical prior: 1.0 sub appearances, 6.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.3935,
                "expected_assists": 0.0317,
                "assists": 0.04,
                "assist_rate": 0.04,
                "expected_goals": 0.0562,
                "goals": 0.0524,
                "goal_rate": 0.0524,
                "shots_on_target": 0.1938,
                "total_shots": 0.6867,
                "rating": 6.6834,
                "minutes": 22.53,
                "total_pass": 12.1583,
                "accurate_pass": 10.2193,
                "duels_won": 1.4803,
                "total_long_balls": 0.8115,
                "accurate_long_balls": 0.4332,
                "total_own_half_passes": 5.6997,
                "accurate_own_half_passes": 4.5843,
                "total_opp_half_passes": 6.4586,
                "accurate_opp_half_passes": 5.635,
                "crosses_total": 0.4845,
                "crosses_accurate": 0.2242,
                "touches": 17.2717,
                "possession_lost": 3.7836,
                "dispossessed": 0.5235,
                "duels_lost": 2.6799,
                "aerial_won": 0.1359,
                "aerial_lost": 0.7713,
                "interceptions": 0.0679,
                "tackles_won": 0.4112,
                "tackles": 0.4603,
                "clearances": 0.1531,
                "total_contest": 0.6557,
                "won_contest": 0.2726,
                "challenges_lost": 0.3721,
                "fouls": 0.6791,
                "fouls_drawn": 0.6115,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0039,
                "ball_carries": 4.3942,
                "total_progression": 11.6922,
                "progressive_carries": 0.7624,
                "shots_off_target": 0.4928
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-16T10:31:49.993480+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 895,
                    "rows": 24017
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Sevilla",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.1519,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Villarreal",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.1291,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Málaga CF",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.1097,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Osasuna",
                    "minutes": 18.0,
                    "is_starting": true,
                    "weight": 0.0933,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-02",
                    "opponent": "Valencia",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.0793,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-04-22",
                    "opponent": "Elche",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.0674,
                    "rating": 5.9
                  },
                  {
                    "match_date": "2026-04-11",
                    "opponent": "Sevilla",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.0573,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-03-07",
                    "opponent": "Real Sociedad",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0487,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-02-28",
                    "opponent": "Real Oviedo",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.0414,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-02-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 56.0,
                    "is_starting": true,
                    "weight": 0.0352,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 1.015,
                  "creative_index": 0.1601,
                  "expectedGoals": 0.1177,
                  "expectedAssists": 0.0313,
                  "onTargetScoringAttempt": 0.5292
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.39353835582733154,
                    "model_output": 0.3935,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.16
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1359
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0622
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0532
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0278
                      }
                    ],
                    "decomposition": {
                      "base": 0.893,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3898
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0464
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0356
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0224
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0191
                        }
                      ],
                      "others": 0.0138,
                      "total": 0.3935,
                      "log_link": true,
                      "margin_base": -0.113189,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.573544
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.096759
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.0812
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.054685
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.04901
                        }
                      ],
                      "others_margin": 0.03581
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03173704445362091,
                    "model_output": 0.0317,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1089
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1043
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1031
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0607
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0542
                      }
                    ],
                    "decomposition": {
                      "base": 0.0856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.036
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0084
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0044
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0022
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": -0.002
                        }
                      ],
                      "others": -0.0009,
                      "total": 0.0317,
                      "log_link": true,
                      "margin_base": -2.457601,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.545878
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.186036
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.112816
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.061984
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": -0.060134
                        }
                      ],
                      "others_margin": -0.025822
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.040003545582294464,
                    "model_output": 0.04,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.057
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.052
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0301
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0295
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0207
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0087
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0058
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.004
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0029
                        }
                      ],
                      "others": -0.0051,
                      "total": 0.04,
                      "log_link": true,
                      "margin_base": -2.439072,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.271502
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.140841
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.105866
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.079205
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.062911
                        }
                      ],
                      "others_margin": -0.11939
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.05617750808596611,
                    "model_output": 0.0562,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1269
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0844
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0755
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0372
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0272
                      }
                    ],
                    "decomposition": {
                      "base": 0.0943,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0432
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0106
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0028
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0026
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0025
                        }
                      ],
                      "others": -0.0084,
                      "total": 0.0562,
                      "log_link": true,
                      "margin_base": -2.361326,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.612244
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.188136
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.044836
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.039746
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.037251
                        }
                      ],
                      "others_margin": -0.141133
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.052356939762830734,
                    "model_output": 0.0524,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0894
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0486
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0452
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0389
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0414
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0072
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0066
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0041
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.004
                        }
                      ],
                      "others": -0.0127,
                      "total": 0.0524,
                      "log_link": true,
                      "margin_base": -2.324947,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.551352
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.119523
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.110379
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.070268
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.063906
                        }
                      ],
                      "others_margin": -0.216691
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.19383880496025085,
                    "model_output": 0.1938,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1038
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0848
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0823
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0306
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.3257,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1582
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0218
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0116
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0118
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0055
                        }
                      ],
                      "others": -0.0244,
                      "total": 0.1938,
                      "log_link": true,
                      "margin_base": -1.121688,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.665142
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.122288
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.059624
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.057027
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.025599
                        }
                      ],
                      "others_margin": -0.118436
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.6866616606712341,
                    "model_output": 0.6867,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1304
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.1272
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0577
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0476
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0242
                      }
                    ],
                    "decomposition": {
                      "base": 0.9955,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.465
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.041
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0404
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0373
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0263
                        }
                      ],
                      "others": 0.0112,
                      "total": 0.6867,
                      "log_link": false,
                      "margin_base": 0.995535,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.465023
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.041
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.040398
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.037263
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.026333
                        }
                      ],
                      "others_margin": 0.011155
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.683355331420898,
                    "model_output": 6.6834,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0934
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0793
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0569
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0427
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 6.8531,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0678
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0325
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0185
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0067
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0066
                        }
                      ],
                      "others": -0.0376,
                      "total": 6.6834,
                      "log_link": false,
                      "margin_base": 6.853057,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.067751
                        },
                        {
                          "name": "rating",
                          "margin": -0.032508
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.018482
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.006708
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.006632
                        }
                      ],
                      "others_margin": -0.037619
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 27,
                  "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.0064, quality 0.641)",
              "stats": {
                "key_pass": 0.3961,
                "expected_assists": 0.0319,
                "assists": 0.0403,
                "assist_rate": 0.0403,
                "expected_goals": 0.0565,
                "goals": 0.0527,
                "goal_rate": 0.0527,
                "shots_on_target": 0.1951,
                "total_shots": 0.6911,
                "rating": 6.6834,
                "minutes": 22.53,
                "total_pass": 12.2361,
                "accurate_pass": 10.2847,
                "duels_won": 1.4898,
                "total_long_balls": 0.8167,
                "accurate_long_balls": 0.436,
                "total_own_half_passes": 5.7362,
                "accurate_own_half_passes": 4.6136,
                "total_opp_half_passes": 6.4999,
                "accurate_opp_half_passes": 5.6711,
                "crosses_total": 0.4876,
                "crosses_accurate": 0.2256,
                "touches": 17.3822,
                "possession_lost": 3.8078,
                "dispossessed": 0.5269,
                "duels_lost": 2.6971,
                "aerial_won": 0.1368,
                "aerial_lost": 0.7762,
                "interceptions": 0.0683,
                "tackles_won": 0.4138,
                "tackles": 0.4632,
                "clearances": 0.1541,
                "total_contest": 0.6599,
                "won_contest": 0.2743,
                "challenges_lost": 0.3745,
                "fouls": 0.6834,
                "fouls_drawn": 0.6154,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0039,
                "ball_carries": 4.4223,
                "total_progression": 11.767,
                "progressive_carries": 0.7673,
                "shots_off_target": 0.496
              },
              "params": {
                "market_value_eur": 21000000,
                "quality_factor": 0.6408,
                "boost_factor": 1.0064,
                "reference_quality": 0.505,
                "history_matches": 27,
                "history_shrink": 0.1562,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0081)",
              "stats": {
                "key_pass": 0.3961,
                "expected_assists": 0.0319,
                "assists": 0.04,
                "assist_rate": 0.04,
                "expected_goals": 0.0565,
                "goals": 0.0523,
                "goal_rate": 0.0523,
                "shots_on_target": 0.1986,
                "total_shots": 0.694,
                "rating": 6.6834,
                "minutes": 22.53,
                "total_pass": 12.2361,
                "accurate_pass": 10.2847,
                "duels_won": 1.4898,
                "total_long_balls": 0.8167,
                "accurate_long_balls": 0.436,
                "total_own_half_passes": 5.7362,
                "accurate_own_half_passes": 4.6136,
                "total_opp_half_passes": 6.4999,
                "accurate_opp_half_passes": 5.6711,
                "crosses_total": 0.4853,
                "crosses_accurate": 0.2256,
                "touches": 17.3822,
                "possession_lost": 3.8078,
                "dispossessed": 0.5269,
                "duels_lost": 2.6971,
                "aerial_won": 0.1368,
                "aerial_lost": 0.7762,
                "interceptions": 0.0677,
                "tackles_won": 0.4138,
                "tackles": 0.4632,
                "clearances": 0.1541,
                "total_contest": 0.6599,
                "won_contest": 0.2743,
                "challenges_lost": 0.3745,
                "fouls": 0.6795,
                "fouls_drawn": 0.6121,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0039,
                "ball_carries": 4.4223,
                "total_progression": 11.767,
                "progressive_carries": 0.7673,
                "shots_off_target": 0.496
              },
              "params": {
                "blend_weight": 0.0081,
                "history_matches": 27,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2503,
                "prior_reliability": 0.08,
                "competition": "La Liga",
                "squad": "Atlético Madrid"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 22.5 to 13.6 expected minutes (appearance prob 0.45)",
              "stats": {
                "key_pass": 0.2382,
                "expected_assists": 0.0192,
                "assists": 0.0241,
                "assist_rate": 0.0241,
                "expected_goals": 0.034,
                "goals": 0.0315,
                "goal_rate": 0.0315,
                "shots_on_target": 0.1194,
                "total_shots": 0.4177,
                "rating": 6.6834,
                "minutes": 13.55,
                "total_pass": 7.359,
                "accurate_pass": 6.1854,
                "duels_won": 0.896,
                "total_long_balls": 0.4912,
                "accurate_long_balls": 0.2622,
                "total_own_half_passes": 3.4499,
                "accurate_own_half_passes": 2.7747,
                "total_opp_half_passes": 3.9092,
                "accurate_opp_half_passes": 3.4107,
                "crosses_total": 0.2919,
                "crosses_accurate": 0.1357,
                "touches": 10.454,
                "possession_lost": 2.2901,
                "dispossessed": 0.5269,
                "duels_lost": 1.6221,
                "aerial_won": 0.0823,
                "aerial_lost": 0.7762,
                "interceptions": 0.0407,
                "tackles_won": 0.2489,
                "tackles": 0.2786,
                "clearances": 0.0927,
                "total_contest": 0.3969,
                "won_contest": 0.165,
                "challenges_lost": 0.3745,
                "fouls": 0.4087,
                "fouls_drawn": 0.3681,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0023,
                "ball_carries": 2.6597,
                "total_progression": 7.0769,
                "progressive_carries": 0.4615,
                "shots_off_target": 0.2983,
                "bench_appearance_probability": 0.452,
                "bench_expected_minutes": 13.55
              },
              "params": {
                "expected_minutes": 13.55,
                "projection_minutes": 22.53,
                "minutes_scale": 0.6014,
                "appearance_probability": 0.452
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.2382,
                "expected_assists": 0.0192,
                "assists": 0.0241,
                "assist_rate": 0.0241,
                "expected_goals": 0.034,
                "goals": 0.0315,
                "goal_rate": 0.0315,
                "shots_on_target": 0.1194,
                "total_shots": 0.4177,
                "rating": 6.6834,
                "minutes": 13.55,
                "total_pass": 7.359,
                "accurate_pass": 6.1854,
                "duels_won": 0.896,
                "total_long_balls": 0.4912,
                "accurate_long_balls": 0.2622,
                "total_own_half_passes": 3.4499,
                "accurate_own_half_passes": 2.7747,
                "total_opp_half_passes": 3.9092,
                "accurate_opp_half_passes": 3.4107,
                "crosses_total": 0.2919,
                "crosses_accurate": 0.1357,
                "touches": 10.454,
                "possession_lost": 2.2901,
                "dispossessed": 0.5269,
                "duels_lost": 1.6221,
                "aerial_won": 0.0823,
                "aerial_lost": 0.7762,
                "interceptions": 0.0407,
                "tackles_won": 0.2489,
                "tackles": 0.2786,
                "clearances": 0.0927,
                "total_contest": 0.3969,
                "won_contest": 0.165,
                "challenges_lost": 0.3745,
                "fouls": 0.4087,
                "fouls_drawn": 0.3681,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0023,
                "ball_carries": 2.6597,
                "total_progression": 7.0769,
                "progressive_carries": 0.4615,
                "shots_off_target": 0.2983,
                "bench_appearance_probability": 0.452,
                "bench_expected_minutes": 13.55
              },
              "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.2382,
                "expected_assists": 0.0192,
                "assist_rate": 0.0241,
                "assists": 0,
                "expected_goals": 0.034,
                "goal_rate": 0.0315,
                "goals": 0,
                "shots_on_target": 0.1194,
                "total_shots": 0.4177,
                "rating": 6.6834,
                "minutes": 13.55,
                "total_pass": 7.359,
                "accurate_pass": 6.1854,
                "duels_won": 0.896,
                "total_long_balls": 0.4912,
                "accurate_long_balls": 0.2622,
                "total_own_half_passes": 3.4499,
                "accurate_own_half_passes": 2.7747,
                "total_opp_half_passes": 3.9092,
                "accurate_opp_half_passes": 3.4107,
                "crosses_total": 0.2919,
                "crosses_accurate": 0.1357,
                "touches": 10.454,
                "possession_lost": 2.2901,
                "dispossessed": 0.5269,
                "duels_lost": 1.6221,
                "aerial_won": 0.0823,
                "aerial_lost": 0.7762,
                "interceptions": 0.0407,
                "tackles_won": 0.2489,
                "tackles": 0.2786,
                "clearances": 0.0927,
                "total_contest": 0.3969,
                "won_contest": 0.165,
                "challenges_lost": 0.3745,
                "fouls": 0.4087,
                "fouls_drawn": 0.3681,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0023,
                "ball_carries": 2.6597,
                "total_progression": 7.0769,
                "progressive_carries": 0.4615,
                "shots_off_target": 0.2983,
                "bench_appearance_probability": 0.452,
                "bench_expected_minutes": 13.55,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.543,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "appearance_probability": 0.452,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 18 by projected rating, fifa_overall 79.0)",
              "stats": {
                "key_pass": 0.2382,
                "expected_assists": 0.0192,
                "assist_rate": 0.0241,
                "assists": 0,
                "expected_goals": 0.034,
                "goal_rate": 0.0315,
                "goals": 0,
                "shots_on_target": 0.1194,
                "total_shots": 0.4177,
                "rating": 6.6834,
                "minutes": 13.55,
                "total_pass": 7.359,
                "accurate_pass": 6.1854,
                "duels_won": 0.896,
                "total_long_balls": 0.4912,
                "accurate_long_balls": 0.2622,
                "total_own_half_passes": 3.4499,
                "accurate_own_half_passes": 2.7747,
                "total_opp_half_passes": 3.9092,
                "accurate_opp_half_passes": 3.4107,
                "crosses_total": 0.2919,
                "crosses_accurate": 0.1357,
                "touches": 10.454,
                "possession_lost": 2.2901,
                "dispossessed": 0.5269,
                "duels_lost": 1.6221,
                "aerial_won": 0.0823,
                "aerial_lost": 0.7762,
                "interceptions": 0.0407,
                "tackles_won": 0.2489,
                "tackles": 0.2786,
                "clearances": 0.0927,
                "total_contest": 0.3969,
                "won_contest": 0.165,
                "challenges_lost": 0.3745,
                "fouls": 0.4087,
                "fouls_drawn": 0.3681,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0023,
                "ball_carries": 2.6597,
                "total_progression": 7.0769,
                "progressive_carries": 0.4615,
                "shots_off_target": 0.2983,
                "bench_appearance_probability": 0.452,
                "bench_expected_minutes": 13.55,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.543,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 18,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1376,
                "fifa_rank": 848.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            }
          ]
        },
        "Julián Alvarez": {
          "player_id": 944656,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 19,
          "height": 170,
          "market_value": 116000000,
          "stats": {
            "expected_goals": 0.0711,
            "goal_rate": 0.0855,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0492,
            "key_pass": 0,
            "rating": 6.8004,
            "minutes": 26,
            "total_pass": 13,
            "accurate_pass": 11,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 10,
            "accurate_opp_half_passes": 9,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 21,
            "possession_lost": 4.3564,
            "dispossessed": 0.865,
            "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": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.111,
            "offsides": 0,
            "ball_carries": 8,
            "total_progression": 19,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.756,
            "bench_expected_minutes": 25.95,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.543,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0679,
            "projected_assists": 0,
            "assist_probability": 0.0476,
            "finishing_factor": 1.1742,
            "creation_factor": 0.8,
            "fifa_overall": 86.0
          },
          "latest_10_games": [
            {
              "match_id": 16421056,
              "match_date": "2026-10-10",
              "home_team": "Deportivo Alavés",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 45,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1235,
                "expected_assists": 0.0202,
                "total_shots": 3,
                "shots_off_target": 1,
                "total_pass": 17,
                "accurate_pass": 16,
                "tackles": 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": 16416339,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 28,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3341,
                "expected_assists": 0.0842,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 18,
                "accurate_pass": 17,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 31,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2286,
                "expected_assists": 0.0367,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 16,
                "accurate_pass": 16,
                "key_pass": 1,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "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": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 24,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0464,
                "expected_assists": 0.0167,
                "total_shots": 1,
                "total_pass": 10,
                "accurate_pass": 9,
                "key_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14081807,
              "match_date": "2026-03-22",
              "home_team": "Real Madrid",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.2591,
                "expected_assists": 0.0344,
                "total_shots": 5,
                "shots_on_target": 1,
                "shots_off_target": 4,
                "total_pass": 47,
                "accurate_pass": 42,
                "key_pass": 1,
                "tackles": 5,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 6
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083612,
              "match_date": "2026-03-14",
              "home_team": "Atlético Madrid",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Getafe",
              "stats": {
                "minutes": 24,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2889,
                "expected_assists": 0.1596,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 17,
                "accurate_pass": 15,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083602,
              "match_date": "2026-03-07",
              "home_team": "Atlético Madrid",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 37,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.4966,
                "total_shots": 0,
                "total_pass": 17,
                "accurate_pass": 13,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14081795,
              "match_date": "2026-02-28",
              "home_team": "Real Oviedo",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 45,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2713,
                "expected_assists": 0.0973,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 21,
                "accurate_pass": 20,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083561,
              "match_date": "2026-02-21",
              "home_team": "Atlético Madrid",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 29,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0089,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 7,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083472,
              "match_date": "2026-02-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 34,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1732,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 6,
                "key_pass": 1,
                "duels_won": 1
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 66,
            "combined_rank_score": 77.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 80.0,
            "sofascore_rating": 7.5533,
            "sofascore_appearances": 15.0,
            "fifa_rank": 75.0,
            "fifa_overall": 86.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8004,
            "source_file": "data/player_rankings.csv",
            "player_name": "Julián Alvarez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Rúben Dias",
                  "ranking": 61
                },
                {
                  "player_name": "Luis Díaz",
                  "ranking": 62
                },
                {
                  "player_name": "Max Weiss",
                  "ranking": 63
                },
                {
                  "player_name": "Paul Villero",
                  "ranking": 64
                },
                {
                  "player_name": "Cucurella",
                  "ranking": 65
                }
              ],
              "lower": [
                {
                  "player_name": "Jamshid Iskandarov",
                  "ranking": 67
                },
                {
                  "player_name": "Emiliano Martínez",
                  "ranking": 68
                },
                {
                  "player_name": "Cole Palmer",
                  "ranking": 69
                },
                {
                  "player_name": "David Raya",
                  "ranking": 70
                },
                {
                  "player_name": "Granit Xhaka",
                  "ranking": 71
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.753,
          "history_matches": 33,
          "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": 33,
            "data_confidence": 0.753,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 25.95,
            "bench_appearance_prob": 0.756,
            "market_value_adjustment": 1.0155,
            "fbref_prior_metrics": {
              "squad": "Atlético Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 0.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 25.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.02
            },
            "rationale": "Bench projection scaled from XGBoost F_service (33 historical appearances) to 25.9 expected mins (appearance prob 0.76); FBref playing time empirical prior: 1.0 sub appearances, 25.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0796,
                "goals": 0.1043,
                "goal_rate": 0.1043,
                "shots_on_target": 0.3842,
                "total_shots": 1.1899,
                "expected_assists": 0.0547,
                "key_pass": 0.5023,
                "rating": 6.8004,
                "minutes": 32.09,
                "total_pass": 15.3923,
                "accurate_pass": 13.9555,
                "duels_won": 2.284,
                "total_long_balls": 0.6153,
                "accurate_long_balls": 0.5354,
                "total_opp_half_passes": 12.2879,
                "accurate_opp_half_passes": 11.0108,
                "crosses_total": 0.6658,
                "crosses_accurate": 0.2324,
                "touches": 25.2748,
                "possession_lost": 5.305,
                "dispossessed": 0.8518,
                "duels_lost": 2.3273,
                "aerial_lost": 0.226,
                "total_contest": 2.2791,
                "won_contest": 1.3434,
                "ball_recovery": 1.0351,
                "challenges_lost": 0.0834,
                "fouls": 0.4105,
                "fouls_drawn": 0.6127,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.1479,
                "tackles": 0.328,
                "clearances": 0.0417,
                "blocks": 0.0,
                "big_chances_created": 0.0834,
                "big_chances_missed": 0.3814,
                "xgot": 0.1243,
                "offsides": 0.1097,
                "ball_carries": 9.3068,
                "total_progression": 22.9017,
                "progressive_carries": 1.2299,
                "shots_off_target": 0.8057
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-16T10:32:26.279343+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Deportivo Alavés",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1507,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Madrid",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.1281,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Athletic Club",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.1089,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Villarreal",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.0926,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-03-22",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0787,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-03-14",
                    "opponent": "Getafe",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.0669,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-03-07",
                    "opponent": "Real Sociedad",
                    "minutes": 37.0,
                    "is_starting": false,
                    "weight": 0.0568,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-02-28",
                    "opponent": "Real Oviedo",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0483,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-02-21",
                    "opponent": "Espanyol",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.0411,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-02-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 34.0,
                    "is_starting": false,
                    "weight": 0.0349,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalOppositionHalfPasses": 15.1591,
                  "expectedGoals": 0.1747,
                  "accurateOppositionHalfPasses": 13.3224,
                  "accuratePass": 17.096,
                  "totalShots": 1.9469
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.0796264186501503,
                    "model_output": 0.0796,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0942
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0103
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0059
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0038
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0032
                        }
                      ],
                      "others": -0.0005,
                      "total": 0.0796,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.647792
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.104615
                        },
                        {
                          "name": "goals",
                          "margin": -0.065559
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.045034
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.03861
                        }
                      ],
                      "others_margin": -0.006883
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.10428278893232346,
                    "model_output": 0.1043,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0849
                        },
                        {
                          "name": "goals",
                          "contribution": -0.009
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0056
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.005
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0046
                        }
                      ],
                      "others": 0.0008,
                      "total": 0.1043,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.540429
                        },
                        {
                          "name": "goals",
                          "margin": -0.079313
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.052733
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.049712
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.045779
                        }
                      ],
                      "others_margin": 0.008549
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.38417816162109375,
                    "model_output": 0.3842,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.199
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0272
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0289
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0202
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0182
                        }
                      ],
                      "others": -0.0125,
                      "total": 0.3842,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.462248
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.077213
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.075924
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.049809
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.044745
                        }
                      ],
                      "others_margin": -0.032053
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.1898974180221558,
                    "model_output": 1.1899,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4948
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1086
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0583
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0525
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.043
                        }
                      ],
                      "others": 0.0485,
                      "total": 1.1899,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.494789
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.108646
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.058315
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.052525
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.04295
                        }
                      ],
                      "others_margin": 0.04841
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.05466724559664726,
                    "model_output": 0.0547,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0185
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0074
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0061
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0042
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0037
                        }
                      ],
                      "others": -0.0002,
                      "total": 0.0547,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.340699
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.150968
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.121524
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.085648
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.070099
                        }
                      ],
                      "others_margin": -0.00547
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.5023021697998047,
                    "model_output": 0.5023,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2317
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0467
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0514
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0421
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0229
                        }
                      ],
                      "others": 0.0275,
                      "total": 0.5023,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.421843
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.100552
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.100133
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.08116
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.047054
                        }
                      ],
                      "others_margin": 0.056281
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.800375938415527,
                    "model_output": 6.8004,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0861
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0153
                        },
                        {
                          "name": "press_resistance_fwd",
                          "contribution": 0.0144
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.012
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0109
                        }
                      ],
                      "others": 0.0669,
                      "total": 6.8004,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.086112
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.015273
                        },
                        {
                          "name": "press_resistance_fwd",
                          "margin": 0.014416
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.011987
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.010853
                        }
                      ],
                      "others_margin": 0.066958
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 33,
                  "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.0155, quality 0.897)",
              "stats": {
                "expected_goals": 0.0809,
                "goals": 0.1059,
                "goal_rate": 0.1059,
                "shots_on_target": 0.3901,
                "total_shots": 1.2083,
                "expected_assists": 0.0555,
                "key_pass": 0.5101,
                "rating": 6.8004,
                "minutes": 32.09,
                "total_pass": 15.6309,
                "accurate_pass": 14.1718,
                "duels_won": 2.3194,
                "total_long_balls": 0.6248,
                "accurate_long_balls": 0.5437,
                "total_opp_half_passes": 12.4784,
                "accurate_opp_half_passes": 11.1815,
                "crosses_total": 0.6761,
                "crosses_accurate": 0.236,
                "touches": 25.6666,
                "possession_lost": 5.3872,
                "dispossessed": 0.865,
                "duels_lost": 2.3634,
                "aerial_lost": 0.2295,
                "total_contest": 2.3144,
                "won_contest": 1.3642,
                "ball_recovery": 1.0511,
                "challenges_lost": 0.0847,
                "fouls": 0.4169,
                "fouls_drawn": 0.6222,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.1502,
                "tackles": 0.3331,
                "clearances": 0.0423,
                "blocks": 0.0,
                "big_chances_created": 0.0847,
                "big_chances_missed": 0.3873,
                "xgot": 0.1262,
                "offsides": 0.1114,
                "ball_carries": 9.4511,
                "total_progression": 23.2567,
                "progressive_carries": 1.249,
                "shots_off_target": 0.8182
              },
              "params": {
                "market_value_eur": 116000000,
                "quality_factor": 0.897,
                "boost_factor": 1.0155,
                "reference_quality": 0.505,
                "history_matches": 33,
                "history_shrink": 0.1316,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0017)",
              "stats": {
                "expected_goals": 0.0809,
                "goals": 0.1057,
                "goal_rate": 0.1057,
                "shots_on_target": 0.3894,
                "total_shots": 1.2084,
                "expected_assists": 0.0555,
                "key_pass": 0.5101,
                "rating": 6.8004,
                "minutes": 32.09,
                "total_pass": 15.6309,
                "accurate_pass": 14.1718,
                "duels_won": 2.3194,
                "total_long_balls": 0.6248,
                "accurate_long_balls": 0.5437,
                "total_opp_half_passes": 12.4784,
                "accurate_opp_half_passes": 11.1815,
                "crosses_total": 0.6749,
                "crosses_accurate": 0.236,
                "touches": 25.6666,
                "possession_lost": 5.3872,
                "dispossessed": 0.865,
                "duels_lost": 2.3634,
                "aerial_lost": 0.2295,
                "total_contest": 2.3144,
                "won_contest": 1.3642,
                "ball_recovery": 1.0511,
                "challenges_lost": 0.0847,
                "fouls": 0.4162,
                "fouls_drawn": 0.6211,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.1499,
                "tackles": 0.3331,
                "clearances": 0.0423,
                "blocks": 0.0,
                "big_chances_created": 0.0847,
                "big_chances_missed": 0.3873,
                "xgot": 0.1262,
                "offsides": 0.1112,
                "ball_carries": 9.4511,
                "total_progression": 23.2567,
                "progressive_carries": 1.249,
                "shots_off_target": 0.8182
              },
              "params": {
                "blend_weight": 0.0017,
                "history_matches": 33,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.3566,
                "prior_reliability": 0.02,
                "competition": "La Liga",
                "squad": "Atlético Madrid"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 32.1 to 25.9 expected minutes (appearance prob 0.76)",
              "stats": {
                "expected_goals": 0.0654,
                "goals": 0.0855,
                "goal_rate": 0.0855,
                "shots_on_target": 0.3149,
                "total_shots": 0.9772,
                "expected_assists": 0.0449,
                "key_pass": 0.4125,
                "rating": 6.8004,
                "minutes": 25.95,
                "total_pass": 12.6401,
                "accurate_pass": 11.4602,
                "duels_won": 1.8756,
                "total_long_balls": 0.5053,
                "accurate_long_balls": 0.4397,
                "total_opp_half_passes": 10.0908,
                "accurate_opp_half_passes": 9.0421,
                "crosses_total": 0.5458,
                "crosses_accurate": 0.1908,
                "touches": 20.7556,
                "possession_lost": 4.3564,
                "dispossessed": 0.865,
                "duels_lost": 1.9112,
                "aerial_lost": 0.2295,
                "total_contest": 1.8716,
                "won_contest": 1.1032,
                "ball_recovery": 0.85,
                "challenges_lost": 0.0847,
                "fouls": 0.3366,
                "fouls_drawn": 0.5023,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.1212,
                "tackles": 0.2694,
                "clearances": 0.0342,
                "blocks": 0.0,
                "big_chances_created": 0.0685,
                "big_chances_missed": 0.3132,
                "xgot": 0.1021,
                "offsides": 0.1112,
                "ball_carries": 7.6428,
                "total_progression": 18.8068,
                "progressive_carries": 1.01,
                "shots_off_target": 0.6616,
                "bench_appearance_probability": 0.756,
                "bench_expected_minutes": 25.95
              },
              "params": {
                "expected_minutes": 25.95,
                "projection_minutes": 32.09,
                "minutes_scale": 0.8087,
                "appearance_probability": 0.756
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0654,
                "goals": 0.0855,
                "goal_rate": 0.0855,
                "shots_on_target": 0.3149,
                "total_shots": 0.9772,
                "expected_assists": 0.0449,
                "key_pass": 0.4125,
                "rating": 6.8004,
                "minutes": 25.95,
                "total_pass": 12.6401,
                "accurate_pass": 11.4602,
                "duels_won": 1.8756,
                "total_long_balls": 0.5053,
                "accurate_long_balls": 0.4397,
                "total_opp_half_passes": 10.0908,
                "accurate_opp_half_passes": 9.0421,
                "crosses_total": 0.5458,
                "crosses_accurate": 0.1908,
                "touches": 20.7556,
                "possession_lost": 4.3564,
                "dispossessed": 0.865,
                "duels_lost": 1.9112,
                "aerial_lost": 0.2295,
                "total_contest": 1.8716,
                "won_contest": 1.1032,
                "ball_recovery": 0.85,
                "challenges_lost": 0.0847,
                "fouls": 0.3366,
                "fouls_drawn": 0.5023,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.1212,
                "tackles": 0.2694,
                "clearances": 0.0342,
                "blocks": 0.0,
                "big_chances_created": 0.0685,
                "big_chances_missed": 0.3132,
                "xgot": 0.1021,
                "offsides": 0.1112,
                "ball_carries": 7.6428,
                "total_progression": 18.8068,
                "progressive_carries": 1.01,
                "shots_off_target": 0.6616,
                "bench_appearance_probability": 0.756,
                "bench_expected_minutes": 25.95
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.0654,
                "goal_rate": 0.0855,
                "goals": 0,
                "shots_on_target": 0.3149,
                "total_shots": 0.9772,
                "expected_assists": 0.0449,
                "key_pass": 0.4125,
                "rating": 6.8004,
                "minutes": 25.95,
                "total_pass": 12.6401,
                "accurate_pass": 11.4602,
                "duels_won": 1.8756,
                "total_long_balls": 0.5053,
                "accurate_long_balls": 0.4397,
                "total_opp_half_passes": 10.0908,
                "accurate_opp_half_passes": 9.0421,
                "crosses_total": 0.5458,
                "crosses_accurate": 0.1908,
                "touches": 20.7556,
                "possession_lost": 4.3564,
                "dispossessed": 0.865,
                "duels_lost": 1.9112,
                "aerial_lost": 0.2295,
                "total_contest": 1.8716,
                "won_contest": 1.1032,
                "ball_recovery": 0.85,
                "challenges_lost": 0.0847,
                "fouls": 0.3366,
                "fouls_drawn": 0.5023,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.1212,
                "tackles": 0.2694,
                "clearances": 0.0342,
                "blocks": 0.0,
                "big_chances_created": 0.0685,
                "big_chances_missed": 0.3132,
                "xgot": 0.1021,
                "offsides": 0.1112,
                "ball_carries": 7.6428,
                "total_progression": 18.8068,
                "progressive_carries": 1.01,
                "shots_off_target": 0.6616,
                "bench_appearance_probability": 0.756,
                "bench_expected_minutes": 25.95,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.543,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.33 (squad xG sum 1.6168, xG scale 1.4380, xA scale 1.4481, team xA 1.51 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0711,
                "goal_rate": 0.0855,
                "goals": 0,
                "shots_on_target": 0.3149,
                "total_shots": 0.9772,
                "expected_assists": 0.0492,
                "key_pass": 0.4125,
                "rating": 6.8004,
                "minutes": 25.95,
                "total_pass": 12.6401,
                "accurate_pass": 11.4602,
                "duels_won": 1.8756,
                "total_long_balls": 0.5053,
                "accurate_long_balls": 0.4397,
                "total_opp_half_passes": 10.0908,
                "accurate_opp_half_passes": 9.0421,
                "crosses_total": 0.5458,
                "crosses_accurate": 0.1908,
                "touches": 20.7556,
                "possession_lost": 4.3564,
                "dispossessed": 0.865,
                "duels_lost": 1.9112,
                "aerial_lost": 0.2295,
                "total_contest": 1.8716,
                "won_contest": 1.1032,
                "ball_recovery": 0.85,
                "challenges_lost": 0.0847,
                "fouls": 0.3366,
                "fouls_drawn": 0.5023,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.1212,
                "tackles": 0.2694,
                "clearances": 0.0342,
                "blocks": 0.0,
                "big_chances_created": 0.0685,
                "big_chances_missed": 0.3132,
                "xgot": 0.111,
                "offsides": 0.1112,
                "ball_carries": 7.6428,
                "total_progression": 18.8068,
                "progressive_carries": 1.01,
                "shots_off_target": 0.6616,
                "bench_appearance_probability": 0.756,
                "bench_expected_minutes": 25.95,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.543,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1742,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 2.325,
                "squad_xg_sum": 1.6168,
                "squad_xa_sum": 1.0436,
                "team_expected_assists": 1.5113,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.438,
                "xa_scale": 1.4481,
                "opponent_lambda": 1.337,
                "scoreline_reset": true,
                "appearance_weight": 0.756
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0654,
                  "after": 0.0711
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 14 by projected rating, fifa_overall 86.0)",
              "stats": {
                "expected_goals": 0.0711,
                "goal_rate": 0.0855,
                "goals": 0,
                "shots_on_target": 0.3149,
                "total_shots": 0.9772,
                "expected_assists": 0.0492,
                "key_pass": 0.4125,
                "rating": 6.8004,
                "minutes": 25.95,
                "total_pass": 12.6401,
                "accurate_pass": 11.4602,
                "duels_won": 1.8756,
                "total_long_balls": 0.5053,
                "accurate_long_balls": 0.4397,
                "total_opp_half_passes": 10.0908,
                "accurate_opp_half_passes": 9.0421,
                "crosses_total": 0.5458,
                "crosses_accurate": 0.1908,
                "touches": 20.7556,
                "possession_lost": 4.3564,
                "dispossessed": 0.865,
                "duels_lost": 1.9112,
                "aerial_lost": 0.2295,
                "total_contest": 1.8716,
                "won_contest": 1.1032,
                "ball_recovery": 0.85,
                "challenges_lost": 0.0847,
                "fouls": 0.3366,
                "fouls_drawn": 0.5023,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.1212,
                "tackles": 0.2694,
                "clearances": 0.0342,
                "blocks": 0.0,
                "big_chances_created": 0.0685,
                "big_chances_missed": 0.3132,
                "xgot": 0.111,
                "offsides": 0.1112,
                "ball_carries": 7.6428,
                "total_progression": 18.8068,
                "progressive_carries": 1.01,
                "shots_off_target": 0.6616,
                "bench_appearance_probability": 0.756,
                "bench_expected_minutes": 25.95,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.543,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1742,
                "creation_factor": 0.8,
                "fifa_overall": 86.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": 66,
                "fifa_rank": 75.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 86.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.0711,
                "goal_rate": 0.0855,
                "goals": 0,
                "shots_on_target": 0.3149,
                "total_shots": 0.9772,
                "expected_assists": 0.0492,
                "key_pass": 0.4125,
                "rating": 6.8004,
                "minutes": 25.95,
                "total_pass": 12.6401,
                "accurate_pass": 11.4602,
                "duels_won": 1.8756,
                "total_long_balls": 0.5053,
                "accurate_long_balls": 0.4397,
                "total_opp_half_passes": 10.0908,
                "accurate_opp_half_passes": 9.0421,
                "crosses_total": 0.5458,
                "crosses_accurate": 0.1908,
                "touches": 20.7556,
                "possession_lost": 4.3564,
                "dispossessed": 0.865,
                "duels_lost": 1.9112,
                "aerial_lost": 0.2295,
                "total_contest": 1.8716,
                "won_contest": 1.1032,
                "ball_recovery": 0.85,
                "challenges_lost": 0.0847,
                "fouls": 0.3366,
                "fouls_drawn": 0.5023,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.1212,
                "tackles": 0.2694,
                "clearances": 0.0342,
                "blocks": 0.0,
                "big_chances_created": 0.0685,
                "big_chances_missed": 0.3132,
                "xgot": 0.111,
                "offsides": 0.1112,
                "ball_carries": 7.6428,
                "total_progression": 18.8068,
                "progressive_carries": 1.01,
                "shots_off_target": 0.6616,
                "bench_appearance_probability": 0.756,
                "bench_expected_minutes": 25.95,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.543,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0679,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1742,
                "creation_factor": 0.8,
                "fifa_overall": 86.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0679,
                "goal_rate": 0.0855,
                "scorer_weight": 0.0835,
                "squad_weight_total": 2.409,
                "weight_share": 0.0347,
                "finishing_factor": 1.1742,
                "appearance_weight": 0.756,
                "weight_rank": 8,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Jonathan David",
                    "weight": 0.71,
                    "already": 0,
                    "effective_weight": 0.71,
                    "runner_up": "Ademola Lookman",
                    "runner_up_effective_weight": 0.4553
                  },
                  {
                    "n": 2,
                    "player": "Ademola Lookman",
                    "weight": 0.4553,
                    "already": 0,
                    "effective_weight": 0.4553,
                    "runner_up": "Jonathan David",
                    "runner_up_effective_weight": 0.3021
                  }
                ]
              }
            },
            {
              "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.0711,
                "goal_rate": 0.0855,
                "goals": 0,
                "shots_on_target": 0.3149,
                "total_shots": 0.9772,
                "expected_assists": 0.0492,
                "key_pass": 0.4125,
                "rating": 6.8004,
                "minutes": 25.95,
                "total_pass": 12.6401,
                "accurate_pass": 11.4602,
                "duels_won": 1.8756,
                "total_long_balls": 0.5053,
                "accurate_long_balls": 0.4397,
                "total_opp_half_passes": 10.0908,
                "accurate_opp_half_passes": 9.0421,
                "crosses_total": 0.5458,
                "crosses_accurate": 0.1908,
                "touches": 20.7556,
                "possession_lost": 4.3564,
                "dispossessed": 0.865,
                "duels_lost": 1.9112,
                "aerial_lost": 0.2295,
                "total_contest": 1.8716,
                "won_contest": 1.1032,
                "ball_recovery": 0.85,
                "challenges_lost": 0.0847,
                "fouls": 0.3366,
                "fouls_drawn": 0.5023,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.1212,
                "tackles": 0.2694,
                "clearances": 0.0342,
                "blocks": 0.0,
                "big_chances_created": 0.0685,
                "big_chances_missed": 0.3132,
                "xgot": 0.111,
                "offsides": 0.1112,
                "ball_carries": 7.6428,
                "total_progression": 18.8068,
                "progressive_carries": 1.01,
                "shots_off_target": 0.6616,
                "bench_appearance_probability": 0.756,
                "bench_expected_minutes": 25.95,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.543,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0679,
                "projected_assists": 0,
                "assist_probability": 0.0476,
                "finishing_factor": 1.1742,
                "creation_factor": 0.8,
                "fifa_overall": 86.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0476,
                "assist_rate": 0.0,
                "provider_weight": 0.0394,
                "squad_weight_total": 1.5221,
                "weight_share": 0.0259,
                "creation_factor": 0.8,
                "appearance_weight": 0.756,
                "weight_rank": 11,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alejandro Grimaldo",
                    "weight": 0.1971,
                    "already": 0,
                    "effective_weight": 0.1971,
                    "runner_up": "Alex Baena",
                    "runner_up_effective_weight": 0.1837
                  }
                ]
              }
            }
          ]
        },
        "Alex Baena": {
          "player_id": 910031,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 10,
          "height": 174,
          "market_value": 48000000,
          "stats": {
            "expected_goals": 0.0726,
            "goal_rate": 0.1304,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.147,
            "key_pass": 2,
            "rating": 6.9775,
            "minutes": 34,
            "total_pass": 21,
            "accurate_pass": 16,
            "duels_won": 1,
            "total_long_balls": 2,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 16,
            "accurate_opp_half_passes": 12,
            "crosses_total": 2,
            "crosses_accurate": 1,
            "touches": 31,
            "possession_lost": 9.7001,
            "dispossessed": 0.6449,
            "duels_lost": 3,
            "aerial_lost": 0,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "assist_rate": 0.4581,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1261,
            "offsides": 0,
            "ball_carries": 13,
            "total_progression": 55,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.621,
            "bench_expected_minutes": 34.06,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.543,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0685,
            "projected_assists": 0,
            "assist_probability": 0.1309,
            "finishing_factor": 1.25,
            "creation_factor": 1.25,
            "fifa_overall": 83.0
          },
          "latest_10_games": [
            {
              "match_id": 16421056,
              "match_date": "2026-10-10",
              "home_team": "Deportivo Alavés",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 45,
                "rating": 7.1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.076,
                "expected_assists": 0.4483,
                "total_shots": 3,
                "shots_on_target": 1,
                "total_pass": 28,
                "accurate_pass": 20,
                "key_pass": 4,
                "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": 16416339,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 67,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.024,
                "expected_assists": 0.0931,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 37,
                "accurate_pass": 31,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416335,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 8.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5648,
                "expected_assists": 0.4472,
                "total_shots": 5,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 51,
                "accurate_pass": 41,
                "key_pass": 4,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "duels_won": 3,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 59,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0485,
                "expected_assists": 0.0354,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 27,
                "accurate_pass": 24,
                "tackles": 1,
                "interceptions": 3,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 76,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1281,
                "expected_assists": 0.3008,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 29,
                "accurate_pass": 24,
                "key_pass": 3,
                "interceptions": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416316,
              "match_date": "2026-08-29",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 85,
                "rating": 9.2,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2852,
                "expected_assists": 0.1508,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 44,
                "accurate_pass": 39,
                "key_pass": 3,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "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": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 45,
                "rating": 6.0,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.1268,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 18,
                "key_pass": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421055,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 33,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0671,
                "expected_assists": 0.1075,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 20,
                "accurate_pass": 16,
                "key_pass": 2,
                "duels_won": 1,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "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": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 61,
                "rating": 5.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0648,
                "expected_assists": 0.1678,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 38,
                "accurate_pass": 32,
                "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": 14083661,
              "match_date": "2026-05-17",
              "home_team": "Atlético Madrid",
              "away_team": "Girona FC",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 61,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1024,
                "expected_assists": 0.1685,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 29,
                "accurate_pass": 22,
                "key_pass": 4,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 244,
            "combined_rank_score": 182.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 52.0,
            "sofascore_rating": 7.7,
            "sofascore_appearances": 1.0,
            "fifa_rank": 312.0,
            "fifa_overall": 83.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9775,
            "source_file": "data/player_rankings.csv",
            "player_name": "Alex Baena",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Federico Botti",
                  "ranking": 239
                },
                {
                  "player_name": "Jeisson Vargas",
                  "ranking": 240
                },
                {
                  "player_name": "Léo Pereira",
                  "ranking": 241
                },
                {
                  "player_name": "Andrei Cojuhar",
                  "ranking": 242
                },
                {
                  "player_name": "Willian Pacho",
                  "ranking": 243
                }
              ],
              "lower": [
                {
                  "player_name": "Denzel Dumfries",
                  "ranking": 245
                },
                {
                  "player_name": "Pablo Barrios",
                  "ranking": 246
                },
                {
                  "player_name": "Joaquín Moya",
                  "ranking": 247
                },
                {
                  "player_name": "Leonard Pllana",
                  "ranking": 248
                },
                {
                  "player_name": "Eldor Adhamov",
                  "ranking": 249
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.768,
          "history_matches": 35,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 35,
            "data_confidence": 0.768,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 34.06,
            "bench_appearance_prob": 0.621,
            "market_value_adjustment": 1.0117,
            "fbref_prior_metrics": {
              "squad": "Atlético Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 40.0,
              "goals_per90": 1.6666666666666663,
              "assists_per90": 0.5555555555555556,
              "prior_reliability": 0.12
            },
            "rationale": "Bench projection scaled from XGBoost F_service (35 historical appearances) to 34.1 expected mins (appearance prob 0.62); FBref playing time empirical prior: 2.0 sub appearances, 40.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0731,
                "goals": 0.1129,
                "goal_rate": 0.1129,
                "shots_on_target": 0.3847,
                "total_shots": 1.1343,
                "expected_assists": 0.1471,
                "key_pass": 1.7106,
                "rating": 6.9775,
                "minutes": 31.0,
                "total_pass": 19.0771,
                "accurate_pass": 14.5632,
                "duels_won": 1.1259,
                "total_long_balls": 1.7792,
                "accurate_long_balls": 0.2147,
                "total_opp_half_passes": 14.3759,
                "accurate_opp_half_passes": 10.4778,
                "crosses_total": 2.0119,
                "crosses_accurate": 0.8543,
                "touches": 27.5293,
                "possession_lost": 8.7265,
                "dispossessed": 0.6374,
                "duels_lost": 2.6112,
                "aerial_lost": 0.1894,
                "total_contest": 0.9974,
                "won_contest": 0.3707,
                "ball_recovery": 2.0138,
                "challenges_lost": 0.0,
                "fouls": 1.3222,
                "fouls_drawn": 0.499,
                "assists": 0.4143,
                "assist_rate": 0.4143,
                "interceptions": 0.1885,
                "tackles_won": 0.1362,
                "tackles": 0.1362,
                "clearances": 0.2691,
                "blocks": 0.0,
                "big_chances_created": 0.272,
                "big_chances_missed": 0.0,
                "xgot": 0.127,
                "offsides": 0.1659,
                "ball_carries": 11.9764,
                "total_progression": 49.6339,
                "progressive_carries": 1.4413,
                "shots_off_target": 0.7496
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-16T10:32:26.279343+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Deportivo Alavés",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1505,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Madrid",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.1279,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1087,
                    "rating": 8.6
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Real Sociedad",
                    "minutes": 59.0,
                    "is_starting": true,
                    "weight": 0.0924,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Athletic Club",
                    "minutes": 76.0,
                    "is_starting": true,
                    "weight": 0.0786,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Sevilla",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.0668,
                    "rating": 9.2
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Villarreal",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0568,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Málaga CF",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.0482,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-05-24",
                    "opponent": "Villarreal",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 5.9
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Girona FC",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.0349,
                    "rating": 7.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalOppositionHalfPasses": 22.7231,
                  "expectedGoals": 0.1278,
                  "accurateOppositionHalfPasses": 17.2415,
                  "accuratePass": 26.6934,
                  "totalShots": 2.1346
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.07312558591365814,
                    "model_output": 0.0731,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0862
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0155
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0069
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0047
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0029
                        }
                      ],
                      "others": -0.0082,
                      "total": 0.0731,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.57334
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.150169
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.074229
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.053745
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.035194
                        }
                      ],
                      "others_margin": -0.106984
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.11289271712303162,
                    "model_output": 0.1129,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0827
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0218
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0192
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0103
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0064
                        }
                      ],
                      "others": 0.0115,
                      "total": 0.1129,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.522061
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.199667
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.177252
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.091807
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.060863
                        }
                      ],
                      "others_margin": 0.108618
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.38474616408348083,
                    "model_output": 0.3847,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2108
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0393
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0221
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0153
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0142
                        }
                      ],
                      "others": 0.0418,
                      "total": 0.3847,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.4977
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.113571
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.062343
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.045428
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.042215
                        }
                      ],
                      "others_margin": 0.115061
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.1343246698379517,
                    "model_output": 1.1343,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5121
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1461
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.055
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0459
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0438
                        }
                      ],
                      "others": -0.0182,
                      "total": 1.1343,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.512134
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.146092
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.054957
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.04588
                        },
                        {
                          "name": "goals",
                          "margin": 0.043752
                        }
                      ],
                      "others_margin": -0.018062
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.1470661759376526,
                    "model_output": 0.1471,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0178
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0152
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0071
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0077
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0065
                        }
                      ],
                      "others": 0.0642,
                      "total": 0.1471,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.325557
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.284295
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.108957
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.10631
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.081254
                        }
                      ],
                      "others_margin": 0.573379
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 1.7105963230133057,
                    "model_output": 1.7106,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1985
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.1282
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.152
                        },
                        {
                          "name": "big_chance_conversion",
                          "contribution": 0.096
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0832
                        }
                      ],
                      "others": 0.7763,
                      "total": 1.7106,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.349155
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.23896
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.224791
                        },
                        {
                          "name": "big_chance_conversion",
                          "margin": 0.119677
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": 0.09327
                        }
                      ],
                      "others_margin": 0.604761
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.977485656738281,
                    "model_output": 6.9775,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0861
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0549
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0483
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0476
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0427
                        }
                      ],
                      "others": 0.1031,
                      "total": 6.9775,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.086104
                        },
                        {
                          "name": "rating",
                          "margin": 0.054874
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.048338
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.047605
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.042668
                        }
                      ],
                      "others_margin": 0.103102
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 35,
                  "role_matches": 9,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0117, quality 0.817)",
              "stats": {
                "expected_goals": 0.074,
                "goals": 0.1142,
                "goal_rate": 0.1142,
                "shots_on_target": 0.3892,
                "total_shots": 1.1476,
                "expected_assists": 0.1488,
                "key_pass": 1.7306,
                "rating": 6.9775,
                "minutes": 31.0,
                "total_pass": 19.3003,
                "accurate_pass": 14.7336,
                "duels_won": 1.1391,
                "total_long_balls": 1.8,
                "accurate_long_balls": 0.2172,
                "total_opp_half_passes": 14.5441,
                "accurate_opp_half_passes": 10.6004,
                "crosses_total": 2.0354,
                "crosses_accurate": 0.8643,
                "touches": 27.8514,
                "possession_lost": 8.8286,
                "dispossessed": 0.6449,
                "duels_lost": 2.6418,
                "aerial_lost": 0.1916,
                "total_contest": 1.0091,
                "won_contest": 0.375,
                "ball_recovery": 2.0374,
                "challenges_lost": 0.0,
                "fouls": 1.3377,
                "fouls_drawn": 0.5048,
                "assists": 0.4191,
                "assist_rate": 0.4191,
                "interceptions": 0.1907,
                "tackles_won": 0.1378,
                "tackles": 0.1378,
                "clearances": 0.2722,
                "blocks": 0.0,
                "big_chances_created": 0.2752,
                "big_chances_missed": 0.0,
                "xgot": 0.1285,
                "offsides": 0.1678,
                "ball_carries": 12.1165,
                "total_progression": 50.2146,
                "progressive_carries": 1.4582,
                "shots_off_target": 0.7584
              },
              "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.0097)",
              "stats": {
                "expected_goals": 0.074,
                "goals": 0.1187,
                "goal_rate": 0.1187,
                "shots_on_target": 0.391,
                "total_shots": 1.1457,
                "expected_assists": 0.1488,
                "key_pass": 1.7306,
                "rating": 6.9775,
                "minutes": 31.0,
                "total_pass": 19.3003,
                "accurate_pass": 14.7336,
                "duels_won": 1.1391,
                "total_long_balls": 1.8,
                "accurate_long_balls": 0.2172,
                "total_opp_half_passes": 14.5441,
                "accurate_opp_half_passes": 10.6004,
                "crosses_total": 2.023,
                "crosses_accurate": 0.8643,
                "touches": 27.8514,
                "possession_lost": 8.8286,
                "dispossessed": 0.6449,
                "duels_lost": 2.6418,
                "aerial_lost": 0.1916,
                "total_contest": 1.0091,
                "won_contest": 0.375,
                "ball_recovery": 2.0374,
                "challenges_lost": 0.0,
                "fouls": 1.3321,
                "fouls_drawn": 0.5073,
                "assists": 0.4169,
                "assist_rate": 0.4169,
                "interceptions": 0.1907,
                "tackles_won": 0.1365,
                "tackles": 0.1378,
                "clearances": 0.2722,
                "blocks": 0.0,
                "big_chances_created": 0.2752,
                "big_chances_missed": 0.0,
                "xgot": 0.1285,
                "offsides": 0.1699,
                "ball_carries": 12.1165,
                "total_progression": 50.2146,
                "progressive_carries": 1.4582,
                "shots_off_target": 0.7584
              },
              "params": {
                "blend_weight": 0.0097,
                "history_matches": 35,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.3444,
                "prior_reliability": 0.12,
                "competition": "La Liga",
                "squad": "Atlético Madrid"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 2.0354,
                  "after": 2.023
                },
                {
                  "stat": "fouls",
                  "before": 1.3377,
                  "after": 1.3321
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 31.0 to 34.1 expected minutes (appearance prob 0.62)",
              "stats": {
                "expected_goals": 0.0813,
                "goals": 0.1304,
                "goal_rate": 0.1304,
                "shots_on_target": 0.4296,
                "total_shots": 1.2629,
                "expected_assists": 0.1635,
                "key_pass": 1.9014,
                "rating": 6.9775,
                "minutes": 34.06,
                "total_pass": 21.2054,
                "accurate_pass": 16.1879,
                "duels_won": 1.2515,
                "total_long_balls": 1.9777,
                "accurate_long_balls": 0.2386,
                "total_opp_half_passes": 15.9797,
                "accurate_opp_half_passes": 11.6468,
                "crosses_total": 2.2227,
                "crosses_accurate": 0.9496,
                "touches": 30.6006,
                "possession_lost": 9.7001,
                "dispossessed": 0.6449,
                "duels_lost": 2.9026,
                "aerial_lost": 0.1916,
                "total_contest": 1.1087,
                "won_contest": 0.412,
                "ball_recovery": 2.2385,
                "challenges_lost": 0.0,
                "fouls": 1.4636,
                "fouls_drawn": 0.5574,
                "assists": 0.4581,
                "assist_rate": 0.4581,
                "interceptions": 0.2095,
                "tackles_won": 0.15,
                "tackles": 0.1514,
                "clearances": 0.2991,
                "blocks": 0.0,
                "big_chances_created": 0.3024,
                "big_chances_missed": 0.0,
                "xgot": 0.1412,
                "offsides": 0.1699,
                "ball_carries": 13.3125,
                "total_progression": 55.1713,
                "progressive_carries": 1.6021,
                "shots_off_target": 0.8333,
                "bench_appearance_probability": 0.621,
                "bench_expected_minutes": 34.06
              },
              "params": {
                "expected_minutes": 34.06,
                "projection_minutes": 31.0,
                "minutes_scale": 1.0987,
                "appearance_probability": 0.621
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0813,
                "goals": 0.1304,
                "goal_rate": 0.1304,
                "shots_on_target": 0.4296,
                "total_shots": 1.2629,
                "expected_assists": 0.1635,
                "key_pass": 1.9014,
                "rating": 6.9775,
                "minutes": 34.06,
                "total_pass": 21.2054,
                "accurate_pass": 16.1879,
                "duels_won": 1.2515,
                "total_long_balls": 1.9777,
                "accurate_long_balls": 0.2386,
                "total_opp_half_passes": 15.9797,
                "accurate_opp_half_passes": 11.6468,
                "crosses_total": 2.2227,
                "crosses_accurate": 0.9496,
                "touches": 30.6006,
                "possession_lost": 9.7001,
                "dispossessed": 0.6449,
                "duels_lost": 2.9026,
                "aerial_lost": 0.1916,
                "total_contest": 1.1087,
                "won_contest": 0.412,
                "ball_recovery": 2.2385,
                "challenges_lost": 0.0,
                "fouls": 1.4636,
                "fouls_drawn": 0.5574,
                "assists": 0.4581,
                "assist_rate": 0.4581,
                "interceptions": 0.2095,
                "tackles_won": 0.15,
                "tackles": 0.1514,
                "clearances": 0.2991,
                "blocks": 0.0,
                "big_chances_created": 0.3024,
                "big_chances_missed": 0.0,
                "xgot": 0.1412,
                "offsides": 0.1699,
                "ball_carries": 13.3125,
                "total_progression": 55.1713,
                "progressive_carries": 1.6021,
                "shots_off_target": 0.8333,
                "bench_appearance_probability": 0.621,
                "bench_expected_minutes": 34.06
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": true
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.0813,
                "goal_rate": 0.1304,
                "goals": 0,
                "shots_on_target": 0.4296,
                "total_shots": 1.2629,
                "expected_assists": 0.1635,
                "key_pass": 1.9014,
                "rating": 6.9775,
                "minutes": 34.06,
                "total_pass": 21.2054,
                "accurate_pass": 16.1879,
                "duels_won": 1.2515,
                "total_long_balls": 1.9777,
                "accurate_long_balls": 0.2386,
                "total_opp_half_passes": 15.9797,
                "accurate_opp_half_passes": 11.6468,
                "crosses_total": 2.2227,
                "crosses_accurate": 0.9496,
                "touches": 30.6006,
                "possession_lost": 9.7001,
                "dispossessed": 0.6449,
                "duels_lost": 2.9026,
                "aerial_lost": 0.1916,
                "total_contest": 1.1087,
                "won_contest": 0.412,
                "ball_recovery": 2.2385,
                "challenges_lost": 0.0,
                "fouls": 1.4636,
                "fouls_drawn": 0.5574,
                "assist_rate": 0.4581,
                "assists": 0,
                "interceptions": 0.2095,
                "tackles_won": 0.15,
                "tackles": 0.1514,
                "clearances": 0.2991,
                "blocks": 0.0,
                "big_chances_created": 0.3024,
                "big_chances_missed": 0.0,
                "xgot": 0.1412,
                "offsides": 0.1699,
                "ball_carries": 13.3125,
                "total_progression": 55.1713,
                "progressive_carries": 1.6021,
                "shots_off_target": 0.8333,
                "bench_appearance_probability": 0.621,
                "bench_expected_minutes": 34.06,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.543,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.33 (squad xG sum 1.6168, xG scale 1.4380, xA scale 1.4481, team xA 1.51 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0726,
                "goal_rate": 0.1304,
                "goals": 0,
                "shots_on_target": 0.4296,
                "total_shots": 1.2629,
                "expected_assists": 0.147,
                "key_pass": 1.9014,
                "rating": 6.9775,
                "minutes": 34.06,
                "total_pass": 21.2054,
                "accurate_pass": 16.1879,
                "duels_won": 1.2515,
                "total_long_balls": 1.9777,
                "accurate_long_balls": 0.2386,
                "total_opp_half_passes": 15.9797,
                "accurate_opp_half_passes": 11.6468,
                "crosses_total": 2.2227,
                "crosses_accurate": 0.9496,
                "touches": 30.6006,
                "possession_lost": 9.7001,
                "dispossessed": 0.6449,
                "duels_lost": 2.9026,
                "aerial_lost": 0.1916,
                "total_contest": 1.1087,
                "won_contest": 0.412,
                "ball_recovery": 2.2385,
                "challenges_lost": 0.0,
                "fouls": 1.4636,
                "fouls_drawn": 0.5574,
                "assist_rate": 0.4581,
                "assists": 0,
                "interceptions": 0.2095,
                "tackles_won": 0.15,
                "tackles": 0.1514,
                "clearances": 0.2991,
                "blocks": 0.0,
                "big_chances_created": 0.3024,
                "big_chances_missed": 0.0,
                "xgot": 0.1261,
                "offsides": 0.1699,
                "ball_carries": 13.3125,
                "total_progression": 55.1713,
                "progressive_carries": 1.6021,
                "shots_off_target": 0.8333,
                "bench_appearance_probability": 0.621,
                "bench_expected_minutes": 34.06,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.543,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 2.325,
                "squad_xg_sum": 1.6168,
                "squad_xa_sum": 1.0436,
                "team_expected_assists": 1.5113,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.438,
                "xa_scale": 1.4481,
                "opponent_lambda": 1.337,
                "scoreline_reset": true,
                "appearance_weight": 0.621
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0813,
                  "after": 0.0726
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1635,
                  "after": 0.147
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 7 by projected rating, fifa_overall 83.0)",
              "stats": {
                "expected_goals": 0.0726,
                "goal_rate": 0.1304,
                "goals": 0,
                "shots_on_target": 0.4296,
                "total_shots": 1.2629,
                "expected_assists": 0.147,
                "key_pass": 1.9014,
                "rating": 6.9775,
                "minutes": 34.06,
                "total_pass": 21.2054,
                "accurate_pass": 16.1879,
                "duels_won": 1.2515,
                "total_long_balls": 1.9777,
                "accurate_long_balls": 0.2386,
                "total_opp_half_passes": 15.9797,
                "accurate_opp_half_passes": 11.6468,
                "crosses_total": 2.2227,
                "crosses_accurate": 0.9496,
                "touches": 30.6006,
                "possession_lost": 9.7001,
                "dispossessed": 0.6449,
                "duels_lost": 2.9026,
                "aerial_lost": 0.1916,
                "total_contest": 1.1087,
                "won_contest": 0.412,
                "ball_recovery": 2.2385,
                "challenges_lost": 0.0,
                "fouls": 1.4636,
                "fouls_drawn": 0.5574,
                "assist_rate": 0.4581,
                "assists": 0,
                "interceptions": 0.2095,
                "tackles_won": 0.15,
                "tackles": 0.1514,
                "clearances": 0.2991,
                "blocks": 0.0,
                "big_chances_created": 0.3024,
                "big_chances_missed": 0.0,
                "xgot": 0.1261,
                "offsides": 0.1699,
                "ball_carries": 13.3125,
                "total_progression": 55.1713,
                "progressive_carries": 1.6021,
                "shots_off_target": 0.8333,
                "bench_appearance_probability": 0.621,
                "bench_expected_minutes": 34.06,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.543,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 83.0
              },
              "params": {
                "match_squad_rank": 7,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 244,
                "fifa_rank": 312.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 83.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.0726,
                "goal_rate": 0.1304,
                "goals": 0,
                "shots_on_target": 0.4296,
                "total_shots": 1.2629,
                "expected_assists": 0.147,
                "key_pass": 1.9014,
                "rating": 6.9775,
                "minutes": 34.06,
                "total_pass": 21.2054,
                "accurate_pass": 16.1879,
                "duels_won": 1.2515,
                "total_long_balls": 1.9777,
                "accurate_long_balls": 0.2386,
                "total_opp_half_passes": 15.9797,
                "accurate_opp_half_passes": 11.6468,
                "crosses_total": 2.2227,
                "crosses_accurate": 0.9496,
                "touches": 30.6006,
                "possession_lost": 9.7001,
                "dispossessed": 0.6449,
                "duels_lost": 2.9026,
                "aerial_lost": 0.1916,
                "total_contest": 1.1087,
                "won_contest": 0.412,
                "ball_recovery": 2.2385,
                "challenges_lost": 0.0,
                "fouls": 1.4636,
                "fouls_drawn": 0.5574,
                "assist_rate": 0.4581,
                "assists": 0,
                "interceptions": 0.2095,
                "tackles_won": 0.15,
                "tackles": 0.1514,
                "clearances": 0.2991,
                "blocks": 0.0,
                "big_chances_created": 0.3024,
                "big_chances_missed": 0.0,
                "xgot": 0.1261,
                "offsides": 0.1699,
                "ball_carries": 13.3125,
                "total_progression": 55.1713,
                "progressive_carries": 1.6021,
                "shots_off_target": 0.8333,
                "bench_appearance_probability": 0.621,
                "bench_expected_minutes": 34.06,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.543,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0685,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0685,
                "goal_rate": 0.1304,
                "scorer_weight": 0.0907,
                "squad_weight_total": 2.409,
                "weight_share": 0.0377,
                "finishing_factor": 1.25,
                "appearance_weight": 0.621,
                "weight_rank": 7,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Jonathan David",
                    "weight": 0.71,
                    "already": 0,
                    "effective_weight": 0.71,
                    "runner_up": "Ademola Lookman",
                    "runner_up_effective_weight": 0.4553
                  },
                  {
                    "n": 2,
                    "player": "Ademola Lookman",
                    "weight": 0.4553,
                    "already": 0,
                    "effective_weight": 0.4553,
                    "runner_up": "Jonathan David",
                    "runner_up_effective_weight": 0.3021
                  }
                ]
              }
            },
            {
              "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.0726,
                "goal_rate": 0.1304,
                "goals": 0,
                "shots_on_target": 0.4296,
                "total_shots": 1.2629,
                "expected_assists": 0.147,
                "key_pass": 1.9014,
                "rating": 6.9775,
                "minutes": 34.06,
                "total_pass": 21.2054,
                "accurate_pass": 16.1879,
                "duels_won": 1.2515,
                "total_long_balls": 1.9777,
                "accurate_long_balls": 0.2386,
                "total_opp_half_passes": 15.9797,
                "accurate_opp_half_passes": 11.6468,
                "crosses_total": 2.2227,
                "crosses_accurate": 0.9496,
                "touches": 30.6006,
                "possession_lost": 9.7001,
                "dispossessed": 0.6449,
                "duels_lost": 2.9026,
                "aerial_lost": 0.1916,
                "total_contest": 1.1087,
                "won_contest": 0.412,
                "ball_recovery": 2.2385,
                "challenges_lost": 0.0,
                "fouls": 1.4636,
                "fouls_drawn": 0.5574,
                "assist_rate": 0.4581,
                "assists": 0,
                "interceptions": 0.2095,
                "tackles_won": 0.15,
                "tackles": 0.1514,
                "clearances": 0.2991,
                "blocks": 0.0,
                "big_chances_created": 0.3024,
                "big_chances_missed": 0.0,
                "xgot": 0.1261,
                "offsides": 0.1699,
                "ball_carries": 13.3125,
                "total_progression": 55.1713,
                "progressive_carries": 1.6021,
                "shots_off_target": 0.8333,
                "bench_appearance_probability": 0.621,
                "bench_expected_minutes": 34.06,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.543,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0685,
                "projected_assists": 0,
                "assist_probability": 0.1309,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1309,
                "assist_rate": 0.4581,
                "provider_weight": 0.1837,
                "squad_weight_total": 1.5221,
                "weight_share": 0.1207,
                "creation_factor": 1.25,
                "appearance_weight": 0.621,
                "weight_rank": 2,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alejandro Grimaldo",
                    "weight": 0.1971,
                    "already": 0,
                    "effective_weight": 0.1971,
                    "runner_up": "Alex Baena",
                    "runner_up_effective_weight": 0.1837
                  }
                ]
              }
            }
          ]
        }
      },
      "substitutes": {
        "Julián Alvarez": {
          "player_id": 944656,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 19,
          "height": 170,
          "market_value": 116000000,
          "stats": {
            "expected_goals": 0.0711,
            "goal_rate": 0.0855,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0492,
            "key_pass": 0,
            "rating": 6.8004,
            "minutes": 26,
            "total_pass": 13,
            "accurate_pass": 11,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 10,
            "accurate_opp_half_passes": 9,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 21,
            "possession_lost": 4.3564,
            "dispossessed": 0.865,
            "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": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.111,
            "offsides": 0,
            "ball_carries": 8,
            "total_progression": 19,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.756,
            "bench_expected_minutes": 25.95,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.543,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0679,
            "projected_assists": 0,
            "assist_probability": 0.0476,
            "finishing_factor": 1.1742,
            "creation_factor": 0.8,
            "fifa_overall": 86.0
          },
          "latest_10_games": [
            {
              "match_id": 16421056,
              "match_date": "2026-10-10",
              "home_team": "Deportivo Alavés",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 45,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1235,
                "expected_assists": 0.0202,
                "total_shots": 3,
                "shots_off_target": 1,
                "total_pass": 17,
                "accurate_pass": 16,
                "tackles": 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": 16416339,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 28,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3341,
                "expected_assists": 0.0842,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 18,
                "accurate_pass": 17,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 31,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2286,
                "expected_assists": 0.0367,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 16,
                "accurate_pass": 16,
                "key_pass": 1,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "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": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 24,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0464,
                "expected_assists": 0.0167,
                "total_shots": 1,
                "total_pass": 10,
                "accurate_pass": 9,
                "key_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14081807,
              "match_date": "2026-03-22",
              "home_team": "Real Madrid",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.2591,
                "expected_assists": 0.0344,
                "total_shots": 5,
                "shots_on_target": 1,
                "shots_off_target": 4,
                "total_pass": 47,
                "accurate_pass": 42,
                "key_pass": 1,
                "tackles": 5,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 6
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083612,
              "match_date": "2026-03-14",
              "home_team": "Atlético Madrid",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Getafe",
              "stats": {
                "minutes": 24,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2889,
                "expected_assists": 0.1596,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 17,
                "accurate_pass": 15,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083602,
              "match_date": "2026-03-07",
              "home_team": "Atlético Madrid",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 37,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.4966,
                "total_shots": 0,
                "total_pass": 17,
                "accurate_pass": 13,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14081795,
              "match_date": "2026-02-28",
              "home_team": "Real Oviedo",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 45,
                "rating": 7.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2713,
                "expected_assists": 0.0973,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 21,
                "accurate_pass": 20,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083561,
              "match_date": "2026-02-21",
              "home_team": "Atlético Madrid",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 29,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0089,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 7,
                "ball_recovery": 1
              },
              "has_player_stats": true
            },
            {
              "match_id": 14083472,
              "match_date": "2026-02-15",
              "home_team": "Rayo Vallecano",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 34,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1732,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 6,
                "key_pass": 1,
                "duels_won": 1
              },
              "has_player_stats": true
            }
          ],
          "ranking": {
            "global_player_rank": 66,
            "combined_rank_score": 77.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 80.0,
            "sofascore_rating": 7.5533,
            "sofascore_appearances": 15.0,
            "fifa_rank": 75.0,
            "fifa_overall": 86.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8004,
            "source_file": "data/player_rankings.csv",
            "player_name": "Julián Alvarez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Rúben Dias",
                  "ranking": 61
                },
                {
                  "player_name": "Luis Díaz",
                  "ranking": 62
                },
                {
                  "player_name": "Max Weiss",
                  "ranking": 63
                },
                {
                  "player_name": "Paul Villero",
                  "ranking": 64
                },
                {
                  "player_name": "Cucurella",
                  "ranking": 65
                }
              ],
              "lower": [
                {
                  "player_name": "Jamshid Iskandarov",
                  "ranking": 67
                },
                {
                  "player_name": "Emiliano Martínez",
                  "ranking": 68
                },
                {
                  "player_name": "Cole Palmer",
                  "ranking": 69
                },
                {
                  "player_name": "David Raya",
                  "ranking": 70
                },
                {
                  "player_name": "Granit Xhaka",
                  "ranking": 71
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.753,
          "history_matches": 33,
          "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": 33,
            "data_confidence": 0.753,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 25.95,
            "bench_appearance_prob": 0.756,
            "market_value_adjustment": 1.0155,
            "fbref_prior_metrics": {
              "squad": "Atlético Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 0.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 25.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.02
            },
            "rationale": "Bench projection scaled from XGBoost F_service (33 historical appearances) to 25.9 expected mins (appearance prob 0.76); FBref playing time empirical prior: 1.0 sub appearances, 25.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0796,
                "goals": 0.1043,
                "goal_rate": 0.1043,
                "shots_on_target": 0.3842,
                "total_shots": 1.1899,
                "expected_assists": 0.0547,
                "key_pass": 0.5023,
                "rating": 6.8004,
                "minutes": 32.09,
                "total_pass": 15.3923,
                "accurate_pass": 13.9555,
                "duels_won": 2.284,
                "total_long_balls": 0.6153,
                "accurate_long_balls": 0.5354,
                "total_opp_half_passes": 12.2879,
                "accurate_opp_half_passes": 11.0108,
                "crosses_total": 0.6658,
                "crosses_accurate": 0.2324,
                "touches": 25.2748,
                "possession_lost": 5.305,
                "dispossessed": 0.8518,
                "duels_lost": 2.3273,
                "aerial_lost": 0.226,
                "total_contest": 2.2791,
                "won_contest": 1.3434,
                "ball_recovery": 1.0351,
                "challenges_lost": 0.0834,
                "fouls": 0.4105,
                "fouls_drawn": 0.6127,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.1479,
                "tackles": 0.328,
                "clearances": 0.0417,
                "blocks": 0.0,
                "big_chances_created": 0.0834,
                "big_chances_missed": 0.3814,
                "xgot": 0.1243,
                "offsides": 0.1097,
                "ball_carries": 9.3068,
                "total_progression": 22.9017,
                "progressive_carries": 1.2299,
                "shots_off_target": 0.8057
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-16T10:32:26.279343+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Deportivo Alavés",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1507,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Madrid",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.1281,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Athletic Club",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.1089,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Villarreal",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.0926,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-03-22",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0787,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-03-14",
                    "opponent": "Getafe",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.0669,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-03-07",
                    "opponent": "Real Sociedad",
                    "minutes": 37.0,
                    "is_starting": false,
                    "weight": 0.0568,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-02-28",
                    "opponent": "Real Oviedo",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0483,
                    "rating": 7.8
                  },
                  {
                    "match_date": "2026-02-21",
                    "opponent": "Espanyol",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.0411,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-02-15",
                    "opponent": "Rayo Vallecano",
                    "minutes": 34.0,
                    "is_starting": false,
                    "weight": 0.0349,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalOppositionHalfPasses": 15.1591,
                  "expectedGoals": 0.1747,
                  "accurateOppositionHalfPasses": 13.3224,
                  "accuratePass": 17.096,
                  "totalShots": 1.9469
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.0796264186501503,
                    "model_output": 0.0796,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0942
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0103
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0059
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0038
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0032
                        }
                      ],
                      "others": -0.0005,
                      "total": 0.0796,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.647792
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.104615
                        },
                        {
                          "name": "goals",
                          "margin": -0.065559
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.045034
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.03861
                        }
                      ],
                      "others_margin": -0.006883
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.10428278893232346,
                    "model_output": 0.1043,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0849
                        },
                        {
                          "name": "goals",
                          "contribution": -0.009
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0056
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.005
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0046
                        }
                      ],
                      "others": 0.0008,
                      "total": 0.1043,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.540429
                        },
                        {
                          "name": "goals",
                          "margin": -0.079313
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.052733
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.049712
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.045779
                        }
                      ],
                      "others_margin": 0.008549
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.38417816162109375,
                    "model_output": 0.3842,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.199
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0272
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0289
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0202
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0182
                        }
                      ],
                      "others": -0.0125,
                      "total": 0.3842,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.462248
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.077213
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.075924
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.049809
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.044745
                        }
                      ],
                      "others_margin": -0.032053
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.1898974180221558,
                    "model_output": 1.1899,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4948
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1086
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0583
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0525
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.043
                        }
                      ],
                      "others": 0.0485,
                      "total": 1.1899,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.494789
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.108646
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.058315
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.052525
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.04295
                        }
                      ],
                      "others_margin": 0.04841
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.05466724559664726,
                    "model_output": 0.0547,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0185
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0074
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0061
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0042
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0037
                        }
                      ],
                      "others": -0.0002,
                      "total": 0.0547,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.340699
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.150968
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.121524
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.085648
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.070099
                        }
                      ],
                      "others_margin": -0.00547
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.5023021697998047,
                    "model_output": 0.5023,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2317
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0467
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0514
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0421
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": -0.0229
                        }
                      ],
                      "others": 0.0275,
                      "total": 0.5023,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.421843
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.100552
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.100133
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.08116
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": -0.047054
                        }
                      ],
                      "others_margin": 0.056281
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.800375938415527,
                    "model_output": 6.8004,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0861
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0153
                        },
                        {
                          "name": "press_resistance_fwd",
                          "contribution": 0.0144
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.012
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0109
                        }
                      ],
                      "others": 0.0669,
                      "total": 6.8004,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.086112
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.015273
                        },
                        {
                          "name": "press_resistance_fwd",
                          "margin": 0.014416
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.011987
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.010853
                        }
                      ],
                      "others_margin": 0.066958
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 33,
                  "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.0155, quality 0.897)",
              "stats": {
                "expected_goals": 0.0809,
                "goals": 0.1059,
                "goal_rate": 0.1059,
                "shots_on_target": 0.3901,
                "total_shots": 1.2083,
                "expected_assists": 0.0555,
                "key_pass": 0.5101,
                "rating": 6.8004,
                "minutes": 32.09,
                "total_pass": 15.6309,
                "accurate_pass": 14.1718,
                "duels_won": 2.3194,
                "total_long_balls": 0.6248,
                "accurate_long_balls": 0.5437,
                "total_opp_half_passes": 12.4784,
                "accurate_opp_half_passes": 11.1815,
                "crosses_total": 0.6761,
                "crosses_accurate": 0.236,
                "touches": 25.6666,
                "possession_lost": 5.3872,
                "dispossessed": 0.865,
                "duels_lost": 2.3634,
                "aerial_lost": 0.2295,
                "total_contest": 2.3144,
                "won_contest": 1.3642,
                "ball_recovery": 1.0511,
                "challenges_lost": 0.0847,
                "fouls": 0.4169,
                "fouls_drawn": 0.6222,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.1502,
                "tackles": 0.3331,
                "clearances": 0.0423,
                "blocks": 0.0,
                "big_chances_created": 0.0847,
                "big_chances_missed": 0.3873,
                "xgot": 0.1262,
                "offsides": 0.1114,
                "ball_carries": 9.4511,
                "total_progression": 23.2567,
                "progressive_carries": 1.249,
                "shots_off_target": 0.8182
              },
              "params": {
                "market_value_eur": 116000000,
                "quality_factor": 0.897,
                "boost_factor": 1.0155,
                "reference_quality": 0.505,
                "history_matches": 33,
                "history_shrink": 0.1316,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0017)",
              "stats": {
                "expected_goals": 0.0809,
                "goals": 0.1057,
                "goal_rate": 0.1057,
                "shots_on_target": 0.3894,
                "total_shots": 1.2084,
                "expected_assists": 0.0555,
                "key_pass": 0.5101,
                "rating": 6.8004,
                "minutes": 32.09,
                "total_pass": 15.6309,
                "accurate_pass": 14.1718,
                "duels_won": 2.3194,
                "total_long_balls": 0.6248,
                "accurate_long_balls": 0.5437,
                "total_opp_half_passes": 12.4784,
                "accurate_opp_half_passes": 11.1815,
                "crosses_total": 0.6749,
                "crosses_accurate": 0.236,
                "touches": 25.6666,
                "possession_lost": 5.3872,
                "dispossessed": 0.865,
                "duels_lost": 2.3634,
                "aerial_lost": 0.2295,
                "total_contest": 2.3144,
                "won_contest": 1.3642,
                "ball_recovery": 1.0511,
                "challenges_lost": 0.0847,
                "fouls": 0.4162,
                "fouls_drawn": 0.6211,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.1499,
                "tackles": 0.3331,
                "clearances": 0.0423,
                "blocks": 0.0,
                "big_chances_created": 0.0847,
                "big_chances_missed": 0.3873,
                "xgot": 0.1262,
                "offsides": 0.1112,
                "ball_carries": 9.4511,
                "total_progression": 23.2567,
                "progressive_carries": 1.249,
                "shots_off_target": 0.8182
              },
              "params": {
                "blend_weight": 0.0017,
                "history_matches": 33,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.3566,
                "prior_reliability": 0.02,
                "competition": "La Liga",
                "squad": "Atlético Madrid"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 32.1 to 25.9 expected minutes (appearance prob 0.76)",
              "stats": {
                "expected_goals": 0.0654,
                "goals": 0.0855,
                "goal_rate": 0.0855,
                "shots_on_target": 0.3149,
                "total_shots": 0.9772,
                "expected_assists": 0.0449,
                "key_pass": 0.4125,
                "rating": 6.8004,
                "minutes": 25.95,
                "total_pass": 12.6401,
                "accurate_pass": 11.4602,
                "duels_won": 1.8756,
                "total_long_balls": 0.5053,
                "accurate_long_balls": 0.4397,
                "total_opp_half_passes": 10.0908,
                "accurate_opp_half_passes": 9.0421,
                "crosses_total": 0.5458,
                "crosses_accurate": 0.1908,
                "touches": 20.7556,
                "possession_lost": 4.3564,
                "dispossessed": 0.865,
                "duels_lost": 1.9112,
                "aerial_lost": 0.2295,
                "total_contest": 1.8716,
                "won_contest": 1.1032,
                "ball_recovery": 0.85,
                "challenges_lost": 0.0847,
                "fouls": 0.3366,
                "fouls_drawn": 0.5023,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.1212,
                "tackles": 0.2694,
                "clearances": 0.0342,
                "blocks": 0.0,
                "big_chances_created": 0.0685,
                "big_chances_missed": 0.3132,
                "xgot": 0.1021,
                "offsides": 0.1112,
                "ball_carries": 7.6428,
                "total_progression": 18.8068,
                "progressive_carries": 1.01,
                "shots_off_target": 0.6616,
                "bench_appearance_probability": 0.756,
                "bench_expected_minutes": 25.95
              },
              "params": {
                "expected_minutes": 25.95,
                "projection_minutes": 32.09,
                "minutes_scale": 0.8087,
                "appearance_probability": 0.756
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0654,
                "goals": 0.0855,
                "goal_rate": 0.0855,
                "shots_on_target": 0.3149,
                "total_shots": 0.9772,
                "expected_assists": 0.0449,
                "key_pass": 0.4125,
                "rating": 6.8004,
                "minutes": 25.95,
                "total_pass": 12.6401,
                "accurate_pass": 11.4602,
                "duels_won": 1.8756,
                "total_long_balls": 0.5053,
                "accurate_long_balls": 0.4397,
                "total_opp_half_passes": 10.0908,
                "accurate_opp_half_passes": 9.0421,
                "crosses_total": 0.5458,
                "crosses_accurate": 0.1908,
                "touches": 20.7556,
                "possession_lost": 4.3564,
                "dispossessed": 0.865,
                "duels_lost": 1.9112,
                "aerial_lost": 0.2295,
                "total_contest": 1.8716,
                "won_contest": 1.1032,
                "ball_recovery": 0.85,
                "challenges_lost": 0.0847,
                "fouls": 0.3366,
                "fouls_drawn": 0.5023,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.1212,
                "tackles": 0.2694,
                "clearances": 0.0342,
                "blocks": 0.0,
                "big_chances_created": 0.0685,
                "big_chances_missed": 0.3132,
                "xgot": 0.1021,
                "offsides": 0.1112,
                "ball_carries": 7.6428,
                "total_progression": 18.8068,
                "progressive_carries": 1.01,
                "shots_off_target": 0.6616,
                "bench_appearance_probability": 0.756,
                "bench_expected_minutes": 25.95
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.0654,
                "goal_rate": 0.0855,
                "goals": 0,
                "shots_on_target": 0.3149,
                "total_shots": 0.9772,
                "expected_assists": 0.0449,
                "key_pass": 0.4125,
                "rating": 6.8004,
                "minutes": 25.95,
                "total_pass": 12.6401,
                "accurate_pass": 11.4602,
                "duels_won": 1.8756,
                "total_long_balls": 0.5053,
                "accurate_long_balls": 0.4397,
                "total_opp_half_passes": 10.0908,
                "accurate_opp_half_passes": 9.0421,
                "crosses_total": 0.5458,
                "crosses_accurate": 0.1908,
                "touches": 20.7556,
                "possession_lost": 4.3564,
                "dispossessed": 0.865,
                "duels_lost": 1.9112,
                "aerial_lost": 0.2295,
                "total_contest": 1.8716,
                "won_contest": 1.1032,
                "ball_recovery": 0.85,
                "challenges_lost": 0.0847,
                "fouls": 0.3366,
                "fouls_drawn": 0.5023,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.1212,
                "tackles": 0.2694,
                "clearances": 0.0342,
                "blocks": 0.0,
                "big_chances_created": 0.0685,
                "big_chances_missed": 0.3132,
                "xgot": 0.1021,
                "offsides": 0.1112,
                "ball_carries": 7.6428,
                "total_progression": 18.8068,
                "progressive_carries": 1.01,
                "shots_off_target": 0.6616,
                "bench_appearance_probability": 0.756,
                "bench_expected_minutes": 25.95,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.543,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.33 (squad xG sum 1.6168, xG scale 1.4380, xA scale 1.4481, team xA 1.51 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0711,
                "goal_rate": 0.0855,
                "goals": 0,
                "shots_on_target": 0.3149,
                "total_shots": 0.9772,
                "expected_assists": 0.0492,
                "key_pass": 0.4125,
                "rating": 6.8004,
                "minutes": 25.95,
                "total_pass": 12.6401,
                "accurate_pass": 11.4602,
                "duels_won": 1.8756,
                "total_long_balls": 0.5053,
                "accurate_long_balls": 0.4397,
                "total_opp_half_passes": 10.0908,
                "accurate_opp_half_passes": 9.0421,
                "crosses_total": 0.5458,
                "crosses_accurate": 0.1908,
                "touches": 20.7556,
                "possession_lost": 4.3564,
                "dispossessed": 0.865,
                "duels_lost": 1.9112,
                "aerial_lost": 0.2295,
                "total_contest": 1.8716,
                "won_contest": 1.1032,
                "ball_recovery": 0.85,
                "challenges_lost": 0.0847,
                "fouls": 0.3366,
                "fouls_drawn": 0.5023,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.1212,
                "tackles": 0.2694,
                "clearances": 0.0342,
                "blocks": 0.0,
                "big_chances_created": 0.0685,
                "big_chances_missed": 0.3132,
                "xgot": 0.111,
                "offsides": 0.1112,
                "ball_carries": 7.6428,
                "total_progression": 18.8068,
                "progressive_carries": 1.01,
                "shots_off_target": 0.6616,
                "bench_appearance_probability": 0.756,
                "bench_expected_minutes": 25.95,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.543,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1742,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 2.325,
                "squad_xg_sum": 1.6168,
                "squad_xa_sum": 1.0436,
                "team_expected_assists": 1.5113,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.438,
                "xa_scale": 1.4481,
                "opponent_lambda": 1.337,
                "scoreline_reset": true,
                "appearance_weight": 0.756
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0654,
                  "after": 0.0711
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 14 by projected rating, fifa_overall 86.0)",
              "stats": {
                "expected_goals": 0.0711,
                "goal_rate": 0.0855,
                "goals": 0,
                "shots_on_target": 0.3149,
                "total_shots": 0.9772,
                "expected_assists": 0.0492,
                "key_pass": 0.4125,
                "rating": 6.8004,
                "minutes": 25.95,
                "total_pass": 12.6401,
                "accurate_pass": 11.4602,
                "duels_won": 1.8756,
                "total_long_balls": 0.5053,
                "accurate_long_balls": 0.4397,
                "total_opp_half_passes": 10.0908,
                "accurate_opp_half_passes": 9.0421,
                "crosses_total": 0.5458,
                "crosses_accurate": 0.1908,
                "touches": 20.7556,
                "possession_lost": 4.3564,
                "dispossessed": 0.865,
                "duels_lost": 1.9112,
                "aerial_lost": 0.2295,
                "total_contest": 1.8716,
                "won_contest": 1.1032,
                "ball_recovery": 0.85,
                "challenges_lost": 0.0847,
                "fouls": 0.3366,
                "fouls_drawn": 0.5023,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.1212,
                "tackles": 0.2694,
                "clearances": 0.0342,
                "blocks": 0.0,
                "big_chances_created": 0.0685,
                "big_chances_missed": 0.3132,
                "xgot": 0.111,
                "offsides": 0.1112,
                "ball_carries": 7.6428,
                "total_progression": 18.8068,
                "progressive_carries": 1.01,
                "shots_off_target": 0.6616,
                "bench_appearance_probability": 0.756,
                "bench_expected_minutes": 25.95,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.543,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1742,
                "creation_factor": 0.8,
                "fifa_overall": 86.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": 66,
                "fifa_rank": 75.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 86.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.0711,
                "goal_rate": 0.0855,
                "goals": 0,
                "shots_on_target": 0.3149,
                "total_shots": 0.9772,
                "expected_assists": 0.0492,
                "key_pass": 0.4125,
                "rating": 6.8004,
                "minutes": 25.95,
                "total_pass": 12.6401,
                "accurate_pass": 11.4602,
                "duels_won": 1.8756,
                "total_long_balls": 0.5053,
                "accurate_long_balls": 0.4397,
                "total_opp_half_passes": 10.0908,
                "accurate_opp_half_passes": 9.0421,
                "crosses_total": 0.5458,
                "crosses_accurate": 0.1908,
                "touches": 20.7556,
                "possession_lost": 4.3564,
                "dispossessed": 0.865,
                "duels_lost": 1.9112,
                "aerial_lost": 0.2295,
                "total_contest": 1.8716,
                "won_contest": 1.1032,
                "ball_recovery": 0.85,
                "challenges_lost": 0.0847,
                "fouls": 0.3366,
                "fouls_drawn": 0.5023,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.1212,
                "tackles": 0.2694,
                "clearances": 0.0342,
                "blocks": 0.0,
                "big_chances_created": 0.0685,
                "big_chances_missed": 0.3132,
                "xgot": 0.111,
                "offsides": 0.1112,
                "ball_carries": 7.6428,
                "total_progression": 18.8068,
                "progressive_carries": 1.01,
                "shots_off_target": 0.6616,
                "bench_appearance_probability": 0.756,
                "bench_expected_minutes": 25.95,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.543,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0679,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1742,
                "creation_factor": 0.8,
                "fifa_overall": 86.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0679,
                "goal_rate": 0.0855,
                "scorer_weight": 0.0835,
                "squad_weight_total": 2.409,
                "weight_share": 0.0347,
                "finishing_factor": 1.1742,
                "appearance_weight": 0.756,
                "weight_rank": 8,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Jonathan David",
                    "weight": 0.71,
                    "already": 0,
                    "effective_weight": 0.71,
                    "runner_up": "Ademola Lookman",
                    "runner_up_effective_weight": 0.4553
                  },
                  {
                    "n": 2,
                    "player": "Ademola Lookman",
                    "weight": 0.4553,
                    "already": 0,
                    "effective_weight": 0.4553,
                    "runner_up": "Jonathan David",
                    "runner_up_effective_weight": 0.3021
                  }
                ]
              }
            },
            {
              "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.0711,
                "goal_rate": 0.0855,
                "goals": 0,
                "shots_on_target": 0.3149,
                "total_shots": 0.9772,
                "expected_assists": 0.0492,
                "key_pass": 0.4125,
                "rating": 6.8004,
                "minutes": 25.95,
                "total_pass": 12.6401,
                "accurate_pass": 11.4602,
                "duels_won": 1.8756,
                "total_long_balls": 0.5053,
                "accurate_long_balls": 0.4397,
                "total_opp_half_passes": 10.0908,
                "accurate_opp_half_passes": 9.0421,
                "crosses_total": 0.5458,
                "crosses_accurate": 0.1908,
                "touches": 20.7556,
                "possession_lost": 4.3564,
                "dispossessed": 0.865,
                "duels_lost": 1.9112,
                "aerial_lost": 0.2295,
                "total_contest": 1.8716,
                "won_contest": 1.1032,
                "ball_recovery": 0.85,
                "challenges_lost": 0.0847,
                "fouls": 0.3366,
                "fouls_drawn": 0.5023,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.1212,
                "tackles": 0.2694,
                "clearances": 0.0342,
                "blocks": 0.0,
                "big_chances_created": 0.0685,
                "big_chances_missed": 0.3132,
                "xgot": 0.111,
                "offsides": 0.1112,
                "ball_carries": 7.6428,
                "total_progression": 18.8068,
                "progressive_carries": 1.01,
                "shots_off_target": 0.6616,
                "bench_appearance_probability": 0.756,
                "bench_expected_minutes": 25.95,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.543,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0679,
                "projected_assists": 0,
                "assist_probability": 0.0476,
                "finishing_factor": 1.1742,
                "creation_factor": 0.8,
                "fifa_overall": 86.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0476,
                "assist_rate": 0.0,
                "provider_weight": 0.0394,
                "squad_weight_total": 1.5221,
                "weight_share": 0.0259,
                "creation_factor": 0.8,
                "appearance_weight": 0.756,
                "weight_rank": 11,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alejandro Grimaldo",
                    "weight": 0.1971,
                    "already": 0,
                    "effective_weight": 0.1971,
                    "runner_up": "Alex Baena",
                    "runner_up_effective_weight": 0.1837
                  }
                ]
              }
            }
          ]
        },
        "Alex Baena": {
          "player_id": 910031,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 10,
          "height": 174,
          "market_value": 48000000,
          "stats": {
            "expected_goals": 0.0726,
            "goal_rate": 0.1304,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.147,
            "key_pass": 2,
            "rating": 6.9775,
            "minutes": 34,
            "total_pass": 21,
            "accurate_pass": 16,
            "duels_won": 1,
            "total_long_balls": 2,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 16,
            "accurate_opp_half_passes": 12,
            "crosses_total": 2,
            "crosses_accurate": 1,
            "touches": 31,
            "possession_lost": 9.7001,
            "dispossessed": 0.6449,
            "duels_lost": 3,
            "aerial_lost": 0,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "assist_rate": 0.4581,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1261,
            "offsides": 0,
            "ball_carries": 13,
            "total_progression": 55,
            "progressive_carries": 2,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.621,
            "bench_expected_minutes": 34.06,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.543,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0685,
            "projected_assists": 0,
            "assist_probability": 0.1309,
            "finishing_factor": 1.25,
            "creation_factor": 1.25,
            "fifa_overall": 83.0
          },
          "latest_10_games": [
            {
              "match_id": 16421056,
              "match_date": "2026-10-10",
              "home_team": "Deportivo Alavés",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 45,
                "rating": 7.1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.076,
                "expected_assists": 0.4483,
                "total_shots": 3,
                "shots_on_target": 1,
                "total_pass": 28,
                "accurate_pass": 20,
                "key_pass": 4,
                "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": 16416339,
              "match_date": "2026-09-20",
              "home_team": "Atlético Madrid",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 67,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.024,
                "expected_assists": 0.0931,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 37,
                "accurate_pass": 31,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416335,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 8.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5648,
                "expected_assists": 0.4472,
                "total_shots": 5,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 51,
                "accurate_pass": 41,
                "key_pass": 4,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "duels_won": 3,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 59,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0485,
                "expected_assists": 0.0354,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 27,
                "accurate_pass": 24,
                "tackles": 1,
                "interceptions": 3,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 76,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1281,
                "expected_assists": 0.3008,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 29,
                "accurate_pass": 24,
                "key_pass": 3,
                "interceptions": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416316,
              "match_date": "2026-08-29",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 85,
                "rating": 9.2,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2852,
                "expected_assists": 0.1508,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 44,
                "accurate_pass": 39,
                "key_pass": 3,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "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": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 45,
                "rating": 6.0,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.1268,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 18,
                "key_pass": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421055,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 33,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0671,
                "expected_assists": 0.1075,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 20,
                "accurate_pass": 16,
                "key_pass": 2,
                "duels_won": 1,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "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": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 61,
                "rating": 5.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0648,
                "expected_assists": 0.1678,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 38,
                "accurate_pass": 32,
                "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": 14083661,
              "match_date": "2026-05-17",
              "home_team": "Atlético Madrid",
              "away_team": "Girona FC",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 61,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1024,
                "expected_assists": 0.1685,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 29,
                "accurate_pass": 22,
                "key_pass": 4,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 244,
            "combined_rank_score": 182.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 52.0,
            "sofascore_rating": 7.7,
            "sofascore_appearances": 1.0,
            "fifa_rank": 312.0,
            "fifa_overall": 83.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9775,
            "source_file": "data/player_rankings.csv",
            "player_name": "Alex Baena",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Federico Botti",
                  "ranking": 239
                },
                {
                  "player_name": "Jeisson Vargas",
                  "ranking": 240
                },
                {
                  "player_name": "Léo Pereira",
                  "ranking": 241
                },
                {
                  "player_name": "Andrei Cojuhar",
                  "ranking": 242
                },
                {
                  "player_name": "Willian Pacho",
                  "ranking": 243
                }
              ],
              "lower": [
                {
                  "player_name": "Denzel Dumfries",
                  "ranking": 245
                },
                {
                  "player_name": "Pablo Barrios",
                  "ranking": 246
                },
                {
                  "player_name": "Joaquín Moya",
                  "ranking": 247
                },
                {
                  "player_name": "Leonard Pllana",
                  "ranking": 248
                },
                {
                  "player_name": "Eldor Adhamov",
                  "ranking": 249
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.768,
          "history_matches": 35,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 35,
            "data_confidence": 0.768,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 34.06,
            "bench_appearance_prob": 0.621,
            "market_value_adjustment": 1.0117,
            "fbref_prior_metrics": {
              "squad": "Atlético Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 40.0,
              "goals_per90": 1.6666666666666663,
              "assists_per90": 0.5555555555555556,
              "prior_reliability": 0.12
            },
            "rationale": "Bench projection scaled from XGBoost F_service (35 historical appearances) to 34.1 expected mins (appearance prob 0.62); FBref playing time empirical prior: 2.0 sub appearances, 40.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0731,
                "goals": 0.1129,
                "goal_rate": 0.1129,
                "shots_on_target": 0.3847,
                "total_shots": 1.1343,
                "expected_assists": 0.1471,
                "key_pass": 1.7106,
                "rating": 6.9775,
                "minutes": 31.0,
                "total_pass": 19.0771,
                "accurate_pass": 14.5632,
                "duels_won": 1.1259,
                "total_long_balls": 1.7792,
                "accurate_long_balls": 0.2147,
                "total_opp_half_passes": 14.3759,
                "accurate_opp_half_passes": 10.4778,
                "crosses_total": 2.0119,
                "crosses_accurate": 0.8543,
                "touches": 27.5293,
                "possession_lost": 8.7265,
                "dispossessed": 0.6374,
                "duels_lost": 2.6112,
                "aerial_lost": 0.1894,
                "total_contest": 0.9974,
                "won_contest": 0.3707,
                "ball_recovery": 2.0138,
                "challenges_lost": 0.0,
                "fouls": 1.3222,
                "fouls_drawn": 0.499,
                "assists": 0.4143,
                "assist_rate": 0.4143,
                "interceptions": 0.1885,
                "tackles_won": 0.1362,
                "tackles": 0.1362,
                "clearances": 0.2691,
                "blocks": 0.0,
                "big_chances_created": 0.272,
                "big_chances_missed": 0.0,
                "xgot": 0.127,
                "offsides": 0.1659,
                "ball_carries": 11.9764,
                "total_progression": 49.6339,
                "progressive_carries": 1.4413,
                "shots_off_target": 0.7496
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-16T10:32:26.279343+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 607,
                    "rows": 16160
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-10",
                    "opponent": "Deportivo Alavés",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1505,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Madrid",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.1279,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1087,
                    "rating": 8.6
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Real Sociedad",
                    "minutes": 59.0,
                    "is_starting": true,
                    "weight": 0.0924,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Athletic Club",
                    "minutes": 76.0,
                    "is_starting": true,
                    "weight": 0.0786,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Sevilla",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.0668,
                    "rating": 9.2
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Villarreal",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0568,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Málaga CF",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.0482,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-05-24",
                    "opponent": "Villarreal",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 5.9
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Girona FC",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.0349,
                    "rating": 7.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalOppositionHalfPasses": 22.7231,
                  "expectedGoals": 0.1278,
                  "accurateOppositionHalfPasses": 17.2415,
                  "accuratePass": 26.6934,
                  "totalShots": 2.1346
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.07312558591365814,
                    "model_output": 0.0731,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2914
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.08
                      },
                      {
                        "name": "goals",
                        "importance": 0.0314
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.031
                      },
                      {
                        "name": "ballCarriesCount_p90",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.1975,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0862
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0155
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0069
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0047
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0029
                        }
                      ],
                      "others": -0.0082,
                      "total": 0.0731,
                      "log_link": true,
                      "margin_base": -1.621917,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.57334
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.150169
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.074229
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.053745
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.035194
                        }
                      ],
                      "others_margin": -0.106984
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.11289271712303162,
                    "model_output": 0.1129,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1405
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0774
                      },
                      {
                        "name": "goals",
                        "importance": 0.051
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0285
                      },
                      {
                        "name": "rating",
                        "importance": 0.0262
                      }
                    ],
                    "decomposition": {
                      "base": 0.2034,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0827
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0218
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0192
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0103
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0064
                        }
                      ],
                      "others": 0.0115,
                      "total": 0.1129,
                      "log_link": true,
                      "margin_base": -1.59279,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.522061
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.199667
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.177252
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.091807
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.060863
                        }
                      ],
                      "others_margin": 0.108618
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.38474616408348083,
                    "model_output": 0.3847,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1975
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.065
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0557
                      },
                      {
                        "name": "goals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0299
                      }
                    ],
                    "decomposition": {
                      "base": 0.5376,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2108
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0393
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0221
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0153
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0142
                        }
                      ],
                      "others": 0.0418,
                      "total": 0.3847,
                      "log_link": true,
                      "margin_base": -0.620549,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.4977
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.113571
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.062343
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.045428
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.042215
                        }
                      ],
                      "others_margin": 0.115061
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.1343246698379517,
                    "model_output": 1.1343,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2847
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.061
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0433
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0377
                      },
                      {
                        "name": "goals",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 1.3738,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5121
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1461
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.055
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0459
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0438
                        }
                      ],
                      "others": -0.0182,
                      "total": 1.1343,
                      "log_link": false,
                      "margin_base": 1.37384,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.512134
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.146092
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.054957
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.04588
                        },
                        {
                          "name": "goals",
                          "margin": 0.043752
                        }
                      ],
                      "others_margin": -0.018062
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.1470661759376526,
                    "model_output": 0.1471,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1263
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0725
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0596
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0595
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0576
                      }
                    ],
                    "decomposition": {
                      "base": 0.0642,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0178
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0152
                        },
                        {
                          "name": "totalPass",
                          "contribution": 0.0071
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0077
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0065
                        }
                      ],
                      "others": 0.0642,
                      "total": 0.1471,
                      "log_link": true,
                      "margin_base": -2.745511,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.325557
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.284295
                        },
                        {
                          "name": "totalPass",
                          "margin": 0.108957
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.10631
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.081254
                        }
                      ],
                      "others_margin": 0.573379
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 1.7105963230133057,
                    "model_output": 1.7106,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1476
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.1377
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0844
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0598
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0346
                      }
                    ],
                    "decomposition": {
                      "base": 0.6734,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1985
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.1282
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.152
                        },
                        {
                          "name": "big_chance_conversion",
                          "contribution": 0.096
                        },
                        {
                          "name": "duel_win_rate",
                          "contribution": 0.0832
                        }
                      ],
                      "others": 0.7763,
                      "total": 1.7106,
                      "log_link": true,
                      "margin_base": -0.395462,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.349155
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.23896
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.224791
                        },
                        {
                          "name": "big_chance_conversion",
                          "margin": 0.119677
                        },
                        {
                          "name": "duel_win_rate",
                          "margin": 0.09327
                        }
                      ],
                      "others_margin": 0.604761
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.977485656738281,
                    "model_output": 6.9775,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0494
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0487
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0442
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0428
                      },
                      {
                        "name": "rating",
                        "importance": 0.0414
                      }
                    ],
                    "decomposition": {
                      "base": 6.767,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0861
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0549
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0483
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0476
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0427
                        }
                      ],
                      "others": 0.1031,
                      "total": 6.9775,
                      "log_link": false,
                      "margin_base": 6.767002,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.086104
                        },
                        {
                          "name": "rating",
                          "margin": 0.054874
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.048338
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.047605
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.042668
                        }
                      ],
                      "others_margin": 0.103102
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 35,
                  "role_matches": 9,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0117, quality 0.817)",
              "stats": {
                "expected_goals": 0.074,
                "goals": 0.1142,
                "goal_rate": 0.1142,
                "shots_on_target": 0.3892,
                "total_shots": 1.1476,
                "expected_assists": 0.1488,
                "key_pass": 1.7306,
                "rating": 6.9775,
                "minutes": 31.0,
                "total_pass": 19.3003,
                "accurate_pass": 14.7336,
                "duels_won": 1.1391,
                "total_long_balls": 1.8,
                "accurate_long_balls": 0.2172,
                "total_opp_half_passes": 14.5441,
                "accurate_opp_half_passes": 10.6004,
                "crosses_total": 2.0354,
                "crosses_accurate": 0.8643,
                "touches": 27.8514,
                "possession_lost": 8.8286,
                "dispossessed": 0.6449,
                "duels_lost": 2.6418,
                "aerial_lost": 0.1916,
                "total_contest": 1.0091,
                "won_contest": 0.375,
                "ball_recovery": 2.0374,
                "challenges_lost": 0.0,
                "fouls": 1.3377,
                "fouls_drawn": 0.5048,
                "assists": 0.4191,
                "assist_rate": 0.4191,
                "interceptions": 0.1907,
                "tackles_won": 0.1378,
                "tackles": 0.1378,
                "clearances": 0.2722,
                "blocks": 0.0,
                "big_chances_created": 0.2752,
                "big_chances_missed": 0.0,
                "xgot": 0.1285,
                "offsides": 0.1678,
                "ball_carries": 12.1165,
                "total_progression": 50.2146,
                "progressive_carries": 1.4582,
                "shots_off_target": 0.7584
              },
              "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.0097)",
              "stats": {
                "expected_goals": 0.074,
                "goals": 0.1187,
                "goal_rate": 0.1187,
                "shots_on_target": 0.391,
                "total_shots": 1.1457,
                "expected_assists": 0.1488,
                "key_pass": 1.7306,
                "rating": 6.9775,
                "minutes": 31.0,
                "total_pass": 19.3003,
                "accurate_pass": 14.7336,
                "duels_won": 1.1391,
                "total_long_balls": 1.8,
                "accurate_long_balls": 0.2172,
                "total_opp_half_passes": 14.5441,
                "accurate_opp_half_passes": 10.6004,
                "crosses_total": 2.023,
                "crosses_accurate": 0.8643,
                "touches": 27.8514,
                "possession_lost": 8.8286,
                "dispossessed": 0.6449,
                "duels_lost": 2.6418,
                "aerial_lost": 0.1916,
                "total_contest": 1.0091,
                "won_contest": 0.375,
                "ball_recovery": 2.0374,
                "challenges_lost": 0.0,
                "fouls": 1.3321,
                "fouls_drawn": 0.5073,
                "assists": 0.4169,
                "assist_rate": 0.4169,
                "interceptions": 0.1907,
                "tackles_won": 0.1365,
                "tackles": 0.1378,
                "clearances": 0.2722,
                "blocks": 0.0,
                "big_chances_created": 0.2752,
                "big_chances_missed": 0.0,
                "xgot": 0.1285,
                "offsides": 0.1699,
                "ball_carries": 12.1165,
                "total_progression": 50.2146,
                "progressive_carries": 1.4582,
                "shots_off_target": 0.7584
              },
              "params": {
                "blend_weight": 0.0097,
                "history_matches": 35,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.3444,
                "prior_reliability": 0.12,
                "competition": "La Liga",
                "squad": "Atlético Madrid"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 2.0354,
                  "after": 2.023
                },
                {
                  "stat": "fouls",
                  "before": 1.3377,
                  "after": 1.3321
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 31.0 to 34.1 expected minutes (appearance prob 0.62)",
              "stats": {
                "expected_goals": 0.0813,
                "goals": 0.1304,
                "goal_rate": 0.1304,
                "shots_on_target": 0.4296,
                "total_shots": 1.2629,
                "expected_assists": 0.1635,
                "key_pass": 1.9014,
                "rating": 6.9775,
                "minutes": 34.06,
                "total_pass": 21.2054,
                "accurate_pass": 16.1879,
                "duels_won": 1.2515,
                "total_long_balls": 1.9777,
                "accurate_long_balls": 0.2386,
                "total_opp_half_passes": 15.9797,
                "accurate_opp_half_passes": 11.6468,
                "crosses_total": 2.2227,
                "crosses_accurate": 0.9496,
                "touches": 30.6006,
                "possession_lost": 9.7001,
                "dispossessed": 0.6449,
                "duels_lost": 2.9026,
                "aerial_lost": 0.1916,
                "total_contest": 1.1087,
                "won_contest": 0.412,
                "ball_recovery": 2.2385,
                "challenges_lost": 0.0,
                "fouls": 1.4636,
                "fouls_drawn": 0.5574,
                "assists": 0.4581,
                "assist_rate": 0.4581,
                "interceptions": 0.2095,
                "tackles_won": 0.15,
                "tackles": 0.1514,
                "clearances": 0.2991,
                "blocks": 0.0,
                "big_chances_created": 0.3024,
                "big_chances_missed": 0.0,
                "xgot": 0.1412,
                "offsides": 0.1699,
                "ball_carries": 13.3125,
                "total_progression": 55.1713,
                "progressive_carries": 1.6021,
                "shots_off_target": 0.8333,
                "bench_appearance_probability": 0.621,
                "bench_expected_minutes": 34.06
              },
              "params": {
                "expected_minutes": 34.06,
                "projection_minutes": 31.0,
                "minutes_scale": 1.0987,
                "appearance_probability": 0.621
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0813,
                "goals": 0.1304,
                "goal_rate": 0.1304,
                "shots_on_target": 0.4296,
                "total_shots": 1.2629,
                "expected_assists": 0.1635,
                "key_pass": 1.9014,
                "rating": 6.9775,
                "minutes": 34.06,
                "total_pass": 21.2054,
                "accurate_pass": 16.1879,
                "duels_won": 1.2515,
                "total_long_balls": 1.9777,
                "accurate_long_balls": 0.2386,
                "total_opp_half_passes": 15.9797,
                "accurate_opp_half_passes": 11.6468,
                "crosses_total": 2.2227,
                "crosses_accurate": 0.9496,
                "touches": 30.6006,
                "possession_lost": 9.7001,
                "dispossessed": 0.6449,
                "duels_lost": 2.9026,
                "aerial_lost": 0.1916,
                "total_contest": 1.1087,
                "won_contest": 0.412,
                "ball_recovery": 2.2385,
                "challenges_lost": 0.0,
                "fouls": 1.4636,
                "fouls_drawn": 0.5574,
                "assists": 0.4581,
                "assist_rate": 0.4581,
                "interceptions": 0.2095,
                "tackles_won": 0.15,
                "tackles": 0.1514,
                "clearances": 0.2991,
                "blocks": 0.0,
                "big_chances_created": 0.3024,
                "big_chances_missed": 0.0,
                "xgot": 0.1412,
                "offsides": 0.1699,
                "ball_carries": 13.3125,
                "total_progression": 55.1713,
                "progressive_carries": 1.6021,
                "shots_off_target": 0.8333,
                "bench_appearance_probability": 0.621,
                "bench_expected_minutes": 34.06
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": true
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.0813,
                "goal_rate": 0.1304,
                "goals": 0,
                "shots_on_target": 0.4296,
                "total_shots": 1.2629,
                "expected_assists": 0.1635,
                "key_pass": 1.9014,
                "rating": 6.9775,
                "minutes": 34.06,
                "total_pass": 21.2054,
                "accurate_pass": 16.1879,
                "duels_won": 1.2515,
                "total_long_balls": 1.9777,
                "accurate_long_balls": 0.2386,
                "total_opp_half_passes": 15.9797,
                "accurate_opp_half_passes": 11.6468,
                "crosses_total": 2.2227,
                "crosses_accurate": 0.9496,
                "touches": 30.6006,
                "possession_lost": 9.7001,
                "dispossessed": 0.6449,
                "duels_lost": 2.9026,
                "aerial_lost": 0.1916,
                "total_contest": 1.1087,
                "won_contest": 0.412,
                "ball_recovery": 2.2385,
                "challenges_lost": 0.0,
                "fouls": 1.4636,
                "fouls_drawn": 0.5574,
                "assist_rate": 0.4581,
                "assists": 0,
                "interceptions": 0.2095,
                "tackles_won": 0.15,
                "tackles": 0.1514,
                "clearances": 0.2991,
                "blocks": 0.0,
                "big_chances_created": 0.3024,
                "big_chances_missed": 0.0,
                "xgot": 0.1412,
                "offsides": 0.1699,
                "ball_carries": 13.3125,
                "total_progression": 55.1713,
                "progressive_carries": 1.6021,
                "shots_off_target": 0.8333,
                "bench_appearance_probability": 0.621,
                "bench_expected_minutes": 34.06,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.543,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.33 (squad xG sum 1.6168, xG scale 1.4380, xA scale 1.4481, team xA 1.51 = 0.65 x lambda)",
              "stats": {
                "expected_goals": 0.0726,
                "goal_rate": 0.1304,
                "goals": 0,
                "shots_on_target": 0.4296,
                "total_shots": 1.2629,
                "expected_assists": 0.147,
                "key_pass": 1.9014,
                "rating": 6.9775,
                "minutes": 34.06,
                "total_pass": 21.2054,
                "accurate_pass": 16.1879,
                "duels_won": 1.2515,
                "total_long_balls": 1.9777,
                "accurate_long_balls": 0.2386,
                "total_opp_half_passes": 15.9797,
                "accurate_opp_half_passes": 11.6468,
                "crosses_total": 2.2227,
                "crosses_accurate": 0.9496,
                "touches": 30.6006,
                "possession_lost": 9.7001,
                "dispossessed": 0.6449,
                "duels_lost": 2.9026,
                "aerial_lost": 0.1916,
                "total_contest": 1.1087,
                "won_contest": 0.412,
                "ball_recovery": 2.2385,
                "challenges_lost": 0.0,
                "fouls": 1.4636,
                "fouls_drawn": 0.5574,
                "assist_rate": 0.4581,
                "assists": 0,
                "interceptions": 0.2095,
                "tackles_won": 0.15,
                "tackles": 0.1514,
                "clearances": 0.2991,
                "blocks": 0.0,
                "big_chances_created": 0.3024,
                "big_chances_missed": 0.0,
                "xgot": 0.1261,
                "offsides": 0.1699,
                "ball_carries": 13.3125,
                "total_progression": 55.1713,
                "progressive_carries": 1.6021,
                "shots_off_target": 0.8333,
                "bench_appearance_probability": 0.621,
                "bench_expected_minutes": 34.06,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.543,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 2.325,
                "squad_xg_sum": 1.6168,
                "squad_xa_sum": 1.0436,
                "team_expected_assists": 1.5113,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.438,
                "xa_scale": 1.4481,
                "opponent_lambda": 1.337,
                "scoreline_reset": true,
                "appearance_weight": 0.621
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0813,
                  "after": 0.0726
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1635,
                  "after": 0.147
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 7 by projected rating, fifa_overall 83.0)",
              "stats": {
                "expected_goals": 0.0726,
                "goal_rate": 0.1304,
                "goals": 0,
                "shots_on_target": 0.4296,
                "total_shots": 1.2629,
                "expected_assists": 0.147,
                "key_pass": 1.9014,
                "rating": 6.9775,
                "minutes": 34.06,
                "total_pass": 21.2054,
                "accurate_pass": 16.1879,
                "duels_won": 1.2515,
                "total_long_balls": 1.9777,
                "accurate_long_balls": 0.2386,
                "total_opp_half_passes": 15.9797,
                "accurate_opp_half_passes": 11.6468,
                "crosses_total": 2.2227,
                "crosses_accurate": 0.9496,
                "touches": 30.6006,
                "possession_lost": 9.7001,
                "dispossessed": 0.6449,
                "duels_lost": 2.9026,
                "aerial_lost": 0.1916,
                "total_contest": 1.1087,
                "won_contest": 0.412,
                "ball_recovery": 2.2385,
                "challenges_lost": 0.0,
                "fouls": 1.4636,
                "fouls_drawn": 0.5574,
                "assist_rate": 0.4581,
                "assists": 0,
                "interceptions": 0.2095,
                "tackles_won": 0.15,
                "tackles": 0.1514,
                "clearances": 0.2991,
                "blocks": 0.0,
                "big_chances_created": 0.3024,
                "big_chances_missed": 0.0,
                "xgot": 0.1261,
                "offsides": 0.1699,
                "ball_carries": 13.3125,
                "total_progression": 55.1713,
                "progressive_carries": 1.6021,
                "shots_off_target": 0.8333,
                "bench_appearance_probability": 0.621,
                "bench_expected_minutes": 34.06,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.543,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 83.0
              },
              "params": {
                "match_squad_rank": 7,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 244,
                "fifa_rank": 312.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 83.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.0726,
                "goal_rate": 0.1304,
                "goals": 0,
                "shots_on_target": 0.4296,
                "total_shots": 1.2629,
                "expected_assists": 0.147,
                "key_pass": 1.9014,
                "rating": 6.9775,
                "minutes": 34.06,
                "total_pass": 21.2054,
                "accurate_pass": 16.1879,
                "duels_won": 1.2515,
                "total_long_balls": 1.9777,
                "accurate_long_balls": 0.2386,
                "total_opp_half_passes": 15.9797,
                "accurate_opp_half_passes": 11.6468,
                "crosses_total": 2.2227,
                "crosses_accurate": 0.9496,
                "touches": 30.6006,
                "possession_lost": 9.7001,
                "dispossessed": 0.6449,
                "duels_lost": 2.9026,
                "aerial_lost": 0.1916,
                "total_contest": 1.1087,
                "won_contest": 0.412,
                "ball_recovery": 2.2385,
                "challenges_lost": 0.0,
                "fouls": 1.4636,
                "fouls_drawn": 0.5574,
                "assist_rate": 0.4581,
                "assists": 0,
                "interceptions": 0.2095,
                "tackles_won": 0.15,
                "tackles": 0.1514,
                "clearances": 0.2991,
                "blocks": 0.0,
                "big_chances_created": 0.3024,
                "big_chances_missed": 0.0,
                "xgot": 0.1261,
                "offsides": 0.1699,
                "ball_carries": 13.3125,
                "total_progression": 55.1713,
                "progressive_carries": 1.6021,
                "shots_off_target": 0.8333,
                "bench_appearance_probability": 0.621,
                "bench_expected_minutes": 34.06,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.543,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0685,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0685,
                "goal_rate": 0.1304,
                "scorer_weight": 0.0907,
                "squad_weight_total": 2.409,
                "weight_share": 0.0377,
                "finishing_factor": 1.25,
                "appearance_weight": 0.621,
                "weight_rank": 7,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Jonathan David",
                    "weight": 0.71,
                    "already": 0,
                    "effective_weight": 0.71,
                    "runner_up": "Ademola Lookman",
                    "runner_up_effective_weight": 0.4553
                  },
                  {
                    "n": 2,
                    "player": "Ademola Lookman",
                    "weight": 0.4553,
                    "already": 0,
                    "effective_weight": 0.4553,
                    "runner_up": "Jonathan David",
                    "runner_up_effective_weight": 0.3021
                  }
                ]
              }
            },
            {
              "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.0726,
                "goal_rate": 0.1304,
                "goals": 0,
                "shots_on_target": 0.4296,
                "total_shots": 1.2629,
                "expected_assists": 0.147,
                "key_pass": 1.9014,
                "rating": 6.9775,
                "minutes": 34.06,
                "total_pass": 21.2054,
                "accurate_pass": 16.1879,
                "duels_won": 1.2515,
                "total_long_balls": 1.9777,
                "accurate_long_balls": 0.2386,
                "total_opp_half_passes": 15.9797,
                "accurate_opp_half_passes": 11.6468,
                "crosses_total": 2.2227,
                "crosses_accurate": 0.9496,
                "touches": 30.6006,
                "possession_lost": 9.7001,
                "dispossessed": 0.6449,
                "duels_lost": 2.9026,
                "aerial_lost": 0.1916,
                "total_contest": 1.1087,
                "won_contest": 0.412,
                "ball_recovery": 2.2385,
                "challenges_lost": 0.0,
                "fouls": 1.4636,
                "fouls_drawn": 0.5574,
                "assist_rate": 0.4581,
                "assists": 0,
                "interceptions": 0.2095,
                "tackles_won": 0.15,
                "tackles": 0.1514,
                "clearances": 0.2991,
                "blocks": 0.0,
                "big_chances_created": 0.3024,
                "big_chances_missed": 0.0,
                "xgot": 0.1261,
                "offsides": 0.1699,
                "ball_carries": 13.3125,
                "total_progression": 55.1713,
                "progressive_carries": 1.6021,
                "shots_off_target": 0.8333,
                "bench_appearance_probability": 0.621,
                "bench_expected_minutes": 34.06,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.543,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0685,
                "projected_assists": 0,
                "assist_probability": 0.1309,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1309,
                "assist_rate": 0.4581,
                "provider_weight": 0.1837,
                "squad_weight_total": 1.5221,
                "weight_share": 0.1207,
                "creation_factor": 1.25,
                "appearance_weight": 0.621,
                "weight_rank": 2,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alejandro Grimaldo",
                    "weight": 0.1971,
                    "already": 0,
                    "effective_weight": 0.1971,
                    "runner_up": "Alex Baena",
                    "runner_up_effective_weight": 0.1837
                  }
                ]
              }
            }
          ]
        },
        "Morten Hjulmand": {
          "player_id": 859917,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 23,
          "height": 185,
          "market_value": 48000000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0198,
            "assist_rate": 0.0438,
            "assists": 0,
            "expected_goals": 0.022,
            "goal_rate": 0.0545,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7205,
            "minutes": 18,
            "total_pass": 11,
            "accurate_pass": 10,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 6,
            "accurate_own_half_passes": 6,
            "total_opp_half_passes": 5,
            "accurate_opp_half_passes": 4,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 12,
            "possession_lost": 0.8476,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 1,
            "total_progression": 4,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.466,
            "bench_expected_minutes": 17.71,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.543,
            "projected_substitution_game_state_adjustment": 0,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0215,
            "projected_assists": 0,
            "assist_probability": 0.0194,
            "finishing_factor": 1.25,
            "creation_factor": 1.1814,
            "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": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 8,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0399,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 3,
                "key_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416335,
              "match_date": "2026-09-16",
              "home_team": "Atlético Madrid",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 9,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0032,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 10
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416332,
              "match_date": "2026-09-13",
              "home_team": "Real Sociedad",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1497,
                "expected_assists": 0.0488,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 53,
                "accurate_pass": 48,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416317,
              "match_date": "2026-09-05",
              "home_team": "Athletic Club",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 59,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1353,
                "total_shots": 0,
                "total_pass": 35,
                "accurate_pass": 28,
                "key_pass": 2,
                "tackles": 1,
                "interceptions": 3,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416316,
              "match_date": "2026-08-29",
              "home_team": "Sevilla",
              "away_team": "Atlético Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 85,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.028,
                "total_shots": 0,
                "total_pass": 49,
                "accurate_pass": 46,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "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": "home",
              "is_starting_11": 1,
              "team": "Atlético Madrid",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0189,
                "expected_assists": 0.0565,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 66,
                "accurate_pass": 64,
                "key_pass": 5,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421055,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Atlético Madrid",
              "opponent": "Málaga CF",
              "stats": {
                "minutes": 12,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.002,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 10,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 404,
            "combined_rank_score": 257.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 204.0,
            "sofascore_rating": 7.1875,
            "sofascore_appearances": 8.0,
            "fifa_rank": 310.0,
            "fifa_overall": 83.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7205,
            "source_file": "data/player_rankings.csv",
            "player_name": "Morten Hjulmand",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Min Ji-Hoon",
                  "ranking": 399
                },
                {
                  "player_name": "Avazbek Ulmasaliyev",
                  "ranking": 400
                },
                {
                  "player_name": "Jun-yeong Jang",
                  "ranking": 401
                },
                {
                  "player_name": "Moise Kean",
                  "ranking": 402
                },
                {
                  "player_name": "Khurshidbek Mukhtorov",
                  "ranking": 403
                }
              ],
              "lower": [
                {
                  "player_name": "Seung-gun Kim",
                  "ranking": 405
                },
                {
                  "player_name": "Claudio Aquino",
                  "ranking": 406
                },
                {
                  "player_name": "Sherzod Nasrullaev",
                  "ranking": 407
                },
                {
                  "player_name": "Jun-sang Lee",
                  "ranking": 408
                },
                {
                  "player_name": "Boburbek Yuldashov",
                  "ranking": 409
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.709,
          "history_matches": 7,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "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": 7,
            "data_confidence": 0.709,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 17.71,
            "bench_appearance_prob": 0.466,
            "market_value_adjustment": 1.039,
            "fbref_prior_metrics": {
              "squad": "Atlético Madrid",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "sub_appearances": 1.0,
              "minutes_per_sub": 13.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.14
            },
            "rationale": "Bench projection scaled from XGBoost M_service (7 historical appearances) to 17.7 expected mins (appearance prob 0.47); FBref playing time empirical prior: 1.0 sub appearances, 13.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.3623,
                "expected_assists": 0.0212,
                "assists": 0.0328,
                "assist_rate": 0.0328,
                "expected_goals": 0.0236,
                "goals": 0.0408,
                "goal_rate": 0.0408,
                "shots_on_target": 0.0748,
                "total_shots": 0.2272,
                "rating": 6.7205,
                "minutes": 13.27,
                "total_pass": 7.8902,
                "accurate_pass": 7.2789,
                "duels_won": 0.5617,
                "total_long_balls": 0.3304,
                "accurate_long_balls": 0.3304,
                "total_own_half_passes": 4.3372,
                "accurate_own_half_passes": 4.0563,
                "total_opp_half_passes": 3.553,
                "accurate_opp_half_passes": 3.2226,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 8.4519,
                "possession_lost": 0.6113,
                "dispossessed": 0.0,
                "duels_lost": 0.2809,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.2809,
                "tackles": 0.2809,
                "clearances": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.2809,
                "fouls_drawn": 0.2809,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 0.8921,
                "total_progression": 2.7284,
                "progressive_carries": 0.0,
                "shots_off_target": 0.1524
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-16T10:31:49.993480+00:00",
                  "trained_on": {
                    "matches": 1369,
                    "players": 895,
                    "rows": 24017
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Real Madrid",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.2208,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-16",
                    "opponent": "Osasuna",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.1877,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-05",
                    "opponent": "Athletic Club",
                    "minutes": 59.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Sevilla",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-23",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Málaga CF",
                    "minutes": 12.0,
                    "is_starting": false,
                    "weight": 0.0833,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.417,
                  "creative_index": 0.4194,
                  "expectedGoals": 0.0257,
                  "expectedAssists": 0.0445,
                  "onTargetScoringAttempt": 0.0
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.3622867465019226,
                    "model_output": 0.3623,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.16
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1359
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0622
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0532
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0278
                      }
                    ],
                    "decomposition": {
                      "base": 0.893,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3667
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0471
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0311
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.0302
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0208
                        }
                      ],
                      "others": -0.0952,
                      "total": 0.3623,
                      "log_link": true,
                      "margin_base": -0.113189,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.528783
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.093666
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.067
                        },
                        {
                          "name": "duelLost",
                          "margin": 0.065232
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.044386
                        }
                      ],
                      "others_margin": -0.233527
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.021205313503742218,
                    "model_output": 0.0212,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1089
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.1043
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1031
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0607
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0542
                      }
                    ],
                    "decomposition": {
                      "base": 0.0856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0392
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0083
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0052
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0023
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.002
                        }
                      ],
                      "others": -0.0074,
                      "total": 0.0212,
                      "log_link": true,
                      "margin_base": -2.457601,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.612991
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.197338
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.146308
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.071507
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.068066
                        }
                      ],
                      "others_margin": -0.299694
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.03277222812175751,
                    "model_output": 0.0328,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.057
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.052
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0301
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0295
                      }
                    ],
                    "decomposition": {
                      "base": 0.0872,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0223
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.012
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0088
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0042
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0034
                        }
                      ],
                      "others": -0.0105,
                      "total": 0.0328,
                      "log_link": true,
                      "margin_base": -2.439072,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.295519
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.204716
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.18107
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.099768
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.082277
                        }
                      ],
                      "others_margin": -0.280304
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.023646408692002296,
                    "model_output": 0.0236,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1269
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0844
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0755
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0372
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0272
                      }
                    ],
                    "decomposition": {
                      "base": 0.0943,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0375
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0159
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0064
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0036
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0024
                        }
                      ],
                      "others": -0.0049,
                      "total": 0.0236,
                      "log_link": true,
                      "margin_base": -2.361326,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.507361
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.328329
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.170185
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.11091
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.082365
                        }
                      ],
                      "others_margin": -0.184067
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.04079987853765488,
                    "model_output": 0.0408,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0894
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0486
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0452
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0389
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0266
                      }
                    ],
                    "decomposition": {
                      "base": 0.0978,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0335
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0098
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0079
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0042
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0037
                        }
                      ],
                      "others": -0.0137,
                      "total": 0.0408,
                      "log_link": true,
                      "margin_base": -2.324947,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.419691
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.165648
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.155989
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.087223
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.069715
                        }
                      ],
                      "others_margin": -0.289739
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.07481937855482101,
                    "model_output": 0.0748,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1038
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0848
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0823
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0306
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 0.3257,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1281
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0489
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0232
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0179
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0091
                        }
                      ],
                      "others": -0.0237,
                      "total": 0.0748,
                      "log_link": true,
                      "margin_base": -1.121688,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.499435
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.284034
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.16985
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.153601
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.087846
                        }
                      ],
                      "others_margin": -0.276224
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.22723613679409027,
                    "model_output": 0.2272,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1304
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.1272
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0577
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0476
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0242
                      }
                    ],
                    "decomposition": {
                      "base": 0.9955,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.325
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.2027
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0416
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0341
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0293
                        }
                      ],
                      "others": -0.1356,
                      "total": 0.2272,
                      "log_link": false,
                      "margin_base": 0.995535,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.324995
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.20274
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.041583
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.034116
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.029283
                        }
                      ],
                      "others_margin": -0.135581
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.720470428466797,
                    "model_output": 6.7205,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.0934
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0793
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0569
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0427
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0284
                      }
                    ],
                    "decomposition": {
                      "base": 6.8531,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0849
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0245
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0243
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0086
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0077
                        }
                      ],
                      "others": 0.002,
                      "total": 6.7205,
                      "log_link": false,
                      "margin_base": 6.853057,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.084925
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.024515
                        },
                        {
                          "name": "rating",
                          "margin": -0.024309
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.008565
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": 0.007718
                        }
                      ],
                      "others_margin": 0.00201
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 7,
                  "role_matches": 3,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0390, quality 0.817)",
              "stats": {
                "key_pass": 0.3764,
                "expected_assists": 0.022,
                "assists": 0.0341,
                "assist_rate": 0.0341,
                "expected_goals": 0.0246,
                "goals": 0.0424,
                "goal_rate": 0.0424,
                "shots_on_target": 0.0777,
                "total_shots": 0.2361,
                "rating": 6.7205,
                "minutes": 13.27,
                "total_pass": 8.1979,
                "accurate_pass": 7.5628,
                "duels_won": 0.5836,
                "total_long_balls": 0.3433,
                "accurate_long_balls": 0.3433,
                "total_own_half_passes": 4.5064,
                "accurate_own_half_passes": 4.2145,
                "total_opp_half_passes": 3.6916,
                "accurate_opp_half_passes": 3.3483,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 8.7815,
                "possession_lost": 0.6351,
                "dispossessed": 0.0,
                "duels_lost": 0.2919,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.2919,
                "tackles": 0.2919,
                "clearances": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.2919,
                "fouls_drawn": 0.2919,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 0.9269,
                "total_progression": 2.8348,
                "progressive_carries": 0.0,
                "shots_off_target": 0.1583
              },
              "params": {
                "market_value_eur": 48000000,
                "quality_factor": 0.8168,
                "boost_factor": 1.039,
                "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.0379)",
              "stats": {
                "key_pass": 0.3764,
                "expected_assists": 0.022,
                "assists": 0.0328,
                "assist_rate": 0.0328,
                "expected_goals": 0.0246,
                "goals": 0.0408,
                "goal_rate": 0.0408,
                "shots_on_target": 0.0748,
                "total_shots": 0.2298,
                "rating": 6.7205,
                "minutes": 13.27,
                "total_pass": 8.1979,
                "accurate_pass": 7.5628,
                "duels_won": 0.5836,
                "total_long_balls": 0.3433,
                "accurate_long_balls": 0.3433,
                "total_own_half_passes": 4.5064,
                "accurate_own_half_passes": 4.2145,
                "total_opp_half_passes": 3.6916,
                "accurate_opp_half_passes": 3.3483,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 8.7815,
                "possession_lost": 0.6351,
                "dispossessed": 0.0,
                "duels_lost": 0.2919,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.008,
                "tackles_won": 0.2915,
                "tackles": 0.2919,
                "clearances": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.2888,
                "fouls_drawn": 0.2915,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 0.9269,
                "total_progression": 2.8348,
                "progressive_carries": 0.0,
                "shots_off_target": 0.1583
              },
              "params": {
                "blend_weight": 0.0379,
                "history_matches": 7,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.1474,
                "prior_reliability": 0.14,
                "competition": "La Liga",
                "squad": "Atlético Madrid"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 0.0,
                  "after": 0.008
                },
                {
                  "stat": "totalShots",
                  "before": 0.2361,
                  "after": 0.2298
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 13.3 to 17.7 expected minutes (appearance prob 0.47)",
              "stats": {
                "key_pass": 0.5023,
                "expected_assists": 0.0294,
                "assists": 0.0438,
                "assist_rate": 0.0438,
                "expected_goals": 0.0328,
                "goals": 0.0545,
                "goal_rate": 0.0545,
                "shots_on_target": 0.0998,
                "total_shots": 0.3111,
                "rating": 6.7205,
                "minutes": 17.71,
                "total_pass": 10.9408,
                "accurate_pass": 10.0932,
                "duels_won": 0.7789,
                "total_long_balls": 0.4582,
                "accurate_long_balls": 0.4582,
                "total_own_half_passes": 6.0142,
                "accurate_own_half_passes": 5.6246,
                "total_opp_half_passes": 4.9268,
                "accurate_opp_half_passes": 4.4686,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 11.7197,
                "possession_lost": 0.8476,
                "dispossessed": 0.0,
                "duels_lost": 0.3896,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.0107,
                "tackles_won": 0.389,
                "tackles": 0.3896,
                "clearances": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.3854,
                "fouls_drawn": 0.389,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.237,
                "total_progression": 3.7833,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2113,
                "bench_appearance_probability": 0.466,
                "bench_expected_minutes": 17.71
              },
              "params": {
                "expected_minutes": 17.71,
                "projection_minutes": 13.27,
                "minutes_scale": 1.3346,
                "appearance_probability": 0.466
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.5023,
                "expected_assists": 0.0294,
                "assists": 0.0438,
                "assist_rate": 0.0438,
                "expected_goals": 0.0328,
                "goals": 0.0545,
                "goal_rate": 0.0545,
                "shots_on_target": 0.0998,
                "total_shots": 0.3111,
                "rating": 6.7205,
                "minutes": 17.71,
                "total_pass": 10.9408,
                "accurate_pass": 10.0932,
                "duels_won": 0.7789,
                "total_long_balls": 0.4582,
                "accurate_long_balls": 0.4582,
                "total_own_half_passes": 6.0142,
                "accurate_own_half_passes": 5.6246,
                "total_opp_half_passes": 4.9268,
                "accurate_opp_half_passes": 4.4686,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 11.7197,
                "possession_lost": 0.8476,
                "dispossessed": 0.0,
                "duels_lost": 0.3896,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.0107,
                "tackles_won": 0.389,
                "tackles": 0.3896,
                "clearances": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.3854,
                "fouls_drawn": 0.389,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.237,
                "total_progression": 3.7833,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2113,
                "bench_appearance_probability": 0.466,
                "bench_expected_minutes": 17.71
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.5023,
                "expected_assists": 0.0294,
                "assist_rate": 0.0438,
                "assists": 0,
                "expected_goals": 0.0328,
                "goal_rate": 0.0545,
                "goals": 0,
                "shots_on_target": 0.0998,
                "total_shots": 0.3111,
                "rating": 6.7205,
                "minutes": 17.71,
                "total_pass": 10.9408,
                "accurate_pass": 10.0932,
                "duels_won": 0.7789,
                "total_long_balls": 0.4582,
                "accurate_long_balls": 0.4582,
                "total_own_half_passes": 6.0142,
                "accurate_own_half_passes": 5.6246,
                "total_opp_half_passes": 4.9268,
                "accurate_opp_half_passes": 4.4686,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 11.7197,
                "possession_lost": 0.8476,
                "dispossessed": 0.0,
                "duels_lost": 0.3896,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.0107,
                "tackles_won": 0.389,
                "tackles": 0.3896,
                "clearances": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.3854,
                "fouls_drawn": 0.389,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.237,
                "total_progression": 3.7833,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2113,
                "bench_appearance_probability": 0.466,
                "bench_expected_minutes": 17.71,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.543,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.33 (squad xG sum 1.6168, xG scale 1.4380, xA scale 1.4481, team xA 1.51 = 0.65 x lambda)",
              "stats": {
                "key_pass": 0.5023,
                "expected_assists": 0.0198,
                "assist_rate": 0.0438,
                "assists": 0,
                "expected_goals": 0.022,
                "goal_rate": 0.0545,
                "goals": 0,
                "shots_on_target": 0.0998,
                "total_shots": 0.3111,
                "rating": 6.7205,
                "minutes": 17.71,
                "total_pass": 10.9408,
                "accurate_pass": 10.0932,
                "duels_won": 0.7789,
                "total_long_balls": 0.4582,
                "accurate_long_balls": 0.4582,
                "total_own_half_passes": 6.0142,
                "accurate_own_half_passes": 5.6246,
                "total_opp_half_passes": 4.9268,
                "accurate_opp_half_passes": 4.4686,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 11.7197,
                "possession_lost": 0.8476,
                "dispossessed": 0.0,
                "duels_lost": 0.3896,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.0107,
                "tackles_won": 0.389,
                "tackles": 0.3896,
                "clearances": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.3854,
                "fouls_drawn": 0.389,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.237,
                "total_progression": 3.7833,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2113,
                "bench_appearance_probability": 0.466,
                "bench_expected_minutes": 17.71,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.543,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.1814
              },
              "params": {
                "team_lambda": 2.325,
                "squad_xg_sum": 1.6168,
                "squad_xa_sum": 1.0436,
                "team_expected_assists": 1.5113,
                "team_xa_to_xg_ratio": 0.65,
                "bench_appearance_weighted": true,
                "xg_scale": 1.438,
                "xa_scale": 1.4481,
                "opponent_lambda": 1.337,
                "scoreline_reset": true,
                "appearance_weight": 0.466
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0328,
                  "after": 0.022
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0294,
                  "after": 0.0198
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 17 by projected rating, fifa_overall 83.0)",
              "stats": {
                "key_pass": 0.5023,
                "expected_assists": 0.0198,
                "assist_rate": 0.0438,
                "assists": 0,
                "expected_goals": 0.022,
                "goal_rate": 0.0545,
                "goals": 0,
                "shots_on_target": 0.0998,
                "total_shots": 0.3111,
                "rating": 6.7205,
                "minutes": 17.71,
                "total_pass": 10.9408,
                "accurate_pass": 10.0932,
                "duels_won": 0.7789,
                "total_long_balls": 0.4582,
                "accurate_long_balls": 0.4582,
                "total_own_half_passes": 6.0142,
                "accurate_own_half_passes": 5.6246,
                "total_opp_half_passes": 4.9268,
                "accurate_opp_half_passes": 4.4686,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 11.7197,
                "possession_lost": 0.8476,
                "dispossessed": 0.0,
                "duels_lost": 0.3896,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.0107,
                "tackles_won": 0.389,
                "tackles": 0.3896,
                "clearances": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.3854,
                "fouls_drawn": 0.389,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.237,
                "total_progression": 3.7833,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2113,
                "bench_appearance_probability": 0.466,
                "bench_expected_minutes": 17.71,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.543,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.1814,
                "fifa_overall": 83.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": 404,
                "fifa_rank": 310.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 83.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 0.5023,
                "expected_assists": 0.0198,
                "assist_rate": 0.0438,
                "assists": 0,
                "expected_goals": 0.022,
                "goal_rate": 0.0545,
                "goals": 0,
                "shots_on_target": 0.0998,
                "total_shots": 0.3111,
                "rating": 6.7205,
                "minutes": 17.71,
                "total_pass": 10.9408,
                "accurate_pass": 10.0932,
                "duels_won": 0.7789,
                "total_long_balls": 0.4582,
                "accurate_long_balls": 0.4582,
                "total_own_half_passes": 6.0142,
                "accurate_own_half_passes": 5.6246,
                "total_opp_half_passes": 4.9268,
                "accurate_opp_half_passes": 4.4686,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 11.7197,
                "possession_lost": 0.8476,
                "dispossessed": 0.0,
                "duels_lost": 0.3896,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.0107,
                "tackles_won": 0.389,
                "tackles": 0.3896,
                "clearances": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.3854,
                "fouls_drawn": 0.389,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.237,
                "total_progression": 3.7833,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2113,
                "bench_appearance_probability": 0.466,
                "bench_expected_minutes": 17.71,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.543,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0215,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.1814,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0215,
                "goal_rate": 0.0545,
                "scorer_weight": 0.0275,
                "squad_weight_total": 2.409,
                "weight_share": 0.0114,
                "finishing_factor": 1.25,
                "appearance_weight": 0.466,
                "weight_rank": 13,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Jonathan David",
                    "weight": 0.71,
                    "already": 0,
                    "effective_weight": 0.71,
                    "runner_up": "Ademola Lookman",
                    "runner_up_effective_weight": 0.4553
                  },
                  {
                    "n": 2,
                    "player": "Ademola Lookman",
                    "weight": 0.4553,
                    "already": 0,
                    "effective_weight": 0.4553,
                    "runner_up": "Jonathan David",
                    "runner_up_effective_weight": 0.3021
                  }
                ]
              }
            },
            {
              "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.5023,
                "expected_assists": 0.0198,
                "assist_rate": 0.0438,
                "assists": 0,
                "expected_goals": 0.022,
                "goal_rate": 0.0545,
                "goals": 0,
                "shots_on_target": 0.0998,
                "total_shots": 0.3111,
                "rating": 6.7205,
                "minutes": 17.71,
                "total_pass": 10.9408,
                "accurate_pass": 10.0932,
                "duels_won": 0.7789,
                "total_long_balls": 0.4582,
                "accurate_long_balls": 0.4582,
                "total_own_half_passes": 6.0142,
                "accurate_own_half_passes": 5.6246,
                "total_opp_half_passes": 4.9268,
                "accurate_opp_half_passes": 4.4686,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 11.7197,
                "possession_lost": 0.8476,
                "dispossessed": 0.0,
                "duels_lost": 0.3896,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.0107,
                "tackles_won": 0.389,
                "tackles": 0.3896,
                "clearances": 0.0,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.0,
                "fouls": 0.3854,
                "fouls_drawn": 0.389,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.237,
                "total_progression": 3.7833,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2113,
                "bench_appearance_probability": 0.466,
                "bench_expected_minutes": 17.71,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.543,
                "projected_substitution_game_state_adjustment": 0,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0215,
                "projected_assists": 0,
                "assist_probability": 0.0194,
                "finishing_factor": 1.25,
                "creation_factor": 1.1814,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0194,
                "assist_rate": 0.0438,
                "provider_weight": 0.0234,
                "squad_weight_total": 1.5221,
                "weight_share": 0.0154,
                "creation_factor": 1.1814,
                "appearance_weight": 0.466,
                "weight_rank": 12,
                "eligible_players": 13,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Alejandro Grimaldo",
                    "weight": 0.1971,
                    "already": 0,
                    "effective_weight": 0.1971,
                    "runner_up": "Alex Baena",
                    "runner_up_effective_weight": 0.1837
                  }
                ]
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 2,
        "expected_goals": 2.33,
        "expected_assists": 1.51,
        "total_shots": 16,
        "shots_on_target": 6,
        "total_passes": 535,
        "interceptions": 9,
        "tackles": 16,
        "avg_rating": 7.0,
        "possession_estimated_pct": 53.4,
        "pressing_actions_per_90": 7.8
      }
    }
  },
  "antagonist_report": {
    "home_attacking_duels": [
      {
        "attacker": "Javier Hernández",
        "attacker_role": "LW",
        "attacker_market_value": 6400000,
        "attacker_height": 175,
        "attacker_skill_quality": 0.479,
        "defenders": [
          "Jan Oblak"
        ],
        "defender_roles": [
          "GK"
        ],
        "def_skill_quality_avg": 0.59,
        "duel_zone": "Left Wing vs Right Back — Flank Battle",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.26,
        "xg_contribution": 0.1204,
        "xg_multiplier": 0.7646,
        "shots_in_zone": 1.4,
        "dribbles_attempted": 3,
        "dribbles_successful": 0.7,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 1.9,
        "fouls_drawn": 1.4,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Jan Oblak",
            "role": "GK",
            "market_value": 16000000,
            "tackles_attempted": 2.1,
            "tackles_won": 1.8,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.74
          }
        ],
        "duel_analysis": "Javier Hernández (LW) is heavily outmatched defensively against Jan Oblak in a direct 1v1 contest. Duel win probability: 26%.  Matchup xG multiplier ×0.76 (×1.00 = his usual level). Projected xG contribution: 0.120 — with very limited chance creation expected."
      },
      {
        "attacker": "Roberto Fernández",
        "attacker_role": "ST",
        "attacker_market_value": 21000000,
        "attacker_height": 186,
        "attacker_skill_quality": 0.641,
        "defenders": [
          "Robin Le Normand",
          "Cristian Romero"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.683,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.3744,
        "xg_multiplier": 0.9341,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 1.8,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.7,
        "pressing_intensity_on_attacker": "MEDIUM",
        "defender_stats": [
          {
            "player": "Robin Le Normand",
            "role": "CB",
            "market_value": 17200000,
            "tackles_attempted": 1.0,
            "tackles_won": 1.0,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 1.0,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 0.6,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Cristian Romero",
            "role": "CB",
            "market_value": 37000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.0,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.2,
            "clearances_in_zone": 1.1,
            "aerial_duels_won": 0.6,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Roberto Fernández (ST) faces tough defensive resistance against Robin Le Normand and Cristian Romero in a 2-defender block. Duel win probability: 18%.  Matchup xG multiplier ×0.93 (×1.00 = his usual level). Projected xG contribution: 0.374 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Bryan Zaragoza",
        "attacker_role": "ST",
        "attacker_market_value": 7500000,
        "attacker_height": 165,
        "attacker_skill_quality": 0.493,
        "defenders": [
          "Robin Le Normand",
          "Cristian Romero"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.683,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.0969,
        "xg_multiplier": 0.748,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 1.0,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.5,
        "pressing_intensity_on_attacker": "MEDIUM",
        "defender_stats": [
          {
            "player": "Robin Le Normand",
            "role": "CB",
            "market_value": 17200000,
            "tackles_attempted": 1.0,
            "tackles_won": 1.0,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 1.0,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 1.0,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Cristian Romero",
            "role": "CB",
            "market_value": 37000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.0,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.2,
            "clearances_in_zone": 1.1,
            "aerial_duels_won": 1.0,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Bryan Zaragoza (ST) is heavily outmatched defensively against Robin Le Normand and Cristian Romero in a 2-defender block. Duel win probability: 18%. The quality gap is significant (€8M vs €27M avg). Matchup xG multiplier ×0.75 (×1.00 = his usual level). Projected xG contribution: 0.097 — with very limited chance creation expected."
      },
      {
        "attacker": "Tyrhys Dolan",
        "attacker_role": "ST",
        "attacker_market_value": 10800000,
        "attacker_height": 170,
        "attacker_skill_quality": 0.532,
        "defenders": [
          "Robin Le Normand",
          "Cristian Romero"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.683,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.0895,
        "xg_multiplier": 0.7739,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 3,
        "aerial_won": 1.2,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.5,
        "pressing_intensity_on_attacker": "MEDIUM",
        "defender_stats": [
          {
            "player": "Robin Le Normand",
            "role": "CB",
            "market_value": 17200000,
            "tackles_attempted": 1.0,
            "tackles_won": 1.0,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 1.0,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Cristian Romero",
            "role": "CB",
            "market_value": 37000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.0,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.2,
            "clearances_in_zone": 1.1,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "Tyrhys Dolan (ST) is heavily outmatched defensively against Robin Le Normand and Cristian Romero in a 2-defender block. Duel win probability: 18%. The quality gap is significant (€11M vs €27M avg). Matchup xG multiplier ×0.77 (×1.00 = his usual level). Projected xG contribution: 0.090 — with very limited chance creation expected."
      },
      {
        "attacker": "Pol Lozano",
        "attacker_role": "CDM",
        "attacker_market_value": 5800000,
        "attacker_height": 176,
        "attacker_skill_quality": 0.472,
        "defenders": [
          "Giuliano Simeone"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.8,
        "duel_zone": "CDM vs CDM",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.276,
        "xg_contribution": 0.036,
        "xg_multiplier": 0.789,
        "shots_in_zone": 0.8,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.5,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.4,
        "pressing_intensity_on_attacker": "ULTRA_HIGH",
        "defender_stats": [
          {
            "player": "Giuliano Simeone",
            "role": "CDM",
            "market_value": 44000000,
            "tackles_attempted": 2.2,
            "tackles_won": 2.0,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.3,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.724
          }
        ],
        "duel_analysis": "Pol Lozano (CDM) is heavily outmatched defensively against Giuliano Simeone in a direct 1v1 contest. Duel win probability: 28%. The quality gap is significant (€6M vs €44M avg). Matchup xG multiplier ×0.79 (×1.00 = his usual level). Projected xG contribution: 0.036 — with very limited chance creation expected."
      },
      {
        "attacker": "Edu Expósito",
        "attacker_role": "CDM",
        "attacker_market_value": 4500000,
        "attacker_height": 175,
        "attacker_skill_quality": 0.456,
        "defenders": [
          "Giuliano Simeone"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.8,
        "duel_zone": "CDM vs CDM",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.264,
        "xg_contribution": 0.0988,
        "xg_multiplier": 0.7708,
        "shots_in_zone": 0.8,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.5,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.4,
        "pressing_intensity_on_attacker": "ULTRA_HIGH",
        "defender_stats": [
          {
            "player": "Giuliano Simeone",
            "role": "CDM",
            "market_value": 44000000,
            "tackles_attempted": 2.2,
            "tackles_won": 2.0,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.3,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.736
          }
        ],
        "duel_analysis": "Edu Expósito (CDM) is heavily outmatched defensively against Giuliano Simeone in a direct 1v1 contest. Duel win probability: 26%. The quality gap is significant (€4M vs €44M avg). Matchup xG multiplier ×0.77 (×1.00 = his usual level). Projected xG contribution: 0.099 — with very limited chance creation expected."
      }
    ],
    "away_attacking_duels": [
      {
        "attacker": "Koke",
        "attacker_role": "LW",
        "attacker_market_value": 4600000,
        "attacker_height": 177,
        "attacker_skill_quality": 0.457,
        "defenders": [
          "Omar El Hilali"
        ],
        "defender_roles": [
          "RB"
        ],
        "def_skill_quality_avg": 0.589,
        "duel_zone": "Left Wing vs Right Back — Flank Battle",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.366,
        "xg_contribution": 0.0404,
        "xg_multiplier": 0.8327,
        "shots_in_zone": 1.7,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.0,
        "aerial_duels": 2,
        "aerial_won": 1.0,
        "crosses_in_zone": 1.9,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Omar El Hilali",
            "role": "RB",
            "market_value": 15900000,
            "tackles_attempted": 2.1,
            "tackles_won": 1.7,
            "fouls_committed": 0.5,
            "interceptions_in_zone": 0.9,
            "clearances_in_zone": 0.8,
            "aerial_duels_won": 1.0,
            "defensive_success_rate": 0.634
          }
        ],
        "duel_analysis": "Koke (LW) faces tough defensive resistance against Omar El Hilali in a direct 1v1 contest. Duel win probability: 37%.  Matchup xG multiplier ×0.83 (×1.00 = his usual level). Projected xG contribution: 0.040 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Alejandro Grimaldo",
        "attacker_role": "RW",
        "attacker_market_value": 19400000,
        "attacker_height": 171,
        "attacker_skill_quality": 0.625,
        "defenders": [
          "Clemens Riedel"
        ],
        "defender_roles": [
          "LB"
        ],
        "def_skill_quality_avg": 0.449,
        "duel_zone": "Right Wing vs Left Back — Flank Battle",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.49,
        "xg_contribution": 0.2062,
        "xg_multiplier": 1.0149,
        "shots_in_zone": 2.0,
        "dribbles_attempted": 4,
        "dribbles_successful": 1.7,
        "aerial_duels": 2,
        "aerial_won": 0.8,
        "crosses_in_zone": 2.2,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Clemens Riedel",
            "role": "LB",
            "market_value": 3900000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.5,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 1.2,
            "defensive_success_rate": 0.51
          }
        ],
        "duel_analysis": "Alejandro Grimaldo (RW) is evenly matched against Clemens Riedel in a direct 1v1 contest. Duel win probability: 49%. The quality gap is significant (€19M vs €4M avg). Matchup xG multiplier ×1.01 (×1.00 = his usual level). Projected xG contribution: 0.206 — with neither side clearly dominant."
      },
      {
        "attacker": "Pablo Barrios",
        "attacker_role": "CAM",
        "attacker_market_value": 77000000,
        "attacker_height": 181,
        "attacker_skill_quality": 0.879,
        "defenders": [
          "Pol Lozano",
          "Edu Expósito"
        ],
        "defender_roles": [
          "CDM",
          "CDM"
        ],
        "def_skill_quality_avg": 0.464,
        "duel_zone": "Attacking Mid vs Double Pivot — Tight Space Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.446,
        "xg_contribution": 0.078,
        "xg_multiplier": 1.3021,
        "shots_in_zone": 2.3,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.2,
        "aerial_duels": 2,
        "aerial_won": 1.1,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.4,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Pol Lozano",
            "role": "CDM",
            "market_value": 5800000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.8,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.5,
            "defensive_success_rate": 0.554
          },
          {
            "player": "Edu Expósito",
            "role": "CDM",
            "market_value": 4500000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.8,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.5,
            "defensive_success_rate": 0.554
          }
        ],
        "duel_analysis": "Pablo Barrios (CAM) has a clear attacking advantage against Pol Lozano and Edu Expósito in a 2-defender block. Duel win probability: 45%. The quality gap is significant (€77M vs €5M avg). Matchup xG multiplier ×1.30 (×1.00 = his usual level). Projected xG contribution: 0.078 — and projects to generate high-quality chances."
      },
      {
        "attacker": "Jonathan David",
        "attacker_role": "ST",
        "attacker_market_value": 29000000,
        "attacker_height": 180,
        "attacker_skill_quality": 0.71,
        "defenders": [
          "Leandro Cabrera",
          "Quilindschy Hartman"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.489,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.264,
        "xg_contribution": 0.4631,
        "xg_multiplier": 1.0935,
        "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.6,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Leandro Cabrera",
            "role": "CB",
            "market_value": 930000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.8,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.7,
            "defensive_success_rate": 0.736
          },
          {
            "player": "Quilindschy Hartman",
            "role": "CB",
            "market_value": 11600000,
            "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.736
          }
        ],
        "duel_analysis": "Jonathan David (ST) is slightly favored against Leandro Cabrera and Quilindschy Hartman in a 2-defender block. Duel win probability: 26%. The quality gap is significant (€29M vs €6M avg). Matchup xG multiplier ×1.09 (×1.00 = his usual level). Projected xG contribution: 0.463 — creating consistent moderate threat."
      },
      {
        "attacker": "Ademola Lookman",
        "attacker_role": "ST",
        "attacker_market_value": 44000000,
        "attacker_height": 174,
        "attacker_skill_quality": 0.8,
        "defenders": [
          "Leandro Cabrera",
          "Quilindschy Hartman"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.489,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.28,
        "xg_contribution": 0.3135,
        "xg_multiplier": 1.1179,
        "shots_in_zone": 2.4,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.5,
        "aerial_duels": 3,
        "aerial_won": 1.4,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.7,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Leandro Cabrera",
            "role": "CB",
            "market_value": 930000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.8,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.72
          },
          {
            "player": "Quilindschy Hartman",
            "role": "CB",
            "market_value": 11600000,
            "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.72
          }
        ],
        "duel_analysis": "Ademola Lookman (ST) is slightly favored against Leandro Cabrera and Quilindschy Hartman in a 2-defender block. Duel win probability: 28%. The quality gap is significant (€44M vs €6M avg). Matchup xG multiplier ×1.12 (×1.00 = his usual level). Projected xG contribution: 0.313 — creating consistent moderate threat."
      },
      {
        "attacker": "Giuliano Simeone",
        "attacker_role": "CDM",
        "attacker_market_value": 44000000,
        "attacker_height": 173,
        "attacker_skill_quality": 0.8,
        "defenders": [
          "Pol Lozano"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.472,
        "duel_zone": "CDM vs CDM",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.564,
        "xg_contribution": 0.145,
        "xg_multiplier": 1.211,
        "shots_in_zone": 1.2,
        "dribbles_attempted": 2,
        "dribbles_successful": 1.0,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Pol Lozano",
            "role": "CDM",
            "market_value": 5800000,
            "tackles_attempted": 2.0,
            "tackles_won": 1.5,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.436
          }
        ],
        "duel_analysis": "Giuliano Simeone (CDM) has a clear attacking advantage against Pol Lozano in a direct 1v1 contest. Duel win probability: 56%. The quality gap is significant (€44M vs €6M avg). Matchup xG multiplier ×1.21 (×1.00 = his usual level). Projected xG contribution: 0.145 — and projects to generate high-quality chances."
      },
      {
        "attacker": "Johnny Cardoso",
        "attacker_role": "CDM",
        "attacker_market_value": 18700000,
        "attacker_height": 186,
        "attacker_skill_quality": 0.618,
        "defenders": [
          "Pol Lozano"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.472,
        "duel_zone": "CDM vs CDM",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.535,
        "xg_contribution": 0.0387,
        "xg_multiplier": 1.1685,
        "shots_in_zone": 1.1,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.9,
        "aerial_duels": 2,
        "aerial_won": 1.2,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Pol Lozano",
            "role": "CDM",
            "market_value": 5800000,
            "tackles_attempted": 2.0,
            "tackles_won": 1.5,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.465
          }
        ],
        "duel_analysis": "Johnny Cardoso (CDM) is slightly favored against Pol Lozano in a direct 1v1 contest. Duel win probability: 53%.  Matchup xG multiplier ×1.17 (×1.00 = his usual level). Projected xG contribution: 0.039 — creating consistent moderate threat."
      }
    ],
    "midfield_battle": {
      "home_midfield_power": 0.469,
      "away_midfield_power": 0.726,
      "home_creative_power": 0.492,
      "away_creative_power": 0.64,
      "home_defensive_power": 0.401,
      "away_defensive_power": 0.651,
      "home_dominance_ratio": 0.393,
      "home_midfield_count": 3,
      "away_midfield_count": 5,
      "home_midfield_players": [
        "Javier Hernández",
        "Pol Lozano",
        "Edu Expósito"
      ],
      "away_midfield_players": [
        "Pablo Barrios",
        "Giuliano Simeone",
        "Koke",
        "Johnny Cardoso",
        "Alejandro Grimaldo"
      ],
      "possession_advantage": "away",
      "estimated_possession_home_pct": 46.6,
      "estimated_possession_away_pct": 53.4,
      "home_pressing_actions_per_90": 6.2,
      "away_pressing_actions_per_90": 7.8,
      "home_key_passes_projected": 4.5,
      "away_key_passes_projected": 5.3,
      "home_throughball_threat": 2.1,
      "away_throughball_threat": 2.5,
      "key_personal_duel": "Javier Hernández vs Pablo Barrios",
      "midfield_lambda_factor_home": 0.967,
      "midfield_lambda_factor_away": 1.04
    },
    "formation_analysis": {
      "home_formation": "4-2-3-1",
      "away_formation": "4-2-3-1",
      "home_tactical_bonus": 0.0,
      "away_tactical_bonus": 0.0,
      "formation_verdict": "Tactical parity between 4-2-3-1 and 4-2-3-1. Match outcome driven primarily by individual player quality."
    },
    "home_lambda": 1.337,
    "away_lambda": 2.325,
    "home_top_threat_zones": [
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
      "Left Wing vs Right Back — Flank 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": {
      "Javier Hernández": {
        "opponents": [
          "Jan Oblak",
          "Johnny Cardoso"
        ],
        "primary_zone": "Left Wing vs Right Back — Flank Battle",
        "source": "attacking_duel, midfield_pairing"
      },
      "Roberto Fernández": {
        "opponents": [
          "Robin Le Normand",
          "Cristian Romero"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Bryan Zaragoza": {
        "opponents": [
          "Robin Le Normand",
          "Cristian Romero"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Tyrhys Dolan": {
        "opponents": [
          "Robin Le Normand",
          "Cristian Romero"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Pol Lozano": {
        "opponents": [
          "Giuliano Simeone",
          "Pablo Barrios",
          "Johnny Cardoso",
          "Koke"
        ],
        "primary_zone": "CDM vs CDM",
        "source": "attacking_duel, defensive_duel, midfield_pairing"
      },
      "Edu Expósito": {
        "opponents": [
          "Giuliano Simeone",
          "Pablo Barrios",
          "Alejandro Grimaldo"
        ],
        "primary_zone": "CDM vs CDM",
        "source": "attacking_duel, defensive_duel, midfield_pairing"
      },
      "Omar El Hilali": {
        "opponents": [
          "Koke"
        ],
        "primary_zone": "Left Wing vs Right Back — Flank Battle",
        "source": "defensive_duel"
      },
      "Clemens Riedel": {
        "opponents": [
          "Alejandro Grimaldo"
        ],
        "primary_zone": "Right Wing vs Left Back — Flank Battle",
        "source": "defensive_duel"
      },
      "Leandro Cabrera": {
        "opponents": [
          "Jonathan David",
          "Ademola Lookman"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Quilindschy Hartman": {
        "opponents": [
          "Jonathan David",
          "Ademola Lookman"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Ángel Fortuño": {
        "opponents": [
          "Ademola Lookman",
          "Jonathan David"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "away_player_antagonists": {
      "Jan Oblak": {
        "opponents": [
          "Javier Hernández"
        ],
        "primary_zone": "Left Wing vs Right Back — Flank Battle",
        "source": "defensive_duel"
      },
      "Robin Le Normand": {
        "opponents": [
          "Roberto Fernández",
          "Bryan Zaragoza",
          "Tyrhys Dolan"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Cristian Romero": {
        "opponents": [
          "Roberto Fernández",
          "Bryan Zaragoza",
          "Tyrhys Dolan"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "Giuliano Simeone": {
        "opponents": [
          "Pol Lozano",
          "Edu Expósito"
        ],
        "primary_zone": "CDM vs CDM",
        "source": "defensive_duel, attacking_duel, midfield_pairing"
      },
      "Koke": {
        "opponents": [
          "Omar El Hilali",
          "Pol Lozano"
        ],
        "primary_zone": "Left Wing vs Right Back — Flank Battle",
        "source": "attacking_duel, midfield_pairing"
      },
      "Alejandro Grimaldo": {
        "opponents": [
          "Clemens Riedel",
          "Edu Expósito"
        ],
        "primary_zone": "Right Wing vs Left Back — Flank Battle",
        "source": "attacking_duel, midfield_pairing"
      },
      "Pablo Barrios": {
        "opponents": [
          "Pol Lozano",
          "Edu Expósito"
        ],
        "primary_zone": "Attacking Mid vs Double Pivot — Tight Space Battle",
        "source": "attacking_duel, midfield_pairing"
      },
      "Jonathan David": {
        "opponents": [
          "Leandro Cabrera",
          "Quilindschy Hartman"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Ademola Lookman": {
        "opponents": [
          "Leandro Cabrera",
          "Quilindschy Hartman"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Johnny Cardoso": {
        "opponents": [
          "Pol Lozano",
          "Javier Hernández"
        ],
        "primary_zone": "CDM vs CDM",
        "source": "attacking_duel, midfield_pairing"
      },
      "Marcos Llorente": {
        "opponents": [
          "Roberto Fernández"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "key_tactical_insight": "Away midfield dictates play with ~53% possession expected (Javier Hernández vs Pablo Barrios). Total antagonist xG — Home: 0.82, Away: 1.28. 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": 0.9481,
      "away_gk_opposition_factor": 1.0107,
      "home_set_piece_bonus": 0.088,
      "away_set_piece_bonus": 0.068,
      "home_defensive_solidity_vs": 0.9375,
      "away_defensive_solidity_vs": 0.9836,
      "home_midfield_factor": 0.967,
      "away_midfield_factor": 1.04,
      "stage_discount": 1.0,
      "quality_gap_applied": true,
      "home_avg_quality": 0.5089,
      "away_avg_quality": 0.6898,
      "avg_quality_gap": -0.1809,
      "squad_value_gap_log": -1.1859,
      "top5_value_gap_log": -1.1436,
      "attack_value_gap_log": -1.3185,
      "elite_count_gap": -3,
      "combined_quality_gap": -0.3683,
      "stronger_lambda_boost": 0.2026,
      "weaker_lambda_suppression": 0.1179,
      "home_lambda_chain": [
        {
          "label": "league_anchor",
          "value": 1.35
        },
        {
          "label": "duel_blend",
          "raw_xg": 0.816,
          "n_duels": 6,
          "duel_confidence": 0.75,
          "result": 0.9495
        },
        {
          "label": "midfield_factor",
          "factor": 0.967,
          "result": 0.9182
        },
        {
          "label": "formation_bonus",
          "factor": 1.0,
          "result": 0.9182
        },
        {
          "label": "home_advantage",
          "factor": 1.15,
          "result": 1.0559
        },
        {
          "label": "standing_factor",
          "factor": 0.9171,
          "result": 0.9684
        },
        {
          "label": "gk_opposition",
          "factor": 0.9481,
          "result": 0.9181
        },
        {
          "label": "defensive_solidity",
          "factor": 0.9375,
          "result": 0.8607
        },
        {
          "label": "set_piece_bonus",
          "bonus": 0.088,
          "result": 0.9487
        },
        {
          "label": "engine_clamp",
          "pre": 0.9487,
          "result": 0.9487,
          "band": [
            0.6,
            4.0
          ],
          "clamped": false
        },
        {
          "label": "quality_gap",
          "applied": true,
          "combined_quality_gap": -0.3683,
          "factor": 0.8821,
          "pre": 0.9487,
          "result": 0.8369
        },
        {
          "label": "stage_discount",
          "applied": false,
          "factor": 1.0,
          "result": 0.8369
        },
        {
          "label": "bench_bonus",
          "side": "home",
          "bonus": 0.2195,
          "result": 1.0565
        },
        {
          "label": "fbref_blend",
          "side": "home",
          "applied": true,
          "blending_weight": 0.228,
          "empirical_lambda": 2.8765,
          "result": 1.4715
        },
        {
          "label": "router_clamp",
          "pre": 1.4715,
          "result": 1.472,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "h2h_adjustment",
          "applied": true,
          "multiplier": 0.9786,
          "pre": 1.472,
          "result": 1.4405,
          "available": true
        },
        {
          "label": "mismatch_pressure",
          "applied": true,
          "factor": 0.9732,
          "pre": 1.4405,
          "result": 1.402
        },
        {
          "label": "underdog_floor",
          "applied": false,
          "mode": "disabled_ablation",
          "result": 1.402
        },
        {
          "label": "redistribution",
          "applied": true,
          "factor": 0.9539,
          "input_total": 3.662,
          "result": 1.3374
        },
        {
          "label": "final_clamp",
          "applied": true,
          "pre": 1.3374,
          "result": 1.337,
          "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.337
        }
      ],
      "away_lambda_chain": [
        {
          "label": "league_anchor",
          "value": 1.35
        },
        {
          "label": "duel_blend",
          "raw_xg": 1.2849,
          "n_duels": 7,
          "duel_confidence": 0.75,
          "result": 1.3012
        },
        {
          "label": "midfield_factor",
          "factor": 1.04,
          "result": 1.3532
        },
        {
          "label": "formation_bonus",
          "factor": 1.0,
          "result": 1.3532
        },
        {
          "label": "home_advantage",
          "factor": 1.0,
          "result": 1.3532
        },
        {
          "label": "standing_factor",
          "factor": 1.0585,
          "result": 1.4324
        },
        {
          "label": "gk_opposition",
          "factor": 1.0107,
          "result": 1.4476
        },
        {
          "label": "defensive_solidity",
          "factor": 0.9836,
          "result": 1.424
        },
        {
          "label": "set_piece_bonus",
          "bonus": 0.068,
          "result": 1.492
        },
        {
          "label": "engine_clamp",
          "pre": 1.492,
          "result": 1.492,
          "band": [
            0.6,
            4.0
          ],
          "clamped": false
        },
        {
          "label": "quality_gap",
          "applied": true,
          "combined_quality_gap": -0.3683,
          "factor": 1.2026,
          "pre": 1.492,
          "result": 1.7942
        },
        {
          "label": "stage_discount",
          "applied": false,
          "factor": 1.0,
          "result": 1.7942
        },
        {
          "label": "bench_bonus",
          "side": "away",
          "bonus": 0.1707,
          "result": 1.9647
        },
        {
          "label": "fbref_blend",
          "side": "away",
          "applied": true,
          "blending_weight": 0.228,
          "empirical_lambda": 2.8864,
          "result": 2.1749
        },
        {
          "label": "router_clamp",
          "pre": 2.1749,
          "result": 2.175,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "h2h_adjustment",
          "applied": true,
          "multiplier": 1.0214,
          "pre": 2.175,
          "result": 2.2215,
          "available": true
        },
        {
          "label": "mismatch_pressure",
          "applied": true,
          "factor": 1.0971,
          "pre": 2.2215,
          "result": 2.437
        },
        {
          "label": "underdog_floor",
          "applied": false,
          "mode": "disabled_ablation",
          "result": 2.437
        },
        {
          "label": "redistribution",
          "applied": true,
          "factor": 0.9539,
          "input_total": 3.662,
          "result": 2.3246
        },
        {
          "label": "final_clamp",
          "applied": true,
          "pre": 2.3246,
          "result": 2.325,
          "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": 2.325
        }
      ],
      "home_bench_lambda_bonus": 0.2195,
      "away_bench_lambda_bonus": 0.1707,
      "home_bench_players_modelled": 7,
      "away_bench_players_modelled": 7,
      "fbref_team_priors": {
        "applied": true,
        "home_squad": "Espanyol",
        "away_squad": "Atlético Madrid",
        "home_goals_per90": 1.6666666666666667,
        "away_goals_against_per90": 2.33,
        "away_goals_per90": 2.333333333333333,
        "home_goals_against_per90": 1.67,
        "home_empirical_lambda": 2.877,
        "away_empirical_lambda": 2.886,
        "blending_weight": 0.228
      },
      "mismatch_score_pressure_applied": true,
      "mismatch_score_pressure_gap": -0.3683,
      "mismatch_favorite_lambda_boost": 1.0971,
      "mismatch_underdog_lambda_factor": 0.9732,
      "pre_mismatch_home_lambda": 1.4405,
      "pre_mismatch_away_lambda": 2.2215,
      "competitive_underdog_floor_applied": false,
      "competitive_underdog_floor": 1.0,
      "competitive_underdog_floor_mode": "disabled_ablation",
      "pre_competitive_floor_home_lambda": 1.402,
      "pre_competitive_floor_away_lambda": 2.437,
      "pre_calibration_home_lambda": 1.4715,
      "pre_calibration_away_lambda": 2.1749,
      "competition_calibration_applied": false,
      "competition_calibration_reason": "no_sofascore_matches_data",
      "competition_calibration_samples": 0,
      "competition_observed_total_goals": 0.0,
      "competition_calibration_scale": 1.0,
      "neutral_share_preserved": false,
      "final_home_lambda": 1.337,
      "final_away_lambda": 2.325
    }
  },
  "home_standing": {
    "available": true,
    "team_position": 12,
    "opponent_position": 2,
    "standing_lambda_multiplier": 0.9171,
    "attack_index": 0.956,
    "defense_concede_index": 0.859,
    "form_multiplier": 0.961,
    "team_attack_rate_contextual": 1.48,
    "opp_defense_rate_contextual": 1.33,
    "team_ppg": 1.16,
    "opponent_ppg": 1.94
  },
  "away_standing": {
    "available": true,
    "team_position": 2,
    "opponent_position": 12,
    "standing_lambda_multiplier": 1.0585,
    "attack_index": 1.183,
    "defense_concede_index": 0.956,
    "form_multiplier": 1.039,
    "team_attack_rate_contextual": 1.83,
    "opp_defense_rate_contextual": 1.48,
    "team_ppg": 1.94,
    "opponent_ppg": 1.16
  },
  "xgboost_reasoning": {
    "summary": "Antagonist + XGBoost match analysis for Espanyol vs Atlético Madrid. Player statistics regressed using position-specific XGBoost models (G, D, M, F) with 2026-2027 FBref priors. Micro-duels resolved across 4-2-3-1 vs 4-2-3-1 (duel lambdas: Home 1.472, Away 2.175). Final calibrated Poisson lambdas: Home 1.337, Away 2.325 (most likely score 1-2).",
    "competition": "LaLiga",
    "model_coverage": {
      "home_starters_count": 11,
      "home_xgboost_players": 11,
      "home_fbref_players": 7,
      "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": "Espanyol",
      "away_squad": "Atlético Madrid",
      "home_goals_per90": 1.6666666666666667,
      "away_goals_against_per90": 2.33,
      "away_goals_per90": 2.333333333333333,
      "home_goals_against_per90": 1.67,
      "home_empirical_lambda": 2.877,
      "away_empirical_lambda": 2.886,
      "blending_weight": 0.228
    },
    "pipeline_stages": [
      "1. XGBoost player regressions for volume & event rates with market-value quality scaling",
      "2. Multi-source prior blending (FBref 2026-2027 tables + Sofascore season history)",
      "3. Antagonist formation duel matrix resolving 1v1 and zonal matchups",
      "4. Team-level prior calibration (FBref possession and attack/defense efficiencies)",
      "5. Bivariate Poisson matrix with Dixon-Coles low-score correction"
    ],
    "final_lambdas": {
      "home_lambda": 1.337,
      "away_lambda": 2.325,
      "micro_duel_home_lambda": 1.472,
      "micro_duel_away_lambda": 2.175
    },
    "calibration_and_pressure": {
      "competition_calibration_applied": false,
      "competition_calibration_scale": 1.0,
      "mismatch_pressure_applied": true,
      "underdog_floor_applied": false
    }
  },
  "timestamp": "2026-10-16T13:31:42Z",
  "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
  }
}