{
  "match_info": {
    "home_team": "Real Betis",
    "away_team": "Málaga",
    "tournament": "LaLiga",
    "date": "20261031",
    "timezone": "America/New_York",
    "home_formation": "4-2-3-1",
    "away_formation": "3-4-2-1",
    "lineup_status": "unconfirmed_official",
    "lineup_source": "/matches/get-lineups",
    "lineup_confirmed": false,
    "lineup_confidence": 0.75
  },
  "prediction": {
    "most_likely_score": "2-0",
    "home_goals": 2,
    "away_goals": 0,
    "most_likely_score_probability": 0.1173,
    "most_likely_winning_score_home": "2-0",
    "most_likely_winning_score_home_probability": 0.1173,
    "most_likely_winning_score_away": "0-1",
    "most_likely_winning_score_away_probability": 0.0416,
    "match_resolution": "regulation",
    "predicted_winner": "Real Betis",
    "tiebreaker": {
      "applies": false,
      "method": "none",
      "regulation_draw_probability": 0.1914,
      "shootout_home_win_probability": null,
      "shootout_away_win_probability": null,
      "penalty_home_goals": null,
      "penalty_away_goals": null,
      "penalty_score": null,
      "penalty_winner": null,
      "penalty_winner_goals": null,
      "penalty_loser_goals": null,
      "penalty_result": null,
      "home_advance_probability": null,
      "away_advance_probability": null,
      "projected_winner": null,
      "projected_winner_probability": null,
      "final_score_after_penalties": null,
      "deciding_stage": null,
      "deciding_scoreline": null,
      "deciding_scoreline_probability": null,
      "deciding_route_probability": null,
      "reason": "Tie-breaker not required for this match context."
    },
    "top_5_scorelines": [
      {
        "score": "2-0",
        "probability": 0.1173
      },
      {
        "score": "1-0",
        "probability": 0.1085
      },
      {
        "score": "2-1",
        "probability": 0.0974
      },
      {
        "score": "1-1",
        "probability": 0.0909
      },
      {
        "score": "3-0",
        "probability": 0.0842
      }
    ],
    "scoreline_probabilities": {
      "0-0": 0.051,
      "0-1": 0.0416,
      "0-2": 0.0175,
      "0-3": 0.0048,
      "0-4": 0.001,
      "1-0": 0.1085,
      "1-1": 0.0909,
      "1-2": 0.0376,
      "1-3": 0.0104,
      "1-4": 0.0022,
      "2-0": 0.1173,
      "2-1": 0.0974,
      "2-2": 0.0405,
      "2-3": 0.0112,
      "2-4": 0.0023,
      "3-0": 0.0842,
      "3-1": 0.0699,
      "3-2": 0.0291,
      "3-3": 0.008,
      "3-4": 0.0017,
      "4-0": 0.0453,
      "4-1": 0.0376,
      "4-2": 0.0156,
      "4-3": 0.0043,
      "4-4": 0.0009,
      "5-0": 0.0195,
      "5-1": 0.0162,
      "5-2": 0.0067,
      "5-3": 0.0019,
      "6-0": 0.007,
      "6-1": 0.0058,
      "6-2": 0.0024,
      "6-3": 0.0007,
      "7-0": 0.0022,
      "7-1": 0.0018,
      "7-2": 0.0007,
      "8-0": 0.0006
    },
    "outcome": {
      "home_win": 0.6766,
      "draw": 0.1914,
      "away_win": 0.1319
    },
    "markets": {
      "over_2_5_goals": 0.5732,
      "under_2_5_goals": 0.4268,
      "btts_yes": 0.4992,
      "btts_no": 0.5008,
      "home_clean_sheet": 0.4356,
      "away_clean_sheet": 0.1161
    },
    "home_ratings": {
      "DR": 6.8,
      "MCR": 7.06,
      "ATR": 7.0,
      "GK": 7.07
    },
    "away_ratings": {
      "DR": 6.79,
      "MCR": 6.92,
      "ATR": 6.89,
      "GK": 7.04
    },
    "insights": {
      "summary": "Antagonist matchup analysis for Real Betis vs Málaga. Most likely scoreline: 2-0. Lambdas derived from 4 home and 5 away individual player duels. Head-to-head: Real Betis 6W-0D-4L vs Málaga over 10 meetings.",
      "key_player": "Projected scorer(s): Abdessamad Ezzalzouli, Troy Parrott",
      "tactical_analysis": "Tactical parity between 4-2-3-1 and 3-4-2-1. Match outcome driven primarily by individual player quality. Midfield is evenly contested — Pablo Fornals vs Dani Lorenzo will be the pivotal duel. Total antagonist xG — Home: 1.00, Away: 0.48. Home danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle. Away danger zone: Shadow Striker vs CDM + CB — Zone 14 Battle."
    },
    "confidence": 0.79,
    "home_lambda": 2.153,
    "away_lambda": 0.831,
    "h2h": {
      "available": true,
      "meetings": 10,
      "home_wins": 6,
      "away_wins": 4,
      "draws": 0,
      "home_multiplier": 1.0143,
      "away_multiplier": 0.9857
    },
    "modal_scoreline": "2-0",
    "modal_scoreline_probability": 0.1173,
    "headline_policy": null
  },
  "pregame_baseline": {
    "fair_win_probability": {
      "home_win": 0.6766,
      "draw": 0.1914,
      "away_win": 0.1319
    },
    "favorite": "Real Betis",
    "favorite_win_probability": 0.6766,
    "fair_spread": 1.322,
    "fair_total": 2.984,
    "prop_estimates": [
      {
        "market": "team_total_goals",
        "selection": "Real Betis",
        "estimate": 2.153,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "team_total_goals",
        "selection": "Málaga",
        "estimate": 0.831,
        "probability": null,
        "unit": "goals"
      },
      {
        "market": "over_2_5_goals",
        "selection": "yes",
        "estimate": 2.5,
        "probability": 0.5732,
        "unit": "probability"
      },
      {
        "market": "both_teams_to_score",
        "selection": "yes",
        "estimate": 1.0,
        "probability": 0.4992,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Real Betis",
        "estimate": 1.0,
        "probability": 0.4356,
        "unit": "probability"
      },
      {
        "market": "clean_sheet",
        "selection": "Málaga",
        "estimate": 1.0,
        "probability": 0.1161,
        "unit": "probability"
      },
      {
        "market": "anytime_goal",
        "selection": "Abdessamad Ezzalzouli (Real Betis)",
        "estimate": 0.6112,
        "probability": 0.4573,
        "unit": "xG"
      },
      {
        "market": "anytime_goal",
        "selection": "Adrián Niño (Málaga)",
        "estimate": 0.3014,
        "probability": 0.2602,
        "unit": "xG"
      },
      {
        "market": "assist",
        "selection": "Abdessamad Ezzalzouli (Real Betis)",
        "estimate": 0.3125,
        "probability": 0.2684,
        "unit": "xA"
      },
      {
        "market": "assist",
        "selection": "David Larrubia (Málaga)",
        "estimate": 0.2174,
        "probability": 0.1954,
        "unit": "xA"
      }
    ],
    "expected_pace": {
      "tempo": "balanced",
      "expected_total_goals": 2.984,
      "expected_total_shots": 24,
      "expected_total_passes": 889,
      "expected_pressing_actions_per_90": 12.1,
      "possession_home_pct": 50.4,
      "possession_away_pct": 49.6,
      "notes": "possession projects near even"
    },
    "expected_game_script": {
      "favorite": "Real Betis",
      "favorite_win_probability": 0.6766,
      "script": "Real Betis is the fair winner side, but the baseline remains favorite-led: fair spread +1.32 goals and fair total 2.98.",
      "first_half": "Expect balanced tempo while both sides test the matchup thesis; shot baseline is about 12 first-half attempts.",
      "second_half": "If level after halftime, midfield control and bench quality should decide territory; Málaga must keep the match inside one goal.",
      "late_game": "A Real Betis lead likely shifts toward control and counters; a draw state keeps set pieces and transition chances live."
    },
    "key_matchup_thesis": "Real Betis chance creation leans on Abdessamad Ezzalzouli against Einar Galilea, Fernando Calero in Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle; possession projects near even.",
    "expected_rotation_usage_behavior": [
      "Real Betis: starters carry the main goal usage through Abdessamad Ezzalzouli, Troy Parrott; bench watchlist: Cucho Hernández, Nelson Deossa.",
      "Málaga: starters carry the main goal usage through the highest xG attackers; bench watchlist: Chupete, Jens-Lys Cajuste, Joaquín Muñoz.",
      "Assist usage should flow through Abdessamad Ezzalzouli; late lineup changes should re-score these allocations."
    ],
    "pregame_play_by_play": [
      "0-15: Real Betis tries to establish the projected edge; track possession and first-shot share.",
      "15-45: Baseline expects balanced tempo, about 12 total first-half shots, and 1.49 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 Málaga is chasing, transition and set-piece volume become the primary live deviation signal; a draw state keeps set pieces and transition chances live."
    ],
    "invalidation_triggers": [
      "Early red card, injury, or goalkeeper change for Real Betis.",
      "Málaga wins the midfield/territory battle beyond the possession baseline.",
      "Pace collapses: first 25 minutes fall well below the shot and box-entry baseline.",
      "Set pieces, penalties, or second balls create more danger than the open-play matchup thesis."
    ],
    "top_3_risk_factors": [
      {
        "factor": "Low-event scoring variance",
        "impact": "One penalty, deflection, or missed big chance can overwhelm the fair win probability."
      },
      {
        "factor": "Late lineup or role change",
        "impact": "A pregame XI, injury, or tactical role shift can invalidate player prop and usage estimates."
      },
      {
        "factor": "Discipline and set-piece volatility",
        "impact": "Cards, fouls in dangerous zones, and corner volume can change the expected game script quickly."
      }
    ]
  },
  "teams": {
    "Real Betis": {
      "formation": "4-2-3-1",
      "players": {
        "Fran García": {
          "player_id": 851271,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 11,
          "height": 170,
          "market_value": 6900000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 2,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.7175,
            "minutes": 89,
            "total_pass": 43,
            "accurate_pass": 37,
            "duels_won": 5,
            "total_long_balls": 3,
            "accurate_long_balls": 1,
            "total_own_half_passes": 20,
            "accurate_own_half_passes": 17,
            "total_opp_half_passes": 23,
            "accurate_opp_half_passes": 20,
            "crosses_total": 3,
            "crosses_accurate": 0,
            "touches": 65,
            "possession_lost": 10.9467,
            "dispossessed": 0.6187,
            "duels_lost": 4,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 4,
            "challenges_lost": 2,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0345,
            "assists": 0,
            "expected_goals": 0.0189,
            "expected_assists": 0.0806,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0141,
            "ball_carries": 16,
            "total_progression": 79,
            "progressive_carries": 2,
            "key_pass": 1,
            "shots_off_target": 0,
            "opponent_faced": "David Larrubia",
            "matchup_zone": "Shape fallback",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0187,
            "projected_assists": 0,
            "assist_probability": 0.0774,
            "finishing_factor": 0.8104,
            "creation_factor": 0.8467,
            "fifa_overall": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16421068,
              "match_date": "2026-10-17",
              "home_team": "Real Betis",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 5.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0266,
                "total_shots": 0,
                "total_pass": 35,
                "accurate_pass": 29,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 3,
                "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": 16421054,
              "match_date": "2026-10-11",
              "home_team": "Real Betis",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0207,
                "expected_assists": 0.0858,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 44,
                "accurate_pass": 41,
                "key_pass": 1,
                "tackles": 5,
                "tackles_won": 4,
                "clearances": 1,
                "duels_won": 7,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416313,
              "match_date": "2026-09-20",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0205,
                "total_shots": 0,
                "total_pass": 54,
                "accurate_pass": 48,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 3,
                "clearances": 4,
                "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": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0047,
                "total_shots": 0,
                "total_pass": 38,
                "accurate_pass": 29,
                "key_pass": 2,
                "tackles": 4,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416315,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0178,
                "total_shots": 0,
                "total_pass": 35,
                "accurate_pass": 31,
                "tackles": 2,
                "clearances": 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": 16416309,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 5.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2033,
                "total_shots": 0,
                "total_pass": 57,
                "accurate_pass": 50,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 2,
                "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": 16421049,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 31,
                "rating": 7.1,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.0314,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 11,
                "key_pass": 1,
                "tackles": 3,
                "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": 16416293,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.058,
                "total_shots": 0,
                "total_pass": 44,
                "accurate_pass": 38,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 2,
                "aerial_won": 1,
                "duels_won": 3,
                "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": 14083702,
              "match_date": "2026-05-17",
              "home_team": "Sevilla",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0109,
                "total_shots": 0,
                "total_pass": 45,
                "accurate_pass": 37,
                "clearances": 5,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083562,
              "match_date": "2026-05-10",
              "home_team": "FC Barcelona",
              "away_team": "Real Madrid",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Madrid",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0818,
                "expected_assists": 0.0093,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 33,
                "accurate_pass": 29,
                "interceptions": 1,
                "clearances": 3,
                "duels_won": 1,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 3196,
            "combined_rank_score": 1155.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 745.0,
            "sofascore_rating": 6.6667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 1565.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7175,
            "source_file": "data/player_rankings.csv",
            "player_name": "Fran García",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Samson Baidoo",
                  "ranking": 3191
                },
                {
                  "player_name": "Guéla Doué",
                  "ranking": 3192
                },
                {
                  "player_name": "Amar Dedić",
                  "ranking": 3193
                },
                {
                  "player_name": "Taylor Harwood-Bellis",
                  "ranking": 3194
                },
                {
                  "player_name": "Saïd El Mala",
                  "ranking": 3195
                }
              ],
              "lower": [
                {
                  "player_name": "Rômulo",
                  "ranking": 3197
                },
                {
                  "player_name": "David Zima",
                  "ranking": 3198
                },
                {
                  "player_name": "Juan Iglesias",
                  "ranking": 3199
                },
                {
                  "player_name": "Thierno Barry",
                  "ranking": 3200
                },
                {
                  "player_name": "Tiago Palacios",
                  "ranking": 3201
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.774,
          "history_matches": 21,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 21,
            "data_confidence": 0.774,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9989,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 212.0,
              "goals_per90": 0.0,
              "assists_per90": 0.4166666666666667,
              "shots_per90": 0.0,
              "prior_reliability": 0.16
            },
            "rationale": "XGBoost regressor (D_service) evaluated 21 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Real Betis, rel: 0.16, gls/90: 0.0, ast/90: 0.4166666666666667)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1.1616,
                "tackles": 2.2404,
                "tackles_won": 1.6384,
                "clearances": 2.3175,
                "aerial_won": 0.6706,
                "total_shots": 0.4131,
                "rating": 6.7175,
                "minutes": 88.76,
                "total_pass": 42.708,
                "accurate_pass": 37.3115,
                "duels_won": 4.6119,
                "total_long_balls": 2.7926,
                "accurate_long_balls": 1.2523,
                "total_own_half_passes": 19.6279,
                "accurate_own_half_passes": 17.489,
                "total_opp_half_passes": 23.0801,
                "accurate_opp_half_passes": 19.8224,
                "crosses_total": 2.6562,
                "crosses_accurate": 0.3467,
                "touches": 65.1652,
                "possession_lost": 10.9588,
                "dispossessed": 0.6194,
                "duels_lost": 4.1028,
                "aerial_lost": 1.0469,
                "total_contest": 0.6672,
                "won_contest": 0.5348,
                "ball_recovery": 3.8899,
                "challenges_lost": 1.6226,
                "fouls": 0.701,
                "fouls_drawn": 0.9679,
                "blocks": 0.2514,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0268,
                "assist_rate": 0.0268,
                "expected_goals": 0.0117,
                "expected_assists": 0.0499,
                "shots_on_target": 0.0228,
                "big_chances_created": 0.0,
                "xgot": 0.0087,
                "ball_carries": 16.4078,
                "total_progression": 78.9851,
                "progressive_carries": 1.9597,
                "key_pass": 0.5539,
                "shots_off_target": 0.3903
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:29:25.210665+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 626,
                    "rows": 22004
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-17",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1551,
                    "rating": 5.2
                  },
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1318,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1121,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0953,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.081,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0688,
                    "rating": 5.8
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.0585,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0497,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0423,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-10",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0359,
                    "rating": 6.3
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 1.8271,
                  "aerialWon": 0.5327,
                  "totalClearance_p90": 1.8572,
                  "totalTackle": 2.5673,
                  "totalPass": 39.5119
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.1615586280822754,
                    "model_output": 1.1616,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2977
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0446
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0318
                      },
                      {
                        "name": "touches",
                        "importance": 0.0281
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8678,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1183
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0798
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0324
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0271
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0208
                        }
                      ],
                      "others": 0.1218,
                      "total": 1.1616,
                      "log_link": true,
                      "margin_base": -0.141777,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.127808
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.077775
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.030827
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.025901
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.019773
                        }
                      ],
                      "others_margin": 0.110656
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 2.240436315536499,
                    "model_output": 2.2404,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2493
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0731
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0414
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0245
                      }
                    ],
                    "decomposition": {
                      "base": 1.3878,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1936
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.1369
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.1331
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.1234
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.1106
                        }
                      ],
                      "others": 0.155,
                      "total": 2.2404,
                      "log_link": true,
                      "margin_base": 0.327722,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.130587
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.083042
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.074594
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.064549
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.054478
                        }
                      ],
                      "others_margin": 0.0717
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.6383531093597412,
                    "model_output": 1.6384,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1966
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0678
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0471
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0406
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 0.8471,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1193
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0951
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0962
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0947
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0718
                        }
                      ],
                      "others": 0.3142,
                      "total": 1.6384,
                      "log_link": true,
                      "margin_base": -0.165887,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.131761
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.093878
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.086758
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.078614
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.055771
                        }
                      ],
                      "others_margin": 0.212796
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.317525625228882,
                    "model_output": 2.3175,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2929
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1447
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.1031
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0342
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0223
                      }
                    ],
                    "decomposition": {
                      "base": 3.4227,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.4882
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.3972
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.3307
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.2207
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1232
                        }
                      ],
                      "others": -0.3396,
                      "total": 2.3175,
                      "log_link": true,
                      "margin_base": 1.230438,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.153878
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.126947
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.104524
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.076382
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.04532
                        }
                      ],
                      "others_margin": -0.136782
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.6706120371818542,
                    "model_output": 0.6706,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1591
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1548
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0782
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.3743,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.4427
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.1186
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1023
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0518
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0469
                        }
                      ],
                      "others": -0.146,
                      "total": 0.6706,
                      "log_link": true,
                      "margin_base": 0.31798,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.388726
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.136124
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.118507
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.058207
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.055776
                        }
                      ],
                      "others_margin": -0.19722
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.413130521774292,
                    "model_output": 0.4131,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1011
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0377
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0308
                      },
                      {
                        "name": "rating",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.4801,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1116
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0529
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0179
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0138
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0115
                        }
                      ],
                      "others": -0.0157,
                      "total": 0.4131,
                      "log_link": false,
                      "margin_base": 0.48008,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.111572
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.052878
                        },
                        {
                          "name": "rating",
                          "margin": -0.017889
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.013796
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.01154
                        }
                      ],
                      "others_margin": -0.015703
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.7175445556640625,
                    "model_output": 6.7175,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0922
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0582
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0462
                      },
                      {
                        "name": "rating",
                        "importance": 0.0313
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 6.7972,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": -0.0139
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0124
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0116
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0101
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0089
                        }
                      ],
                      "others": -0.0406,
                      "total": 6.7175,
                      "log_link": false,
                      "margin_base": 6.797222,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.013908
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.012425
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.01159
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.010107
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.008877
                        }
                      ],
                      "others_margin": -0.040522
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 21,
                  "role_matches": 17,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9989, quality 0.485)",
              "stats": {
                "interceptions": 1.1603,
                "tackles": 2.238,
                "tackles_won": 1.6366,
                "clearances": 2.315,
                "aerial_won": 0.6699,
                "total_shots": 0.4127,
                "rating": 6.7175,
                "minutes": 88.76,
                "total_pass": 42.661,
                "accurate_pass": 37.2705,
                "duels_won": 4.6068,
                "total_long_balls": 2.7895,
                "accurate_long_balls": 1.2509,
                "total_own_half_passes": 19.6063,
                "accurate_own_half_passes": 17.4698,
                "total_opp_half_passes": 23.0547,
                "accurate_opp_half_passes": 19.8006,
                "crosses_total": 2.6533,
                "crosses_accurate": 0.3463,
                "touches": 65.0935,
                "possession_lost": 10.9467,
                "dispossessed": 0.6187,
                "duels_lost": 4.0983,
                "aerial_lost": 1.0457,
                "total_contest": 0.6665,
                "won_contest": 0.5342,
                "ball_recovery": 3.8856,
                "challenges_lost": 1.6208,
                "fouls": 0.7002,
                "fouls_drawn": 0.9668,
                "blocks": 0.2511,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0268,
                "assist_rate": 0.0268,
                "expected_goals": 0.0117,
                "expected_assists": 0.0498,
                "shots_on_target": 0.0228,
                "big_chances_created": 0.0,
                "xgot": 0.0087,
                "ball_carries": 16.3898,
                "total_progression": 78.8982,
                "progressive_carries": 1.9575,
                "key_pass": 0.5533,
                "shots_off_target": 0.3899
              },
              "params": {
                "market_value_eur": 6900000,
                "quality_factor": 0.4854,
                "boost_factor": 0.9989,
                "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.0200)",
              "stats": {
                "interceptions": 1.1617,
                "tackles": 2.238,
                "tackles_won": 1.6285,
                "clearances": 2.315,
                "aerial_won": 0.6699,
                "total_shots": 0.4044,
                "rating": 6.7175,
                "minutes": 88.76,
                "total_pass": 42.661,
                "accurate_pass": 37.2705,
                "duels_won": 4.6068,
                "total_long_balls": 2.7895,
                "accurate_long_balls": 1.2509,
                "total_own_half_passes": 19.6063,
                "accurate_own_half_passes": 17.4698,
                "total_opp_half_passes": 23.0547,
                "accurate_opp_half_passes": 19.8006,
                "crosses_total": 2.6906,
                "crosses_accurate": 0.3463,
                "touches": 65.0935,
                "possession_lost": 10.9467,
                "dispossessed": 0.6187,
                "duels_lost": 4.0983,
                "aerial_lost": 1.0457,
                "total_contest": 0.6665,
                "won_contest": 0.5342,
                "ball_recovery": 3.8856,
                "challenges_lost": 1.6208,
                "fouls": 0.7026,
                "fouls_drawn": 0.9639,
                "blocks": 0.2511,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0345,
                "assist_rate": 0.0345,
                "expected_goals": 0.0117,
                "expected_assists": 0.0498,
                "shots_on_target": 0.0223,
                "big_chances_created": 0.0,
                "xgot": 0.0087,
                "ball_carries": 16.3898,
                "total_progression": 78.8982,
                "progressive_carries": 1.9575,
                "key_pass": 0.5533,
                "shots_off_target": 0.3899
              },
              "params": {
                "blend_weight": 0.02,
                "history_matches": 21,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9862,
                "prior_reliability": 0.16,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 2.6533,
                  "after": 2.6906
                },
                {
                  "stat": "totalShots",
                  "before": 0.4127,
                  "after": 0.4044
                },
                {
                  "stat": "wonTackle",
                  "before": 1.6366,
                  "after": 1.6285
                },
                {
                  "stat": "goalAssist",
                  "before": 0.0268,
                  "after": 0.0345
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.1617,
                "tackles": 2.238,
                "tackles_won": 1.6285,
                "clearances": 2.315,
                "aerial_won": 0.6699,
                "total_shots": 0.4122,
                "rating": 6.7175,
                "minutes": 88.76,
                "total_pass": 42.661,
                "accurate_pass": 37.2705,
                "duels_won": 4.6068,
                "total_long_balls": 2.7895,
                "accurate_long_balls": 1.2509,
                "total_own_half_passes": 19.6063,
                "accurate_own_half_passes": 17.4698,
                "total_opp_half_passes": 23.0547,
                "accurate_opp_half_passes": 19.8006,
                "crosses_total": 2.6906,
                "crosses_accurate": 0.3463,
                "touches": 65.0935,
                "possession_lost": 10.9467,
                "dispossessed": 0.6187,
                "duels_lost": 4.0983,
                "aerial_lost": 1.0457,
                "total_contest": 0.6665,
                "won_contest": 0.5342,
                "ball_recovery": 3.8856,
                "challenges_lost": 1.6208,
                "fouls": 0.7026,
                "fouls_drawn": 0.9639,
                "blocks": 0.2511,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0345,
                "assist_rate": 0.0345,
                "expected_goals": 0.0117,
                "expected_assists": 0.0498,
                "shots_on_target": 0.0223,
                "big_chances_created": 0.0,
                "xgot": 0.0087,
                "ball_carries": 16.3898,
                "total_progression": 78.8982,
                "progressive_carries": 1.9575,
                "key_pass": 0.5533,
                "shots_off_target": 0.3899
              },
              "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.1617,
                "tackles": 2.238,
                "tackles_won": 1.6285,
                "clearances": 2.315,
                "aerial_won": 0.6699,
                "total_shots": 0.4122,
                "rating": 6.7175,
                "minutes": 88.76,
                "total_pass": 42.661,
                "accurate_pass": 37.2705,
                "duels_won": 4.6068,
                "total_long_balls": 2.7895,
                "accurate_long_balls": 1.2509,
                "total_own_half_passes": 19.6063,
                "accurate_own_half_passes": 17.4698,
                "total_opp_half_passes": 23.0547,
                "accurate_opp_half_passes": 19.8006,
                "crosses_total": 2.6906,
                "crosses_accurate": 0.3463,
                "touches": 65.0935,
                "possession_lost": 10.9467,
                "dispossessed": 0.6187,
                "duels_lost": 4.0983,
                "aerial_lost": 1.0457,
                "total_contest": 0.6665,
                "won_contest": 0.5342,
                "ball_recovery": 3.8856,
                "challenges_lost": 1.6208,
                "fouls": 0.7026,
                "fouls_drawn": 0.9639,
                "blocks": 0.2511,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0345,
                "assist_rate": 0.0345,
                "expected_goals": 0.0117,
                "expected_assists": 0.0498,
                "shots_on_target": 0.0223,
                "big_chances_created": 0.0,
                "xgot": 0.0087,
                "ball_carries": 16.3898,
                "total_progression": 78.8982,
                "progressive_carries": 1.9575,
                "key_pass": 0.5533,
                "shots_off_target": 0.3899,
                "opponent_faced": "David Larrubia",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "David Larrubia",
                  "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.1617,
                "tackles": 2.238,
                "tackles_won": 1.6285,
                "clearances": 2.315,
                "aerial_won": 0.6699,
                "total_shots": 0.4122,
                "rating": 6.7175,
                "minutes": 88.76,
                "total_pass": 42.661,
                "accurate_pass": 37.2705,
                "duels_won": 4.6068,
                "total_long_balls": 2.7895,
                "accurate_long_balls": 1.2509,
                "total_own_half_passes": 19.6063,
                "accurate_own_half_passes": 17.4698,
                "total_opp_half_passes": 23.0547,
                "accurate_opp_half_passes": 19.8006,
                "crosses_total": 2.6906,
                "crosses_accurate": 0.3463,
                "touches": 65.0935,
                "possession_lost": 10.9467,
                "dispossessed": 0.6187,
                "duels_lost": 4.0983,
                "aerial_lost": 1.0457,
                "total_contest": 0.6665,
                "won_contest": 0.5342,
                "ball_recovery": 3.8856,
                "challenges_lost": 1.6208,
                "fouls": 0.7026,
                "fouls_drawn": 0.9639,
                "blocks": 0.2511,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0345,
                "assists": 0,
                "expected_goals": 0.0117,
                "expected_assists": 0.0498,
                "shots_on_target": 0.0223,
                "big_chances_created": 0.0,
                "xgot": 0.0087,
                "ball_carries": 16.3898,
                "total_progression": 78.8982,
                "progressive_carries": 1.9575,
                "key_pass": 0.5533,
                "shots_off_target": 0.3899,
                "opponent_faced": "David Larrubia",
                "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.15 (squad xG sum 1.3311, xG scale 1.6175, xA scale 1.6175, team xA 1.53 = 0.71 x lambda)",
              "stats": {
                "interceptions": 1.1617,
                "tackles": 2.238,
                "tackles_won": 1.6285,
                "clearances": 2.315,
                "aerial_won": 0.6699,
                "total_shots": 0.4122,
                "rating": 6.7175,
                "minutes": 88.76,
                "total_pass": 42.661,
                "accurate_pass": 37.2705,
                "duels_won": 4.6068,
                "total_long_balls": 2.7895,
                "accurate_long_balls": 1.2509,
                "total_own_half_passes": 19.6063,
                "accurate_own_half_passes": 17.4698,
                "total_opp_half_passes": 23.0547,
                "accurate_opp_half_passes": 19.8006,
                "crosses_total": 2.6906,
                "crosses_accurate": 0.3463,
                "touches": 65.0935,
                "possession_lost": 10.9467,
                "dispossessed": 0.6187,
                "duels_lost": 4.0983,
                "aerial_lost": 1.0457,
                "total_contest": 0.6665,
                "won_contest": 0.5342,
                "ball_recovery": 3.8856,
                "challenges_lost": 1.6208,
                "fouls": 0.7026,
                "fouls_drawn": 0.9639,
                "blocks": 0.2511,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0345,
                "assists": 0,
                "expected_goals": 0.0189,
                "expected_assists": 0.0806,
                "shots_on_target": 0.0223,
                "big_chances_created": 0.0,
                "xgot": 0.0141,
                "ball_carries": 16.3898,
                "total_progression": 78.8982,
                "progressive_carries": 1.9575,
                "key_pass": 0.5533,
                "shots_off_target": 0.3899,
                "opponent_faced": "David Larrubia",
                "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.8104,
                "creation_factor": 0.8467
              },
              "params": {
                "team_lambda": 2.153,
                "squad_xg_sum": 1.3311,
                "squad_xa_sum": 0.9447,
                "team_expected_assists": 1.528,
                "team_xa_to_xg_ratio": 0.7097,
                "bench_appearance_weighted": true,
                "xg_scale": 1.6175,
                "xa_scale": 1.6175,
                "opponent_lambda": 0.831,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0117,
                  "after": 0.0189
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0498,
                  "after": 0.0806
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 16 by projected rating, fifa_overall 77.0)",
              "stats": {
                "interceptions": 1.1617,
                "tackles": 2.238,
                "tackles_won": 1.6285,
                "clearances": 2.315,
                "aerial_won": 0.6699,
                "total_shots": 0.4122,
                "rating": 6.7175,
                "minutes": 88.76,
                "total_pass": 42.661,
                "accurate_pass": 37.2705,
                "duels_won": 4.6068,
                "total_long_balls": 2.7895,
                "accurate_long_balls": 1.2509,
                "total_own_half_passes": 19.6063,
                "accurate_own_half_passes": 17.4698,
                "total_opp_half_passes": 23.0547,
                "accurate_opp_half_passes": 19.8006,
                "crosses_total": 2.6906,
                "crosses_accurate": 0.3463,
                "touches": 65.0935,
                "possession_lost": 10.9467,
                "dispossessed": 0.6187,
                "duels_lost": 4.0983,
                "aerial_lost": 1.0457,
                "total_contest": 0.6665,
                "won_contest": 0.5342,
                "ball_recovery": 3.8856,
                "challenges_lost": 1.6208,
                "fouls": 0.7026,
                "fouls_drawn": 0.9639,
                "blocks": 0.2511,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0345,
                "assists": 0,
                "expected_goals": 0.0189,
                "expected_assists": 0.0806,
                "shots_on_target": 0.0223,
                "big_chances_created": 0.0,
                "xgot": 0.0141,
                "ball_carries": 16.3898,
                "total_progression": 78.8982,
                "progressive_carries": 1.9575,
                "key_pass": 0.5533,
                "shots_off_target": 0.3899,
                "opponent_faced": "David Larrubia",
                "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.8104,
                "creation_factor": 0.8467,
                "fifa_overall": 77.0
              },
              "params": {
                "match_squad_rank": 16,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3196,
                "fifa_rank": 1565.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 1.1617,
                "tackles": 2.238,
                "tackles_won": 1.6285,
                "clearances": 2.315,
                "aerial_won": 0.6699,
                "total_shots": 0.4122,
                "rating": 6.7175,
                "minutes": 88.76,
                "total_pass": 42.661,
                "accurate_pass": 37.2705,
                "duels_won": 4.6068,
                "total_long_balls": 2.7895,
                "accurate_long_balls": 1.2509,
                "total_own_half_passes": 19.6063,
                "accurate_own_half_passes": 17.4698,
                "total_opp_half_passes": 23.0547,
                "accurate_opp_half_passes": 19.8006,
                "crosses_total": 2.6906,
                "crosses_accurate": 0.3463,
                "touches": 65.0935,
                "possession_lost": 10.9467,
                "dispossessed": 0.6187,
                "duels_lost": 4.0983,
                "aerial_lost": 1.0457,
                "total_contest": 0.6665,
                "won_contest": 0.5342,
                "ball_recovery": 3.8856,
                "challenges_lost": 1.6208,
                "fouls": 0.7026,
                "fouls_drawn": 0.9639,
                "blocks": 0.2511,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0345,
                "assists": 0,
                "expected_goals": 0.0189,
                "expected_assists": 0.0806,
                "shots_on_target": 0.0223,
                "big_chances_created": 0.0,
                "xgot": 0.0141,
                "ball_carries": 16.3898,
                "total_progression": 78.8982,
                "progressive_carries": 1.9575,
                "key_pass": 0.5533,
                "shots_off_target": 0.3899,
                "opponent_faced": "David Larrubia",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0187,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8104,
                "creation_factor": 0.8467,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0187,
                "goal_rate": 0.0,
                "scorer_weight": 0.0153,
                "squad_weight_total": 2.2809,
                "weight_share": 0.0067,
                "finishing_factor": 0.8104,
                "appearance_weight": 1.0,
                "weight_rank": 11,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.6492,
                    "already": 0,
                    "effective_weight": 0.6492,
                    "runner_up": "Troy Parrott",
                    "runner_up_effective_weight": 0.4679
                  },
                  {
                    "n": 2,
                    "player": "Troy Parrott",
                    "weight": 0.4679,
                    "already": 0,
                    "effective_weight": 0.4679,
                    "runner_up": "Antony",
                    "runner_up_effective_weight": 0.3665
                  }
                ]
              }
            },
            {
              "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.1617,
                "tackles": 2.238,
                "tackles_won": 1.6285,
                "clearances": 2.315,
                "aerial_won": 0.6699,
                "total_shots": 0.4122,
                "rating": 6.7175,
                "minutes": 88.76,
                "total_pass": 42.661,
                "accurate_pass": 37.2705,
                "duels_won": 4.6068,
                "total_long_balls": 2.7895,
                "accurate_long_balls": 1.2509,
                "total_own_half_passes": 19.6063,
                "accurate_own_half_passes": 17.4698,
                "total_opp_half_passes": 23.0547,
                "accurate_opp_half_passes": 19.8006,
                "crosses_total": 2.6906,
                "crosses_accurate": 0.3463,
                "touches": 65.0935,
                "possession_lost": 10.9467,
                "dispossessed": 0.6187,
                "duels_lost": 4.0983,
                "aerial_lost": 1.0457,
                "total_contest": 0.6665,
                "won_contest": 0.5342,
                "ball_recovery": 3.8856,
                "challenges_lost": 1.6208,
                "fouls": 0.7026,
                "fouls_drawn": 0.9639,
                "blocks": 0.2511,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0345,
                "assists": 0,
                "expected_goals": 0.0189,
                "expected_assists": 0.0806,
                "shots_on_target": 0.0223,
                "big_chances_created": 0.0,
                "xgot": 0.0141,
                "ball_carries": 16.3898,
                "total_progression": 78.8982,
                "progressive_carries": 1.9575,
                "key_pass": 0.5533,
                "shots_off_target": 0.3899,
                "opponent_faced": "David Larrubia",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0187,
                "projected_assists": 0,
                "assist_probability": 0.0774,
                "finishing_factor": 0.8104,
                "creation_factor": 0.8467,
                "fifa_overall": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0774,
                "assist_rate": 0.0345,
                "provider_weight": 0.0682,
                "squad_weight_total": 1.2992,
                "weight_share": 0.0525,
                "creation_factor": 0.8467,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.25,
                    "already": 0,
                    "effective_weight": 0.25,
                    "runner_up": "Pablo Fornals",
                    "runner_up_effective_weight": 0.2333
                  }
                ]
              }
            }
          ]
        },
        "Marc Roca": {
          "player_id": 847128,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 21,
          "height": 184,
          "market_value": 4200000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.1148,
            "assist_rate": 0.0636,
            "assists": 0,
            "expected_goals": 0.0657,
            "goal_rate": 0.0439,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 7.0172,
            "minutes": 86,
            "total_pass": 56,
            "accurate_pass": 52,
            "duels_won": 4,
            "total_long_balls": 4,
            "accurate_long_balls": 3,
            "total_own_half_passes": 27,
            "accurate_own_half_passes": 25,
            "total_opp_half_passes": 30,
            "accurate_opp_half_passes": 26,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 67,
            "possession_lost": 6.1698,
            "dispossessed": 0.5736,
            "duels_lost": 4,
            "aerial_won": 1,
            "aerial_lost": 0,
            "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.0285,
            "ball_carries": 19,
            "total_progression": 39,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "opponent_faced": "David Larrubia, Adrián Niño, Dani Lorenzo",
            "matchup_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
            "antagonist_source": "defensive_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0636,
            "projected_assists": 0,
            "assist_probability": 0.1085,
            "finishing_factor": 1.0364,
            "creation_factor": 0.9388,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16421079,
              "match_date": "2026-10-25",
              "home_team": "Celta Vigo",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0622,
                "expected_assists": 0.0635,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "total_pass": 80,
                "accurate_pass": 76,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 0,
                "interceptions": 1,
                "clearances": 0,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 9,
                "saves": 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": 16421054,
              "match_date": "2026-10-11",
              "home_team": "Real Betis",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0278,
                "total_shots": 0,
                "total_pass": 61,
                "accurate_pass": 53,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 2,
                "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": 16416313,
              "match_date": "2026-09-20",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 79,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1235,
                "total_shots": 0,
                "total_pass": 66,
                "accurate_pass": 61,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "duels_won": 1,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0158,
                "total_shots": 0,
                "total_pass": 46,
                "accurate_pass": 42,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 3,
                "duels_won": 5,
                "ball_recovery": 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": 16416315,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0102,
                "total_shots": 0,
                "total_pass": 56,
                "accurate_pass": 53,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 6,
                "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": 16416309,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 67,
                "rating": 7.4,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0338,
                "expected_assists": 0.5083,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 42,
                "accurate_pass": 40,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 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": 16416293,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0735,
                "expected_assists": 0.022,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 56,
                "accurate_pass": 51,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 3,
                "aerial_won": 2,
                "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": 14083710,
              "match_date": "2026-05-23",
              "home_team": "Real Betis",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0724,
                "expected_assists": 0.0167,
                "total_shots": 3,
                "shots_on_target": 2,
                "total_pass": 84,
                "accurate_pass": 78,
                "key_pass": 1,
                "tackles": 1,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083666,
              "match_date": "2026-05-17",
              "home_team": "FC Barcelona",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 10,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 1,
                "accurate_pass": 1,
                "clearances": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083583,
              "match_date": "2026-05-09",
              "home_team": "Real Sociedad",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0144,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 25,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 2,
                "duels_won": 1,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 1695,
            "combined_rank_score": 687.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 138.0,
            "sofascore_rating": 7.35,
            "sofascore_appearances": 2.0,
            "fifa_rank": 1237.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0172,
            "source_file": "data/player_rankings.csv",
            "player_name": "Marc Roca",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Chang-min Ahn",
                  "ranking": 1690
                },
                {
                  "player_name": "Borja Iglesias",
                  "ranking": 1691
                },
                {
                  "player_name": "Eli Dasa",
                  "ranking": 1692
                },
                {
                  "player_name": "Kamil Grabara",
                  "ranking": 1693
                },
                {
                  "player_name": "Alexander Bah",
                  "ranking": 1694
                }
              ],
              "lower": [
                {
                  "player_name": "Til Mavretič",
                  "ranking": 1696
                },
                {
                  "player_name": "Vicente Álvarez",
                  "ranking": 1697
                },
                {
                  "player_name": "Matías Cavalleri",
                  "ranking": 1698
                },
                {
                  "player_name": "Arthur Theate",
                  "ranking": 1699
                },
                {
                  "player_name": "Javokhir Kakhramonov",
                  "ranking": 1700
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.767,
          "history_matches": 36,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "creative_index",
              "touches_p90",
              "totalPass_p90",
              "keyPass_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "ballCarriesCount_p90",
              "creative_efficiency",
              "cross_accuracy",
              "cross_creative_contribution",
              "defensive_midfield_actions",
              "press_vulnerability",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "keyPass",
              "expectedAssists",
              "goalAssist",
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "rating"
            ],
            "history_matches": 36,
            "data_confidence": 0.767,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9981,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "minutes": 156.0,
              "goals_per90": 0.0,
              "assists_per90": 0.5882352941176471,
              "shots_per90": 1.73,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.1133
            },
            "rationale": "XGBoost regressor (M_service) evaluated 36 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Real Betis, rel: 0.11, gls/90: 0.0, ast/90: 0.5882352941176471)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.8235,
                "expected_assists": 0.0712,
                "assists": 0.0592,
                "assist_rate": 0.0592,
                "expected_goals": 0.0407,
                "goals": 0.0444,
                "goal_rate": 0.0444,
                "shots_on_target": 0.1386,
                "total_shots": 0.5708,
                "rating": 7.0172,
                "minutes": 85.58,
                "total_pass": 56.5183,
                "accurate_pass": 51.8112,
                "duels_won": 3.5841,
                "total_long_balls": 3.7395,
                "accurate_long_balls": 2.7425,
                "total_own_half_passes": 26.949,
                "accurate_own_half_passes": 25.506,
                "total_opp_half_passes": 29.5694,
                "accurate_opp_half_passes": 26.3053,
                "crosses_total": 0.2647,
                "crosses_accurate": 0.0601,
                "touches": 66.9084,
                "possession_lost": 6.1815,
                "dispossessed": 0.5747,
                "duels_lost": 3.6349,
                "aerial_won": 0.6175,
                "aerial_lost": 0.3627,
                "interceptions": 1.1234,
                "tackles_won": 0.8822,
                "tackles": 1.8854,
                "clearances": 1.228,
                "total_contest": 0.3539,
                "won_contest": 0.3271,
                "challenges_lost": 0.8514,
                "fouls": 1.8243,
                "fouls_drawn": 0.7541,
                "blocks": 0.4523,
                "big_chances_created": 0.1637,
                "big_chances_missed": 0.0157,
                "xgot": 0.0176,
                "ball_carries": 18.7817,
                "total_progression": 38.6713,
                "progressive_carries": 0.0542,
                "shots_off_target": 0.4322
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-31T10:30:21.314387+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 902,
                    "rows": 24945
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-25",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1504,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1279,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 79.0,
                    "is_starting": true,
                    "weight": 0.1087,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0924,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0785,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "FC Barcelona",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.041,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.5951,
                  "expectedGoals": 0.0276,
                  "creative_index": 0.4505,
                  "expectedAssists": 0.0762,
                  "keyPass": 1.0119
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.8235074877738953,
                    "model_output": 0.8235,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1583
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1351
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0716
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0542
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.028
                      }
                    ],
                    "decomposition": {
                      "base": 0.8899,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1346
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.1289
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0462
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0304
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0223
                        }
                      ],
                      "others": 0.0268,
                      "total": 0.8235,
                      "log_link": true,
                      "margin_base": -0.11669,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.140823
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.134475
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.052914
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.036441
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.027651
                        }
                      ],
                      "others_margin": 0.033167
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.07117893546819687,
                    "model_output": 0.0712,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1213
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1076
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0864
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0618
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0476
                      }
                    ],
                    "decomposition": {
                      "base": 0.085,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.0162
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0106
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0084
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0065
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.006
                        }
                      ],
                      "others": -0.0041,
                      "total": 0.0712,
                      "log_link": true,
                      "margin_base": -2.465163,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.211571
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.143489
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.100999
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.076746
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.076162
                        }
                      ],
                      "others_margin": -0.057404
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.059237897396087646,
                    "model_output": 0.0592,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0508
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0336
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0324
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0087
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0083
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0078
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.0074
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0055
                        }
                      ],
                      "others": -0.0196,
                      "total": 0.0592,
                      "log_link": true,
                      "margin_base": -2.463734,
                      "item_margins": [
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.107405
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.102788
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.096861
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.091827
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.067278
                        }
                      ],
                      "others_margin": -0.285531
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.040690988302230835,
                    "model_output": 0.0407,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1242
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0778
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0743
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0437
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0241
                      }
                    ],
                    "decomposition": {
                      "base": 0.0911,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0287
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.009
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0066
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0054
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0039
                        }
                      ],
                      "others": -0.0148,
                      "total": 0.0407,
                      "log_link": true,
                      "margin_base": -2.395469,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.378084
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.134671
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.096337
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.086453
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.0682
                        }
                      ],
                      "others_margin": -0.311877
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.044392190873622894,
                    "model_output": 0.0444,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0846
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0655
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0399
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0358
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.0947,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0161
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0133
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.01
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0062
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0042
                        }
                      ],
                      "others": -0.0129,
                      "total": 0.0444,
                      "log_link": true,
                      "margin_base": -2.357331,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.186143
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.185665
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.166583
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.107105
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.070681
                        }
                      ],
                      "others_margin": -0.255396
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.1385955810546875,
                    "model_output": 0.1386,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1146
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0928
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0753
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0297
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.3177,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0731
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0336
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0274
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.025
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0224
                        }
                      ],
                      "others": -0.0476,
                      "total": 0.1386,
                      "log_link": true,
                      "margin_base": -1.146731,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.261479
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.147716
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.139015
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.127698
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.113734
                        }
                      ],
                      "others_margin": -0.295218
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.570775032043457,
                    "model_output": 0.5708,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1488
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1213
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0446
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0276
                      }
                    ],
                    "decomposition": {
                      "base": 0.9817,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2533
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1177
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0468
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0416
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0336
                        }
                      ],
                      "others": -0.1533,
                      "total": 0.5708,
                      "log_link": false,
                      "margin_base": 0.98173,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.253281
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.117727
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.046796
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.041631
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.033624
                        }
                      ],
                      "others_margin": -0.15335
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.017166614532471,
                    "model_output": 7.0172,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.102
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0743
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0503
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0382
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.856,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0898
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0338
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0238
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0136
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0128
                        }
                      ],
                      "others": 0.013,
                      "total": 7.0172,
                      "log_link": false,
                      "margin_base": 6.856008,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.089771
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.033845
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.023756
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.013627
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.012815
                        }
                      ],
                      "others_margin": 0.012976
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 36,
                  "role_matches": 30,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9981, quality 0.452)",
              "stats": {
                "key_pass": 0.8219,
                "expected_assists": 0.071,
                "assists": 0.0591,
                "assist_rate": 0.0591,
                "expected_goals": 0.0406,
                "goals": 0.0443,
                "goal_rate": 0.0443,
                "shots_on_target": 0.1383,
                "total_shots": 0.5697,
                "rating": 7.0172,
                "minutes": 85.58,
                "total_pass": 56.4109,
                "accurate_pass": 51.7128,
                "duels_won": 3.5773,
                "total_long_balls": 3.7324,
                "accurate_long_balls": 2.7373,
                "total_own_half_passes": 26.8978,
                "accurate_own_half_passes": 25.4575,
                "total_opp_half_passes": 29.5132,
                "accurate_opp_half_passes": 26.2553,
                "crosses_total": 0.2642,
                "crosses_accurate": 0.06,
                "touches": 66.7813,
                "possession_lost": 6.1698,
                "dispossessed": 0.5736,
                "duels_lost": 3.628,
                "aerial_won": 0.6163,
                "aerial_lost": 0.362,
                "interceptions": 1.1213,
                "tackles_won": 0.8805,
                "tackles": 1.8818,
                "clearances": 1.2257,
                "total_contest": 0.3532,
                "won_contest": 0.3265,
                "challenges_lost": 0.8498,
                "fouls": 1.8208,
                "fouls_drawn": 0.7527,
                "blocks": 0.4514,
                "big_chances_created": 0.1634,
                "big_chances_missed": 0.0157,
                "xgot": 0.0176,
                "ball_carries": 18.746,
                "total_progression": 38.5978,
                "progressive_carries": 0.0541,
                "shots_off_target": 0.4314
              },
              "params": {
                "market_value_eur": 4200000,
                "quality_factor": 0.4523,
                "boost_factor": 0.9981,
                "reference_quality": 0.505,
                "history_matches": 36,
                "history_shrink": 0.122,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0090)",
              "stats": {
                "key_pass": 0.8219,
                "expected_assists": 0.071,
                "assists": 0.0636,
                "assist_rate": 0.0636,
                "expected_goals": 0.0406,
                "goals": 0.0439,
                "goal_rate": 0.0439,
                "shots_on_target": 0.1371,
                "total_shots": 0.5794,
                "rating": 7.0172,
                "minutes": 85.58,
                "total_pass": 56.4109,
                "accurate_pass": 51.7128,
                "duels_won": 3.5773,
                "total_long_balls": 3.7324,
                "accurate_long_balls": 2.7373,
                "total_own_half_passes": 26.8978,
                "accurate_own_half_passes": 25.4575,
                "total_opp_half_passes": 29.5132,
                "accurate_opp_half_passes": 26.2553,
                "crosses_total": 0.2618,
                "crosses_accurate": 0.06,
                "touches": 66.7813,
                "possession_lost": 6.1698,
                "dispossessed": 0.5736,
                "duels_lost": 3.628,
                "aerial_won": 0.6163,
                "aerial_lost": 0.362,
                "interceptions": 1.1213,
                "tackles_won": 0.8877,
                "tackles": 1.8818,
                "clearances": 1.2257,
                "total_contest": 0.3532,
                "won_contest": 0.3265,
                "challenges_lost": 0.8498,
                "fouls": 1.8145,
                "fouls_drawn": 0.756,
                "blocks": 0.4514,
                "big_chances_created": 0.1634,
                "big_chances_missed": 0.0157,
                "xgot": 0.0176,
                "ball_carries": 18.746,
                "total_progression": 38.5978,
                "progressive_carries": 0.0541,
                "shots_off_target": 0.4314
              },
              "params": {
                "blend_weight": 0.009,
                "history_matches": 36,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9509,
                "prior_reliability": 0.1133,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 0.5697,
                  "after": 0.5794
                },
                {
                  "stat": "wonTackle",
                  "before": 0.8805,
                  "after": 0.8877
                },
                {
                  "stat": "fouls",
                  "before": 1.8208,
                  "after": 1.8145
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.8219,
                "expected_assists": 0.071,
                "assists": 0.0636,
                "assist_rate": 0.0636,
                "expected_goals": 0.0406,
                "goals": 0.0439,
                "goal_rate": 0.0439,
                "shots_on_target": 0.1371,
                "total_shots": 0.5794,
                "rating": 7.0172,
                "minutes": 85.58,
                "total_pass": 56.4109,
                "accurate_pass": 51.7128,
                "duels_won": 3.5773,
                "total_long_balls": 3.7324,
                "accurate_long_balls": 2.7373,
                "total_own_half_passes": 26.8978,
                "accurate_own_half_passes": 25.4575,
                "total_opp_half_passes": 29.5132,
                "accurate_opp_half_passes": 26.2553,
                "crosses_total": 0.2618,
                "crosses_accurate": 0.06,
                "touches": 66.7813,
                "possession_lost": 6.1698,
                "dispossessed": 0.5736,
                "duels_lost": 3.628,
                "aerial_won": 0.6163,
                "aerial_lost": 0.362,
                "interceptions": 1.1213,
                "tackles_won": 0.8877,
                "tackles": 1.8818,
                "clearances": 1.2257,
                "total_contest": 0.3532,
                "won_contest": 0.3265,
                "challenges_lost": 0.8498,
                "fouls": 1.8145,
                "fouls_drawn": 0.756,
                "blocks": 0.4514,
                "big_chances_created": 0.1634,
                "big_chances_missed": 0.0157,
                "xgot": 0.0176,
                "ball_carries": 18.746,
                "total_progression": 38.5978,
                "progressive_carries": 0.0541,
                "shots_off_target": 0.4314
              },
              "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.8219,
                "expected_assists": 0.071,
                "assists": 0.0636,
                "assist_rate": 0.0636,
                "expected_goals": 0.0406,
                "goals": 0.0439,
                "goal_rate": 0.0439,
                "shots_on_target": 0.1371,
                "total_shots": 0.5794,
                "rating": 7.0172,
                "minutes": 85.58,
                "total_pass": 56.4109,
                "accurate_pass": 51.7128,
                "duels_won": 3.5773,
                "total_long_balls": 3.7324,
                "accurate_long_balls": 2.7373,
                "total_own_half_passes": 26.8978,
                "accurate_own_half_passes": 25.4575,
                "total_opp_half_passes": 29.5132,
                "accurate_opp_half_passes": 26.2553,
                "crosses_total": 0.2618,
                "crosses_accurate": 0.06,
                "touches": 66.7813,
                "possession_lost": 6.1698,
                "dispossessed": 0.5736,
                "duels_lost": 3.628,
                "aerial_won": 0.6163,
                "aerial_lost": 0.362,
                "interceptions": 1.1213,
                "tackles_won": 0.8877,
                "tackles": 1.8818,
                "clearances": 1.2257,
                "total_contest": 0.3532,
                "won_contest": 0.3265,
                "challenges_lost": 0.8498,
                "fouls": 1.8145,
                "fouls_drawn": 0.756,
                "blocks": 0.4514,
                "big_chances_created": 0.1634,
                "big_chances_missed": 0.0157,
                "xgot": 0.0176,
                "ball_carries": 18.746,
                "total_progression": 38.5978,
                "progressive_carries": 0.0541,
                "shots_off_target": 0.4314,
                "opponent_faced": "David Larrubia, Adrián Niño, Dani Lorenzo",
                "matchup_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
                "antagonist_source": "defensive_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "David Larrubia, Adrián Niño, Dani Lorenzo",
                  "matchup_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.8219,
                "expected_assists": 0.071,
                "assist_rate": 0.0636,
                "assists": 0,
                "expected_goals": 0.0406,
                "goal_rate": 0.0439,
                "goals": 0,
                "shots_on_target": 0.1371,
                "total_shots": 0.5794,
                "rating": 7.0172,
                "minutes": 85.58,
                "total_pass": 56.4109,
                "accurate_pass": 51.7128,
                "duels_won": 3.5773,
                "total_long_balls": 3.7324,
                "accurate_long_balls": 2.7373,
                "total_own_half_passes": 26.8978,
                "accurate_own_half_passes": 25.4575,
                "total_opp_half_passes": 29.5132,
                "accurate_opp_half_passes": 26.2553,
                "crosses_total": 0.2618,
                "crosses_accurate": 0.06,
                "touches": 66.7813,
                "possession_lost": 6.1698,
                "dispossessed": 0.5736,
                "duels_lost": 3.628,
                "aerial_won": 0.6163,
                "aerial_lost": 0.362,
                "interceptions": 1.1213,
                "tackles_won": 0.8877,
                "tackles": 1.8818,
                "clearances": 1.2257,
                "total_contest": 0.3532,
                "won_contest": 0.3265,
                "challenges_lost": 0.8498,
                "fouls": 1.8145,
                "fouls_drawn": 0.756,
                "blocks": 0.4514,
                "big_chances_created": 0.1634,
                "big_chances_missed": 0.0157,
                "xgot": 0.0176,
                "ball_carries": 18.746,
                "total_progression": 38.5978,
                "progressive_carries": 0.0541,
                "shots_off_target": 0.4314,
                "opponent_faced": "David Larrubia, Adrián Niño, Dani Lorenzo",
                "matchup_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.15 (squad xG sum 1.3311, xG scale 1.6175, xA scale 1.6175, team xA 1.53 = 0.71 x lambda)",
              "stats": {
                "key_pass": 0.8219,
                "expected_assists": 0.1148,
                "assist_rate": 0.0636,
                "assists": 0,
                "expected_goals": 0.0657,
                "goal_rate": 0.0439,
                "goals": 0,
                "shots_on_target": 0.1371,
                "total_shots": 0.5794,
                "rating": 7.0172,
                "minutes": 85.58,
                "total_pass": 56.4109,
                "accurate_pass": 51.7128,
                "duels_won": 3.5773,
                "total_long_balls": 3.7324,
                "accurate_long_balls": 2.7373,
                "total_own_half_passes": 26.8978,
                "accurate_own_half_passes": 25.4575,
                "total_opp_half_passes": 29.5132,
                "accurate_opp_half_passes": 26.2553,
                "crosses_total": 0.2618,
                "crosses_accurate": 0.06,
                "touches": 66.7813,
                "possession_lost": 6.1698,
                "dispossessed": 0.5736,
                "duels_lost": 3.628,
                "aerial_won": 0.6163,
                "aerial_lost": 0.362,
                "interceptions": 1.1213,
                "tackles_won": 0.8877,
                "tackles": 1.8818,
                "clearances": 1.2257,
                "total_contest": 0.3532,
                "won_contest": 0.3265,
                "challenges_lost": 0.8498,
                "fouls": 1.8145,
                "fouls_drawn": 0.756,
                "blocks": 0.4514,
                "big_chances_created": 0.1634,
                "big_chances_missed": 0.0157,
                "xgot": 0.0285,
                "ball_carries": 18.746,
                "total_progression": 38.5978,
                "progressive_carries": 0.0541,
                "shots_off_target": 0.4314,
                "opponent_faced": "David Larrubia, Adrián Niño, Dani Lorenzo",
                "matchup_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0364,
                "creation_factor": 0.9388
              },
              "params": {
                "team_lambda": 2.153,
                "squad_xg_sum": 1.3311,
                "squad_xa_sum": 0.9447,
                "team_expected_assists": 1.528,
                "team_xa_to_xg_ratio": 0.7097,
                "bench_appearance_weighted": true,
                "xg_scale": 1.6175,
                "xa_scale": 1.6175,
                "opponent_lambda": 0.831,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0406,
                  "after": 0.0657
                },
                {
                  "stat": "expected_assists",
                  "before": 0.071,
                  "after": 0.1148
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 6 by projected rating, fifa_overall 78.0)",
              "stats": {
                "key_pass": 0.8219,
                "expected_assists": 0.1148,
                "assist_rate": 0.0636,
                "assists": 0,
                "expected_goals": 0.0657,
                "goal_rate": 0.0439,
                "goals": 0,
                "shots_on_target": 0.1371,
                "total_shots": 0.5794,
                "rating": 7.0172,
                "minutes": 85.58,
                "total_pass": 56.4109,
                "accurate_pass": 51.7128,
                "duels_won": 3.5773,
                "total_long_balls": 3.7324,
                "accurate_long_balls": 2.7373,
                "total_own_half_passes": 26.8978,
                "accurate_own_half_passes": 25.4575,
                "total_opp_half_passes": 29.5132,
                "accurate_opp_half_passes": 26.2553,
                "crosses_total": 0.2618,
                "crosses_accurate": 0.06,
                "touches": 66.7813,
                "possession_lost": 6.1698,
                "dispossessed": 0.5736,
                "duels_lost": 3.628,
                "aerial_won": 0.6163,
                "aerial_lost": 0.362,
                "interceptions": 1.1213,
                "tackles_won": 0.8877,
                "tackles": 1.8818,
                "clearances": 1.2257,
                "total_contest": 0.3532,
                "won_contest": 0.3265,
                "challenges_lost": 0.8498,
                "fouls": 1.8145,
                "fouls_drawn": 0.756,
                "blocks": 0.4514,
                "big_chances_created": 0.1634,
                "big_chances_missed": 0.0157,
                "xgot": 0.0285,
                "ball_carries": 18.746,
                "total_progression": 38.5978,
                "progressive_carries": 0.0541,
                "shots_off_target": 0.4314,
                "opponent_faced": "David Larrubia, Adrián Niño, Dani Lorenzo",
                "matchup_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0364,
                "creation_factor": 0.9388,
                "fifa_overall": 78.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": 1695,
                "fifa_rank": 1237.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.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.8219,
                "expected_assists": 0.1148,
                "assist_rate": 0.0636,
                "assists": 0,
                "expected_goals": 0.0657,
                "goal_rate": 0.0439,
                "goals": 0,
                "shots_on_target": 0.1371,
                "total_shots": 0.5794,
                "rating": 7.0172,
                "minutes": 85.58,
                "total_pass": 56.4109,
                "accurate_pass": 51.7128,
                "duels_won": 3.5773,
                "total_long_balls": 3.7324,
                "accurate_long_balls": 2.7373,
                "total_own_half_passes": 26.8978,
                "accurate_own_half_passes": 25.4575,
                "total_opp_half_passes": 29.5132,
                "accurate_opp_half_passes": 26.2553,
                "crosses_total": 0.2618,
                "crosses_accurate": 0.06,
                "touches": 66.7813,
                "possession_lost": 6.1698,
                "dispossessed": 0.5736,
                "duels_lost": 3.628,
                "aerial_won": 0.6163,
                "aerial_lost": 0.362,
                "interceptions": 1.1213,
                "tackles_won": 0.8877,
                "tackles": 1.8818,
                "clearances": 1.2257,
                "total_contest": 0.3532,
                "won_contest": 0.3265,
                "challenges_lost": 0.8498,
                "fouls": 1.8145,
                "fouls_drawn": 0.756,
                "blocks": 0.4514,
                "big_chances_created": 0.1634,
                "big_chances_missed": 0.0157,
                "xgot": 0.0285,
                "ball_carries": 18.746,
                "total_progression": 38.5978,
                "progressive_carries": 0.0541,
                "shots_off_target": 0.4314,
                "opponent_faced": "David Larrubia, Adrián Niño, Dani Lorenzo",
                "matchup_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0636,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0364,
                "creation_factor": 0.9388,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0636,
                "goal_rate": 0.0439,
                "scorer_weight": 0.0681,
                "squad_weight_total": 2.2809,
                "weight_share": 0.0299,
                "finishing_factor": 1.0364,
                "appearance_weight": 1.0,
                "weight_rank": 8,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.6492,
                    "already": 0,
                    "effective_weight": 0.6492,
                    "runner_up": "Troy Parrott",
                    "runner_up_effective_weight": 0.4679
                  },
                  {
                    "n": 2,
                    "player": "Troy Parrott",
                    "weight": 0.4679,
                    "already": 0,
                    "effective_weight": 0.4679,
                    "runner_up": "Antony",
                    "runner_up_effective_weight": 0.3665
                  }
                ]
              }
            },
            {
              "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.8219,
                "expected_assists": 0.1148,
                "assist_rate": 0.0636,
                "assists": 0,
                "expected_goals": 0.0657,
                "goal_rate": 0.0439,
                "goals": 0,
                "shots_on_target": 0.1371,
                "total_shots": 0.5794,
                "rating": 7.0172,
                "minutes": 85.58,
                "total_pass": 56.4109,
                "accurate_pass": 51.7128,
                "duels_won": 3.5773,
                "total_long_balls": 3.7324,
                "accurate_long_balls": 2.7373,
                "total_own_half_passes": 26.8978,
                "accurate_own_half_passes": 25.4575,
                "total_opp_half_passes": 29.5132,
                "accurate_opp_half_passes": 26.2553,
                "crosses_total": 0.2618,
                "crosses_accurate": 0.06,
                "touches": 66.7813,
                "possession_lost": 6.1698,
                "dispossessed": 0.5736,
                "duels_lost": 3.628,
                "aerial_won": 0.6163,
                "aerial_lost": 0.362,
                "interceptions": 1.1213,
                "tackles_won": 0.8877,
                "tackles": 1.8818,
                "clearances": 1.2257,
                "total_contest": 0.3532,
                "won_contest": 0.3265,
                "challenges_lost": 0.8498,
                "fouls": 1.8145,
                "fouls_drawn": 0.756,
                "blocks": 0.4514,
                "big_chances_created": 0.1634,
                "big_chances_missed": 0.0157,
                "xgot": 0.0285,
                "ball_carries": 18.746,
                "total_progression": 38.5978,
                "progressive_carries": 0.0541,
                "shots_off_target": 0.4314,
                "opponent_faced": "David Larrubia, Adrián Niño, Dani Lorenzo",
                "matchup_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
                "antagonist_source": "defensive_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0636,
                "projected_assists": 0,
                "assist_probability": 0.1085,
                "finishing_factor": 1.0364,
                "creation_factor": 0.9388,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.1085,
                "assist_rate": 0.0636,
                "provider_weight": 0.1078,
                "squad_weight_total": 1.2992,
                "weight_share": 0.083,
                "creation_factor": 0.9388,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.25,
                    "already": 0,
                    "effective_weight": 0.25,
                    "runner_up": "Pablo Fornals",
                    "runner_up_effective_weight": 0.2333
                  }
                ]
              }
            }
          ]
        },
        "Pablo Fornals": {
          "player_id": 816763,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 8,
          "height": 178,
          "market_value": 8400000,
          "stats": {
            "key_pass": 2,
            "expected_assists": 0.2916,
            "assist_rate": 0.1056,
            "assists": 0,
            "expected_goals": 0.1203,
            "goal_rate": 0.0943,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 7.0893,
            "minutes": 80,
            "total_pass": 51,
            "accurate_pass": 45,
            "duels_won": 2,
            "total_long_balls": 3,
            "accurate_long_balls": 2,
            "total_own_half_passes": 19,
            "accurate_own_half_passes": 17,
            "total_opp_half_passes": 32,
            "accurate_opp_half_passes": 28,
            "crosses_total": 3,
            "crosses_accurate": 1,
            "touches": 63,
            "possession_lost": 10.2428,
            "dispossessed": 0.4278,
            "duels_lost": 3,
            "aerial_won": 0,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 0,
            "total_contest": 1,
            "won_contest": 1,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0857,
            "ball_carries": 20,
            "total_progression": 42,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "opponent_faced": "Carlos Dotor",
            "matchup_zone": "Midfield lane",
            "antagonist_source": "midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.1133,
            "projected_assists": 0,
            "assist_probability": 0.2529,
            "finishing_factor": 1.16,
            "creation_factor": 0.8,
            "fifa_overall": 85.0
          },
          "latest_10_games": [
            {
              "match_id": 16421079,
              "match_date": "2026-10-25",
              "home_team": "Celta Vigo",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 29,
                "rating": 6.8,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0379,
                "expected_assists": 0.0374,
                "total_shots": 2,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "total_pass": 42,
                "accurate_pass": 37,
                "key_pass": 1,
                "tackles": 0,
                "tackles_won": 0,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 0,
                "duels_won": 1,
                "ball_recovery": 4,
                "saves": 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": 16421068,
              "match_date": "2026-10-17",
              "home_team": "Real Betis",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 70,
                "rating": 7.2,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.6461,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 17,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 2,
                "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": 16421054,
              "match_date": "2026-10-11",
              "home_team": "Real Betis",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 81,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0321,
                "expected_assists": 0.0861,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 65,
                "accurate_pass": 62,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416313,
              "match_date": "2026-09-20",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 79,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0927,
                "total_shots": 0,
                "total_pass": 62,
                "accurate_pass": 53,
                "key_pass": 1,
                "duels_won": 3,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 84,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1542,
                "expected_assists": 0.0756,
                "total_shots": 3,
                "total_pass": 40,
                "accurate_pass": 34,
                "key_pass": 1,
                "interceptions": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 8
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416315,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0843,
                "total_shots": 0,
                "total_pass": 55,
                "accurate_pass": 48,
                "key_pass": 3,
                "tackles": 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": 16416309,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 33,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0269,
                "expected_assists": 0.0194,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 35,
                "accurate_pass": 28,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421049,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 79,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.118,
                "expected_assists": 0.0698,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 76,
                "accurate_pass": 65,
                "key_pass": 3,
                "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": 16416293,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1081,
                "expected_assists": 0.2178,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 56,
                "accurate_pass": 48,
                "key_pass": 4,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 4,
                "duels_won": 1,
                "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": 14083710,
              "match_date": "2026-05-23",
              "home_team": "Real Betis",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 80,
                "rating": 7.5,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1902,
                "expected_assists": 0.0529,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 77,
                "accurate_pass": 69,
                "key_pass": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 379,
            "combined_rank_score": 196.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 243.0,
            "sofascore_rating": 7.1243,
            "sofascore_appearances": 37.0,
            "fifa_rank": 149.0,
            "fifa_overall": 85.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0893,
            "source_file": "data/player_rankings.csv",
            "player_name": "Pablo Fornals",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Dilshod Komilov",
                  "ranking": 374
                },
                {
                  "player_name": "Agustín Rossi",
                  "ranking": 375
                },
                {
                  "player_name": "Bo-sang Yun",
                  "ranking": 376
                },
                {
                  "player_name": "David Alaba",
                  "ranking": 377
                },
                {
                  "player_name": "Felix Nmecha",
                  "ranking": 378
                }
              ],
              "lower": [
                {
                  "player_name": "Bashar Resan",
                  "ranking": 380
                },
                {
                  "player_name": "Casemiro",
                  "ranking": 381
                },
                {
                  "player_name": "Waldemar Anton",
                  "ranking": 382
                },
                {
                  "player_name": "Alfie McCalmont",
                  "ranking": 383
                },
                {
                  "player_name": "Jurriën Timber",
                  "ranking": 384
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.772,
          "history_matches": 46,
          "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": 46,
            "data_confidence": 0.772,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 202.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 2.67,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.1467
            },
            "rationale": "XGBoost regressor (M_service) evaluated 46 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Real Betis, rel: 0.15, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 1.5092,
                "expected_assists": 0.1803,
                "assists": 0.1066,
                "assist_rate": 0.1066,
                "expected_goals": 0.0744,
                "goals": 0.0952,
                "goal_rate": 0.0952,
                "shots_on_target": 0.2827,
                "total_shots": 1.1304,
                "rating": 7.0893,
                "minutes": 79.56,
                "total_pass": 51.0532,
                "accurate_pass": 44.8146,
                "duels_won": 2.4797,
                "total_long_balls": 3.0945,
                "accurate_long_balls": 1.575,
                "total_own_half_passes": 18.6475,
                "accurate_own_half_passes": 17.2043,
                "total_opp_half_passes": 32.4057,
                "accurate_opp_half_passes": 27.6104,
                "crosses_total": 2.7633,
                "crosses_accurate": 0.8397,
                "touches": 63.0475,
                "possession_lost": 10.2428,
                "dispossessed": 0.4278,
                "duels_lost": 3.2223,
                "aerial_won": 0.3125,
                "aerial_lost": 0.8737,
                "interceptions": 0.6804,
                "tackles_won": 0.479,
                "tackles": 0.6913,
                "clearances": 0.2372,
                "total_contest": 1.162,
                "won_contest": 0.6764,
                "challenges_lost": 0.7007,
                "fouls": 0.9261,
                "fouls_drawn": 0.8037,
                "blocks": 0.0161,
                "big_chances_created": 0.4285,
                "big_chances_missed": 0.0147,
                "xgot": 0.053,
                "ball_carries": 20.0253,
                "total_progression": 41.755,
                "progressive_carries": 0.6279,
                "shots_off_target": 0.8477
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-31T10:30:21.314387+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 902,
                    "rows": 24945
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-25",
                    "opponent": "Celta Vigo",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.1501,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-10-17",
                    "opponent": "FC Barcelona",
                    "minutes": 70.0,
                    "is_starting": true,
                    "weight": 0.1276,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Osasuna",
                    "minutes": 81.0,
                    "is_starting": true,
                    "weight": 0.1084,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 79.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Villarreal",
                    "minutes": 84.0,
                    "is_starting": true,
                    "weight": 0.0783,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.0566,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 79.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Levante UD",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.5
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalShots": 1.1724,
                  "expectedGoals": 0.0489,
                  "creative_index": 0.7566,
                  "expectedAssists": 0.1569,
                  "keyPass": 1.656
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 1.5092493295669556,
                    "model_output": 1.5092,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1583
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1351
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0716
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0542
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.028
                      }
                    ],
                    "decomposition": {
                      "base": 0.8899,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.139
                        },
                        {
                          "name": "creative_index",
                          "contribution": 0.1322
                        },
                        {
                          "name": "cross_accuracy",
                          "contribution": -0.1217
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.1024
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0754
                        }
                      ],
                      "others": 0.292,
                      "total": 1.5092,
                      "log_link": true,
                      "margin_base": -0.11669,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.14517
                        },
                        {
                          "name": "creative_index",
                          "margin": 0.120852
                        },
                        {
                          "name": "cross_accuracy",
                          "margin": -0.110771
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.093926
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.063991
                        }
                      ],
                      "others_margin": 0.215135
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.18033912777900696,
                    "model_output": 0.1803,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1213
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1076
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0864
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0618
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0476
                      }
                    ],
                    "decomposition": {
                      "base": 0.085,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0133
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0152
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0164
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0071
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0061
                        }
                      ],
                      "others": 0.0372,
                      "total": 0.1803,
                      "log_link": true,
                      "margin_base": -2.465163,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": 0.14533
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.144215
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.135068
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.053509
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.04377
                        }
                      ],
                      "others_margin": 0.230355
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.10663032531738281,
                    "model_output": 0.1066,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0508
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0336
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0324
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": 0.0103
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0083
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.006
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0053
                        },
                        {
                          "name": "totalCross",
                          "contribution": 0.0051
                        }
                      ],
                      "others": 0.0091,
                      "total": 0.1066,
                      "log_link": true,
                      "margin_base": -2.463734,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": 0.114146
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.083098
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.059193
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.056013
                        },
                        {
                          "name": "totalCross",
                          "margin": 0.053591
                        }
                      ],
                      "others_margin": 0.089718
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.0744258388876915,
                    "model_output": 0.0744,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1242
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0778
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0743
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0437
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0241
                      }
                    ],
                    "decomposition": {
                      "base": 0.0911,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0141
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0102
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0075
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0052
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0033
                        }
                      ],
                      "others": -0.0118,
                      "total": 0.0744,
                      "log_link": true,
                      "margin_base": -2.395469,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.16848
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.124413
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.08206
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.057001
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.038072
                        }
                      ],
                      "others_margin": -0.145404
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.09516232460737228,
                    "model_output": 0.0952,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0846
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0655
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0399
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0358
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.0947,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0163
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0119
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0095
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0059
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0042
                        }
                      ],
                      "others": -0.0081,
                      "total": 0.0952,
                      "log_link": true,
                      "margin_base": -2.357331,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.159122
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.101823
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.080803
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.053233
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.03977
                        }
                      ],
                      "others_margin": -0.081981
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.28267112374305725,
                    "model_output": 0.2827,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1146
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0928
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0753
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0297
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.3177,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0626
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0401
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0363
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0337
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0149
                        }
                      ],
                      "others": -0.0452,
                      "total": 0.2827,
                      "log_link": true,
                      "margin_base": -1.146731,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.179983
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.111463
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.101292
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.093878
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.04449
                        }
                      ],
                      "others_margin": -0.148184
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.130327820777893,
                    "model_output": 1.1303,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1488
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1213
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0446
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0276
                      }
                    ],
                    "decomposition": {
                      "base": 0.9817,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.141
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0913
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0274
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0202
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0189
                        }
                      ],
                      "others": -0.0576,
                      "total": 1.1303,
                      "log_link": false,
                      "margin_base": 0.98173,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.140955
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.091329
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.02736
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.020238
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.018877
                        }
                      ],
                      "others_margin": -0.057687
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.0892534255981445,
                    "model_output": 7.0893,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.102
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0743
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0503
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0382
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.856,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.1015
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0371
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0242
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0203
                        },
                        {
                          "name": "creative_efficiency",
                          "contribution": 0.0187
                        }
                      ],
                      "others": 0.0315,
                      "total": 7.0893,
                      "log_link": false,
                      "margin_base": 6.856008,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.101478
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.037124
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.024223
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.020302
                        },
                        {
                          "name": "creative_efficiency",
                          "margin": 0.018665
                        }
                      ],
                      "others_margin": 0.031456
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 46,
                  "role_matches": 41,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0000, quality 0.503)",
              "stats": {
                "key_pass": 1.5092,
                "expected_assists": 0.1803,
                "assists": 0.1066,
                "assist_rate": 0.1066,
                "expected_goals": 0.0744,
                "goals": 0.0952,
                "goal_rate": 0.0952,
                "shots_on_target": 0.2827,
                "total_shots": 1.1304,
                "rating": 7.0893,
                "minutes": 79.56,
                "total_pass": 51.0532,
                "accurate_pass": 44.8146,
                "duels_won": 2.4797,
                "total_long_balls": 3.0945,
                "accurate_long_balls": 1.575,
                "total_own_half_passes": 18.6475,
                "accurate_own_half_passes": 17.2043,
                "total_opp_half_passes": 32.4057,
                "accurate_opp_half_passes": 27.6104,
                "crosses_total": 2.7633,
                "crosses_accurate": 0.8397,
                "touches": 63.0475,
                "possession_lost": 10.2428,
                "dispossessed": 0.4278,
                "duels_lost": 3.2223,
                "aerial_won": 0.3125,
                "aerial_lost": 0.8737,
                "interceptions": 0.6804,
                "tackles_won": 0.479,
                "tackles": 0.6913,
                "clearances": 0.2372,
                "total_contest": 1.162,
                "won_contest": 0.6764,
                "challenges_lost": 0.7007,
                "fouls": 0.9261,
                "fouls_drawn": 0.8037,
                "blocks": 0.0161,
                "big_chances_created": 0.4285,
                "big_chances_missed": 0.0147,
                "xgot": 0.053,
                "ball_carries": 20.0253,
                "total_progression": 41.755,
                "progressive_carries": 0.6279,
                "shots_off_target": 0.8477
              },
              "params": {
                "market_value_eur": 8400000,
                "quality_factor": 0.5035,
                "boost_factor": 1.0,
                "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.0093)",
              "stats": {
                "key_pass": 1.5092,
                "expected_assists": 0.1803,
                "assists": 0.1056,
                "assist_rate": 0.1056,
                "expected_goals": 0.0744,
                "goals": 0.0943,
                "goal_rate": 0.0943,
                "shots_on_target": 0.2801,
                "total_shots": 1.1419,
                "rating": 7.0893,
                "minutes": 79.56,
                "total_pass": 51.0532,
                "accurate_pass": 44.8146,
                "duels_won": 2.4797,
                "total_long_balls": 3.0945,
                "accurate_long_balls": 1.575,
                "total_own_half_passes": 18.6475,
                "accurate_own_half_passes": 17.2043,
                "total_opp_half_passes": 32.4057,
                "accurate_opp_half_passes": 27.6104,
                "crosses_total": 2.775,
                "crosses_accurate": 0.8397,
                "touches": 63.0475,
                "possession_lost": 10.2428,
                "dispossessed": 0.4278,
                "duels_lost": 3.2223,
                "aerial_won": 0.3125,
                "aerial_lost": 0.8737,
                "interceptions": 0.6891,
                "tackles_won": 0.482,
                "tackles": 0.6913,
                "clearances": 0.2372,
                "total_contest": 1.162,
                "won_contest": 0.6764,
                "challenges_lost": 0.7007,
                "fouls": 0.9212,
                "fouls_drawn": 0.7962,
                "blocks": 0.0161,
                "big_chances_created": 0.4285,
                "big_chances_missed": 0.0147,
                "xgot": 0.053,
                "ball_carries": 20.0253,
                "total_progression": 41.755,
                "progressive_carries": 0.6279,
                "shots_off_target": 0.8477
              },
              "params": {
                "blend_weight": 0.0093,
                "history_matches": 46,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.884,
                "prior_reliability": 0.1467,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 2.7633,
                  "after": 2.775
                },
                {
                  "stat": "totalShots",
                  "before": 1.1304,
                  "after": 1.1419
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.6804,
                  "after": 0.6891
                },
                {
                  "stat": "wasFouled",
                  "before": 0.8037,
                  "after": 0.7962
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 1.5092,
                "expected_assists": 0.1803,
                "assists": 0.1056,
                "assist_rate": 0.1056,
                "expected_goals": 0.0744,
                "goals": 0.0943,
                "goal_rate": 0.0943,
                "shots_on_target": 0.2801,
                "total_shots": 1.1419,
                "rating": 7.0893,
                "minutes": 79.56,
                "total_pass": 51.0532,
                "accurate_pass": 44.8146,
                "duels_won": 2.4797,
                "total_long_balls": 3.0945,
                "accurate_long_balls": 1.575,
                "total_own_half_passes": 18.6475,
                "accurate_own_half_passes": 17.2043,
                "total_opp_half_passes": 32.4057,
                "accurate_opp_half_passes": 27.6104,
                "crosses_total": 2.775,
                "crosses_accurate": 0.8397,
                "touches": 63.0475,
                "possession_lost": 10.2428,
                "dispossessed": 0.4278,
                "duels_lost": 3.2223,
                "aerial_won": 0.3125,
                "aerial_lost": 0.8737,
                "interceptions": 0.6891,
                "tackles_won": 0.482,
                "tackles": 0.6913,
                "clearances": 0.2372,
                "total_contest": 1.162,
                "won_contest": 0.6764,
                "challenges_lost": 0.7007,
                "fouls": 0.9212,
                "fouls_drawn": 0.7962,
                "blocks": 0.0161,
                "big_chances_created": 0.4285,
                "big_chances_missed": 0.0147,
                "xgot": 0.053,
                "ball_carries": 20.0253,
                "total_progression": 41.755,
                "progressive_carries": 0.6279,
                "shots_off_target": 0.8477
              },
              "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.5092,
                "expected_assists": 0.1803,
                "assists": 0.1056,
                "assist_rate": 0.1056,
                "expected_goals": 0.0744,
                "goals": 0.0943,
                "goal_rate": 0.0943,
                "shots_on_target": 0.2801,
                "total_shots": 1.1419,
                "rating": 7.0893,
                "minutes": 79.56,
                "total_pass": 51.0532,
                "accurate_pass": 44.8146,
                "duels_won": 2.4797,
                "total_long_balls": 3.0945,
                "accurate_long_balls": 1.575,
                "total_own_half_passes": 18.6475,
                "accurate_own_half_passes": 17.2043,
                "total_opp_half_passes": 32.4057,
                "accurate_opp_half_passes": 27.6104,
                "crosses_total": 2.775,
                "crosses_accurate": 0.8397,
                "touches": 63.0475,
                "possession_lost": 10.2428,
                "dispossessed": 0.4278,
                "duels_lost": 3.2223,
                "aerial_won": 0.3125,
                "aerial_lost": 0.8737,
                "interceptions": 0.6891,
                "tackles_won": 0.482,
                "tackles": 0.6913,
                "clearances": 0.2372,
                "total_contest": 1.162,
                "won_contest": 0.6764,
                "challenges_lost": 0.7007,
                "fouls": 0.9212,
                "fouls_drawn": 0.7962,
                "blocks": 0.0161,
                "big_chances_created": 0.4285,
                "big_chances_missed": 0.0147,
                "xgot": 0.053,
                "ball_carries": 20.0253,
                "total_progression": 41.755,
                "progressive_carries": 0.6279,
                "shots_off_target": 0.8477,
                "opponent_faced": "Carlos Dotor",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Carlos Dotor",
                  "matchup_zone": "Midfield lane"
                }
              }
            },
            {
              "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.5092,
                "expected_assists": 0.1803,
                "assist_rate": 0.1056,
                "assists": 0,
                "expected_goals": 0.0744,
                "goal_rate": 0.0943,
                "goals": 0,
                "shots_on_target": 0.2801,
                "total_shots": 1.1419,
                "rating": 7.0893,
                "minutes": 79.56,
                "total_pass": 51.0532,
                "accurate_pass": 44.8146,
                "duels_won": 2.4797,
                "total_long_balls": 3.0945,
                "accurate_long_balls": 1.575,
                "total_own_half_passes": 18.6475,
                "accurate_own_half_passes": 17.2043,
                "total_opp_half_passes": 32.4057,
                "accurate_opp_half_passes": 27.6104,
                "crosses_total": 2.775,
                "crosses_accurate": 0.8397,
                "touches": 63.0475,
                "possession_lost": 10.2428,
                "dispossessed": 0.4278,
                "duels_lost": 3.2223,
                "aerial_won": 0.3125,
                "aerial_lost": 0.8737,
                "interceptions": 0.6891,
                "tackles_won": 0.482,
                "tackles": 0.6913,
                "clearances": 0.2372,
                "total_contest": 1.162,
                "won_contest": 0.6764,
                "challenges_lost": 0.7007,
                "fouls": 0.9212,
                "fouls_drawn": 0.7962,
                "blocks": 0.0161,
                "big_chances_created": 0.4285,
                "big_chances_missed": 0.0147,
                "xgot": 0.053,
                "ball_carries": 20.0253,
                "total_progression": 41.755,
                "progressive_carries": 0.6279,
                "shots_off_target": 0.8477,
                "opponent_faced": "Carlos Dotor",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "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.15 (squad xG sum 1.3311, xG scale 1.6175, xA scale 1.6175, team xA 1.53 = 0.71 x lambda)",
              "stats": {
                "key_pass": 1.5092,
                "expected_assists": 0.2916,
                "assist_rate": 0.1056,
                "assists": 0,
                "expected_goals": 0.1203,
                "goal_rate": 0.0943,
                "goals": 0,
                "shots_on_target": 0.2801,
                "total_shots": 1.1419,
                "rating": 7.0893,
                "minutes": 79.56,
                "total_pass": 51.0532,
                "accurate_pass": 44.8146,
                "duels_won": 2.4797,
                "total_long_balls": 3.0945,
                "accurate_long_balls": 1.575,
                "total_own_half_passes": 18.6475,
                "accurate_own_half_passes": 17.2043,
                "total_opp_half_passes": 32.4057,
                "accurate_opp_half_passes": 27.6104,
                "crosses_total": 2.775,
                "crosses_accurate": 0.8397,
                "touches": 63.0475,
                "possession_lost": 10.2428,
                "dispossessed": 0.4278,
                "duels_lost": 3.2223,
                "aerial_won": 0.3125,
                "aerial_lost": 0.8737,
                "interceptions": 0.6891,
                "tackles_won": 0.482,
                "tackles": 0.6913,
                "clearances": 0.2372,
                "total_contest": 1.162,
                "won_contest": 0.6764,
                "challenges_lost": 0.7007,
                "fouls": 0.9212,
                "fouls_drawn": 0.7962,
                "blocks": 0.0161,
                "big_chances_created": 0.4285,
                "big_chances_missed": 0.0147,
                "xgot": 0.0857,
                "ball_carries": 20.0253,
                "total_progression": 41.755,
                "progressive_carries": 0.6279,
                "shots_off_target": 0.8477,
                "opponent_faced": "Carlos Dotor",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.16,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 2.153,
                "squad_xg_sum": 1.3311,
                "squad_xa_sum": 0.9447,
                "team_expected_assists": 1.528,
                "team_xa_to_xg_ratio": 0.7097,
                "bench_appearance_weighted": true,
                "xg_scale": 1.6175,
                "xa_scale": 1.6175,
                "opponent_lambda": 0.831,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0744,
                  "after": 0.1203
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1803,
                  "after": 0.2916
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 3 by projected rating, fifa_overall 85.0)",
              "stats": {
                "key_pass": 1.5092,
                "expected_assists": 0.2916,
                "assist_rate": 0.1056,
                "assists": 0,
                "expected_goals": 0.1203,
                "goal_rate": 0.0943,
                "goals": 0,
                "shots_on_target": 0.2801,
                "total_shots": 1.1419,
                "rating": 7.0893,
                "minutes": 79.56,
                "total_pass": 51.0532,
                "accurate_pass": 44.8146,
                "duels_won": 2.4797,
                "total_long_balls": 3.0945,
                "accurate_long_balls": 1.575,
                "total_own_half_passes": 18.6475,
                "accurate_own_half_passes": 17.2043,
                "total_opp_half_passes": 32.4057,
                "accurate_opp_half_passes": 27.6104,
                "crosses_total": 2.775,
                "crosses_accurate": 0.8397,
                "touches": 63.0475,
                "possession_lost": 10.2428,
                "dispossessed": 0.4278,
                "duels_lost": 3.2223,
                "aerial_won": 0.3125,
                "aerial_lost": 0.8737,
                "interceptions": 0.6891,
                "tackles_won": 0.482,
                "tackles": 0.6913,
                "clearances": 0.2372,
                "total_contest": 1.162,
                "won_contest": 0.6764,
                "challenges_lost": 0.7007,
                "fouls": 0.9212,
                "fouls_drawn": 0.7962,
                "blocks": 0.0161,
                "big_chances_created": 0.4285,
                "big_chances_missed": 0.0147,
                "xgot": 0.0857,
                "ball_carries": 20.0253,
                "total_progression": 41.755,
                "progressive_carries": 0.6279,
                "shots_off_target": 0.8477,
                "opponent_faced": "Carlos Dotor",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.16,
                "creation_factor": 0.8,
                "fifa_overall": 85.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": 379,
                "fifa_rank": 149.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": {
                "key_pass": 1.5092,
                "expected_assists": 0.2916,
                "assist_rate": 0.1056,
                "assists": 0,
                "expected_goals": 0.1203,
                "goal_rate": 0.0943,
                "goals": 0,
                "shots_on_target": 0.2801,
                "total_shots": 1.1419,
                "rating": 7.0893,
                "minutes": 79.56,
                "total_pass": 51.0532,
                "accurate_pass": 44.8146,
                "duels_won": 2.4797,
                "total_long_balls": 3.0945,
                "accurate_long_balls": 1.575,
                "total_own_half_passes": 18.6475,
                "accurate_own_half_passes": 17.2043,
                "total_opp_half_passes": 32.4057,
                "accurate_opp_half_passes": 27.6104,
                "crosses_total": 2.775,
                "crosses_accurate": 0.8397,
                "touches": 63.0475,
                "possession_lost": 10.2428,
                "dispossessed": 0.4278,
                "duels_lost": 3.2223,
                "aerial_won": 0.3125,
                "aerial_lost": 0.8737,
                "interceptions": 0.6891,
                "tackles_won": 0.482,
                "tackles": 0.6913,
                "clearances": 0.2372,
                "total_contest": 1.162,
                "won_contest": 0.6764,
                "challenges_lost": 0.7007,
                "fouls": 0.9212,
                "fouls_drawn": 0.7962,
                "blocks": 0.0161,
                "big_chances_created": 0.4285,
                "big_chances_missed": 0.0147,
                "xgot": 0.0857,
                "ball_carries": 20.0253,
                "total_progression": 41.755,
                "progressive_carries": 0.6279,
                "shots_off_target": 0.8477,
                "opponent_faced": "Carlos Dotor",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1133,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.16,
                "creation_factor": 0.8,
                "fifa_overall": 85.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.1133,
                "goal_rate": 0.0943,
                "scorer_weight": 0.1395,
                "squad_weight_total": 2.2809,
                "weight_share": 0.0612,
                "finishing_factor": 1.16,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.6492,
                    "already": 0,
                    "effective_weight": 0.6492,
                    "runner_up": "Troy Parrott",
                    "runner_up_effective_weight": 0.4679
                  },
                  {
                    "n": 2,
                    "player": "Troy Parrott",
                    "weight": 0.4679,
                    "already": 0,
                    "effective_weight": 0.4679,
                    "runner_up": "Antony",
                    "runner_up_effective_weight": 0.3665
                  }
                ]
              }
            },
            {
              "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.5092,
                "expected_assists": 0.2916,
                "assist_rate": 0.1056,
                "assists": 0,
                "expected_goals": 0.1203,
                "goal_rate": 0.0943,
                "goals": 0,
                "shots_on_target": 0.2801,
                "total_shots": 1.1419,
                "rating": 7.0893,
                "minutes": 79.56,
                "total_pass": 51.0532,
                "accurate_pass": 44.8146,
                "duels_won": 2.4797,
                "total_long_balls": 3.0945,
                "accurate_long_balls": 1.575,
                "total_own_half_passes": 18.6475,
                "accurate_own_half_passes": 17.2043,
                "total_opp_half_passes": 32.4057,
                "accurate_opp_half_passes": 27.6104,
                "crosses_total": 2.775,
                "crosses_accurate": 0.8397,
                "touches": 63.0475,
                "possession_lost": 10.2428,
                "dispossessed": 0.4278,
                "duels_lost": 3.2223,
                "aerial_won": 0.3125,
                "aerial_lost": 0.8737,
                "interceptions": 0.6891,
                "tackles_won": 0.482,
                "tackles": 0.6913,
                "clearances": 0.2372,
                "total_contest": 1.162,
                "won_contest": 0.6764,
                "challenges_lost": 0.7007,
                "fouls": 0.9212,
                "fouls_drawn": 0.7962,
                "blocks": 0.0161,
                "big_chances_created": 0.4285,
                "big_chances_missed": 0.0147,
                "xgot": 0.0857,
                "ball_carries": 20.0253,
                "total_progression": 41.755,
                "progressive_carries": 0.6279,
                "shots_off_target": 0.8477,
                "opponent_faced": "Carlos Dotor",
                "matchup_zone": "Midfield lane",
                "antagonist_source": "midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.1133,
                "projected_assists": 0,
                "assist_probability": 0.2529,
                "finishing_factor": 1.16,
                "creation_factor": 0.8,
                "fifa_overall": 85.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.2529,
                "assist_rate": 0.1056,
                "provider_weight": 0.2333,
                "squad_weight_total": 1.2992,
                "weight_share": 0.1796,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.25,
                    "already": 0,
                    "effective_weight": 0.25,
                    "runner_up": "Pablo Fornals",
                    "runner_up_effective_weight": 0.2333
                  }
                ]
              }
            }
          ]
        },
        "Antony": {
          "player_id": 958380,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 7,
          "height": 172,
          "market_value": 37000000,
          "stats": {
            "expected_goals": 0.3033,
            "goal_rate": 0.237,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 3,
            "expected_assists": 0.1936,
            "key_pass": 1,
            "rating": 7.1292,
            "minutes": 77,
            "total_pass": 43,
            "accurate_pass": 37,
            "duels_won": 4,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 31,
            "accurate_opp_half_passes": 26,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 59,
            "possession_lost": 11.2691,
            "dispossessed": 0.705,
            "duels_lost": 3,
            "aerial_lost": 0,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 3,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "assist_rate": 0.0446,
            "assists": 0,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.4621,
            "offsides": 0,
            "ball_carries": 20,
            "total_progression": 101,
            "progressive_carries": 4,
            "shots_off_target": 2,
            "duel_xg_multiplier": 1.1544,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.5,
            "aerial_won": 1,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.305,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Einar Galilea, Fernando Calero",
            "opponent_faced": "Einar Galilea, Fernando Calero",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.2616,
            "projected_assists": 0,
            "assist_probability": 0.176,
            "finishing_factor": 1.2084,
            "creation_factor": 0.8,
            "fifa_overall": 81.0
          },
          "latest_10_games": [
            {
              "match_id": 16421079,
              "match_date": "2026-10-25",
              "home_team": "Celta Vigo",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 61,
                "rating": 6.8,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0407,
                "expected_assists": 0.0449,
                "total_shots": 1,
                "shots_on_target": 1,
                "shots_off_target": 0,
                "total_pass": 28,
                "accurate_pass": 27,
                "key_pass": 1,
                "tackles": 0,
                "tackles_won": 0,
                "interceptions": 0,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 2,
                "saves": 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": 16421054,
              "match_date": "2026-10-11",
              "home_team": "Real Betis",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 17,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0087,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 10,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 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": 16416313,
              "match_date": "2026-09-20",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 62,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.092,
                "total_shots": 0,
                "total_pass": 39,
                "accurate_pass": 31,
                "key_pass": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416336,
              "match_date": "2026-09-17",
              "home_team": "Real Betis",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Getafe",
              "stats": {
                "minutes": 89,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5986,
                "expected_assists": 0.1871,
                "total_shots": 9,
                "shots_on_target": 4,
                "shots_off_target": 2,
                "total_pass": 76,
                "accurate_pass": 64,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 1,
                "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": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 24,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5535,
                "expected_assists": 0.0074,
                "total_shots": 4,
                "shots_on_target": 3,
                "total_pass": 13,
                "accurate_pass": 13,
                "key_pass": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416315,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 77,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0656,
                "expected_assists": 0.1047,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 36,
                "accurate_pass": 32,
                "key_pass": 1,
                "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": 16416309,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3736,
                "expected_assists": 0.1311,
                "total_shots": 6,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 48,
                "accurate_pass": 41,
                "key_pass": 1,
                "tackles": 2,
                "aerial_won": 1,
                "duels_won": 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": 16421049,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0805,
                "expected_assists": 0.1214,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 51,
                "accurate_pass": 42,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "duels_won": 5,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416293,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 8.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3575,
                "expected_assists": 0.4688,
                "total_shots": 5,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 42,
                "accurate_pass": 40,
                "key_pass": 3,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 3,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083710,
              "match_date": "2026-05-23",
              "home_team": "Real Betis",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1744,
                "expected_assists": 0.3657,
                "total_shots": 5,
                "shots_on_target": 1,
                "shots_off_target": 3,
                "total_pass": 51,
                "accurate_pass": 43,
                "key_pass": 3,
                "tackles": 2,
                "duels_won": 7,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 764,
            "combined_rank_score": 368.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 157.0,
            "sofascore_rating": 7.3,
            "sofascore_appearances": 3.0,
            "fifa_rank": 579.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.1292,
            "source_file": "data/player_rankings.csv",
            "player_name": "Antony",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jay O'Shea",
                  "ranking": 759
                },
                {
                  "player_name": "Chan-hee Han",
                  "ranking": 760
                },
                {
                  "player_name": "Abdullokh Yuldashev",
                  "ranking": 761
                },
                {
                  "player_name": "Min-woo Kim",
                  "ranking": 762
                },
                {
                  "player_name": "Joey Veerman",
                  "ranking": 763
                }
              ],
              "lower": [
                {
                  "player_name": "Marko Bugarin",
                  "ranking": 765
                },
                {
                  "player_name": "Maximiliano Araújo",
                  "ranking": 766
                },
                {
                  "player_name": "Han Tae-Hee",
                  "ranking": 767
                },
                {
                  "player_name": "Stanislav Lobotka",
                  "ranking": 768
                },
                {
                  "player_name": "Pierre-Emile Højbjerg",
                  "ranking": 769
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 41,
          "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": 41,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0084,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "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": 5.0,
              "shots_on_target_pct": 33.3,
              "prior_reliability": 0.2
            },
            "rationale": "XGBoost regressor (F_service) evaluated 41 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Real Betis, rel: 0.20, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1611,
                "goals": 0.2064,
                "goal_rate": 0.2064,
                "shots_on_target": 0.8953,
                "total_shots": 2.395,
                "expected_assists": 0.1187,
                "key_pass": 1.3561,
                "rating": 7.1292,
                "minutes": 77.0,
                "total_pass": 42.6414,
                "accurate_pass": 36.3135,
                "duels_won": 3.9414,
                "total_long_balls": 2.0824,
                "accurate_long_balls": 1.3797,
                "total_opp_half_passes": 31.1259,
                "accurate_opp_half_passes": 26.2396,
                "crosses_total": 1.5815,
                "crosses_accurate": 0.3245,
                "touches": 58.1836,
                "possession_lost": 11.1752,
                "dispossessed": 0.6991,
                "duels_lost": 2.8606,
                "aerial_lost": 0.2171,
                "total_contest": 1.8687,
                "won_contest": 1.0197,
                "ball_recovery": 3.4361,
                "challenges_lost": 0.4255,
                "fouls": 0.832,
                "fouls_drawn": 1.2775,
                "assists": 0.0448,
                "assist_rate": 0.0448,
                "interceptions": 0.612,
                "tackles_won": 0.5893,
                "tackles": 1.12,
                "clearances": 0.3899,
                "blocks": 0.0022,
                "big_chances_created": 0.1013,
                "big_chances_missed": 0.3387,
                "xgot": 0.2454,
                "offsides": 0.0436,
                "ball_carries": 20.1192,
                "total_progression": 100.4213,
                "progressive_carries": 3.6351,
                "shots_off_target": 1.4997
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:30:56.271646+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 610,
                    "rows": 17075
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-25",
                    "opponent": "Celta Vigo",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Osasuna",
                    "minutes": 17.0,
                    "is_starting": false,
                    "weight": 0.1277,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Getafe",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Villarreal",
                    "minutes": 24.0,
                    "is_starting": false,
                    "weight": 0.0784,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 8.3
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.9
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "accurateOppositionHalfPasses": 22.2065,
                  "expectedGoals": 0.2134,
                  "totalOppositionHalfPasses": 26.0758,
                  "accuratePass": 30.7742,
                  "totalShots": 2.9748
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.16107097268104553,
                    "model_output": 0.1611,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0898
                      },
                      {
                        "name": "goals",
                        "importance": 0.0323
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0236
                      }
                    ],
                    "decomposition": {
                      "base": 0.1945,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0519
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0412
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0304
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0218
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0176
                        }
                      ],
                      "others": -0.0351,
                      "total": 0.1611,
                      "log_link": true,
                      "margin_base": -1.637486,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.236416
                        },
                        {
                          "name": "goals",
                          "margin": -0.182816
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.138266
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.097318
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.08581
                        }
                      ],
                      "others_margin": -0.197162
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.20641766488552094,
                    "model_output": 0.2064,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.144
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0742
                      },
                      {
                        "name": "goals",
                        "importance": 0.053
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0663
                        },
                        {
                          "name": "goals",
                          "contribution": -0.038
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0168
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0151
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0127
                        }
                      ],
                      "others": -0.0353,
                      "total": 0.2064,
                      "log_link": true,
                      "margin_base": -1.614663,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.287534
                        },
                        {
                          "name": "goals",
                          "margin": -0.154833
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.071298
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.063921
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.054157
                        }
                      ],
                      "others_margin": -0.157426
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.8953189849853516,
                    "model_output": 0.8953,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2115
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.066
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0499
                      },
                      {
                        "name": "goals",
                        "importance": 0.0473
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 0.5305,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1686
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0707
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0659
                        },
                        {
                          "name": "goals",
                          "contribution": -0.062
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0571
                        }
                      ],
                      "others": 0.2059,
                      "total": 0.8953,
                      "log_link": true,
                      "margin_base": -0.633985,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.275995
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.106667
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.099795
                        },
                        {
                          "name": "goals",
                          "margin": -0.09356
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.086528
                        }
                      ],
                      "others_margin": 0.261318
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 2.3949835300445557,
                    "model_output": 2.395,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2934
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0662
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.05
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0272
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.027
                      }
                    ],
                    "decomposition": {
                      "base": 1.3805,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5352
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.269
                        },
                        {
                          "name": "goals",
                          "contribution": -0.1155
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0856
                        },
                        {
                          "name": "aerialLost",
                          "contribution": 0.0823
                        }
                      ],
                      "others": 0.1579,
                      "total": 2.395,
                      "log_link": false,
                      "margin_base": 1.38048,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.535172
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.269026
                        },
                        {
                          "name": "goals",
                          "margin": -0.115497
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.085564
                        },
                        {
                          "name": "aerialLost",
                          "margin": 0.082296
                        }
                      ],
                      "others_margin": 0.157944
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.11871129274368286,
                    "model_output": 0.1187,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1135
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0826
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0722
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0587
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0552
                      }
                    ],
                    "decomposition": {
                      "base": 0.0647,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0121
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.012
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.0107
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0089
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0077
                        }
                      ],
                      "others": 0.024,
                      "total": 0.1187,
                      "log_link": true,
                      "margin_base": -2.738275,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.171152
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.145236
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": -0.129092
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.10857
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.085099
                        }
                      ],
                      "others_margin": 0.226249
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 1.35614013671875,
                    "model_output": 1.3561,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1545
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.1071
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0923
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0893
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0298
                      }
                    ],
                    "decomposition": {
                      "base": 0.6939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1948
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.1228
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.1318
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.1038
                        },
                        {
                          "name": "aerial_dominance",
                          "contribution": -0.058
                        }
                      ],
                      "others": 0.167,
                      "total": 1.3561,
                      "log_link": true,
                      "margin_base": -0.365451,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.247438
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.129434
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.122499
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.086906
                        },
                        {
                          "name": "aerial_dominance",
                          "margin": -0.047642
                        }
                      ],
                      "others_margin": 0.131459
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.129189968109131,
                    "model_output": 7.1292,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0529
                      },
                      {
                        "name": "rating",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.044
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0417
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0371
                      }
                    ],
                    "decomposition": {
                      "base": 6.7735,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0695
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0551
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.041
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0314
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0273
                        }
                      ],
                      "others": 0.1314,
                      "total": 7.1292,
                      "log_link": false,
                      "margin_base": 6.773504,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.069476
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.055147
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.040999
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.031412
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.027305
                        }
                      ],
                      "others_margin": 0.131348
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 41,
                  "role_matches": 37,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0084, quality 0.764)",
              "stats": {
                "expected_goals": 0.1624,
                "goals": 0.2082,
                "goal_rate": 0.2082,
                "shots_on_target": 0.9028,
                "total_shots": 2.4151,
                "expected_assists": 0.1197,
                "key_pass": 1.3675,
                "rating": 7.1292,
                "minutes": 77.0,
                "total_pass": 42.9996,
                "accurate_pass": 36.6185,
                "duels_won": 3.9745,
                "total_long_balls": 2.0999,
                "accurate_long_balls": 1.3913,
                "total_opp_half_passes": 31.3874,
                "accurate_opp_half_passes": 26.46,
                "crosses_total": 1.5948,
                "crosses_accurate": 0.3272,
                "touches": 58.6723,
                "possession_lost": 11.2691,
                "dispossessed": 0.705,
                "duels_lost": 2.8846,
                "aerial_lost": 0.2189,
                "total_contest": 1.8844,
                "won_contest": 1.0283,
                "ball_recovery": 3.465,
                "challenges_lost": 0.4291,
                "fouls": 0.839,
                "fouls_drawn": 1.2882,
                "assists": 0.0452,
                "assist_rate": 0.0452,
                "interceptions": 0.6171,
                "tackles_won": 0.5943,
                "tackles": 1.1294,
                "clearances": 0.3932,
                "blocks": 0.0022,
                "big_chances_created": 0.1022,
                "big_chances_missed": 0.3415,
                "xgot": 0.2475,
                "offsides": 0.044,
                "ball_carries": 20.2882,
                "total_progression": 101.2648,
                "progressive_carries": 3.6656,
                "shots_off_target": 1.5123
              },
              "params": {
                "market_value_eur": 37000000,
                "quality_factor": 0.7641,
                "boost_factor": 1.0084,
                "reference_quality": 0.505,
                "history_matches": 41,
                "history_shrink": 0.1087,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0141)",
              "stats": {
                "expected_goals": 0.1624,
                "goals": 0.2053,
                "goal_rate": 0.2053,
                "shots_on_target": 0.9102,
                "total_shots": 2.4414,
                "expected_assists": 0.1197,
                "key_pass": 1.3675,
                "rating": 7.1292,
                "minutes": 77.0,
                "total_pass": 42.9996,
                "accurate_pass": 36.6185,
                "duels_won": 3.9745,
                "total_long_balls": 2.0999,
                "accurate_long_balls": 1.3913,
                "total_opp_half_passes": 31.3874,
                "accurate_opp_half_passes": 26.46,
                "crosses_total": 1.6085,
                "crosses_accurate": 0.3272,
                "touches": 58.6723,
                "possession_lost": 11.2691,
                "dispossessed": 0.705,
                "duels_lost": 2.8846,
                "aerial_lost": 0.2189,
                "total_contest": 1.8844,
                "won_contest": 1.0283,
                "ball_recovery": 3.465,
                "challenges_lost": 0.4291,
                "fouls": 0.8392,
                "fouls_drawn": 1.2942,
                "assists": 0.0446,
                "assist_rate": 0.0446,
                "interceptions": 0.6164,
                "tackles_won": 0.594,
                "tackles": 1.1294,
                "clearances": 0.3932,
                "blocks": 0.0022,
                "big_chances_created": 0.1022,
                "big_chances_missed": 0.3415,
                "xgot": 0.2475,
                "offsides": 0.0434,
                "ball_carries": 20.2882,
                "total_progression": 101.2648,
                "progressive_carries": 3.6656,
                "shots_off_target": 1.5123
              },
              "params": {
                "blend_weight": 0.0141,
                "history_matches": 41,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8556,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.4151,
                  "after": 2.4414
                },
                {
                  "stat": "totalCross",
                  "before": 1.5948,
                  "after": 1.6085
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.9028,
                  "after": 0.9102
                },
                {
                  "stat": "wasFouled",
                  "before": 1.2882,
                  "after": 1.2942
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1624,
                "goals": 0.2053,
                "goal_rate": 0.2053,
                "shots_on_target": 0.9102,
                "total_shots": 2.4414,
                "expected_assists": 0.1197,
                "key_pass": 1.3675,
                "rating": 7.1292,
                "minutes": 77.0,
                "total_pass": 42.9996,
                "accurate_pass": 36.6185,
                "duels_won": 3.9745,
                "total_long_balls": 2.0999,
                "accurate_long_balls": 1.3913,
                "total_opp_half_passes": 31.3874,
                "accurate_opp_half_passes": 26.46,
                "crosses_total": 1.6085,
                "crosses_accurate": 0.3272,
                "touches": 58.6723,
                "possession_lost": 11.2691,
                "dispossessed": 0.705,
                "duels_lost": 2.8846,
                "aerial_lost": 0.2189,
                "total_contest": 1.8844,
                "won_contest": 1.0283,
                "ball_recovery": 3.465,
                "challenges_lost": 0.4291,
                "fouls": 0.8392,
                "fouls_drawn": 1.2942,
                "assists": 0.0446,
                "assist_rate": 0.0446,
                "interceptions": 0.6164,
                "tackles_won": 0.594,
                "tackles": 1.1294,
                "clearances": 0.3932,
                "blocks": 0.0022,
                "big_chances_created": 0.1022,
                "big_chances_missed": 0.3415,
                "xgot": 0.2475,
                "offsides": 0.0434,
                "ball_carries": 20.2882,
                "total_progression": 101.2648,
                "progressive_carries": 3.6656,
                "shots_off_target": 1.5123
              },
              "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.1875,
                "goals": 0.237,
                "goal_rate": 0.237,
                "shots_on_target": 1.0507,
                "total_shots": 2.8184,
                "expected_assists": 0.1197,
                "key_pass": 1.3675,
                "rating": 7.1292,
                "minutes": 77.0,
                "total_pass": 42.9996,
                "accurate_pass": 36.6185,
                "duels_won": 3.9745,
                "total_long_balls": 2.0999,
                "accurate_long_balls": 1.3913,
                "total_opp_half_passes": 31.3874,
                "accurate_opp_half_passes": 26.46,
                "crosses_total": 1.6085,
                "crosses_accurate": 0.3272,
                "touches": 58.6723,
                "possession_lost": 11.2691,
                "dispossessed": 0.705,
                "duels_lost": 2.8846,
                "aerial_lost": 0.2189,
                "total_contest": 1.8844,
                "won_contest": 1.0283,
                "ball_recovery": 3.465,
                "challenges_lost": 0.4291,
                "fouls": 0.8392,
                "fouls_drawn": 1.2942,
                "assists": 0.0446,
                "assist_rate": 0.0446,
                "interceptions": 0.6164,
                "tackles_won": 0.594,
                "tackles": 1.1294,
                "clearances": 0.3932,
                "blocks": 0.0022,
                "big_chances_created": 0.1022,
                "big_chances_missed": 0.3942,
                "xgot": 0.2857,
                "offsides": 0.0434,
                "ball_carries": 20.2882,
                "total_progression": 101.2648,
                "progressive_carries": 3.6656,
                "shots_off_target": 1.7458,
                "duel_xg_multiplier": 1.1544,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.305,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Einar Galilea, Fernando Calero",
                "opponent_faced": "Einar Galilea, Fernando Calero",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Einar Galilea, Fernando Calero",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.305,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 1.1544,
                  "skill_edge": 0.147,
                  "height_edge": -0.042,
                  "attacker_skill": 0.7641,
                  "defender_skill": 0.4374,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Einar Galilea",
                      "market_value": 365000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4374
                    },
                    {
                      "player": "Fernando Calero",
                      "market_value": 2100000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4374
                    }
                  ],
                  "xg_override": 0.1875
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.4414,
                  "after": 2.8184
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.5123,
                  "after": 1.7458
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.9102,
                  "after": 1.0507
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.3415,
                  "after": 0.3942
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.2475,
                  "after": 0.2857
                },
                {
                  "stat": "goals",
                  "before": 0.2053,
                  "after": 0.237
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.1624,
                  "after": 0.1875
                }
              ]
            },
            {
              "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.1875,
                "goal_rate": 0.237,
                "goals": 0,
                "shots_on_target": 1.0507,
                "total_shots": 2.8184,
                "expected_assists": 0.1197,
                "key_pass": 1.3675,
                "rating": 7.1292,
                "minutes": 77.0,
                "total_pass": 42.9996,
                "accurate_pass": 36.6185,
                "duels_won": 3.9745,
                "total_long_balls": 2.0999,
                "accurate_long_balls": 1.3913,
                "total_opp_half_passes": 31.3874,
                "accurate_opp_half_passes": 26.46,
                "crosses_total": 1.6085,
                "crosses_accurate": 0.3272,
                "touches": 58.6723,
                "possession_lost": 11.2691,
                "dispossessed": 0.705,
                "duels_lost": 2.8846,
                "aerial_lost": 0.2189,
                "total_contest": 1.8844,
                "won_contest": 1.0283,
                "ball_recovery": 3.465,
                "challenges_lost": 0.4291,
                "fouls": 0.8392,
                "fouls_drawn": 1.2942,
                "assist_rate": 0.0446,
                "assists": 0,
                "interceptions": 0.6164,
                "tackles_won": 0.594,
                "tackles": 1.1294,
                "clearances": 0.3932,
                "blocks": 0.0022,
                "big_chances_created": 0.1022,
                "big_chances_missed": 0.3942,
                "xgot": 0.2857,
                "offsides": 0.0434,
                "ball_carries": 20.2882,
                "total_progression": 101.2648,
                "progressive_carries": 3.6656,
                "shots_off_target": 1.7458,
                "duel_xg_multiplier": 1.1544,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.305,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Einar Galilea, Fernando Calero",
                "opponent_faced": "Einar Galilea, Fernando Calero",
                "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.15 (squad xG sum 1.3311, xG scale 1.6175, xA scale 1.6175, team xA 1.53 = 0.71 x lambda)",
              "stats": {
                "expected_goals": 0.3033,
                "goal_rate": 0.237,
                "goals": 0,
                "shots_on_target": 1.0507,
                "total_shots": 2.8184,
                "expected_assists": 0.1936,
                "key_pass": 1.3675,
                "rating": 7.1292,
                "minutes": 77.0,
                "total_pass": 42.9996,
                "accurate_pass": 36.6185,
                "duels_won": 3.9745,
                "total_long_balls": 2.0999,
                "accurate_long_balls": 1.3913,
                "total_opp_half_passes": 31.3874,
                "accurate_opp_half_passes": 26.46,
                "crosses_total": 1.6085,
                "crosses_accurate": 0.3272,
                "touches": 58.6723,
                "possession_lost": 11.2691,
                "dispossessed": 0.705,
                "duels_lost": 2.8846,
                "aerial_lost": 0.2189,
                "total_contest": 1.8844,
                "won_contest": 1.0283,
                "ball_recovery": 3.465,
                "challenges_lost": 0.4291,
                "fouls": 0.8392,
                "fouls_drawn": 1.2942,
                "assist_rate": 0.0446,
                "assists": 0,
                "interceptions": 0.6164,
                "tackles_won": 0.594,
                "tackles": 1.1294,
                "clearances": 0.3932,
                "blocks": 0.0022,
                "big_chances_created": 0.1022,
                "big_chances_missed": 0.3942,
                "xgot": 0.4621,
                "offsides": 0.0434,
                "ball_carries": 20.2882,
                "total_progression": 101.2648,
                "progressive_carries": 3.6656,
                "shots_off_target": 1.7458,
                "duel_xg_multiplier": 1.1544,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.305,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Einar Galilea, Fernando Calero",
                "opponent_faced": "Einar Galilea, Fernando Calero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2084,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 2.153,
                "squad_xg_sum": 1.3311,
                "squad_xa_sum": 0.9447,
                "team_expected_assists": 1.528,
                "team_xa_to_xg_ratio": 0.7097,
                "bench_appearance_weighted": true,
                "xg_scale": 1.6175,
                "xa_scale": 1.6175,
                "opponent_lambda": 0.831,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1875,
                  "after": 0.3033
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1197,
                  "after": 0.1936
                }
              ]
            },
            {
              "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": {
                "expected_goals": 0.3033,
                "goal_rate": 0.237,
                "goals": 0,
                "shots_on_target": 1.0507,
                "total_shots": 2.8184,
                "expected_assists": 0.1936,
                "key_pass": 1.3675,
                "rating": 7.1292,
                "minutes": 77.0,
                "total_pass": 42.9996,
                "accurate_pass": 36.6185,
                "duels_won": 3.9745,
                "total_long_balls": 2.0999,
                "accurate_long_balls": 1.3913,
                "total_opp_half_passes": 31.3874,
                "accurate_opp_half_passes": 26.46,
                "crosses_total": 1.6085,
                "crosses_accurate": 0.3272,
                "touches": 58.6723,
                "possession_lost": 11.2691,
                "dispossessed": 0.705,
                "duels_lost": 2.8846,
                "aerial_lost": 0.2189,
                "total_contest": 1.8844,
                "won_contest": 1.0283,
                "ball_recovery": 3.465,
                "challenges_lost": 0.4291,
                "fouls": 0.8392,
                "fouls_drawn": 1.2942,
                "assist_rate": 0.0446,
                "assists": 0,
                "interceptions": 0.6164,
                "tackles_won": 0.594,
                "tackles": 1.1294,
                "clearances": 0.3932,
                "blocks": 0.0022,
                "big_chances_created": 0.1022,
                "big_chances_missed": 0.3942,
                "xgot": 0.4621,
                "offsides": 0.0434,
                "ball_carries": 20.2882,
                "total_progression": 101.2648,
                "progressive_carries": 3.6656,
                "shots_off_target": 1.7458,
                "duel_xg_multiplier": 1.1544,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.305,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Einar Galilea, Fernando Calero",
                "opponent_faced": "Einar Galilea, Fernando Calero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2084,
                "creation_factor": 0.8,
                "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": 764,
                "fifa_rank": 579.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": {
                "expected_goals": 0.3033,
                "goal_rate": 0.237,
                "goals": 0,
                "shots_on_target": 1.0507,
                "total_shots": 2.8184,
                "expected_assists": 0.1936,
                "key_pass": 1.3675,
                "rating": 7.1292,
                "minutes": 77.0,
                "total_pass": 42.9996,
                "accurate_pass": 36.6185,
                "duels_won": 3.9745,
                "total_long_balls": 2.0999,
                "accurate_long_balls": 1.3913,
                "total_opp_half_passes": 31.3874,
                "accurate_opp_half_passes": 26.46,
                "crosses_total": 1.6085,
                "crosses_accurate": 0.3272,
                "touches": 58.6723,
                "possession_lost": 11.2691,
                "dispossessed": 0.705,
                "duels_lost": 2.8846,
                "aerial_lost": 0.2189,
                "total_contest": 1.8844,
                "won_contest": 1.0283,
                "ball_recovery": 3.465,
                "challenges_lost": 0.4291,
                "fouls": 0.8392,
                "fouls_drawn": 1.2942,
                "assist_rate": 0.0446,
                "assists": 0,
                "interceptions": 0.6164,
                "tackles_won": 0.594,
                "tackles": 1.1294,
                "clearances": 0.3932,
                "blocks": 0.0022,
                "big_chances_created": 0.1022,
                "big_chances_missed": 0.3942,
                "xgot": 0.4621,
                "offsides": 0.0434,
                "ball_carries": 20.2882,
                "total_progression": 101.2648,
                "progressive_carries": 3.6656,
                "shots_off_target": 1.7458,
                "duel_xg_multiplier": 1.1544,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.305,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Einar Galilea, Fernando Calero",
                "opponent_faced": "Einar Galilea, Fernando Calero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.2616,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2084,
                "creation_factor": 0.8,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.2616,
                "goal_rate": 0.237,
                "scorer_weight": 0.3665,
                "squad_weight_total": 2.2809,
                "weight_share": 0.1607,
                "finishing_factor": 1.2084,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.6492,
                    "already": 0,
                    "effective_weight": 0.6492,
                    "runner_up": "Troy Parrott",
                    "runner_up_effective_weight": 0.4679
                  },
                  {
                    "n": 2,
                    "player": "Troy Parrott",
                    "weight": 0.4679,
                    "already": 0,
                    "effective_weight": 0.4679,
                    "runner_up": "Antony",
                    "runner_up_effective_weight": 0.3665
                  }
                ]
              }
            },
            {
              "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.3033,
                "goal_rate": 0.237,
                "goals": 0,
                "shots_on_target": 1.0507,
                "total_shots": 2.8184,
                "expected_assists": 0.1936,
                "key_pass": 1.3675,
                "rating": 7.1292,
                "minutes": 77.0,
                "total_pass": 42.9996,
                "accurate_pass": 36.6185,
                "duels_won": 3.9745,
                "total_long_balls": 2.0999,
                "accurate_long_balls": 1.3913,
                "total_opp_half_passes": 31.3874,
                "accurate_opp_half_passes": 26.46,
                "crosses_total": 1.6085,
                "crosses_accurate": 0.3272,
                "touches": 58.6723,
                "possession_lost": 11.2691,
                "dispossessed": 0.705,
                "duels_lost": 2.8846,
                "aerial_lost": 0.2189,
                "total_contest": 1.8844,
                "won_contest": 1.0283,
                "ball_recovery": 3.465,
                "challenges_lost": 0.4291,
                "fouls": 0.8392,
                "fouls_drawn": 1.2942,
                "assist_rate": 0.0446,
                "assists": 0,
                "interceptions": 0.6164,
                "tackles_won": 0.594,
                "tackles": 1.1294,
                "clearances": 0.3932,
                "blocks": 0.0022,
                "big_chances_created": 0.1022,
                "big_chances_missed": 0.3942,
                "xgot": 0.4621,
                "offsides": 0.0434,
                "ball_carries": 20.2882,
                "total_progression": 101.2648,
                "progressive_carries": 3.6656,
                "shots_off_target": 1.7458,
                "duel_xg_multiplier": 1.1544,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.3,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.305,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Einar Galilea, Fernando Calero",
                "opponent_faced": "Einar Galilea, Fernando Calero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.2616,
                "projected_assists": 0,
                "assist_probability": 0.176,
                "finishing_factor": 1.2084,
                "creation_factor": 0.8,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.176,
                "assist_rate": 0.0446,
                "provider_weight": 0.1549,
                "squad_weight_total": 1.2992,
                "weight_share": 0.1192,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.25,
                    "already": 0,
                    "effective_weight": 0.25,
                    "runner_up": "Pablo Fornals",
                    "runner_up_effective_weight": 0.2333
                  }
                ]
              }
            }
          ]
        },
        "Isco": {
          "player_id": 103417,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 22,
          "height": 176,
          "market_value": 3600000,
          "stats": {
            "key_pass": 2,
            "expected_assists": 0.2591,
            "assist_rate": 0.1198,
            "assists": 0,
            "expected_goals": 0.2619,
            "goal_rate": 0.1473,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "rating": 7.0634,
            "minutes": 68,
            "total_pass": 42,
            "accurate_pass": 39,
            "duels_won": 3,
            "total_long_balls": 2,
            "accurate_long_balls": 2,
            "total_own_half_passes": 13,
            "accurate_own_half_passes": 12,
            "total_opp_half_passes": 29,
            "accurate_opp_half_passes": 27,
            "crosses_total": 3,
            "crosses_accurate": 1,
            "touches": 54,
            "possession_lost": 7.5944,
            "dispossessed": 0.6766,
            "duels_lost": 3,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 2,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.6891,
            "ball_carries": 17,
            "total_progression": 51,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.9696,
            "dribbles_attempted": 3,
            "dribbles_successful": 1.1,
            "crosses_attempted": 1.9,
            "duel_win_rate": 0.399,
            "pressing_faced": "LOW",
            "matchup_zone": "LW vs CB",
            "numerical_situation": "1v1",
            "opponent_defenders": "Einar Galilea",
            "opponent_faced": "Einar Galilea",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.2304,
            "projected_assists": 0,
            "assist_probability": 0.2283,
            "finishing_factor": 0.9311,
            "creation_factor": 0.8078,
            "fifa_overall": 83.0
          },
          "latest_10_games": [
            {
              "match_id": 16421079,
              "match_date": "2026-10-25",
              "home_team": "Celta Vigo",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 68,
                "rating": 7.2,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2006,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "total_pass": 56,
                "accurate_pass": 51,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 0,
                "clearances": 0,
                "aerial_won": 0,
                "duels_won": 4,
                "ball_recovery": 3,
                "saves": 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": 16421054,
              "match_date": "2026-10-11",
              "home_team": "Real Betis",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 74,
                "rating": 8.6,
                "goal_rate": 2.0,
                "goals": 2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.8716,
                "expected_assists": 0.1758,
                "total_shots": 6,
                "shots_on_target": 4,
                "shots_off_target": 1,
                "total_pass": 43,
                "accurate_pass": 41,
                "key_pass": 3,
                "duels_won": 2,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416313,
              "match_date": "2026-09-20",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 29,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1438,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 21,
                "key_pass": 2,
                "tackles": 1,
                "interceptions": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416336,
              "match_date": "2026-09-17",
              "home_team": "Real Betis",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Getafe",
              "stats": {
                "minutes": 61,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3595,
                "expected_assists": 0.0675,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 40,
                "accurate_pass": 36,
                "key_pass": 2,
                "interceptions": 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": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 57,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1248,
                "expected_assists": 0.1354,
                "total_shots": 3,
                "total_pass": 27,
                "accurate_pass": 25,
                "key_pass": 4,
                "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": 16416315,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 60,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0232,
                "expected_assists": 0.0126,
                "total_shots": 1,
                "total_pass": 35,
                "accurate_pass": 33,
                "key_pass": 1,
                "interceptions": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416309,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 57,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.3095,
                "total_shots": 0,
                "total_pass": 47,
                "accurate_pass": 41,
                "key_pass": 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": 16421049,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 31,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0143,
                "expected_assists": 0.0179,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 21,
                "accurate_pass": 18,
                "tackles": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416293,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 32,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3791,
                "expected_assists": 0.0642,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 9,
                "accurate_pass": 7,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083710,
              "match_date": "2026-05-23",
              "home_team": "Real Betis",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 54,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0648,
                "expected_assists": 0.0167,
                "total_shots": 2,
                "total_pass": 42,
                "accurate_pass": 40,
                "interceptions": 1,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 930,
            "combined_rank_score": 433.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 561.0,
            "sofascore_rating": 6.8125,
            "sofascore_appearances": 8.0,
            "fifa_rank": 305.0,
            "fifa_overall": 83.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0634,
            "source_file": "data/player_rankings.csv",
            "player_name": "Isco",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Julián Brea",
                  "ranking": 925
                },
                {
                  "player_name": "Rodrigo Zalazar",
                  "ranking": 926
                },
                {
                  "player_name": "Karim Adeyemi",
                  "ranking": 927
                },
                {
                  "player_name": "Marlon Maranhão",
                  "ranking": 928
                },
                {
                  "player_name": "Islom Kenzhaboev",
                  "ranking": 929
                }
              ],
              "lower": [
                {
                  "player_name": "Karim Benzema",
                  "ranking": 931
                },
                {
                  "player_name": "Julen Agirrezabala",
                  "ranking": 932
                },
                {
                  "player_name": "Koen Casteels",
                  "ranking": 933
                },
                {
                  "player_name": "Danilo Pereira",
                  "ranking": 934
                },
                {
                  "player_name": "David Soria",
                  "ranking": 935
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.763,
          "history_matches": 17,
          "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": 17,
            "data_confidence": 0.763,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9959,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "minutes": 121.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 2.23,
              "shots_on_target_pct": 100.0,
              "prior_reliability": 0.0867
            },
            "rationale": "XGBoost regressor (M_service) evaluated 17 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Real Betis, rel: 0.09, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 2.331,
                "expected_assists": 0.1609,
                "assists": 0.1219,
                "assist_rate": 0.1219,
                "expected_goals": 0.1677,
                "goals": 0.1546,
                "goal_rate": 0.1546,
                "shots_on_target": 0.524,
                "total_shots": 1.6879,
                "rating": 7.0634,
                "minutes": 68.39,
                "total_pass": 42.6088,
                "accurate_pass": 39.2356,
                "duels_won": 2.5257,
                "total_long_balls": 2.4476,
                "accurate_long_balls": 1.91,
                "total_own_half_passes": 13.0092,
                "accurate_own_half_passes": 12.3341,
                "total_opp_half_passes": 29.5997,
                "accurate_opp_half_passes": 26.9016,
                "crosses_total": 2.8997,
                "crosses_accurate": 1.3443,
                "touches": 54.5781,
                "possession_lost": 7.6257,
                "dispossessed": 0.6794,
                "duels_lost": 3.2752,
                "aerial_won": 0.0,
                "aerial_lost": 0.4084,
                "interceptions": 0.358,
                "tackles_won": 0.2208,
                "tackles": 0.4416,
                "clearances": 0.0833,
                "total_contest": 1.3247,
                "won_contest": 0.3232,
                "challenges_lost": 0.6612,
                "fouls": 0.5248,
                "fouls_drawn": 1.7609,
                "blocks": 0.1595,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1964,
                "xgot": 0.4412,
                "ball_carries": 17.2733,
                "total_progression": 51.2759,
                "progressive_carries": 1.4451,
                "shots_off_target": 1.1639
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-31T10:30:21.314387+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 902,
                    "rows": 24945
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-25",
                    "opponent": "Celta Vigo",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.1601,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Osasuna",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.1361,
                    "rating": 8.6
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.1157,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Getafe",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.0983,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Villarreal",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.0836,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.071,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.0604,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.0513,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 32.0,
                    "is_starting": false,
                    "weight": 0.0436,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Levante UD",
                    "minutes": 54.0,
                    "is_starting": true,
                    "weight": 0.0371,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 17.0,
                  "is_starting_11": 1.0,
                  "totalShots": 1.8492,
                  "expectedGoals": 0.3493,
                  "creative_index": 0.8761,
                  "expectedAssists": 0.1241,
                  "keyPass": 2.0041
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 2.3309757709503174,
                    "model_output": 2.331,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1583
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1351
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0716
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0542
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.028
                      }
                    ],
                    "decomposition": {
                      "base": 0.8899,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": 0.2117
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.161
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.1364
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.1116
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0887
                        }
                      ],
                      "others": 0.7317,
                      "total": 2.331,
                      "log_link": true,
                      "margin_base": -0.11669,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": 0.213448
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.136411
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.10255
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.076723
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.057088
                        }
                      ],
                      "others_margin": 0.376758
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.16085736453533173,
                    "model_output": 0.1609,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1213
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1076
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0864
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0618
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0476
                      }
                    ],
                    "decomposition": {
                      "base": 0.085,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": 0.0113
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0122
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0082
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0082
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0055
                        }
                      ],
                      "others": 0.0469,
                      "total": 0.1609,
                      "log_link": true,
                      "margin_base": -2.465163,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": 0.124522
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.119747
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.072769
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.072407
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.049051
                        }
                      ],
                      "others_margin": 0.344243
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.12194134294986725,
                    "model_output": 0.1219,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0508
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0336
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0324
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": 0.0119
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0069
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.006
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0061
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0059
                        }
                      ],
                      "others": 0.0138,
                      "total": 0.1219,
                      "log_link": true,
                      "margin_base": -2.463734,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": 0.130997
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.07419
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.064802
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.061311
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.056329
                        }
                      ],
                      "others_margin": 0.120271
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.16772113740444183,
                    "model_output": 0.1677,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1242
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0778
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0743
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0437
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0241
                      }
                    ],
                    "decomposition": {
                      "base": 0.0911,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0486
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0174
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0162
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0146
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0079
                        }
                      ],
                      "others": 0.0043,
                      "total": 0.1677,
                      "log_link": true,
                      "margin_base": -2.395469,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": 0.427078
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.117461
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.108791
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.098764
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.049633
                        }
                      ],
                      "others_margin": 0.02587
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.1545555591583252,
                    "model_output": 0.1546,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0846
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0655
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0399
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0358
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.0947,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0248
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0258
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0137
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0124
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0113
                        }
                      ],
                      "others": -0.0055,
                      "total": 0.1546,
                      "log_link": true,
                      "margin_base": -2.357331,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.232573
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.195604
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.08984
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.075331
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.068455
                        }
                      ],
                      "others_margin": -0.034764
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.5239822864532471,
                    "model_output": 0.524,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1146
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0928
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0753
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0297
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.3177,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0919
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0983
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0547
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0404
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0287
                        }
                      ],
                      "others": 0.0305,
                      "total": 0.524,
                      "log_link": true,
                      "margin_base": -1.146731,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.254031
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.215056
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.102345
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.074449
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.056546
                        }
                      ],
                      "others_margin": 0.059998
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.6878457069396973,
                    "model_output": 1.6878,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1488
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1213
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0446
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0276
                      }
                    ],
                    "decomposition": {
                      "base": 0.9817,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.4228
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1574
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0841
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.047
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0384
                        }
                      ],
                      "others": 0.0504,
                      "total": 1.6878,
                      "log_link": false,
                      "margin_base": 0.98173,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.422804
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.157409
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.084108
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.047015
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.038362
                        }
                      ],
                      "others_margin": 0.050448
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.063366889953613,
                    "model_output": 7.0634,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.102
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0743
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0503
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0382
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.856,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.0611
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0592
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0302
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0287
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0222
                        }
                      ],
                      "others": 0.006,
                      "total": 7.0634,
                      "log_link": false,
                      "margin_base": 6.856008,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.061148
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.059202
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.030161
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.028714
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.022183
                        }
                      ],
                      "others_margin": 0.005953
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 17,
                  "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 0.9959, quality 0.445)",
              "stats": {
                "key_pass": 2.3214,
                "expected_assists": 0.1602,
                "assists": 0.1214,
                "assist_rate": 0.1214,
                "expected_goals": 0.167,
                "goals": 0.1539,
                "goal_rate": 0.1539,
                "shots_on_target": 0.5218,
                "total_shots": 1.681,
                "rating": 7.0634,
                "minutes": 68.39,
                "total_pass": 42.4341,
                "accurate_pass": 39.0747,
                "duels_won": 2.5153,
                "total_long_balls": 2.4376,
                "accurate_long_balls": 1.9022,
                "total_own_half_passes": 12.9559,
                "accurate_own_half_passes": 12.2835,
                "total_opp_half_passes": 29.4783,
                "accurate_opp_half_passes": 26.7913,
                "crosses_total": 2.8878,
                "crosses_accurate": 1.3388,
                "touches": 54.3543,
                "possession_lost": 7.5944,
                "dispossessed": 0.6766,
                "duels_lost": 3.2618,
                "aerial_won": 0.0,
                "aerial_lost": 0.4067,
                "interceptions": 0.3565,
                "tackles_won": 0.2199,
                "tackles": 0.4398,
                "clearances": 0.083,
                "total_contest": 1.3193,
                "won_contest": 0.3219,
                "challenges_lost": 0.6585,
                "fouls": 0.5226,
                "fouls_drawn": 1.7537,
                "blocks": 0.1588,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1956,
                "xgot": 0.4394,
                "ball_carries": 17.2025,
                "total_progression": 51.0657,
                "progressive_carries": 1.4392,
                "shots_off_target": 1.1591
              },
              "params": {
                "market_value_eur": 3600000,
                "quality_factor": 0.4449,
                "boost_factor": 0.9959,
                "reference_quality": 0.505,
                "history_matches": 17,
                "history_shrink": 0.2273,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0128)",
              "stats": {
                "key_pass": 2.3214,
                "expected_assists": 0.1602,
                "assists": 0.1198,
                "assist_rate": 0.1198,
                "expected_goals": 0.167,
                "goals": 0.1519,
                "goal_rate": 0.1519,
                "shots_on_target": 0.5368,
                "total_shots": 1.6812,
                "rating": 7.0634,
                "minutes": 68.39,
                "total_pass": 42.4341,
                "accurate_pass": 39.0747,
                "duels_won": 2.5153,
                "total_long_balls": 2.4376,
                "accurate_long_balls": 1.9022,
                "total_own_half_passes": 12.9559,
                "accurate_own_half_passes": 12.2835,
                "total_opp_half_passes": 29.4783,
                "accurate_opp_half_passes": 26.7913,
                "crosses_total": 2.9032,
                "crosses_accurate": 1.3388,
                "touches": 54.3543,
                "possession_lost": 7.5944,
                "dispossessed": 0.6766,
                "duels_lost": 3.2618,
                "aerial_won": 0.0,
                "aerial_lost": 0.4067,
                "interceptions": 0.3594,
                "tackles_won": 0.2171,
                "tackles": 0.4398,
                "clearances": 0.083,
                "total_contest": 1.3193,
                "won_contest": 0.3219,
                "challenges_lost": 0.6585,
                "fouls": 0.5459,
                "fouls_drawn": 1.7537,
                "blocks": 0.1588,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1956,
                "xgot": 0.4394,
                "ball_carries": 17.2025,
                "total_progression": 51.0657,
                "progressive_carries": 1.4392,
                "shots_off_target": 1.1591
              },
              "params": {
                "blend_weight": 0.0128,
                "history_matches": 17,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.7599,
                "prior_reliability": 0.0867,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.5226,
                  "after": 0.5459
                },
                {
                  "stat": "totalCross",
                  "before": 2.8878,
                  "after": 2.9032
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.5218,
                  "after": 0.5368
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 2.3214,
                "expected_assists": 0.1602,
                "assists": 0.1198,
                "assist_rate": 0.1198,
                "expected_goals": 0.167,
                "goals": 0.1519,
                "goal_rate": 0.1519,
                "shots_on_target": 0.5368,
                "total_shots": 1.6959,
                "rating": 7.0634,
                "minutes": 68.39,
                "total_pass": 42.4341,
                "accurate_pass": 39.0747,
                "duels_won": 2.5153,
                "total_long_balls": 2.4376,
                "accurate_long_balls": 1.9022,
                "total_own_half_passes": 12.9559,
                "accurate_own_half_passes": 12.2835,
                "total_opp_half_passes": 29.4783,
                "accurate_opp_half_passes": 26.7913,
                "crosses_total": 2.9032,
                "crosses_accurate": 1.3388,
                "touches": 54.3543,
                "possession_lost": 7.5944,
                "dispossessed": 0.6766,
                "duels_lost": 3.2618,
                "aerial_won": 0.0,
                "aerial_lost": 0.4067,
                "interceptions": 0.3594,
                "tackles_won": 0.2171,
                "tackles": 0.4398,
                "clearances": 0.083,
                "total_contest": 1.3193,
                "won_contest": 0.3219,
                "challenges_lost": 0.6585,
                "fouls": 0.5459,
                "fouls_drawn": 1.7537,
                "blocks": 0.1588,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1956,
                "xgot": 0.4394,
                "ball_carries": 17.2025,
                "total_progression": 51.0657,
                "progressive_carries": 1.4392,
                "shots_off_target": 1.1591
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "key_pass": 2.3214,
                "expected_assists": 0.1602,
                "assists": 0.1198,
                "assist_rate": 0.1198,
                "expected_goals": 0.1619,
                "goals": 0.1473,
                "goal_rate": 0.1473,
                "shots_on_target": 0.5205,
                "total_shots": 1.6444,
                "rating": 7.0634,
                "minutes": 68.39,
                "total_pass": 42.4341,
                "accurate_pass": 39.0747,
                "duels_won": 2.5153,
                "total_long_balls": 2.4376,
                "accurate_long_balls": 1.9022,
                "total_own_half_passes": 12.9559,
                "accurate_own_half_passes": 12.2835,
                "total_opp_half_passes": 29.4783,
                "accurate_opp_half_passes": 26.7913,
                "crosses_total": 2.9032,
                "crosses_accurate": 1.3388,
                "touches": 54.3543,
                "possession_lost": 7.5944,
                "dispossessed": 0.6766,
                "duels_lost": 3.2618,
                "aerial_won": 0.9,
                "aerial_lost": 0.4067,
                "interceptions": 0.3594,
                "tackles_won": 0.2171,
                "tackles": 0.4398,
                "clearances": 0.083,
                "total_contest": 1.3193,
                "won_contest": 0.3219,
                "challenges_lost": 0.6585,
                "fouls": 0.5459,
                "fouls_drawn": 1.7537,
                "blocks": 0.1588,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1897,
                "xgot": 0.426,
                "ball_carries": 17.2025,
                "total_progression": 51.0657,
                "progressive_carries": 1.4392,
                "shots_off_target": 1.1239,
                "duel_xg_multiplier": 0.9696,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.1,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.399,
                "pressing_faced": "LOW",
                "matchup_zone": "LW vs CB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Einar Galilea",
                "opponent_faced": "Einar Galilea",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Einar Galilea",
                  "matchup_zone": "LW vs CB",
                  "duel_win_rate": 0.399,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.9696,
                  "skill_edge": 0.0034,
                  "height_edge": -0.024,
                  "attacker_skill": 0.4449,
                  "defender_skill": 0.4374,
                  "attacker_role": "LW",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Einar Galilea",
                      "market_value": 365000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4374
                    }
                  ],
                  "xg_override": 0.1619
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.0,
                  "after": 0.9
                },
                {
                  "stat": "totalShots",
                  "before": 1.6959,
                  "after": 1.6444
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.1591,
                  "after": 1.1239
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.5368,
                  "after": 0.5205
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.4394,
                  "after": 0.426
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.1956,
                  "after": 0.1897
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.167,
                  "after": 0.1619
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 2.3214,
                "expected_assists": 0.1602,
                "assist_rate": 0.1198,
                "assists": 0,
                "expected_goals": 0.1619,
                "goal_rate": 0.1473,
                "goals": 0,
                "shots_on_target": 0.5205,
                "total_shots": 1.6444,
                "rating": 7.0634,
                "minutes": 68.39,
                "total_pass": 42.4341,
                "accurate_pass": 39.0747,
                "duels_won": 2.5153,
                "total_long_balls": 2.4376,
                "accurate_long_balls": 1.9022,
                "total_own_half_passes": 12.9559,
                "accurate_own_half_passes": 12.2835,
                "total_opp_half_passes": 29.4783,
                "accurate_opp_half_passes": 26.7913,
                "crosses_total": 2.9032,
                "crosses_accurate": 1.3388,
                "touches": 54.3543,
                "possession_lost": 7.5944,
                "dispossessed": 0.6766,
                "duels_lost": 3.2618,
                "aerial_won": 0.9,
                "aerial_lost": 0.4067,
                "interceptions": 0.3594,
                "tackles_won": 0.2171,
                "tackles": 0.4398,
                "clearances": 0.083,
                "total_contest": 1.3193,
                "won_contest": 0.3219,
                "challenges_lost": 0.6585,
                "fouls": 0.5459,
                "fouls_drawn": 1.7537,
                "blocks": 0.1588,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1897,
                "xgot": 0.426,
                "ball_carries": 17.2025,
                "total_progression": 51.0657,
                "progressive_carries": 1.4392,
                "shots_off_target": 1.1239,
                "duel_xg_multiplier": 0.9696,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.1,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.399,
                "pressing_faced": "LOW",
                "matchup_zone": "LW vs CB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Einar Galilea",
                "opponent_faced": "Einar Galilea",
                "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.15 (squad xG sum 1.3311, xG scale 1.6175, xA scale 1.6175, team xA 1.53 = 0.71 x lambda)",
              "stats": {
                "key_pass": 2.3214,
                "expected_assists": 0.2591,
                "assist_rate": 0.1198,
                "assists": 0,
                "expected_goals": 0.2619,
                "goal_rate": 0.1473,
                "goals": 0,
                "shots_on_target": 0.5205,
                "total_shots": 1.6444,
                "rating": 7.0634,
                "minutes": 68.39,
                "total_pass": 42.4341,
                "accurate_pass": 39.0747,
                "duels_won": 2.5153,
                "total_long_balls": 2.4376,
                "accurate_long_balls": 1.9022,
                "total_own_half_passes": 12.9559,
                "accurate_own_half_passes": 12.2835,
                "total_opp_half_passes": 29.4783,
                "accurate_opp_half_passes": 26.7913,
                "crosses_total": 2.9032,
                "crosses_accurate": 1.3388,
                "touches": 54.3543,
                "possession_lost": 7.5944,
                "dispossessed": 0.6766,
                "duels_lost": 3.2618,
                "aerial_won": 0.9,
                "aerial_lost": 0.4067,
                "interceptions": 0.3594,
                "tackles_won": 0.2171,
                "tackles": 0.4398,
                "clearances": 0.083,
                "total_contest": 1.3193,
                "won_contest": 0.3219,
                "challenges_lost": 0.6585,
                "fouls": 0.5459,
                "fouls_drawn": 1.7537,
                "blocks": 0.1588,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1897,
                "xgot": 0.6891,
                "ball_carries": 17.2025,
                "total_progression": 51.0657,
                "progressive_carries": 1.4392,
                "shots_off_target": 1.1239,
                "duel_xg_multiplier": 0.9696,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.1,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.399,
                "pressing_faced": "LOW",
                "matchup_zone": "LW vs CB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Einar Galilea",
                "opponent_faced": "Einar Galilea",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9311,
                "creation_factor": 0.8078
              },
              "params": {
                "team_lambda": 2.153,
                "squad_xg_sum": 1.3311,
                "squad_xa_sum": 0.9447,
                "team_expected_assists": 1.528,
                "team_xa_to_xg_ratio": 0.7097,
                "bench_appearance_weighted": true,
                "xg_scale": 1.6175,
                "xa_scale": 1.6175,
                "opponent_lambda": 0.831,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1619,
                  "after": 0.2619
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1602,
                  "after": 0.2591
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 5 by projected rating, fifa_overall 83.0)",
              "stats": {
                "key_pass": 2.3214,
                "expected_assists": 0.2591,
                "assist_rate": 0.1198,
                "assists": 0,
                "expected_goals": 0.2619,
                "goal_rate": 0.1473,
                "goals": 0,
                "shots_on_target": 0.5205,
                "total_shots": 1.6444,
                "rating": 7.0634,
                "minutes": 68.39,
                "total_pass": 42.4341,
                "accurate_pass": 39.0747,
                "duels_won": 2.5153,
                "total_long_balls": 2.4376,
                "accurate_long_balls": 1.9022,
                "total_own_half_passes": 12.9559,
                "accurate_own_half_passes": 12.2835,
                "total_opp_half_passes": 29.4783,
                "accurate_opp_half_passes": 26.7913,
                "crosses_total": 2.9032,
                "crosses_accurate": 1.3388,
                "touches": 54.3543,
                "possession_lost": 7.5944,
                "dispossessed": 0.6766,
                "duels_lost": 3.2618,
                "aerial_won": 0.9,
                "aerial_lost": 0.4067,
                "interceptions": 0.3594,
                "tackles_won": 0.2171,
                "tackles": 0.4398,
                "clearances": 0.083,
                "total_contest": 1.3193,
                "won_contest": 0.3219,
                "challenges_lost": 0.6585,
                "fouls": 0.5459,
                "fouls_drawn": 1.7537,
                "blocks": 0.1588,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1897,
                "xgot": 0.6891,
                "ball_carries": 17.2025,
                "total_progression": 51.0657,
                "progressive_carries": 1.4392,
                "shots_off_target": 1.1239,
                "duel_xg_multiplier": 0.9696,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.1,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.399,
                "pressing_faced": "LOW",
                "matchup_zone": "LW vs CB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Einar Galilea",
                "opponent_faced": "Einar Galilea",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9311,
                "creation_factor": 0.8078,
                "fifa_overall": 83.0
              },
              "params": {
                "match_squad_rank": 5,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 930,
                "fifa_rank": 305.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 83.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "key_pass": 2.3214,
                "expected_assists": 0.2591,
                "assist_rate": 0.1198,
                "assists": 0,
                "expected_goals": 0.2619,
                "goal_rate": 0.1473,
                "goals": 0,
                "shots_on_target": 0.5205,
                "total_shots": 1.6444,
                "rating": 7.0634,
                "minutes": 68.39,
                "total_pass": 42.4341,
                "accurate_pass": 39.0747,
                "duels_won": 2.5153,
                "total_long_balls": 2.4376,
                "accurate_long_balls": 1.9022,
                "total_own_half_passes": 12.9559,
                "accurate_own_half_passes": 12.2835,
                "total_opp_half_passes": 29.4783,
                "accurate_opp_half_passes": 26.7913,
                "crosses_total": 2.9032,
                "crosses_accurate": 1.3388,
                "touches": 54.3543,
                "possession_lost": 7.5944,
                "dispossessed": 0.6766,
                "duels_lost": 3.2618,
                "aerial_won": 0.9,
                "aerial_lost": 0.4067,
                "interceptions": 0.3594,
                "tackles_won": 0.2171,
                "tackles": 0.4398,
                "clearances": 0.083,
                "total_contest": 1.3193,
                "won_contest": 0.3219,
                "challenges_lost": 0.6585,
                "fouls": 0.5459,
                "fouls_drawn": 1.7537,
                "blocks": 0.1588,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1897,
                "xgot": 0.6891,
                "ball_carries": 17.2025,
                "total_progression": 51.0657,
                "progressive_carries": 1.4392,
                "shots_off_target": 1.1239,
                "duel_xg_multiplier": 0.9696,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.1,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.399,
                "pressing_faced": "LOW",
                "matchup_zone": "LW vs CB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Einar Galilea",
                "opponent_faced": "Einar Galilea",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.2304,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9311,
                "creation_factor": 0.8078,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.2304,
                "goal_rate": 0.1473,
                "scorer_weight": 0.2439,
                "squad_weight_total": 2.2809,
                "weight_share": 0.1069,
                "finishing_factor": 0.9311,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.6492,
                    "already": 0,
                    "effective_weight": 0.6492,
                    "runner_up": "Troy Parrott",
                    "runner_up_effective_weight": 0.4679
                  },
                  {
                    "n": 2,
                    "player": "Troy Parrott",
                    "weight": 0.4679,
                    "already": 0,
                    "effective_weight": 0.4679,
                    "runner_up": "Antony",
                    "runner_up_effective_weight": 0.3665
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "key_pass": 2.3214,
                "expected_assists": 0.2591,
                "assist_rate": 0.1198,
                "assists": 0,
                "expected_goals": 0.2619,
                "goal_rate": 0.1473,
                "goals": 0,
                "shots_on_target": 0.5205,
                "total_shots": 1.6444,
                "rating": 7.0634,
                "minutes": 68.39,
                "total_pass": 42.4341,
                "accurate_pass": 39.0747,
                "duels_won": 2.5153,
                "total_long_balls": 2.4376,
                "accurate_long_balls": 1.9022,
                "total_own_half_passes": 12.9559,
                "accurate_own_half_passes": 12.2835,
                "total_opp_half_passes": 29.4783,
                "accurate_opp_half_passes": 26.7913,
                "crosses_total": 2.9032,
                "crosses_accurate": 1.3388,
                "touches": 54.3543,
                "possession_lost": 7.5944,
                "dispossessed": 0.6766,
                "duels_lost": 3.2618,
                "aerial_won": 0.9,
                "aerial_lost": 0.4067,
                "interceptions": 0.3594,
                "tackles_won": 0.2171,
                "tackles": 0.4398,
                "clearances": 0.083,
                "total_contest": 1.3193,
                "won_contest": 0.3219,
                "challenges_lost": 0.6585,
                "fouls": 0.5459,
                "fouls_drawn": 1.7537,
                "blocks": 0.1588,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1897,
                "xgot": 0.6891,
                "ball_carries": 17.2025,
                "total_progression": 51.0657,
                "progressive_carries": 1.4392,
                "shots_off_target": 1.1239,
                "duel_xg_multiplier": 0.9696,
                "dribbles_attempted": 3.0,
                "dribbles_successful": 1.1,
                "crosses_attempted": 1.9,
                "duel_win_rate": 0.399,
                "pressing_faced": "LOW",
                "matchup_zone": "LW vs CB",
                "numerical_situation": "1v1",
                "opponent_defenders": "Einar Galilea",
                "opponent_faced": "Einar Galilea",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.2304,
                "projected_assists": 0,
                "assist_probability": 0.2283,
                "finishing_factor": 0.9311,
                "creation_factor": 0.8078,
                "fifa_overall": 83.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.2283,
                "assist_rate": 0.1198,
                "provider_weight": 0.2093,
                "squad_weight_total": 1.2992,
                "weight_share": 0.1611,
                "creation_factor": 0.8078,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.25,
                    "already": 0,
                    "effective_weight": 0.25,
                    "runner_up": "Pablo Fornals",
                    "runner_up_effective_weight": 0.2333
                  }
                ]
              }
            }
          ]
        },
        "Abdessamad Ezzalzouli": {
          "player_id": 1011375,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 10,
          "height": 177,
          "market_value": 43000000,
          "stats": {
            "expected_goals": 0.6112,
            "goal_rate": 0.4044,
            "goals": 1,
            "shots_on_target": 1,
            "total_shots": 3,
            "expected_assists": 0.3125,
            "key_pass": 2,
            "rating": 7.1726,
            "minutes": 84,
            "total_pass": 31,
            "accurate_pass": 26,
            "duels_won": 5,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 23,
            "accurate_opp_half_passes": 19,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 52,
            "possession_lost": 13.5854,
            "dispossessed": 1.598,
            "duels_lost": 5,
            "aerial_lost": 1,
            "total_contest": 3,
            "won_contest": 1,
            "ball_recovery": 3,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 2,
            "assist_rate": 0.0952,
            "assists": 1,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 2,
            "clearances": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.8482,
            "offsides": 0,
            "ball_carries": 19,
            "total_progression": 127,
            "progressive_carries": 5,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.2046,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.6,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.339,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Einar Galilea, Fernando Calero",
            "opponent_faced": "Einar Galilea, Fernando Calero",
            "antagonist_source": "attacking_duel",
            "projected_goals": 1,
            "goal_probability": 0.4573,
            "projected_assists": 1,
            "assist_probability": 0.2684,
            "finishing_factor": 1.0622,
            "creation_factor": 0.8,
            "fifa_overall": 86.0
          },
          "latest_10_games": [
            {
              "match_id": 16421079,
              "match_date": "2026-10-25",
              "home_team": "Celta Vigo",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1517,
                "expected_assists": 0.1411,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 53,
                "accurate_pass": 49,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 0,
                "clearances": 0,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 3,
                "saves": 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": 16421068,
              "match_date": "2026-10-17",
              "home_team": "Real Betis",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.309,
                "expected_assists": 0.0941,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 18,
                "accurate_pass": 12,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 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": 16421054,
              "match_date": "2026-10-11",
              "home_team": "Real Betis",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 89,
                "rating": 7.2,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.5313,
                "expected_assists": 0.1235,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 25,
                "accurate_pass": 18,
                "key_pass": 2,
                "tackles": 1,
                "tackles_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": 16416313,
              "match_date": "2026-09-20",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2047,
                "expected_assists": 0.1421,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 37,
                "accurate_pass": 30,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "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": 16416336,
              "match_date": "2026-09-17",
              "home_team": "Real Betis",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Getafe",
              "stats": {
                "minutes": 72,
                "rating": 8.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3215,
                "expected_assists": 0.1087,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 34,
                "accurate_pass": 29,
                "key_pass": 2,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 66,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1031,
                "expected_assists": 0.6366,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 21,
                "accurate_pass": 20,
                "key_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416309,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 16,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0064,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 13,
                "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": 14083710,
              "match_date": "2026-05-23",
              "home_team": "Real Betis",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 80,
                "rating": 7.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.7526,
                "expected_assists": 0.1328,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 30,
                "accurate_pass": 25,
                "key_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083666,
              "match_date": "2026-05-17",
              "home_team": "FC Barcelona",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 79,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0357,
                "expected_assists": 0.0061,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 20,
                "accurate_pass": 14,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 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": 14083608,
              "match_date": "2026-05-12",
              "home_team": "Real Betis",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Elche",
              "stats": {
                "minutes": 83,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1744,
                "expected_assists": 0.0942,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 17,
                "accurate_pass": 14,
                "key_pass": 1,
                "tackles": 2,
                "interceptions": 2,
                "aerial_won": 3,
                "duels_won": 7,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 207,
            "combined_rank_score": 125.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 158.0,
            "sofascore_rating": 7.2931,
            "sofascore_appearances": 29.0,
            "fifa_rank": 93.0,
            "fifa_overall": 86.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.1726,
            "source_file": "data/player_rankings.csv",
            "player_name": "Abdessamad Ezzalzouli",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Guillermo Maripán",
                  "ranking": 202
                },
                {
                  "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
                }
              ],
              "lower": [
                {
                  "player_name": "Dávid Hancko",
                  "ranking": 208
                },
                {
                  "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
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 36,
          "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": 36,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 1.0106,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (F_service) evaluated 36 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.3103,
                "goals": 0.3321,
                "goal_rate": 0.3321,
                "shots_on_target": 1.1212,
                "total_shots": 2.1939,
                "expected_assists": 0.191,
                "key_pass": 1.5514,
                "rating": 7.1726,
                "minutes": 84.38,
                "total_pass": 31.0627,
                "accurate_pass": 25.6052,
                "duels_won": 5.0771,
                "total_long_balls": 1.1348,
                "accurate_long_balls": 0.8022,
                "total_opp_half_passes": 22.6705,
                "accurate_opp_half_passes": 18.616,
                "crosses_total": 1.3863,
                "crosses_accurate": 0.2225,
                "touches": 51.042,
                "possession_lost": 13.4429,
                "dispossessed": 1.5812,
                "duels_lost": 5.2762,
                "aerial_lost": 0.7774,
                "total_contest": 3.1175,
                "won_contest": 1.1526,
                "ball_recovery": 3.0872,
                "challenges_lost": 0.3714,
                "fouls": 0.8817,
                "fouls_drawn": 1.7651,
                "assists": 0.0942,
                "assist_rate": 0.0942,
                "interceptions": 0.2131,
                "tackles_won": 0.9754,
                "tackles": 1.5443,
                "clearances": 0.5345,
                "blocks": 0.0252,
                "big_chances_created": 0.1563,
                "big_chances_missed": 0.159,
                "xgot": 0.4307,
                "offsides": 0.1833,
                "ball_carries": 18.3233,
                "total_progression": 125.7356,
                "progressive_carries": 5.2792,
                "shots_off_target": 1.0727
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:30:56.271646+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 610,
                    "rows": 17075
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-25",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1504,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-10-17",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1279,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Osasuna",
                    "minutes": 89.0,
                    "is_starting": true,
                    "weight": 0.1087,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0924,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Getafe",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.0785,
                    "rating": 8.1
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Villarreal",
                    "minutes": 66.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.0567,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Levante UD",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "FC Barcelona",
                    "minutes": 79.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Elche",
                    "minutes": 83.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.1
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "accurateOppositionHalfPasses": 18.2258,
                  "expectedGoals": 0.2771,
                  "totalOppositionHalfPasses": 22.0258,
                  "accuratePass": 24.9136,
                  "totalShots": 1.8966
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.3103168308734894,
                    "model_output": 0.3103,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0898
                      },
                      {
                        "name": "goals",
                        "importance": 0.0323
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0236
                      }
                    ],
                    "decomposition": {
                      "base": 0.1945,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0697
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0428
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0374
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0216
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0191
                        }
                      ],
                      "others": 0.0066,
                      "total": 0.3103,
                      "log_link": true,
                      "margin_base": -1.637486,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.306357
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.15024
                        },
                        {
                          "name": "goals",
                          "margin": 0.114861
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.064833
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.061048
                        }
                      ],
                      "others_margin": 0.021747
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.3321436047554016,
                    "model_output": 0.3321,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.144
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0742
                      },
                      {
                        "name": "goals",
                        "importance": 0.053
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0878
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.038
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0325
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.027
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0213
                        }
                      ],
                      "others": -0.0309,
                      "total": 0.3321,
                      "log_link": true,
                      "margin_base": -1.614663,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.365653
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.124343
                        },
                        {
                          "name": "goals",
                          "margin": 0.095494
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.072741
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.057105
                        }
                      ],
                      "others_margin": -0.088651
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 1.1212122440338135,
                    "model_output": 1.1212,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2115
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.066
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0499
                      },
                      {
                        "name": "goals",
                        "importance": 0.0473
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 0.5305,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.212
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0802
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0858
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0856
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0672
                        }
                      ],
                      "others": 0.2311,
                      "total": 1.1212,
                      "log_link": true,
                      "margin_base": -0.633985,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.336214
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.10263
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.099167
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.099022
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.078555
                        }
                      ],
                      "others_margin": 0.230851
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 2.193882942199707,
                    "model_output": 2.1939,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2934
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0662
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.05
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0272
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.027
                      }
                    ],
                    "decomposition": {
                      "base": 1.3805,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5084
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.1223
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1128
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0858
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0602
                        }
                      ],
                      "others": 0.0443,
                      "total": 2.1939,
                      "log_link": false,
                      "margin_base": 1.38048,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.508405
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.122296
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.11283
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.085769
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.060158
                        }
                      ],
                      "others_margin": 0.044263
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.19103948771953583,
                    "model_output": 0.191,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1135
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0826
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0722
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0587
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0552
                      }
                    ],
                    "decomposition": {
                      "base": 0.0647,
                      "items": [
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0123
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0145
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0142
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0115
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0115
                        }
                      ],
                      "others": 0.0623,
                      "total": 0.191,
                      "log_link": true,
                      "margin_base": -2.738275,
                      "item_margins": [
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.174193
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.172598
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.144408
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.103646
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.093944
                        }
                      ],
                      "others_margin": 0.39421
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 1.5514349937438965,
                    "model_output": 1.5514,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1545
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.1071
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0923
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0893
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0298
                      }
                    ],
                    "decomposition": {
                      "base": 0.6939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1835
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.1049
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0985
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0939
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0832
                        }
                      ],
                      "others": 0.2935,
                      "total": 1.5514,
                      "log_link": true,
                      "margin_base": -0.365451,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.234666
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.112926
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.095526
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.083332
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.06847
                        }
                      ],
                      "others_margin": 0.209712
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.172577381134033,
                    "model_output": 7.1726,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0529
                      },
                      {
                        "name": "rating",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.044
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0417
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0371
                      }
                    ],
                    "decomposition": {
                      "base": 6.7735,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.0711
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.069
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0637
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0561
                        },
                        {
                          "name": "big_chance_conversion",
                          "contribution": -0.0302
                        }
                      ],
                      "others": 0.1694,
                      "total": 7.1726,
                      "log_link": false,
                      "margin_base": 6.773504,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.071057
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.069021
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.06374
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.056101
                        },
                        {
                          "name": "big_chance_conversion",
                          "margin": -0.03017
                        }
                      ],
                      "others_margin": 0.169322
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 36,
                  "role_matches": 32,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0106, quality 0.796)",
              "stats": {
                "expected_goals": 0.3136,
                "goals": 0.3357,
                "goal_rate": 0.3357,
                "shots_on_target": 1.1331,
                "total_shots": 2.2172,
                "expected_assists": 0.1931,
                "key_pass": 1.5679,
                "rating": 7.1726,
                "minutes": 84.38,
                "total_pass": 31.392,
                "accurate_pass": 25.8766,
                "duels_won": 5.1309,
                "total_long_balls": 1.1468,
                "accurate_long_balls": 0.8107,
                "total_opp_half_passes": 22.9108,
                "accurate_opp_half_passes": 18.8133,
                "crosses_total": 1.401,
                "crosses_accurate": 0.2249,
                "touches": 51.583,
                "possession_lost": 13.5854,
                "dispossessed": 1.598,
                "duels_lost": 5.3321,
                "aerial_lost": 0.7856,
                "total_contest": 3.1505,
                "won_contest": 1.1648,
                "ball_recovery": 3.1199,
                "challenges_lost": 0.3753,
                "fouls": 0.891,
                "fouls_drawn": 1.7838,
                "assists": 0.0952,
                "assist_rate": 0.0952,
                "interceptions": 0.2154,
                "tackles_won": 0.9857,
                "tackles": 1.5607,
                "clearances": 0.5402,
                "blocks": 0.0255,
                "big_chances_created": 0.158,
                "big_chances_missed": 0.1607,
                "xgot": 0.4353,
                "offsides": 0.1852,
                "ball_carries": 18.5175,
                "total_progression": 127.0684,
                "progressive_carries": 5.3352,
                "shots_off_target": 1.0841
              },
              "params": {
                "market_value_eur": 43000000,
                "quality_factor": 0.7957,
                "boost_factor": 1.0106,
                "reference_quality": 0.505,
                "history_matches": 36,
                "history_shrink": 0.122,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.3136,
                "goals": 0.3357,
                "goal_rate": 0.3357,
                "shots_on_target": 1.1331,
                "total_shots": 2.2172,
                "expected_assists": 0.1931,
                "key_pass": 1.5679,
                "rating": 7.1726,
                "minutes": 84.38,
                "total_pass": 31.392,
                "accurate_pass": 25.8766,
                "duels_won": 5.1309,
                "total_long_balls": 1.1468,
                "accurate_long_balls": 0.8107,
                "total_opp_half_passes": 22.9108,
                "accurate_opp_half_passes": 18.8133,
                "crosses_total": 1.401,
                "crosses_accurate": 0.2249,
                "touches": 51.583,
                "possession_lost": 13.5854,
                "dispossessed": 1.598,
                "duels_lost": 5.3321,
                "aerial_lost": 0.7856,
                "total_contest": 3.1505,
                "won_contest": 1.1648,
                "ball_recovery": 3.1199,
                "challenges_lost": 0.3753,
                "fouls": 0.891,
                "fouls_drawn": 1.7838,
                "assists": 0.0952,
                "assist_rate": 0.0952,
                "interceptions": 0.2154,
                "tackles_won": 0.9857,
                "tackles": 1.5607,
                "clearances": 0.5402,
                "blocks": 0.0255,
                "big_chances_created": 0.158,
                "big_chances_missed": 0.1607,
                "xgot": 0.4353,
                "offsides": 0.1852,
                "ball_carries": 18.5175,
                "total_progression": 127.0684,
                "progressive_carries": 5.3352,
                "shots_off_target": 1.0841
              },
              "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.3778,
                "goals": 0.4044,
                "goal_rate": 0.4044,
                "shots_on_target": 1.3649,
                "total_shots": 2.6708,
                "expected_assists": 0.1931,
                "key_pass": 1.5679,
                "rating": 7.1726,
                "minutes": 84.38,
                "total_pass": 31.392,
                "accurate_pass": 25.8766,
                "duels_won": 5.1309,
                "total_long_balls": 1.1468,
                "accurate_long_balls": 0.8107,
                "total_opp_half_passes": 22.9108,
                "accurate_opp_half_passes": 18.8133,
                "crosses_total": 1.401,
                "crosses_accurate": 0.2249,
                "touches": 51.583,
                "possession_lost": 13.5854,
                "dispossessed": 1.598,
                "duels_lost": 5.3321,
                "aerial_lost": 0.7856,
                "total_contest": 3.1505,
                "won_contest": 1.1648,
                "ball_recovery": 3.1199,
                "challenges_lost": 0.3753,
                "fouls": 0.891,
                "fouls_drawn": 1.7838,
                "assists": 0.0952,
                "assist_rate": 0.0952,
                "interceptions": 0.2154,
                "tackles_won": 0.9857,
                "tackles": 1.5607,
                "clearances": 0.5402,
                "blocks": 0.0255,
                "big_chances_created": 0.158,
                "big_chances_missed": 0.1936,
                "xgot": 0.5244,
                "offsides": 0.1852,
                "ball_carries": 18.5175,
                "total_progression": 127.0684,
                "progressive_carries": 5.3352,
                "shots_off_target": 1.3059,
                "duel_xg_multiplier": 1.2046,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "aerial_won": 1.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.339,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Einar Galilea, Fernando Calero",
                "opponent_faced": "Einar Galilea, Fernando Calero",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Einar Galilea, Fernando Calero",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.339,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 1.2046,
                  "skill_edge": 0.1612,
                  "height_edge": -0.022,
                  "attacker_skill": 0.7957,
                  "defender_skill": 0.4374,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Einar Galilea",
                      "market_value": 365000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4374
                    },
                    {
                      "player": "Fernando Calero",
                      "market_value": 2100000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4374
                    }
                  ],
                  "xg_override": 0.3778
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.2172,
                  "after": 2.6708
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 1.1331,
                  "after": 1.3649
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.0841,
                  "after": 1.3059
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.4353,
                  "after": 0.5244
                },
                {
                  "stat": "goals",
                  "before": 0.3357,
                  "after": 0.4044
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.3136,
                  "after": 0.3778
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.1607,
                  "after": 0.1936
                }
              ]
            },
            {
              "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.3778,
                "goal_rate": 0.4044,
                "goals": 0,
                "shots_on_target": 1.3649,
                "total_shots": 2.6708,
                "expected_assists": 0.1931,
                "key_pass": 1.5679,
                "rating": 7.1726,
                "minutes": 84.38,
                "total_pass": 31.392,
                "accurate_pass": 25.8766,
                "duels_won": 5.1309,
                "total_long_balls": 1.1468,
                "accurate_long_balls": 0.8107,
                "total_opp_half_passes": 22.9108,
                "accurate_opp_half_passes": 18.8133,
                "crosses_total": 1.401,
                "crosses_accurate": 0.2249,
                "touches": 51.583,
                "possession_lost": 13.5854,
                "dispossessed": 1.598,
                "duels_lost": 5.3321,
                "aerial_lost": 0.7856,
                "total_contest": 3.1505,
                "won_contest": 1.1648,
                "ball_recovery": 3.1199,
                "challenges_lost": 0.3753,
                "fouls": 0.891,
                "fouls_drawn": 1.7838,
                "assist_rate": 0.0952,
                "assists": 0,
                "interceptions": 0.2154,
                "tackles_won": 0.9857,
                "tackles": 1.5607,
                "clearances": 0.5402,
                "blocks": 0.0255,
                "big_chances_created": 0.158,
                "big_chances_missed": 0.1936,
                "xgot": 0.5244,
                "offsides": 0.1852,
                "ball_carries": 18.5175,
                "total_progression": 127.0684,
                "progressive_carries": 5.3352,
                "shots_off_target": 1.3059,
                "duel_xg_multiplier": 1.2046,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "aerial_won": 1.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.339,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Einar Galilea, Fernando Calero",
                "opponent_faced": "Einar Galilea, Fernando Calero",
                "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.15 (squad xG sum 1.3311, xG scale 1.6175, xA scale 1.6175, team xA 1.53 = 0.71 x lambda)",
              "stats": {
                "expected_goals": 0.6112,
                "goal_rate": 0.4044,
                "goals": 0,
                "shots_on_target": 1.3649,
                "total_shots": 2.6708,
                "expected_assists": 0.3125,
                "key_pass": 1.5679,
                "rating": 7.1726,
                "minutes": 84.38,
                "total_pass": 31.392,
                "accurate_pass": 25.8766,
                "duels_won": 5.1309,
                "total_long_balls": 1.1468,
                "accurate_long_balls": 0.8107,
                "total_opp_half_passes": 22.9108,
                "accurate_opp_half_passes": 18.8133,
                "crosses_total": 1.401,
                "crosses_accurate": 0.2249,
                "touches": 51.583,
                "possession_lost": 13.5854,
                "dispossessed": 1.598,
                "duels_lost": 5.3321,
                "aerial_lost": 0.7856,
                "total_contest": 3.1505,
                "won_contest": 1.1648,
                "ball_recovery": 3.1199,
                "challenges_lost": 0.3753,
                "fouls": 0.891,
                "fouls_drawn": 1.7838,
                "assist_rate": 0.0952,
                "assists": 0,
                "interceptions": 0.2154,
                "tackles_won": 0.9857,
                "tackles": 1.5607,
                "clearances": 0.5402,
                "blocks": 0.0255,
                "big_chances_created": 0.158,
                "big_chances_missed": 0.1936,
                "xgot": 0.8482,
                "offsides": 0.1852,
                "ball_carries": 18.5175,
                "total_progression": 127.0684,
                "progressive_carries": 5.3352,
                "shots_off_target": 1.3059,
                "duel_xg_multiplier": 1.2046,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "aerial_won": 1.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.339,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Einar Galilea, Fernando Calero",
                "opponent_faced": "Einar Galilea, Fernando Calero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0622,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 2.153,
                "squad_xg_sum": 1.3311,
                "squad_xa_sum": 0.9447,
                "team_expected_assists": 1.528,
                "team_xa_to_xg_ratio": 0.7097,
                "bench_appearance_weighted": true,
                "xg_scale": 1.6175,
                "xa_scale": 1.6175,
                "opponent_lambda": 0.831,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.3778,
                  "after": 0.6112
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1931,
                  "after": 0.3125
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 1 by projected rating, fifa_overall 86.0)",
              "stats": {
                "expected_goals": 0.6112,
                "goal_rate": 0.4044,
                "goals": 0,
                "shots_on_target": 1.3649,
                "total_shots": 2.6708,
                "expected_assists": 0.3125,
                "key_pass": 1.5679,
                "rating": 7.1726,
                "minutes": 84.38,
                "total_pass": 31.392,
                "accurate_pass": 25.8766,
                "duels_won": 5.1309,
                "total_long_balls": 1.1468,
                "accurate_long_balls": 0.8107,
                "total_opp_half_passes": 22.9108,
                "accurate_opp_half_passes": 18.8133,
                "crosses_total": 1.401,
                "crosses_accurate": 0.2249,
                "touches": 51.583,
                "possession_lost": 13.5854,
                "dispossessed": 1.598,
                "duels_lost": 5.3321,
                "aerial_lost": 0.7856,
                "total_contest": 3.1505,
                "won_contest": 1.1648,
                "ball_recovery": 3.1199,
                "challenges_lost": 0.3753,
                "fouls": 0.891,
                "fouls_drawn": 1.7838,
                "assist_rate": 0.0952,
                "assists": 0,
                "interceptions": 0.2154,
                "tackles_won": 0.9857,
                "tackles": 1.5607,
                "clearances": 0.5402,
                "blocks": 0.0255,
                "big_chances_created": 0.158,
                "big_chances_missed": 0.1936,
                "xgot": 0.8482,
                "offsides": 0.1852,
                "ball_carries": 18.5175,
                "total_progression": 127.0684,
                "progressive_carries": 5.3352,
                "shots_off_target": 1.3059,
                "duel_xg_multiplier": 1.2046,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "aerial_won": 1.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.339,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Einar Galilea, Fernando Calero",
                "opponent_faced": "Einar Galilea, Fernando Calero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0622,
                "creation_factor": 0.8,
                "fifa_overall": 86.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": 207,
                "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: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.6112,
                "goal_rate": 0.4044,
                "goals": 1,
                "shots_on_target": 1.3649,
                "total_shots": 2.6708,
                "expected_assists": 0.3125,
                "key_pass": 1.5679,
                "rating": 7.1726,
                "minutes": 84.38,
                "total_pass": 31.392,
                "accurate_pass": 25.8766,
                "duels_won": 5.1309,
                "total_long_balls": 1.1468,
                "accurate_long_balls": 0.8107,
                "total_opp_half_passes": 22.9108,
                "accurate_opp_half_passes": 18.8133,
                "crosses_total": 1.401,
                "crosses_accurate": 0.2249,
                "touches": 51.583,
                "possession_lost": 13.5854,
                "dispossessed": 1.598,
                "duels_lost": 5.3321,
                "aerial_lost": 0.7856,
                "total_contest": 3.1505,
                "won_contest": 1.1648,
                "ball_recovery": 3.1199,
                "challenges_lost": 0.3753,
                "fouls": 0.891,
                "fouls_drawn": 1.7838,
                "assist_rate": 0.0952,
                "assists": 0,
                "interceptions": 0.2154,
                "tackles_won": 0.9857,
                "tackles": 1.5607,
                "clearances": 0.5402,
                "blocks": 0.0255,
                "big_chances_created": 0.158,
                "big_chances_missed": 0.1936,
                "xgot": 0.8482,
                "offsides": 0.1852,
                "ball_carries": 18.5175,
                "total_progression": 127.0684,
                "progressive_carries": 5.3352,
                "shots_off_target": 1.3059,
                "duel_xg_multiplier": 1.2046,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "aerial_won": 1.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.339,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Einar Galilea, Fernando Calero",
                "opponent_faced": "Einar Galilea, Fernando Calero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.4573,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0622,
                "creation_factor": 0.8,
                "fifa_overall": 86.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 1,
                "goal_probability": 0.4573,
                "goal_rate": 0.4044,
                "scorer_weight": 0.6492,
                "squad_weight_total": 2.2809,
                "weight_share": 0.2846,
                "finishing_factor": 1.0622,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.6492,
                    "already": 0,
                    "effective_weight": 0.6492,
                    "runner_up": "Troy Parrott",
                    "runner_up_effective_weight": 0.4679
                  },
                  {
                    "n": 2,
                    "player": "Troy Parrott",
                    "weight": 0.4679,
                    "already": 0,
                    "effective_weight": 0.4679,
                    "runner_up": "Antony",
                    "runner_up_effective_weight": 0.3665
                  }
                ]
              }
            },
            {
              "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.6112,
                "goal_rate": 0.4044,
                "goals": 1,
                "shots_on_target": 1.3649,
                "total_shots": 2.6708,
                "expected_assists": 0.3125,
                "key_pass": 1.5679,
                "rating": 7.1726,
                "minutes": 84.38,
                "total_pass": 31.392,
                "accurate_pass": 25.8766,
                "duels_won": 5.1309,
                "total_long_balls": 1.1468,
                "accurate_long_balls": 0.8107,
                "total_opp_half_passes": 22.9108,
                "accurate_opp_half_passes": 18.8133,
                "crosses_total": 1.401,
                "crosses_accurate": 0.2249,
                "touches": 51.583,
                "possession_lost": 13.5854,
                "dispossessed": 1.598,
                "duels_lost": 5.3321,
                "aerial_lost": 0.7856,
                "total_contest": 3.1505,
                "won_contest": 1.1648,
                "ball_recovery": 3.1199,
                "challenges_lost": 0.3753,
                "fouls": 0.891,
                "fouls_drawn": 1.7838,
                "assist_rate": 0.0952,
                "assists": 1,
                "interceptions": 0.2154,
                "tackles_won": 0.9857,
                "tackles": 1.5607,
                "clearances": 0.5402,
                "blocks": 0.0255,
                "big_chances_created": 0.158,
                "big_chances_missed": 0.1936,
                "xgot": 0.8482,
                "offsides": 0.1852,
                "ball_carries": 18.5175,
                "total_progression": 127.0684,
                "progressive_carries": 5.3352,
                "shots_off_target": 1.3059,
                "duel_xg_multiplier": 1.2046,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.6,
                "aerial_won": 1.5,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.339,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Einar Galilea, Fernando Calero",
                "opponent_faced": "Einar Galilea, Fernando Calero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.4573,
                "projected_assists": 1,
                "assist_probability": 0.2684,
                "finishing_factor": 1.0622,
                "creation_factor": 0.8,
                "fifa_overall": 86.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 1,
                "assist_probability": 0.2684,
                "assist_rate": 0.0952,
                "provider_weight": 0.25,
                "squad_weight_total": 1.2992,
                "weight_share": 0.1924,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.25,
                    "already": 0,
                    "effective_weight": 0.25,
                    "runner_up": "Pablo Fornals",
                    "runner_up_effective_weight": 0.2333
                  }
                ]
              }
            }
          ]
        },
        "Troy Parrott": {
          "player_id": 966555,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 19,
          "height": 185,
          "market_value": 18400000,
          "stats": {
            "expected_goals": 0.4411,
            "goal_rate": 0.2923,
            "goals": 1,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.0951,
            "key_pass": 1,
            "rating": 6.6887,
            "minutes": 73,
            "total_pass": 10,
            "accurate_pass": 8,
            "duels_won": 1,
            "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": 15,
            "possession_lost": 3.4128,
            "dispossessed": 0.4881,
            "duels_lost": 2,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.1355,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 1,
            "xgot": 0.1782,
            "offsides": 0,
            "ball_carries": 3,
            "total_progression": 8,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 1.1322,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.5,
            "aerial_won": 2,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.29,
            "pressing_faced": "LOW",
            "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Einar Galilea, Fernando Calero",
            "opponent_faced": "Einar Galilea, Fernando Calero",
            "antagonist_source": "attacking_duel",
            "projected_goals": 1,
            "goal_probability": 0.3567,
            "projected_assists": 0,
            "assist_probability": 0.0907,
            "finishing_factor": 1.0607,
            "creation_factor": 1.25,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16421079,
              "match_date": "2026-10-25",
              "home_team": "Celta Vigo",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 29,
                "rating": 6.6,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3931,
                "expected_assists": 0.0026,
                "total_shots": 2,
                "shots_on_target": 0,
                "shots_off_target": 2,
                "total_pass": 15,
                "accurate_pass": 14,
                "tackles": 0,
                "tackles_won": 0,
                "interceptions": 0,
                "clearances": 0,
                "aerial_won": 3,
                "duels_won": 3,
                "ball_recovery": 2,
                "saves": 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": 16421068,
              "match_date": "2026-10-17",
              "home_team": "Real Betis",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 26,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0109,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 10,
                "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": 16421054,
              "match_date": "2026-10-11",
              "home_team": "Real Betis",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 9,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0426,
                "expected_assists": 0.0029,
                "total_shots": 1,
                "shots_on_target": 1,
                "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": 16416336,
              "match_date": "2026-09-17",
              "home_team": "Real Betis",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Getafe",
              "stats": {
                "minutes": 72,
                "rating": 6.8,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.0145,
                "expected_assists": 0.1037,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 11,
                "accurate_pass": 8,
                "key_pass": 2,
                "clearances": 2,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416315,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 22,
                "rating": 7.2,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.7686,
                "expected_assists": 0.0,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 3,
                "accurate_pass": 2,
                "tackles": 1,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416309,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 57,
                "rating": 5.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3679,
                "expected_assists": 0.0788,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 12,
                "accurate_pass": 10,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421049,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 19,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0997,
                "expected_assists": 0.0064,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 5,
                "accurate_pass": 4,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 1404,
            "combined_rank_score": 580.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 87.0,
            "sofascore_rating": 7.52,
            "sofascore_appearances": 5.0,
            "fifa_rank": 1074.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6887,
            "source_file": "data/player_rankings.csv",
            "player_name": "Troy Parrott",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jerome Abbey",
                  "ranking": 1399
                },
                {
                  "player_name": "Rayan",
                  "ranking": 1400
                },
                {
                  "player_name": "Amir Rrahmani",
                  "ranking": 1401
                },
                {
                  "player_name": "Josep Chavarría",
                  "ranking": 1402
                },
                {
                  "player_name": "Abde",
                  "ranking": 1403
                }
              ],
              "lower": [
                {
                  "player_name": "Anan Khalaili",
                  "ranking": 1405
                },
                {
                  "player_name": "Guillermo May",
                  "ranking": 1406
                },
                {
                  "player_name": "Pubill",
                  "ranking": 1407
                },
                {
                  "player_name": "Bozhidar Kraev",
                  "ranking": 1408
                },
                {
                  "player_name": "Aïssa Mandi",
                  "ranking": 1409
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.695,
          "history_matches": 7,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 7,
            "data_confidence": 0.695,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0138,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 1.0,
              "minutes": 76.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 3.55,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.0533
            },
            "rationale": "XGBoost regressor (F_service) evaluated 7 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Real Betis, rel: 0.05, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.2376,
                "goals": 0.2584,
                "goal_rate": 0.2584,
                "shots_on_target": 0.6336,
                "total_shots": 1.5213,
                "expected_assists": 0.058,
                "key_pass": 0.7247,
                "rating": 6.6887,
                "minutes": 72.55,
                "total_pass": 9.6306,
                "accurate_pass": 8.0738,
                "duels_won": 1.4432,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 6.4682,
                "accurate_opp_half_passes": 4.9114,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 15.0879,
                "possession_lost": 3.3663,
                "dispossessed": 0.4815,
                "duels_lost": 1.6888,
                "aerial_lost": 0.6547,
                "total_contest": 0.5902,
                "won_contest": 0.1356,
                "ball_recovery": 1.2427,
                "challenges_lost": 0.0,
                "fouls": 0.098,
                "fouls_drawn": 0.2508,
                "assists": 0.1356,
                "assist_rate": 0.1356,
                "interceptions": 0.0,
                "tackles_won": 0.2792,
                "tackles": 0.3944,
                "clearances": 0.5529,
                "blocks": 0.0,
                "big_chances_created": 0.1356,
                "big_chances_missed": 0.4783,
                "xgot": 0.096,
                "offsides": 0.098,
                "ball_carries": 2.9702,
                "total_progression": 8.3279,
                "progressive_carries": 0.5615,
                "shots_off_target": 0.8877
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:30:56.271646+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 610,
                    "rows": 17075
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-25",
                    "opponent": "Celta Vigo",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.2208,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-10-17",
                    "opponent": "FC Barcelona",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.1877,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Osasuna",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.1595,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Getafe",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 22.0,
                    "is_starting": false,
                    "weight": 0.1152,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 57.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 5.9
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 19.0,
                    "is_starting": false,
                    "weight": 0.0833,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 1.0,
                  "accurateOppositionHalfPasses": 4.9114,
                  "expectedGoals": 0.2285,
                  "totalOppositionHalfPasses": 6.4682,
                  "accuratePass": 8.0738,
                  "totalShots": 1.1311
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.2376478761434555,
                    "model_output": 0.2376,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0898
                      },
                      {
                        "name": "goals",
                        "importance": 0.0323
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0236
                      }
                    ],
                    "decomposition": {
                      "base": 0.1945,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0661
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0335
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0152
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0138
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0117
                        }
                      ],
                      "others": -0.0392,
                      "total": 0.2376,
                      "log_link": true,
                      "margin_base": -1.637486,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.29248
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.120967
                        },
                        {
                          "name": "goals",
                          "margin": -0.053091
                        },
                        {
                          "name": "duelLost",
                          "margin": -0.050805
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.04333
                        }
                      ],
                      "others_margin": -0.152361
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.2584018111228943,
                    "model_output": 0.2584,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.144
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0742
                      },
                      {
                        "name": "goals",
                        "importance": 0.053
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0674
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0212
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0181
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0172
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0135
                        }
                      ],
                      "others": 0.0276,
                      "total": 0.2584,
                      "log_link": true,
                      "margin_base": -1.614663,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.291651
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.083137
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.07682
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.072846
                        },
                        {
                          "name": "goals",
                          "margin": -0.056891
                        }
                      ],
                      "others_margin": 0.113776
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.6336232423782349,
                    "model_output": 0.6336,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2115
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.066
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0499
                      },
                      {
                        "name": "goals",
                        "importance": 0.0473
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 0.5305,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1784
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0407
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0363
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0336
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0254
                        }
                      ],
                      "others": -0.0119,
                      "total": 0.6336,
                      "log_link": true,
                      "margin_base": -0.633985,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.289975
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.059083
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.052912
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.048835
                        },
                        {
                          "name": "goals",
                          "margin": -0.038644
                        }
                      ],
                      "others_margin": -0.018642
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.5213384628295898,
                    "model_output": 1.5213,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2934
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0662
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.05
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0272
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.027
                      }
                    ],
                    "decomposition": {
                      "base": 1.3805,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4294
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1854
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0669
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0387
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0366
                        }
                      ],
                      "others": -0.0384,
                      "total": 1.5213,
                      "log_link": false,
                      "margin_base": 1.38048,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.429392
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.185357
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.066906
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.038724
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.03655
                        }
                      ],
                      "others_margin": -0.038443
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.058042872697114944,
                    "model_output": 0.058,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1135
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0826
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0722
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0587
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0552
                      }
                    ],
                    "decomposition": {
                      "base": 0.0647,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0219
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0083
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0061
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0054
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0034
                        }
                      ],
                      "others": -0.0162,
                      "total": 0.058,
                      "log_link": true,
                      "margin_base": -2.738275,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.291077
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.101178
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.08157
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.072372
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.044367
                        }
                      ],
                      "others_margin": -0.244633
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.724711000919342,
                    "model_output": 0.7247,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1545
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.1071
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0923
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0893
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0298
                      }
                    ],
                    "decomposition": {
                      "base": 0.6939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2177
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0565
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0538
                        },
                        {
                          "name": "keyPass",
                          "contribution": -0.0388
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0357
                        }
                      ],
                      "others": -0.1097,
                      "total": 0.7247,
                      "log_link": true,
                      "margin_base": -0.365451,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.272856
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.063934
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.061021
                        },
                        {
                          "name": "keyPass",
                          "margin": -0.043616
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.041857
                        }
                      ],
                      "others_margin": -0.141001
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.688745021820068,
                    "model_output": 6.6887,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0529
                      },
                      {
                        "name": "rating",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.044
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0417
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0371
                      }
                    ],
                    "decomposition": {
                      "base": 6.7735,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0496
                        },
                        {
                          "name": "rating",
                          "contribution": -0.031
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0203
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0172
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": 0.0146
                        }
                      ],
                      "others": -0.0805,
                      "total": 6.6887,
                      "log_link": false,
                      "margin_base": 6.773504,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.049573
                        },
                        {
                          "name": "rating",
                          "margin": -0.031045
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.020265
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.01718
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": 0.014577
                        }
                      ],
                      "others_margin": -0.080419
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 7,
                  "role_matches": 2,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0138, quality 0.615)",
              "stats": {
                "expected_goals": 0.2409,
                "goals": 0.262,
                "goal_rate": 0.262,
                "shots_on_target": 0.6424,
                "total_shots": 1.5424,
                "expected_assists": 0.0588,
                "key_pass": 0.7347,
                "rating": 6.6887,
                "minutes": 72.55,
                "total_pass": 9.7635,
                "accurate_pass": 8.1852,
                "duels_won": 1.4631,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 6.5575,
                "accurate_opp_half_passes": 4.9792,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 15.2961,
                "possession_lost": 3.4128,
                "dispossessed": 0.4881,
                "duels_lost": 1.7121,
                "aerial_lost": 0.6637,
                "total_contest": 0.5983,
                "won_contest": 0.1375,
                "ball_recovery": 1.2598,
                "challenges_lost": 0.0,
                "fouls": 0.0994,
                "fouls_drawn": 0.2543,
                "assists": 0.1375,
                "assist_rate": 0.1375,
                "interceptions": 0.0,
                "tackles_won": 0.2831,
                "tackles": 0.3998,
                "clearances": 0.5605,
                "blocks": 0.0,
                "big_chances_created": 0.1375,
                "big_chances_missed": 0.4849,
                "xgot": 0.0973,
                "offsides": 0.0994,
                "ball_carries": 3.0112,
                "total_progression": 8.4428,
                "progressive_carries": 0.5692,
                "shots_off_target": 0.9
              },
              "params": {
                "market_value_eur": 18400000,
                "quality_factor": 0.615,
                "boost_factor": 1.0138,
                "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.0144)",
              "stats": {
                "expected_goals": 0.2409,
                "goals": 0.2582,
                "goal_rate": 0.2582,
                "shots_on_target": 0.6331,
                "total_shots": 1.5614,
                "expected_assists": 0.0588,
                "key_pass": 0.7347,
                "rating": 6.6887,
                "minutes": 72.55,
                "total_pass": 9.7635,
                "accurate_pass": 8.1852,
                "duels_won": 1.4631,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 6.5575,
                "accurate_opp_half_passes": 4.9792,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 15.2961,
                "possession_lost": 3.4128,
                "dispossessed": 0.4881,
                "duels_lost": 1.7121,
                "aerial_lost": 0.6637,
                "total_contest": 0.5983,
                "won_contest": 0.1375,
                "ball_recovery": 1.2598,
                "challenges_lost": 0.0,
                "fouls": 0.1125,
                "fouls_drawn": 0.2506,
                "assists": 0.1355,
                "assist_rate": 0.1355,
                "interceptions": 0.0,
                "tackles_won": 0.3227,
                "tackles": 0.3998,
                "clearances": 0.5605,
                "blocks": 0.0,
                "big_chances_created": 0.1375,
                "big_chances_missed": 0.4849,
                "xgot": 0.0973,
                "offsides": 0.1125,
                "ball_carries": 3.0112,
                "total_progression": 8.4428,
                "progressive_carries": 0.5692,
                "shots_off_target": 0.9
              },
              "params": {
                "blend_weight": 0.0144,
                "history_matches": 7,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8061,
                "prior_reliability": 0.0533,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.2831,
                  "after": 0.3227
                },
                {
                  "stat": "totalShots",
                  "before": 1.5424,
                  "after": 1.5614
                },
                {
                  "stat": "fouls",
                  "before": 0.0994,
                  "after": 0.1125
                },
                {
                  "stat": "totalOffside",
                  "before": 0.0994,
                  "after": 0.1125
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.6424,
                  "after": 0.6331
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.2409,
                "goals": 0.2582,
                "goal_rate": 0.2582,
                "shots_on_target": 0.6331,
                "total_shots": 1.5614,
                "expected_assists": 0.0588,
                "key_pass": 0.7347,
                "rating": 6.6887,
                "minutes": 72.55,
                "total_pass": 9.7635,
                "accurate_pass": 8.1852,
                "duels_won": 1.4631,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 6.5575,
                "accurate_opp_half_passes": 4.9792,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 15.2961,
                "possession_lost": 3.4128,
                "dispossessed": 0.4881,
                "duels_lost": 1.7121,
                "aerial_lost": 0.6637,
                "total_contest": 0.5983,
                "won_contest": 0.1375,
                "ball_recovery": 1.2598,
                "challenges_lost": 0.0,
                "fouls": 0.1125,
                "fouls_drawn": 0.2506,
                "assists": 0.1355,
                "assist_rate": 0.1355,
                "interceptions": 0.0,
                "tackles_won": 0.3227,
                "tackles": 0.3998,
                "clearances": 0.5605,
                "blocks": 0.0,
                "big_chances_created": 0.1375,
                "big_chances_missed": 0.4849,
                "xgot": 0.0973,
                "offsides": 0.1125,
                "ball_carries": 3.0112,
                "total_progression": 8.4428,
                "progressive_carries": 0.5692,
                "shots_off_target": 0.9
              },
              "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.2727,
                "goals": 0.2923,
                "goal_rate": 0.2923,
                "shots_on_target": 0.7168,
                "total_shots": 1.7678,
                "expected_assists": 0.0588,
                "key_pass": 0.7347,
                "rating": 6.6887,
                "minutes": 72.55,
                "total_pass": 9.7635,
                "accurate_pass": 8.1852,
                "duels_won": 1.4631,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 6.5575,
                "accurate_opp_half_passes": 4.9792,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 15.2961,
                "possession_lost": 3.4128,
                "dispossessed": 0.4881,
                "duels_lost": 1.7121,
                "aerial_lost": 0.6637,
                "total_contest": 0.5983,
                "won_contest": 0.1375,
                "ball_recovery": 1.2598,
                "challenges_lost": 0.0,
                "fouls": 0.1125,
                "fouls_drawn": 0.2506,
                "assists": 0.1355,
                "assist_rate": 0.1355,
                "interceptions": 0.0,
                "tackles_won": 0.3227,
                "tackles": 0.3998,
                "clearances": 0.5605,
                "blocks": 0.0,
                "big_chances_created": 0.1375,
                "big_chances_missed": 0.549,
                "xgot": 0.1102,
                "offsides": 0.1125,
                "ball_carries": 3.0112,
                "total_progression": 8.4428,
                "progressive_carries": 0.5692,
                "shots_off_target": 1.019,
                "duel_xg_multiplier": 1.1322,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.29,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Einar Galilea, Fernando Calero",
                "opponent_faced": "Einar Galilea, Fernando Calero",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Einar Galilea, Fernando Calero",
                  "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                  "duel_win_rate": 0.29,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 1.1322,
                  "skill_edge": 0.0799,
                  "height_edge": 0.01,
                  "attacker_skill": 0.615,
                  "defender_skill": 0.4374,
                  "attacker_role": "ST",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Einar Galilea",
                      "market_value": 365000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4374
                    },
                    {
                      "player": "Fernando Calero",
                      "market_value": 2100000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.4374
                    }
                  ],
                  "xg_override": 0.2727
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.5614,
                  "after": 1.7678
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.9,
                  "after": 1.019
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.6331,
                  "after": 0.7168
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.4849,
                  "after": 0.549
                },
                {
                  "stat": "goals",
                  "before": 0.2582,
                  "after": 0.2923
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.2409,
                  "after": 0.2727
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.0973,
                  "after": 0.1102
                }
              ]
            },
            {
              "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.2727,
                "goal_rate": 0.2923,
                "goals": 0,
                "shots_on_target": 0.7168,
                "total_shots": 1.7678,
                "expected_assists": 0.0588,
                "key_pass": 0.7347,
                "rating": 6.6887,
                "minutes": 72.55,
                "total_pass": 9.7635,
                "accurate_pass": 8.1852,
                "duels_won": 1.4631,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 6.5575,
                "accurate_opp_half_passes": 4.9792,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 15.2961,
                "possession_lost": 3.4128,
                "dispossessed": 0.4881,
                "duels_lost": 1.7121,
                "aerial_lost": 0.6637,
                "total_contest": 0.5983,
                "won_contest": 0.1375,
                "ball_recovery": 1.2598,
                "challenges_lost": 0.0,
                "fouls": 0.1125,
                "fouls_drawn": 0.2506,
                "assist_rate": 0.1355,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.3227,
                "tackles": 0.3998,
                "clearances": 0.5605,
                "blocks": 0.0,
                "big_chances_created": 0.1375,
                "big_chances_missed": 0.549,
                "xgot": 0.1102,
                "offsides": 0.1125,
                "ball_carries": 3.0112,
                "total_progression": 8.4428,
                "progressive_carries": 0.5692,
                "shots_off_target": 1.019,
                "duel_xg_multiplier": 1.1322,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.29,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Einar Galilea, Fernando Calero",
                "opponent_faced": "Einar Galilea, Fernando Calero",
                "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.15 (squad xG sum 1.3311, xG scale 1.6175, xA scale 1.6175, team xA 1.53 = 0.71 x lambda)",
              "stats": {
                "expected_goals": 0.4411,
                "goal_rate": 0.2923,
                "goals": 0,
                "shots_on_target": 0.7168,
                "total_shots": 1.7678,
                "expected_assists": 0.0951,
                "key_pass": 0.7347,
                "rating": 6.6887,
                "minutes": 72.55,
                "total_pass": 9.7635,
                "accurate_pass": 8.1852,
                "duels_won": 1.4631,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 6.5575,
                "accurate_opp_half_passes": 4.9792,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 15.2961,
                "possession_lost": 3.4128,
                "dispossessed": 0.4881,
                "duels_lost": 1.7121,
                "aerial_lost": 0.6637,
                "total_contest": 0.5983,
                "won_contest": 0.1375,
                "ball_recovery": 1.2598,
                "challenges_lost": 0.0,
                "fouls": 0.1125,
                "fouls_drawn": 0.2506,
                "assist_rate": 0.1355,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.3227,
                "tackles": 0.3998,
                "clearances": 0.5605,
                "blocks": 0.0,
                "big_chances_created": 0.1375,
                "big_chances_missed": 0.549,
                "xgot": 0.1782,
                "offsides": 0.1125,
                "ball_carries": 3.0112,
                "total_progression": 8.4428,
                "progressive_carries": 0.5692,
                "shots_off_target": 1.019,
                "duel_xg_multiplier": 1.1322,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.29,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Einar Galilea, Fernando Calero",
                "opponent_faced": "Einar Galilea, Fernando Calero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0607,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 2.153,
                "squad_xg_sum": 1.3311,
                "squad_xa_sum": 0.9447,
                "team_expected_assists": 1.528,
                "team_xa_to_xg_ratio": 0.7097,
                "bench_appearance_weighted": true,
                "xg_scale": 1.6175,
                "xa_scale": 1.6175,
                "opponent_lambda": 0.831,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2727,
                  "after": 0.4411
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0588,
                  "after": 0.0951
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 17 by projected rating, fifa_overall 78.0)",
              "stats": {
                "expected_goals": 0.4411,
                "goal_rate": 0.2923,
                "goals": 0,
                "shots_on_target": 0.7168,
                "total_shots": 1.7678,
                "expected_assists": 0.0951,
                "key_pass": 0.7347,
                "rating": 6.6887,
                "minutes": 72.55,
                "total_pass": 9.7635,
                "accurate_pass": 8.1852,
                "duels_won": 1.4631,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 6.5575,
                "accurate_opp_half_passes": 4.9792,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 15.2961,
                "possession_lost": 3.4128,
                "dispossessed": 0.4881,
                "duels_lost": 1.7121,
                "aerial_lost": 0.6637,
                "total_contest": 0.5983,
                "won_contest": 0.1375,
                "ball_recovery": 1.2598,
                "challenges_lost": 0.0,
                "fouls": 0.1125,
                "fouls_drawn": 0.2506,
                "assist_rate": 0.1355,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.3227,
                "tackles": 0.3998,
                "clearances": 0.5605,
                "blocks": 0.0,
                "big_chances_created": 0.1375,
                "big_chances_missed": 0.549,
                "xgot": 0.1782,
                "offsides": 0.1125,
                "ball_carries": 3.0112,
                "total_progression": 8.4428,
                "progressive_carries": 0.5692,
                "shots_off_target": 1.019,
                "duel_xg_multiplier": 1.1322,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.29,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Einar Galilea, Fernando Calero",
                "opponent_faced": "Einar Galilea, Fernando Calero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0607,
                "creation_factor": 1.25,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 17,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1404,
                "fifa_rank": 1074.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.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.4411,
                "goal_rate": 0.2923,
                "goals": 1,
                "shots_on_target": 0.7168,
                "total_shots": 1.7678,
                "expected_assists": 0.0951,
                "key_pass": 0.7347,
                "rating": 6.6887,
                "minutes": 72.55,
                "total_pass": 9.7635,
                "accurate_pass": 8.1852,
                "duels_won": 1.4631,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 6.5575,
                "accurate_opp_half_passes": 4.9792,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 15.2961,
                "possession_lost": 3.4128,
                "dispossessed": 0.4881,
                "duels_lost": 1.7121,
                "aerial_lost": 0.6637,
                "total_contest": 0.5983,
                "won_contest": 0.1375,
                "ball_recovery": 1.2598,
                "challenges_lost": 0.0,
                "fouls": 0.1125,
                "fouls_drawn": 0.2506,
                "assist_rate": 0.1355,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.3227,
                "tackles": 0.3998,
                "clearances": 0.5605,
                "blocks": 0.0,
                "big_chances_created": 0.1375,
                "big_chances_missed": 0.549,
                "xgot": 0.1782,
                "offsides": 0.1125,
                "ball_carries": 3.0112,
                "total_progression": 8.4428,
                "progressive_carries": 0.5692,
                "shots_off_target": 1.019,
                "duel_xg_multiplier": 1.1322,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.29,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Einar Galilea, Fernando Calero",
                "opponent_faced": "Einar Galilea, Fernando Calero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.3567,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0607,
                "creation_factor": 1.25,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 1,
                "goal_probability": 0.3567,
                "goal_rate": 0.2923,
                "scorer_weight": 0.4679,
                "squad_weight_total": 2.2809,
                "weight_share": 0.2051,
                "finishing_factor": 1.0607,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.6492,
                    "already": 0,
                    "effective_weight": 0.6492,
                    "runner_up": "Troy Parrott",
                    "runner_up_effective_weight": 0.4679
                  },
                  {
                    "n": 2,
                    "player": "Troy Parrott",
                    "weight": 0.4679,
                    "already": 0,
                    "effective_weight": 0.4679,
                    "runner_up": "Antony",
                    "runner_up_effective_weight": 0.3665
                  }
                ]
              }
            },
            {
              "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.4411,
                "goal_rate": 0.2923,
                "goals": 1,
                "shots_on_target": 0.7168,
                "total_shots": 1.7678,
                "expected_assists": 0.0951,
                "key_pass": 0.7347,
                "rating": 6.6887,
                "minutes": 72.55,
                "total_pass": 9.7635,
                "accurate_pass": 8.1852,
                "duels_won": 1.4631,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 6.5575,
                "accurate_opp_half_passes": 4.9792,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 15.2961,
                "possession_lost": 3.4128,
                "dispossessed": 0.4881,
                "duels_lost": 1.7121,
                "aerial_lost": 0.6637,
                "total_contest": 0.5983,
                "won_contest": 0.1375,
                "ball_recovery": 1.2598,
                "challenges_lost": 0.0,
                "fouls": 0.1125,
                "fouls_drawn": 0.2506,
                "assist_rate": 0.1355,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.3227,
                "tackles": 0.3998,
                "clearances": 0.5605,
                "blocks": 0.0,
                "big_chances_created": 0.1375,
                "big_chances_missed": 0.549,
                "xgot": 0.1782,
                "offsides": 0.1125,
                "ball_carries": 3.0112,
                "total_progression": 8.4428,
                "progressive_carries": 0.5692,
                "shots_off_target": 1.019,
                "duel_xg_multiplier": 1.1322,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.5,
                "aerial_won": 1.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.29,
                "pressing_faced": "LOW",
                "matchup_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Einar Galilea, Fernando Calero",
                "opponent_faced": "Einar Galilea, Fernando Calero",
                "antagonist_source": "attacking_duel",
                "projected_goals": 1,
                "goal_probability": 0.3567,
                "projected_assists": 0,
                "assist_probability": 0.0907,
                "finishing_factor": 1.0607,
                "creation_factor": 1.25,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0907,
                "assist_rate": 0.1355,
                "provider_weight": 0.1189,
                "squad_weight_total": 1.2992,
                "weight_share": 0.0915,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.25,
                    "already": 0,
                    "effective_weight": 0.25,
                    "runner_up": "Pablo Fornals",
                    "runner_up_effective_weight": 0.2333
                  }
                ]
              }
            }
          ]
        },
        "Natan": {
          "player_id": 1015287,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 4,
          "height": 188,
          "market_value": 32000000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 5,
            "aerial_won": 2,
            "total_shots": 1,
            "rating": 6.9245,
            "minutes": 89,
            "total_pass": 55,
            "accurate_pass": 51,
            "duels_won": 4,
            "total_long_balls": 4,
            "accurate_long_balls": 2,
            "total_own_half_passes": 38,
            "accurate_own_half_passes": 36,
            "total_opp_half_passes": 18,
            "accurate_opp_half_passes": 15,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 68,
            "possession_lost": 5.0559,
            "dispossessed": 0.2082,
            "duels_lost": 2,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 3,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 1,
            "goal_rate": 0.0786,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.1179,
            "expected_assists": 0.0186,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0738,
            "ball_carries": 19,
            "total_progression": 56,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 1,
            "tackles_in_zone": 1.1,
            "tackles_won_in_zone": 1.0,
            "interceptions_in_zone": 1.2,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.6,
            "defensive_success_rate": 0.82,
            "opponent_faced": "David Larrubia",
            "pressing_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
            "matchup_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.1112,
            "projected_assists": 0,
            "assist_probability": 0.0184,
            "finishing_factor": 1.0464,
            "creation_factor": 0.813,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16421079,
              "match_date": "2026-10-25",
              "home_team": "Celta Vigo",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2112,
                "expected_assists": 0.0078,
                "total_shots": 2,
                "shots_on_target": 0,
                "shots_off_target": 2,
                "total_pass": 67,
                "accurate_pass": 60,
                "tackles": 0,
                "tackles_won": 0,
                "interceptions": 0,
                "clearances": 4,
                "aerial_won": 0,
                "duels_won": 1,
                "ball_recovery": 2,
                "saves": 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": 16421054,
              "match_date": "2026-10-11",
              "home_team": "Real Betis",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0507,
                "expected_assists": 0.0098,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 47,
                "accurate_pass": 46,
                "interceptions": 2,
                "clearances": 7,
                "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": 16416313,
              "match_date": "2026-09-20",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1107,
                "expected_assists": 0.0411,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 62,
                "accurate_pass": 59,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 9,
                "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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416336,
              "match_date": "2026-09-17",
              "home_team": "Real Betis",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0117,
                "total_shots": 0,
                "total_pass": 89,
                "accurate_pass": 85,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 6,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 8.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2144,
                "expected_assists": 0.001,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 41,
                "accurate_pass": 32,
                "tackles": 5,
                "tackles_won": 3,
                "clearances": 10,
                "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": 16416315,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0043,
                "total_shots": 0,
                "total_pass": 31,
                "accurate_pass": 30,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 6,
                "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": 16416309,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0118,
                "expected_assists": 0.0122,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 72,
                "accurate_pass": 66,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 11,
                "aerial_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": 16416293,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0089,
                "total_shots": 0,
                "total_pass": 53,
                "accurate_pass": 48,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 7,
                "aerial_won": 4,
                "duels_won": 6,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083710,
              "match_date": "2026-05-23",
              "home_team": "Real Betis",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 79,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0032,
                "total_shots": 0,
                "total_pass": 45,
                "accurate_pass": 43,
                "clearances": 5,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083666,
              "match_date": "2026-05-17",
              "home_team": "FC Barcelona",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0023,
                "total_shots": 0,
                "total_pass": 37,
                "accurate_pass": 37,
                "interceptions": 1,
                "clearances": 5,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 1452,
            "combined_rank_score": 599.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 229.0,
            "sofascore_rating": 7.15,
            "sofascore_appearances": 2.0,
            "fifa_rank": 969.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9245,
            "source_file": "data/player_rankings.csv",
            "player_name": "Natan",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Kuvonch Abraev",
                  "ranking": 1447
                },
                {
                  "player_name": "César Dutra",
                  "ranking": 1448
                },
                {
                  "player_name": "Samed Baždar",
                  "ranking": 1449
                },
                {
                  "player_name": "Curtis Jones",
                  "ranking": 1450
                },
                {
                  "player_name": "Álvaro García",
                  "ranking": 1451
                }
              ],
              "lower": [
                {
                  "player_name": "Ayoze Pérez",
                  "ranking": 1453
                },
                {
                  "player_name": "Mike Penders",
                  "ranking": 1454
                },
                {
                  "player_name": "Jarrad Branthwaite",
                  "ranking": 1455
                },
                {
                  "player_name": "Leonardo Valencia",
                  "ranking": 1456
                },
                {
                  "player_name": "Gulyamkhaydar Gulyamov",
                  "ranking": 1457
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.77,
          "history_matches": 41,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 41,
            "data_confidence": 0.77,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 1.0074,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "minutes": 180.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.5,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.1333
            },
            "rationale": "XGBoost regressor (D_service) evaluated 41 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Real Betis, rel: 0.13, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.8929,
                "tackles": 1.242,
                "tackles_won": 0.7038,
                "clearances": 5.1295,
                "aerial_won": 1.8932,
                "total_shots": 0.5898,
                "rating": 6.9245,
                "minutes": 89.25,
                "total_pass": 54.941,
                "accurate_pass": 50.596,
                "duels_won": 3.7364,
                "total_long_balls": 4.0924,
                "accurate_long_balls": 1.7684,
                "total_own_half_passes": 37.3907,
                "accurate_own_half_passes": 35.4731,
                "total_opp_half_passes": 17.5503,
                "accurate_opp_half_passes": 15.1229,
                "crosses_total": 0.0005,
                "crosses_accurate": 0.0,
                "touches": 67.7378,
                "possession_lost": 5.0188,
                "dispossessed": 0.2067,
                "duels_lost": 1.8665,
                "aerial_lost": 0.967,
                "total_contest": 0.2029,
                "won_contest": 0.1671,
                "ball_recovery": 2.9749,
                "challenges_lost": 0.276,
                "fouls": 0.381,
                "fouls_drawn": 0.633,
                "blocks": 0.9684,
                "goals": 0.0787,
                "goal_rate": 0.0787,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0724,
                "expected_assists": 0.0114,
                "shots_on_target": 0.079,
                "big_chances_created": 0.0,
                "xgot": 0.0453,
                "ball_carries": 18.7365,
                "total_progression": 56.0134,
                "progressive_carries": 0.4807,
                "key_pass": 0.2854,
                "shots_off_target": 0.5108
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:29:25.210665+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 626,
                    "rows": 22004
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-25",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0922,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 8.1
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0566,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Levante UD",
                    "minutes": 79.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.1
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 6.6315,
                  "aerialWon": 1.6913,
                  "totalClearance_p90": 7.0986,
                  "totalTackle": 1.1727,
                  "totalPass": 54.0091
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.8928877115249634,
                    "model_output": 0.8929,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2977
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0446
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0318
                      },
                      {
                        "name": "touches",
                        "importance": 0.0281
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8678,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1035
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.103
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0277
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0263
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0153
                        }
                      ],
                      "others": -0.0447,
                      "total": 0.8929,
                      "log_link": true,
                      "margin_base": -0.141777,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.112703
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.112088
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.031372
                        },
                        {
                          "name": "touches",
                          "margin": 0.028885
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.016401
                        }
                      ],
                      "others_margin": -0.048791
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.2420241832733154,
                    "model_output": 1.242,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2493
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0731
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0414
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0245
                      }
                    ],
                    "decomposition": {
                      "base": 1.3878,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1684
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0615
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0321
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0305
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0273
                        }
                      ],
                      "others": -0.1628,
                      "total": 1.242,
                      "log_link": true,
                      "margin_base": 0.327722,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.114525
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.040343
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.02169
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.021054
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.019214
                        }
                      ],
                      "others_margin": -0.123205
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.7038047909736633,
                    "model_output": 0.7038,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1966
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0678
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0471
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0406
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 0.8471,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.096
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0365
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0345
                        },
                        {
                          "name": "challengeLost",
                          "contribution": -0.0302
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0253
                        }
                      ],
                      "others": -0.1128,
                      "total": 0.7038,
                      "log_link": true,
                      "margin_base": -0.165887,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.107307
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.039463
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.038754
                        },
                        {
                          "name": "challengeLost",
                          "margin": -0.035288
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.030451
                        }
                      ],
                      "others_margin": -0.148718
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 5.129459857940674,
                    "model_output": 5.1295,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2929
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1447
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.1031
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0342
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0223
                      }
                    ],
                    "decomposition": {
                      "base": 3.4227,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": 0.6873
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.538
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.3537
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.3729
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.1719
                        }
                      ],
                      "others": -0.0732,
                      "total": 5.1295,
                      "log_link": true,
                      "margin_base": 1.230438,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.182982
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.123022
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.073346
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.071904
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.0325
                        }
                      ],
                      "others_margin": -0.014191
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.8932304382324219,
                    "model_output": 1.8932,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1591
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1548
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0782
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.3743,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": 0.155
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1645
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.1382
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.1156
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0692
                        }
                      ],
                      "others": -0.1236,
                      "total": 1.8932,
                      "log_link": true,
                      "margin_base": 0.31798,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": 0.106879
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.102165
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.078423
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.061168
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.034895
                        }
                      ],
                      "others_margin": -0.063226
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5897925496101379,
                    "model_output": 0.5898,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1011
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0377
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0308
                      },
                      {
                        "name": "rating",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.4801,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.059
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0288
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0231
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.023
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0188
                        }
                      ],
                      "others": 0.0032,
                      "total": 0.5898,
                      "log_link": false,
                      "margin_base": 0.48008,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.059039
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.028775
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.023113
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.023008
                        },
                        {
                          "name": "rating",
                          "margin": 0.018793
                        }
                      ],
                      "others_margin": 0.00321
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.924536228179932,
                    "model_output": 6.9245,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0922
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0582
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0462
                      },
                      {
                        "name": "rating",
                        "importance": 0.0313
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 6.7972,
                      "items": [
                        {
                          "name": "totalPass",
                          "contribution": 0.0548
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0341
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0322
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0212
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0097
                        }
                      ],
                      "others": 0.0177,
                      "total": 6.9245,
                      "log_link": false,
                      "margin_base": 6.797222,
                      "item_margins": [
                        {
                          "name": "totalPass",
                          "margin": 0.054826
                        },
                        {
                          "name": "rating",
                          "margin": 0.03405
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.032234
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.021179
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.009675
                        }
                      ],
                      "others_margin": 0.01771
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 41,
                  "role_matches": 40,
                  "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.0074, quality 0.732)",
              "stats": {
                "interceptions": 0.8995,
                "tackles": 1.2512,
                "tackles_won": 0.709,
                "clearances": 5.1674,
                "aerial_won": 1.9072,
                "total_shots": 0.5942,
                "rating": 6.9245,
                "minutes": 89.25,
                "total_pass": 55.3476,
                "accurate_pass": 50.9704,
                "duels_won": 3.764,
                "total_long_balls": 4.1227,
                "accurate_long_balls": 1.7815,
                "total_own_half_passes": 37.6674,
                "accurate_own_half_passes": 35.7356,
                "total_opp_half_passes": 17.6802,
                "accurate_opp_half_passes": 15.2348,
                "crosses_total": 0.0005,
                "crosses_accurate": 0.0,
                "touches": 68.2391,
                "possession_lost": 5.0559,
                "dispossessed": 0.2082,
                "duels_lost": 1.8803,
                "aerial_lost": 0.9742,
                "total_contest": 0.2044,
                "won_contest": 0.1683,
                "ball_recovery": 2.9969,
                "challenges_lost": 0.278,
                "fouls": 0.3838,
                "fouls_drawn": 0.6377,
                "blocks": 0.9756,
                "goals": 0.0793,
                "goal_rate": 0.0793,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0729,
                "expected_assists": 0.0115,
                "shots_on_target": 0.0796,
                "big_chances_created": 0.0,
                "xgot": 0.0456,
                "ball_carries": 18.8752,
                "total_progression": 56.4279,
                "progressive_carries": 0.4843,
                "key_pass": 0.2875,
                "shots_off_target": 0.5146
              },
              "params": {
                "market_value_eur": 32000000,
                "quality_factor": 0.732,
                "boost_factor": 1.0074,
                "reference_quality": 0.505,
                "history_matches": 41,
                "history_shrink": 0.1087,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0094)",
              "stats": {
                "interceptions": 0.891,
                "tackles": 1.2512,
                "tackles_won": 0.721,
                "clearances": 5.1674,
                "aerial_won": 1.9072,
                "total_shots": 0.5933,
                "rating": 6.9245,
                "minutes": 89.25,
                "total_pass": 55.3476,
                "accurate_pass": 50.9704,
                "duels_won": 3.764,
                "total_long_balls": 4.1227,
                "accurate_long_balls": 1.7815,
                "total_own_half_passes": 37.6674,
                "accurate_own_half_passes": 35.7356,
                "total_opp_half_passes": 17.6802,
                "accurate_opp_half_passes": 15.2348,
                "crosses_total": 0.0005,
                "crosses_accurate": 0.0,
                "touches": 68.2391,
                "possession_lost": 5.0559,
                "dispossessed": 0.2082,
                "duels_lost": 1.8803,
                "aerial_lost": 0.9742,
                "total_contest": 0.2044,
                "won_contest": 0.1683,
                "ball_recovery": 2.9969,
                "challenges_lost": 0.278,
                "fouls": 0.3849,
                "fouls_drawn": 0.6317,
                "blocks": 0.9756,
                "goals": 0.0786,
                "goal_rate": 0.0786,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0729,
                "expected_assists": 0.0115,
                "shots_on_target": 0.0789,
                "big_chances_created": 0.0,
                "xgot": 0.0456,
                "ball_carries": 18.8752,
                "total_progression": 56.4279,
                "progressive_carries": 0.4843,
                "key_pass": 0.2875,
                "shots_off_target": 0.5146
              },
              "params": {
                "blend_weight": 0.0094,
                "history_matches": 41,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9917,
                "prior_reliability": 0.1333,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "wonTackle",
                  "before": 0.709,
                  "after": 0.721
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.8995,
                  "after": 0.891
                },
                {
                  "stat": "wasFouled",
                  "before": 0.6377,
                  "after": 0.6317
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.891,
                "tackles": 1.2512,
                "tackles_won": 0.721,
                "clearances": 5.1674,
                "aerial_won": 1.9072,
                "total_shots": 0.5935,
                "rating": 6.9245,
                "minutes": 89.25,
                "total_pass": 55.3476,
                "accurate_pass": 50.9704,
                "duels_won": 3.764,
                "total_long_balls": 4.1227,
                "accurate_long_balls": 1.7815,
                "total_own_half_passes": 37.6674,
                "accurate_own_half_passes": 35.7356,
                "total_opp_half_passes": 17.6802,
                "accurate_opp_half_passes": 15.2348,
                "crosses_total": 0.0005,
                "crosses_accurate": 0.0,
                "touches": 68.2391,
                "possession_lost": 5.0559,
                "dispossessed": 0.2082,
                "duels_lost": 1.8803,
                "aerial_lost": 0.9742,
                "total_contest": 0.2044,
                "won_contest": 0.1683,
                "ball_recovery": 2.9969,
                "challenges_lost": 0.278,
                "fouls": 0.3849,
                "fouls_drawn": 0.6317,
                "blocks": 0.9756,
                "goals": 0.0786,
                "goal_rate": 0.0786,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0729,
                "expected_assists": 0.0115,
                "shots_on_target": 0.0789,
                "big_chances_created": 0.0,
                "xgot": 0.0456,
                "ball_carries": 18.8752,
                "total_progression": 56.4279,
                "progressive_carries": 0.4843,
                "key_pass": 0.2875,
                "shots_off_target": 0.5146
              },
              "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.891,
                "tackles": 1.2512,
                "tackles_won": 0.721,
                "clearances": 5.1674,
                "aerial_won": 1.9072,
                "total_shots": 0.5935,
                "rating": 6.9245,
                "minutes": 89.25,
                "total_pass": 55.3476,
                "accurate_pass": 50.9704,
                "duels_won": 3.764,
                "total_long_balls": 4.1227,
                "accurate_long_balls": 1.7815,
                "total_own_half_passes": 37.6674,
                "accurate_own_half_passes": 35.7356,
                "total_opp_half_passes": 17.6802,
                "accurate_opp_half_passes": 15.2348,
                "crosses_total": 0.0005,
                "crosses_accurate": 0.0,
                "touches": 68.2391,
                "possession_lost": 5.0559,
                "dispossessed": 0.2082,
                "duels_lost": 1.8803,
                "aerial_lost": 0.9742,
                "total_contest": 0.2044,
                "won_contest": 0.1683,
                "ball_recovery": 2.9969,
                "challenges_lost": 0.278,
                "fouls": 0.3849,
                "fouls_drawn": 0.6317,
                "blocks": 0.9756,
                "goals": 0.0786,
                "goal_rate": 0.0786,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0729,
                "expected_assists": 0.0115,
                "shots_on_target": 0.0789,
                "big_chances_created": 0.0,
                "xgot": 0.0456,
                "ball_carries": 18.8752,
                "total_progression": 56.4279,
                "progressive_carries": 0.4843,
                "key_pass": 0.2875,
                "shots_off_target": 0.5146,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.2,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "David Larrubia",
                "pressing_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
                "matchup_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "David Larrubia",
                  "matchup_zone": "Shadow Striker vs CDM + CB — Zone 14 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.891,
                "tackles": 1.2512,
                "tackles_won": 0.721,
                "clearances": 5.1674,
                "aerial_won": 1.9072,
                "total_shots": 0.5935,
                "rating": 6.9245,
                "minutes": 89.25,
                "total_pass": 55.3476,
                "accurate_pass": 50.9704,
                "duels_won": 3.764,
                "total_long_balls": 4.1227,
                "accurate_long_balls": 1.7815,
                "total_own_half_passes": 37.6674,
                "accurate_own_half_passes": 35.7356,
                "total_opp_half_passes": 17.6802,
                "accurate_opp_half_passes": 15.2348,
                "crosses_total": 0.0005,
                "crosses_accurate": 0.0,
                "touches": 68.2391,
                "possession_lost": 5.0559,
                "dispossessed": 0.2082,
                "duels_lost": 1.8803,
                "aerial_lost": 0.9742,
                "total_contest": 0.2044,
                "won_contest": 0.1683,
                "ball_recovery": 2.9969,
                "challenges_lost": 0.278,
                "fouls": 0.3849,
                "fouls_drawn": 0.6317,
                "blocks": 0.9756,
                "goal_rate": 0.0786,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0729,
                "expected_assists": 0.0115,
                "shots_on_target": 0.0789,
                "big_chances_created": 0.0,
                "xgot": 0.0456,
                "ball_carries": 18.8752,
                "total_progression": 56.4279,
                "progressive_carries": 0.4843,
                "key_pass": 0.2875,
                "shots_off_target": 0.5146,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.2,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "David Larrubia",
                "pressing_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
                "matchup_zone": "Shadow Striker vs CDM + CB — Zone 14 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.15 (squad xG sum 1.3311, xG scale 1.6175, xA scale 1.6175, team xA 1.53 = 0.71 x lambda)",
              "stats": {
                "interceptions": 0.891,
                "tackles": 1.2512,
                "tackles_won": 0.721,
                "clearances": 5.1674,
                "aerial_won": 1.9072,
                "total_shots": 0.5935,
                "rating": 6.9245,
                "minutes": 89.25,
                "total_pass": 55.3476,
                "accurate_pass": 50.9704,
                "duels_won": 3.764,
                "total_long_balls": 4.1227,
                "accurate_long_balls": 1.7815,
                "total_own_half_passes": 37.6674,
                "accurate_own_half_passes": 35.7356,
                "total_opp_half_passes": 17.6802,
                "accurate_opp_half_passes": 15.2348,
                "crosses_total": 0.0005,
                "crosses_accurate": 0.0,
                "touches": 68.2391,
                "possession_lost": 5.0559,
                "dispossessed": 0.2082,
                "duels_lost": 1.8803,
                "aerial_lost": 0.9742,
                "total_contest": 0.2044,
                "won_contest": 0.1683,
                "ball_recovery": 2.9969,
                "challenges_lost": 0.278,
                "fouls": 0.3849,
                "fouls_drawn": 0.6317,
                "blocks": 0.9756,
                "goal_rate": 0.0786,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1179,
                "expected_assists": 0.0186,
                "shots_on_target": 0.0789,
                "big_chances_created": 0.0,
                "xgot": 0.0738,
                "ball_carries": 18.8752,
                "total_progression": 56.4279,
                "progressive_carries": 0.4843,
                "key_pass": 0.2875,
                "shots_off_target": 0.5146,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.2,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "David Larrubia",
                "pressing_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
                "matchup_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0464,
                "creation_factor": 0.813
              },
              "params": {
                "team_lambda": 2.153,
                "squad_xg_sum": 1.3311,
                "squad_xa_sum": 0.9447,
                "team_expected_assists": 1.528,
                "team_xa_to_xg_ratio": 0.7097,
                "bench_appearance_weighted": true,
                "xg_scale": 1.6175,
                "xa_scale": 1.6175,
                "opponent_lambda": 0.831,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0729,
                  "after": 0.1179
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0115,
                  "after": 0.0186
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 7 by projected rating, fifa_overall 79.0)",
              "stats": {
                "interceptions": 0.891,
                "tackles": 1.2512,
                "tackles_won": 0.721,
                "clearances": 5.1674,
                "aerial_won": 1.9072,
                "total_shots": 0.5935,
                "rating": 6.9245,
                "minutes": 89.25,
                "total_pass": 55.3476,
                "accurate_pass": 50.9704,
                "duels_won": 3.764,
                "total_long_balls": 4.1227,
                "accurate_long_balls": 1.7815,
                "total_own_half_passes": 37.6674,
                "accurate_own_half_passes": 35.7356,
                "total_opp_half_passes": 17.6802,
                "accurate_opp_half_passes": 15.2348,
                "crosses_total": 0.0005,
                "crosses_accurate": 0.0,
                "touches": 68.2391,
                "possession_lost": 5.0559,
                "dispossessed": 0.2082,
                "duels_lost": 1.8803,
                "aerial_lost": 0.9742,
                "total_contest": 0.2044,
                "won_contest": 0.1683,
                "ball_recovery": 2.9969,
                "challenges_lost": 0.278,
                "fouls": 0.3849,
                "fouls_drawn": 0.6317,
                "blocks": 0.9756,
                "goal_rate": 0.0786,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1179,
                "expected_assists": 0.0186,
                "shots_on_target": 0.0789,
                "big_chances_created": 0.0,
                "xgot": 0.0738,
                "ball_carries": 18.8752,
                "total_progression": 56.4279,
                "progressive_carries": 0.4843,
                "key_pass": 0.2875,
                "shots_off_target": 0.5146,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.2,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "David Larrubia",
                "pressing_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
                "matchup_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0464,
                "creation_factor": 0.813,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 7,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1452,
                "fifa_rank": 969.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 0.891,
                "tackles": 1.2512,
                "tackles_won": 0.721,
                "clearances": 5.1674,
                "aerial_won": 1.9072,
                "total_shots": 0.5935,
                "rating": 6.9245,
                "minutes": 89.25,
                "total_pass": 55.3476,
                "accurate_pass": 50.9704,
                "duels_won": 3.764,
                "total_long_balls": 4.1227,
                "accurate_long_balls": 1.7815,
                "total_own_half_passes": 37.6674,
                "accurate_own_half_passes": 35.7356,
                "total_opp_half_passes": 17.6802,
                "accurate_opp_half_passes": 15.2348,
                "crosses_total": 0.0005,
                "crosses_accurate": 0.0,
                "touches": 68.2391,
                "possession_lost": 5.0559,
                "dispossessed": 0.2082,
                "duels_lost": 1.8803,
                "aerial_lost": 0.9742,
                "total_contest": 0.2044,
                "won_contest": 0.1683,
                "ball_recovery": 2.9969,
                "challenges_lost": 0.278,
                "fouls": 0.3849,
                "fouls_drawn": 0.6317,
                "blocks": 0.9756,
                "goal_rate": 0.0786,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1179,
                "expected_assists": 0.0186,
                "shots_on_target": 0.0789,
                "big_chances_created": 0.0,
                "xgot": 0.0738,
                "ball_carries": 18.8752,
                "total_progression": 56.4279,
                "progressive_carries": 0.4843,
                "key_pass": 0.2875,
                "shots_off_target": 0.5146,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.2,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "David Larrubia",
                "pressing_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
                "matchup_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.1112,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0464,
                "creation_factor": 0.813,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.1112,
                "goal_rate": 0.0786,
                "scorer_weight": 0.1234,
                "squad_weight_total": 2.2809,
                "weight_share": 0.0541,
                "finishing_factor": 1.0464,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.6492,
                    "already": 0,
                    "effective_weight": 0.6492,
                    "runner_up": "Troy Parrott",
                    "runner_up_effective_weight": 0.4679
                  },
                  {
                    "n": 2,
                    "player": "Troy Parrott",
                    "weight": 0.4679,
                    "already": 0,
                    "effective_weight": 0.4679,
                    "runner_up": "Antony",
                    "runner_up_effective_weight": 0.3665
                  }
                ]
              }
            },
            {
              "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.891,
                "tackles": 1.2512,
                "tackles_won": 0.721,
                "clearances": 5.1674,
                "aerial_won": 1.9072,
                "total_shots": 0.5935,
                "rating": 6.9245,
                "minutes": 89.25,
                "total_pass": 55.3476,
                "accurate_pass": 50.9704,
                "duels_won": 3.764,
                "total_long_balls": 4.1227,
                "accurate_long_balls": 1.7815,
                "total_own_half_passes": 37.6674,
                "accurate_own_half_passes": 35.7356,
                "total_opp_half_passes": 17.6802,
                "accurate_opp_half_passes": 15.2348,
                "crosses_total": 0.0005,
                "crosses_accurate": 0.0,
                "touches": 68.2391,
                "possession_lost": 5.0559,
                "dispossessed": 0.2082,
                "duels_lost": 1.8803,
                "aerial_lost": 0.9742,
                "total_contest": 0.2044,
                "won_contest": 0.1683,
                "ball_recovery": 2.9969,
                "challenges_lost": 0.278,
                "fouls": 0.3849,
                "fouls_drawn": 0.6317,
                "blocks": 0.9756,
                "goal_rate": 0.0786,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1179,
                "expected_assists": 0.0186,
                "shots_on_target": 0.0789,
                "big_chances_created": 0.0,
                "xgot": 0.0738,
                "ball_carries": 18.8752,
                "total_progression": 56.4279,
                "progressive_carries": 0.4843,
                "key_pass": 0.2875,
                "shots_off_target": 0.5146,
                "tackles_in_zone": 1.1,
                "tackles_won_in_zone": 1.0,
                "interceptions_in_zone": 1.2,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 0.6,
                "defensive_success_rate": 0.82,
                "opponent_faced": "David Larrubia",
                "pressing_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
                "matchup_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.1112,
                "projected_assists": 0,
                "assist_probability": 0.0184,
                "finishing_factor": 1.0464,
                "creation_factor": 0.813,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0184,
                "assist_rate": 0.0,
                "provider_weight": 0.0151,
                "squad_weight_total": 1.2992,
                "weight_share": 0.0116,
                "creation_factor": 0.813,
                "appearance_weight": 1.0,
                "weight_rank": 11,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.25,
                    "already": 0,
                    "effective_weight": 0.25,
                    "runner_up": "Pablo Fornals",
                    "runner_up_effective_weight": 0.2333
                  }
                ]
              }
            }
          ]
        },
        "Diego Llorente": {
          "player_id": 305278,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 3,
          "height": 185,
          "market_value": 2600000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 5,
            "aerial_won": 2,
            "total_shots": 0,
            "rating": 6.8091,
            "minutes": 81,
            "total_pass": 41,
            "accurate_pass": 38,
            "duels_won": 3,
            "total_long_balls": 3,
            "accurate_long_balls": 1,
            "total_own_half_passes": 31,
            "accurate_own_half_passes": 29,
            "total_opp_half_passes": 11,
            "accurate_opp_half_passes": 9,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 55,
            "possession_lost": 4.3795,
            "dispossessed": 0.0339,
            "duels_lost": 2,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 2,
            "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.0218,
            "expected_assists": 0.0055,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0511,
            "ball_carries": 14,
            "total_progression": 43,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "opponent_faced": "Adrián Niño",
            "matchup_zone": "Shape fallback",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0216,
            "projected_assists": 0,
            "assist_probability": 0.0055,
            "finishing_factor": 0.8,
            "creation_factor": 0.9363,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16421079,
              "match_date": "2026-10-25",
              "home_team": "Celta Vigo",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 68,
                "rating": 6.9,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0028,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "total_pass": 36,
                "accurate_pass": 32,
                "key_pass": 1,
                "tackles": 0,
                "tackles_won": 0,
                "interceptions": 4,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 1,
                "saves": 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": 16421068,
              "match_date": "2026-10-17",
              "home_team": "Real Betis",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 5.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0011,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 25,
                "tackles": 3,
                "interceptions": 2,
                "clearances": 4,
                "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": 16421054,
              "match_date": "2026-10-11",
              "home_team": "Real Betis",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0257,
                "expected_assists": 0.0046,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 52,
                "accurate_pass": 48,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416315,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 39,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 10,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421049,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0054,
                "total_shots": 0,
                "total_pass": 48,
                "accurate_pass": 46,
                "interceptions": 5,
                "clearances": 8,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083710,
              "match_date": "2026-05-23",
              "home_team": "Real Betis",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1339,
                "expected_assists": 0.0017,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 65,
                "accurate_pass": 64,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 8,
                "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": 14083608,
              "match_date": "2026-05-12",
              "home_team": "Real Betis",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0028,
                "total_shots": 0,
                "total_pass": 41,
                "accurate_pass": 34,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 3,
                "clearances": 10,
                "aerial_won": 7,
                "duels_won": 11,
                "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": 14083583,
              "match_date": "2026-05-09",
              "home_team": "Real Sociedad",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.001,
                "total_shots": 0,
                "total_pass": 37,
                "accurate_pass": 33,
                "tackles": 4,
                "tackles_won": 2,
                "clearances": 6,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083381,
              "match_date": "2026-05-03",
              "home_team": "Real Betis",
              "away_team": "Real Oviedo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.002,
                "total_shots": 0,
                "total_pass": 41,
                "accurate_pass": 36,
                "tackles": 1,
                "clearances": 2,
                "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": 14083211,
              "match_date": "2026-04-24",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 58,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0493,
                "total_shots": 0,
                "total_pass": 32,
                "accurate_pass": 32,
                "key_pass": 1,
                "tackles": 2,
                "interceptions": 2,
                "clearances": 3,
                "duels_won": 2,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 1326,
            "combined_rank_score": 575.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 199.0,
            "sofascore_rating": 7.2,
            "sofascore_appearances": 1.0,
            "fifa_rank": 952.0,
            "fifa_overall": 79.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8091,
            "source_file": "data/player_rankings.csv",
            "player_name": "Diego Llorente",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Felipe Chamorro",
                  "ranking": 1321
                },
                {
                  "player_name": "Beka Mikeltadze",
                  "ranking": 1322
                },
                {
                  "player_name": "Fornals",
                  "ranking": 1323
                },
                {
                  "player_name": "Jean-Philippe Mateta",
                  "ranking": 1324
                },
                {
                  "player_name": "Brahim",
                  "ranking": 1325
                }
              ],
              "lower": [
                {
                  "player_name": "Brandon Mechele",
                  "ranking": 1327
                },
                {
                  "player_name": "De Frutos",
                  "ranking": 1328
                },
                {
                  "player_name": "Javier Rueda",
                  "ranking": 1329
                },
                {
                  "player_name": "Ji-yong Jeong",
                  "ranking": 1330
                },
                {
                  "player_name": "Jae-jun You",
                  "ranking": 1331
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.76,
          "history_matches": 23,
          "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": 23,
            "data_confidence": 0.76,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9964,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 1.0,
              "minutes": 90.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.0667
            },
            "rationale": "XGBoost regressor (D_service) evaluated 23 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Real Betis, rel: 0.07, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1.1709,
                "tackles": 1.259,
                "tackles_won": 0.7564,
                "clearances": 5.4691,
                "aerial_won": 1.6882,
                "total_shots": 0.4132,
                "rating": 6.8091,
                "minutes": 80.66,
                "total_pass": 41.5847,
                "accurate_pass": 37.8079,
                "duels_won": 3.4386,
                "total_long_balls": 3.4476,
                "accurate_long_balls": 1.468,
                "total_own_half_passes": 30.9756,
                "accurate_own_half_passes": 29.2094,
                "total_opp_half_passes": 10.6091,
                "accurate_opp_half_passes": 8.5985,
                "crosses_total": 0.1728,
                "crosses_accurate": 0.0,
                "touches": 54.8698,
                "possession_lost": 4.3953,
                "dispossessed": 0.034,
                "duels_lost": 2.0817,
                "aerial_lost": 0.8664,
                "total_contest": 0.0814,
                "won_contest": 0.0697,
                "ball_recovery": 2.3695,
                "challenges_lost": 0.3383,
                "fouls": 0.9659,
                "fouls_drawn": 0.5801,
                "blocks": 0.812,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0135,
                "expected_assists": 0.0034,
                "shots_on_target": 0.1007,
                "big_chances_created": 0.0,
                "xgot": 0.0317,
                "ball_carries": 13.8964,
                "total_progression": 43.0046,
                "progressive_carries": 0.2278,
                "key_pass": 0.1572,
                "shots_off_target": 0.3125
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:29:25.210665+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 626,
                    "rows": 22004
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-25",
                    "opponent": "Celta Vigo",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.1537,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-10-17",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1306,
                    "rating": 5.8
                  },
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.111,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 39.0,
                    "is_starting": true,
                    "weight": 0.0944,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0802,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0682,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.058,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0493,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-05-03",
                    "opponent": "Real Oviedo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0419,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-04-24",
                    "opponent": "Real Madrid",
                    "minutes": 58.0,
                    "is_starting": false,
                    "weight": 0.0356,
                    "rating": 7.2
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 5.0046,
                  "aerialWon": 1.3744,
                  "totalClearance_p90": 5.7707,
                  "totalTackle": 1.3973,
                  "totalPass": 40.381
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.1708968877792358,
                    "model_output": 1.1709,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2977
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0446
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0318
                      },
                      {
                        "name": "touches",
                        "importance": 0.0281
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8678,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1078
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.045
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.042
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0173
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0156
                        }
                      ],
                      "others": 0.0754,
                      "total": 1.1709,
                      "log_link": true,
                      "margin_base": -0.141777,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.117077
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.045142
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.040307
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.016128
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.014368
                        }
                      ],
                      "others_margin": 0.066526
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.2590436935424805,
                    "model_output": 1.259,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2493
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0731
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0414
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0245
                      }
                    ],
                    "decomposition": {
                      "base": 1.3878,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1698
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0811
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0548
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.036
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0348
                        }
                      ],
                      "others": -0.0919,
                      "total": 1.259,
                      "log_link": true,
                      "margin_base": 0.327722,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.115399
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.053485
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.037814
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.025678
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.025457
                        }
                      ],
                      "others_margin": -0.070334
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.7563833594322205,
                    "model_output": 0.7564,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1966
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0678
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0471
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0406
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 0.8471,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1117
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0538
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0434
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0429
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0335
                        }
                      ],
                      "others": -0.1146,
                      "total": 0.7564,
                      "log_link": true,
                      "margin_base": -0.165887,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.123857
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.05771
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.049096
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.048547
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.037765
                        }
                      ],
                      "others_margin": -0.141154
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 5.469088554382324,
                    "model_output": 5.4691,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2929
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1447
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.1031
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0342
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0223
                      }
                    ],
                    "decomposition": {
                      "base": 3.4227,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4584
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.4789
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.4386
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.3389
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.1442
                        }
                      ],
                      "others": 0.1874,
                      "total": 5.4691,
                      "log_link": true,
                      "margin_base": 1.230438,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.125696
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.116343
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.095848
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.068236
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.027673
                        }
                      ],
                      "others_margin": 0.034879
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.6881775856018066,
                    "model_output": 1.6882,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1591
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1548
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0782
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.3743,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1548
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.106
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0817
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0809
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0792
                        }
                      ],
                      "others": 0.1817,
                      "total": 1.6882,
                      "log_link": true,
                      "margin_base": 0.31798,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.106727
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.071868
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.055843
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.052379
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.051262
                        }
                      ],
                      "others_margin": 0.113852
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4132383465766907,
                    "model_output": 0.4132,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1011
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0377
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0308
                      },
                      {
                        "name": "rating",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.4801,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1105
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0492
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0243
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.021
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0179
                        }
                      ],
                      "others": -0.033,
                      "total": 0.4132,
                      "log_link": false,
                      "margin_base": 0.48008,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.110475
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.04923
                        },
                        {
                          "name": "totalProgression",
                          "margin": 0.024292
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.021001
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.017906
                        }
                      ],
                      "others_margin": -0.032984
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.809128761291504,
                    "model_output": 6.8091,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0922
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0582
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0462
                      },
                      {
                        "name": "rating",
                        "importance": 0.0313
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 6.7972,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0117
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0106
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0103
                        },
                        {
                          "name": "touches",
                          "contribution": 0.009
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0079
                        }
                      ],
                      "others": 0.0276,
                      "total": 6.8091,
                      "log_link": false,
                      "margin_base": 6.797222,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.011691
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.010614
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.010338
                        },
                        {
                          "name": "touches",
                          "margin": 0.008969
                        },
                        {
                          "name": "rating",
                          "margin": 0.007924
                        }
                      ],
                      "others_margin": 0.027659
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 23,
                  "role_matches": 19,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9964, quality 0.437)",
              "stats": {
                "interceptions": 1.1667,
                "tackles": 1.2545,
                "tackles_won": 0.7537,
                "clearances": 5.4494,
                "aerial_won": 1.6821,
                "total_shots": 0.4118,
                "rating": 6.8091,
                "minutes": 80.66,
                "total_pass": 41.435,
                "accurate_pass": 37.6718,
                "duels_won": 3.4262,
                "total_long_balls": 3.4352,
                "accurate_long_balls": 1.4627,
                "total_own_half_passes": 30.8641,
                "accurate_own_half_passes": 29.1042,
                "total_opp_half_passes": 10.5709,
                "accurate_opp_half_passes": 8.5675,
                "crosses_total": 0.1722,
                "crosses_accurate": 0.0,
                "touches": 54.6723,
                "possession_lost": 4.3795,
                "dispossessed": 0.0339,
                "duels_lost": 2.0742,
                "aerial_lost": 0.8633,
                "total_contest": 0.0811,
                "won_contest": 0.0694,
                "ball_recovery": 2.361,
                "challenges_lost": 0.3371,
                "fouls": 0.9624,
                "fouls_drawn": 0.578,
                "blocks": 0.8091,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0135,
                "expected_assists": 0.0034,
                "shots_on_target": 0.1003,
                "big_chances_created": 0.0,
                "xgot": 0.0316,
                "ball_carries": 13.8464,
                "total_progression": 42.8498,
                "progressive_carries": 0.227,
                "key_pass": 0.1566,
                "shots_off_target": 0.3114
              },
              "params": {
                "market_value_eur": 2600000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9964,
                "reference_quality": 0.505,
                "history_matches": 23,
                "history_shrink": 0.1786,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0077)",
              "stats": {
                "interceptions": 1.1924,
                "tackles": 1.2545,
                "tackles_won": 0.7479,
                "clearances": 5.4494,
                "aerial_won": 1.6821,
                "total_shots": 0.4086,
                "rating": 6.8091,
                "minutes": 80.66,
                "total_pass": 41.435,
                "accurate_pass": 37.6718,
                "duels_won": 3.4262,
                "total_long_balls": 3.4352,
                "accurate_long_balls": 1.4627,
                "total_own_half_passes": 30.8641,
                "accurate_own_half_passes": 29.1042,
                "total_opp_half_passes": 10.5709,
                "accurate_opp_half_passes": 8.5675,
                "crosses_total": 0.1709,
                "crosses_accurate": 0.0,
                "touches": 54.6723,
                "possession_lost": 4.3795,
                "dispossessed": 0.0339,
                "duels_lost": 2.0742,
                "aerial_lost": 0.8633,
                "total_contest": 0.0811,
                "won_contest": 0.0694,
                "ball_recovery": 2.361,
                "challenges_lost": 0.3371,
                "fouls": 0.9619,
                "fouls_drawn": 0.5735,
                "blocks": 0.8091,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0135,
                "expected_assists": 0.0034,
                "shots_on_target": 0.0995,
                "big_chances_created": 0.0,
                "xgot": 0.0316,
                "ball_carries": 13.8464,
                "total_progression": 42.8498,
                "progressive_carries": 0.227,
                "key_pass": 0.1566,
                "shots_off_target": 0.3114
              },
              "params": {
                "blend_weight": 0.0077,
                "history_matches": 23,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8962,
                "prior_reliability": 0.0667,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 1.1667,
                  "after": 1.1924
                },
                {
                  "stat": "wonTackle",
                  "before": 0.7537,
                  "after": 0.7479
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.1924,
                "tackles": 1.2545,
                "tackles_won": 0.7479,
                "clearances": 5.4494,
                "aerial_won": 1.6821,
                "total_shots": 0.4109,
                "rating": 6.8091,
                "minutes": 80.66,
                "total_pass": 41.435,
                "accurate_pass": 37.6718,
                "duels_won": 3.4262,
                "total_long_balls": 3.4352,
                "accurate_long_balls": 1.4627,
                "total_own_half_passes": 30.8641,
                "accurate_own_half_passes": 29.1042,
                "total_opp_half_passes": 10.5709,
                "accurate_opp_half_passes": 8.5675,
                "crosses_total": 0.1709,
                "crosses_accurate": 0.0,
                "touches": 54.6723,
                "possession_lost": 4.3795,
                "dispossessed": 0.0339,
                "duels_lost": 2.0742,
                "aerial_lost": 0.8633,
                "total_contest": 0.0811,
                "won_contest": 0.0694,
                "ball_recovery": 2.361,
                "challenges_lost": 0.3371,
                "fouls": 0.9619,
                "fouls_drawn": 0.5735,
                "blocks": 0.8091,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0135,
                "expected_assists": 0.0034,
                "shots_on_target": 0.0995,
                "big_chances_created": 0.0,
                "xgot": 0.0316,
                "ball_carries": 13.8464,
                "total_progression": 42.8498,
                "progressive_carries": 0.227,
                "key_pass": 0.1566,
                "shots_off_target": 0.3114
              },
              "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.1924,
                "tackles": 1.2545,
                "tackles_won": 0.7479,
                "clearances": 5.4494,
                "aerial_won": 1.6821,
                "total_shots": 0.4109,
                "rating": 6.8091,
                "minutes": 80.66,
                "total_pass": 41.435,
                "accurate_pass": 37.6718,
                "duels_won": 3.4262,
                "total_long_balls": 3.4352,
                "accurate_long_balls": 1.4627,
                "total_own_half_passes": 30.8641,
                "accurate_own_half_passes": 29.1042,
                "total_opp_half_passes": 10.5709,
                "accurate_opp_half_passes": 8.5675,
                "crosses_total": 0.1709,
                "crosses_accurate": 0.0,
                "touches": 54.6723,
                "possession_lost": 4.3795,
                "dispossessed": 0.0339,
                "duels_lost": 2.0742,
                "aerial_lost": 0.8633,
                "total_contest": 0.0811,
                "won_contest": 0.0694,
                "ball_recovery": 2.361,
                "challenges_lost": 0.3371,
                "fouls": 0.9619,
                "fouls_drawn": 0.5735,
                "blocks": 0.8091,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0135,
                "expected_assists": 0.0034,
                "shots_on_target": 0.0995,
                "big_chances_created": 0.0,
                "xgot": 0.0316,
                "ball_carries": 13.8464,
                "total_progression": 42.8498,
                "progressive_carries": 0.227,
                "key_pass": 0.1566,
                "shots_off_target": 0.3114,
                "opponent_faced": "Adrián Niño",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Adrián Niño",
                  "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.1924,
                "tackles": 1.2545,
                "tackles_won": 0.7479,
                "clearances": 5.4494,
                "aerial_won": 1.6821,
                "total_shots": 0.4109,
                "rating": 6.8091,
                "minutes": 80.66,
                "total_pass": 41.435,
                "accurate_pass": 37.6718,
                "duels_won": 3.4262,
                "total_long_balls": 3.4352,
                "accurate_long_balls": 1.4627,
                "total_own_half_passes": 30.8641,
                "accurate_own_half_passes": 29.1042,
                "total_opp_half_passes": 10.5709,
                "accurate_opp_half_passes": 8.5675,
                "crosses_total": 0.1709,
                "crosses_accurate": 0.0,
                "touches": 54.6723,
                "possession_lost": 4.3795,
                "dispossessed": 0.0339,
                "duels_lost": 2.0742,
                "aerial_lost": 0.8633,
                "total_contest": 0.0811,
                "won_contest": 0.0694,
                "ball_recovery": 2.361,
                "challenges_lost": 0.3371,
                "fouls": 0.9619,
                "fouls_drawn": 0.5735,
                "blocks": 0.8091,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0135,
                "expected_assists": 0.0034,
                "shots_on_target": 0.0995,
                "big_chances_created": 0.0,
                "xgot": 0.0316,
                "ball_carries": 13.8464,
                "total_progression": 42.8498,
                "progressive_carries": 0.227,
                "key_pass": 0.1566,
                "shots_off_target": 0.3114,
                "opponent_faced": "Adrián Niño",
                "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.15 (squad xG sum 1.3311, xG scale 1.6175, xA scale 1.6175, team xA 1.53 = 0.71 x lambda)",
              "stats": {
                "interceptions": 1.1924,
                "tackles": 1.2545,
                "tackles_won": 0.7479,
                "clearances": 5.4494,
                "aerial_won": 1.6821,
                "total_shots": 0.4109,
                "rating": 6.8091,
                "minutes": 80.66,
                "total_pass": 41.435,
                "accurate_pass": 37.6718,
                "duels_won": 3.4262,
                "total_long_balls": 3.4352,
                "accurate_long_balls": 1.4627,
                "total_own_half_passes": 30.8641,
                "accurate_own_half_passes": 29.1042,
                "total_opp_half_passes": 10.5709,
                "accurate_opp_half_passes": 8.5675,
                "crosses_total": 0.1709,
                "crosses_accurate": 0.0,
                "touches": 54.6723,
                "possession_lost": 4.3795,
                "dispossessed": 0.0339,
                "duels_lost": 2.0742,
                "aerial_lost": 0.8633,
                "total_contest": 0.0811,
                "won_contest": 0.0694,
                "ball_recovery": 2.361,
                "challenges_lost": 0.3371,
                "fouls": 0.9619,
                "fouls_drawn": 0.5735,
                "blocks": 0.8091,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0218,
                "expected_assists": 0.0055,
                "shots_on_target": 0.0995,
                "big_chances_created": 0.0,
                "xgot": 0.0511,
                "ball_carries": 13.8464,
                "total_progression": 42.8498,
                "progressive_carries": 0.227,
                "key_pass": 0.1566,
                "shots_off_target": 0.3114,
                "opponent_faced": "Adrián Niño",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9363
              },
              "params": {
                "team_lambda": 2.153,
                "squad_xg_sum": 1.3311,
                "squad_xa_sum": 0.9447,
                "team_expected_assists": 1.528,
                "team_xa_to_xg_ratio": 0.7097,
                "bench_appearance_weighted": true,
                "xg_scale": 1.6175,
                "xa_scale": 1.6175,
                "opponent_lambda": 0.831,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0135,
                  "after": 0.0218
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 8 by projected rating, fifa_overall 79.0)",
              "stats": {
                "interceptions": 1.1924,
                "tackles": 1.2545,
                "tackles_won": 0.7479,
                "clearances": 5.4494,
                "aerial_won": 1.6821,
                "total_shots": 0.4109,
                "rating": 6.8091,
                "minutes": 80.66,
                "total_pass": 41.435,
                "accurate_pass": 37.6718,
                "duels_won": 3.4262,
                "total_long_balls": 3.4352,
                "accurate_long_balls": 1.4627,
                "total_own_half_passes": 30.8641,
                "accurate_own_half_passes": 29.1042,
                "total_opp_half_passes": 10.5709,
                "accurate_opp_half_passes": 8.5675,
                "crosses_total": 0.1709,
                "crosses_accurate": 0.0,
                "touches": 54.6723,
                "possession_lost": 4.3795,
                "dispossessed": 0.0339,
                "duels_lost": 2.0742,
                "aerial_lost": 0.8633,
                "total_contest": 0.0811,
                "won_contest": 0.0694,
                "ball_recovery": 2.361,
                "challenges_lost": 0.3371,
                "fouls": 0.9619,
                "fouls_drawn": 0.5735,
                "blocks": 0.8091,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0218,
                "expected_assists": 0.0055,
                "shots_on_target": 0.0995,
                "big_chances_created": 0.0,
                "xgot": 0.0511,
                "ball_carries": 13.8464,
                "total_progression": 42.8498,
                "progressive_carries": 0.227,
                "key_pass": 0.1566,
                "shots_off_target": 0.3114,
                "opponent_faced": "Adrián Niño",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9363,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 8,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 1326,
                "fifa_rank": 952.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 1.1924,
                "tackles": 1.2545,
                "tackles_won": 0.7479,
                "clearances": 5.4494,
                "aerial_won": 1.6821,
                "total_shots": 0.4109,
                "rating": 6.8091,
                "minutes": 80.66,
                "total_pass": 41.435,
                "accurate_pass": 37.6718,
                "duels_won": 3.4262,
                "total_long_balls": 3.4352,
                "accurate_long_balls": 1.4627,
                "total_own_half_passes": 30.8641,
                "accurate_own_half_passes": 29.1042,
                "total_opp_half_passes": 10.5709,
                "accurate_opp_half_passes": 8.5675,
                "crosses_total": 0.1709,
                "crosses_accurate": 0.0,
                "touches": 54.6723,
                "possession_lost": 4.3795,
                "dispossessed": 0.0339,
                "duels_lost": 2.0742,
                "aerial_lost": 0.8633,
                "total_contest": 0.0811,
                "won_contest": 0.0694,
                "ball_recovery": 2.361,
                "challenges_lost": 0.3371,
                "fouls": 0.9619,
                "fouls_drawn": 0.5735,
                "blocks": 0.8091,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0218,
                "expected_assists": 0.0055,
                "shots_on_target": 0.0995,
                "big_chances_created": 0.0,
                "xgot": 0.0511,
                "ball_carries": 13.8464,
                "total_progression": 42.8498,
                "progressive_carries": 0.227,
                "key_pass": 0.1566,
                "shots_off_target": 0.3114,
                "opponent_faced": "Adrián Niño",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0216,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.9363,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0216,
                "goal_rate": 0.0,
                "scorer_weight": 0.0174,
                "squad_weight_total": 2.2809,
                "weight_share": 0.0076,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 10,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.6492,
                    "already": 0,
                    "effective_weight": 0.6492,
                    "runner_up": "Troy Parrott",
                    "runner_up_effective_weight": 0.4679
                  },
                  {
                    "n": 2,
                    "player": "Troy Parrott",
                    "weight": 0.4679,
                    "already": 0,
                    "effective_weight": 0.4679,
                    "runner_up": "Antony",
                    "runner_up_effective_weight": 0.3665
                  }
                ]
              }
            },
            {
              "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.1924,
                "tackles": 1.2545,
                "tackles_won": 0.7479,
                "clearances": 5.4494,
                "aerial_won": 1.6821,
                "total_shots": 0.4109,
                "rating": 6.8091,
                "minutes": 80.66,
                "total_pass": 41.435,
                "accurate_pass": 37.6718,
                "duels_won": 3.4262,
                "total_long_balls": 3.4352,
                "accurate_long_balls": 1.4627,
                "total_own_half_passes": 30.8641,
                "accurate_own_half_passes": 29.1042,
                "total_opp_half_passes": 10.5709,
                "accurate_opp_half_passes": 8.5675,
                "crosses_total": 0.1709,
                "crosses_accurate": 0.0,
                "touches": 54.6723,
                "possession_lost": 4.3795,
                "dispossessed": 0.0339,
                "duels_lost": 2.0742,
                "aerial_lost": 0.8633,
                "total_contest": 0.0811,
                "won_contest": 0.0694,
                "ball_recovery": 2.361,
                "challenges_lost": 0.3371,
                "fouls": 0.9619,
                "fouls_drawn": 0.5735,
                "blocks": 0.8091,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0218,
                "expected_assists": 0.0055,
                "shots_on_target": 0.0995,
                "big_chances_created": 0.0,
                "xgot": 0.0511,
                "ball_carries": 13.8464,
                "total_progression": 42.8498,
                "progressive_carries": 0.227,
                "key_pass": 0.1566,
                "shots_off_target": 0.3114,
                "opponent_faced": "Adrián Niño",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0216,
                "projected_assists": 0,
                "assist_probability": 0.0055,
                "finishing_factor": 0.8,
                "creation_factor": 0.9363,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0055,
                "assist_rate": 0.0,
                "provider_weight": 0.0051,
                "squad_weight_total": 1.2992,
                "weight_share": 0.004,
                "creation_factor": 0.9363,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.25,
                    "already": 0,
                    "effective_weight": 0.25,
                    "runner_up": "Pablo Fornals",
                    "runner_up_effective_weight": 0.2333
                  }
                ]
              }
            }
          ]
        },
        "Angel Ortiz": {
          "player_id": 1152139,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 12,
          "height": 167,
          "market_value": 6600000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 2,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.7508,
            "minutes": 73,
            "total_pass": 35,
            "accurate_pass": 31,
            "duels_won": 5,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 17,
            "accurate_own_half_passes": 15,
            "total_opp_half_passes": 18,
            "accurate_opp_half_passes": 16,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 56,
            "possession_lost": 9.9658,
            "dispossessed": 0.9558,
            "duels_lost": 5,
            "aerial_lost": 1,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 3,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.016,
            "expected_assists": 0.0894,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 11,
            "total_progression": 29,
            "progressive_carries": 1,
            "key_pass": 1,
            "shots_off_target": 0,
            "tackles_in_zone": 2.0,
            "tackles_won_in_zone": 1.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.611,
            "opponent_faced": "Ramón Enríquez",
            "pressing_zone": "Left Wingback vs Right Back — Overlapping Run",
            "matchup_zone": "Left Wingback vs Right Back — Overlapping Run",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0159,
            "projected_assists": 0,
            "assist_probability": 0.0855,
            "finishing_factor": 0.8347,
            "creation_factor": 0.8,
            "fifa_overall": 70.0
          },
          "latest_10_games": [
            {
              "match_id": 16421079,
              "match_date": "2026-10-25",
              "home_team": "Celta Vigo",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0265,
                "expected_assists": 0.0606,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 1,
                "total_pass": 49,
                "accurate_pass": 43,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 5,
                "saves": 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": 16421068,
              "match_date": "2026-10-17",
              "home_team": "Real Betis",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 20,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0036,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 7,
                "tackles": 1,
                "tackles_won": 1,
                "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": 16416336,
              "match_date": "2026-09-17",
              "home_team": "Real Betis",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Getafe",
              "stats": {
                "minutes": 45,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0315,
                "total_shots": 0,
                "total_pass": 33,
                "accurate_pass": 33,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 3,
                "clearances": 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": 16421049,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 71,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0154,
                "expected_assists": 0.0115,
                "total_shots": 1,
                "total_pass": 36,
                "accurate_pass": 33,
                "key_pass": 1,
                "tackles": 5,
                "tackles_won": 2,
                "clearances": 2,
                "duels_won": 5,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083657,
              "match_date": "2026-03-22",
              "home_team": "Athletic Club",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 45,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0151,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 27,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14081801,
              "match_date": "2026-03-08",
              "home_team": "Getafe",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0091,
                "total_shots": 0,
                "total_pass": 41,
                "accurate_pass": 29,
                "tackles": 5,
                "tackles_won": 3,
                "clearances": 2,
                "aerial_won": 1,
                "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": 14083572,
              "match_date": "2026-02-21",
              "home_team": "Real Betis",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 21,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1363,
                "total_shots": 0,
                "total_pass": 14,
                "accurate_pass": 12,
                "key_pass": 1,
                "tackles": 2,
                "tackles_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": 14083509,
              "match_date": "2026-02-15",
              "home_team": "Mallorca",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 23,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0338,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 7,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 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": 14083207,
              "match_date": "2026-02-01",
              "home_team": "Real Betis",
              "away_team": "Valencia",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.018,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 2,
                "key_pass": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083096,
              "match_date": "2026-01-25",
              "home_team": "Deportivo Alavés",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0351,
                "expected_assists": 0.1155,
                "total_shots": 1,
                "total_pass": 34,
                "accurate_pass": 30,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 3,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 4946,
            "combined_rank_score": 3037.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 157.0,
            "sofascore_rating": 7.3,
            "sofascore_appearances": 1.0,
            "fifa_rank": 5918.0,
            "fifa_overall": 70.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7508,
            "source_file": "data/player_rankings.csv",
            "player_name": "Angel Ortiz",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Efraín Álvarez",
                  "ranking": 4941
                },
                {
                  "player_name": "Milton Giménez",
                  "ranking": 4942
                },
                {
                  "player_name": "Kevin Castañeda",
                  "ranking": 4943
                },
                {
                  "player_name": "Carlos Moreno",
                  "ranking": 4944
                },
                {
                  "player_name": "Brian Gutiérrez",
                  "ranking": 4945
                }
              ],
              "lower": [
                {
                  "player_name": "Kevin Mier",
                  "ranking": 4947
                },
                {
                  "player_name": "Jeremy Sarmiento",
                  "ranking": 4948
                },
                {
                  "player_name": "Mohammed Kanno",
                  "ranking": 4949
                },
                {
                  "player_name": "Pedro Rebocho",
                  "ranking": 4950
                },
                {
                  "player_name": "Martín Cauteruccio",
                  "ranking": 4951
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.758,
          "history_matches": 17,
          "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": 17,
            "data_confidence": 0.758,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9984,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 1.0,
              "minutes": 70.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 1.29,
              "shots_on_target_pct": 0.0,
              "prior_reliability": 0.0533
            },
            "rationale": "XGBoost regressor (D_service) evaluated 17 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Real Betis, rel: 0.05, 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.877,
                "tackles": 2.4102,
                "tackles_won": 1.6273,
                "clearances": 1.8399,
                "aerial_won": 0.6231,
                "total_shots": 0.4328,
                "rating": 6.7508,
                "minutes": 73.42,
                "total_pass": 35.3351,
                "accurate_pass": 31.0781,
                "duels_won": 5.0564,
                "total_long_balls": 2.248,
                "accurate_long_balls": 0.6449,
                "total_own_half_passes": 16.8725,
                "accurate_own_half_passes": 14.6838,
                "total_opp_half_passes": 18.4626,
                "accurate_opp_half_passes": 16.3943,
                "crosses_total": 1.9056,
                "crosses_accurate": 0.2641,
                "touches": 56.1989,
                "possession_lost": 9.9818,
                "dispossessed": 0.9573,
                "duels_lost": 4.8042,
                "aerial_lost": 1.0018,
                "total_contest": 1.555,
                "won_contest": 0.5896,
                "ball_recovery": 3.4692,
                "challenges_lost": 0.8439,
                "fouls": 1.1187,
                "fouls_drawn": 0.6827,
                "blocks": 0.7261,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0099,
                "expected_assists": 0.0554,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0509,
                "xgot": 0.0,
                "ball_carries": 11.0652,
                "total_progression": 29.0445,
                "progressive_carries": 0.607,
                "key_pass": 0.6461,
                "shots_off_target": 0.4328
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:29:25.210665+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 626,
                    "rows": 22004
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-25",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1601,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-10-17",
                    "opponent": "FC Barcelona",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.1361,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Getafe",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.1157,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.0983,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-03-22",
                    "opponent": "Athletic Club",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0836,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-03-08",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.071,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-02-21",
                    "opponent": "Rayo Vallecano",
                    "minutes": 21.0,
                    "is_starting": false,
                    "weight": 0.0604,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-02-15",
                    "opponent": "Mallorca",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.0513,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-02-01",
                    "opponent": "Valencia",
                    "minutes": 1.0,
                    "is_starting": false,
                    "weight": 0.0436,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-01-25",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0371,
                    "rating": 6.5
                  }
                ],
                "feature_row": {
                  "history_matches": 17.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 1.4096,
                  "aerialWon": 0.3912,
                  "totalClearance_p90": 2.7826,
                  "totalTackle": 2.4549,
                  "totalPass": 26.6837
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.8770288825035095,
                    "model_output": 0.877,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2977
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0446
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0318
                      },
                      {
                        "name": "touches",
                        "importance": 0.0281
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8678,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1155
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.1056
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0349
                        },
                        {
                          "name": "touches",
                          "contribution": -0.0234
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0218
                        }
                      ],
                      "others": -0.034,
                      "total": 0.877,
                      "log_link": true,
                      "margin_base": -0.141777,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.124969
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.113616
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.038937
                        },
                        {
                          "name": "touches",
                          "margin": -0.025939
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.024176
                        }
                      ],
                      "others_margin": -0.037964
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 2.4102048873901367,
                    "model_output": 2.4102,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2493
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0731
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0414
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0245
                      }
                    ],
                    "decomposition": {
                      "base": 1.3878,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1992
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.1264
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.1055
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.1071
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": 0.0963
                        }
                      ],
                      "others": 0.3879,
                      "total": 2.4102,
                      "log_link": true,
                      "margin_base": 0.327722,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.134153
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.076644
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.059732
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.057225
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": 0.048798
                        }
                      ],
                      "others_margin": 0.175438
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.6272711753845215,
                    "model_output": 1.6273,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1966
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0678
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0471
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0406
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 0.8471,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1264
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.1178
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.1177
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0941
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0707
                        }
                      ],
                      "others": 0.2535,
                      "total": 1.6273,
                      "log_link": true,
                      "margin_base": -0.165887,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.139123
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.114253
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.102429
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.074911
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.052818
                        }
                      ],
                      "others_margin": 0.169258
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.8398706912994385,
                    "model_output": 1.8399,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2929
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1447
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.1031
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0342
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0223
                      }
                    ],
                    "decomposition": {
                      "base": 3.4227,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.8202
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.3413
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.2798
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.2436
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.2101
                        }
                      ],
                      "others": -0.3704,
                      "total": 1.8399,
                      "log_link": true,
                      "margin_base": 1.230438,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.273973
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.123225
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.099891
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.0959
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.090802
                        }
                      ],
                      "others_margin": -0.183402
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.6231268644332886,
                    "model_output": 0.6231,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1591
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1548
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0782
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.3743,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.5301
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0873
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0757
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0476
                        }
                      ],
                      "others": -0.1105,
                      "total": 0.6231,
                      "log_link": true,
                      "margin_base": 0.31798,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.487234
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.11193
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.097064
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.092448
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.062825
                        }
                      ],
                      "others_margin": -0.163344
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4328053295612335,
                    "model_output": 0.4328,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1011
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0377
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0308
                      },
                      {
                        "name": "rating",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.4801,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0883
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0537
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0151
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": 0.0132
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0104
                        }
                      ],
                      "others": -0.0514,
                      "total": 0.4328,
                      "log_link": false,
                      "margin_base": 0.48008,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.088264
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.05368
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.015133
                        },
                        {
                          "name": "duelWon_p90",
                          "margin": 0.013223
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.010401
                        }
                      ],
                      "others_margin": -0.051448
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.750776767730713,
                    "model_output": 6.7508,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0922
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0582
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0462
                      },
                      {
                        "name": "rating",
                        "importance": 0.0313
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 6.7972,
                      "items": [
                        {
                          "name": "touches_p90",
                          "contribution": 0.0253
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0129
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0127
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0108
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0105
                        }
                      ],
                      "others": -0.0248,
                      "total": 6.7508,
                      "log_link": false,
                      "margin_base": 6.797222,
                      "item_margins": [
                        {
                          "name": "touches_p90",
                          "margin": 0.025295
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.012853
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.012672
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.010821
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.010489
                        }
                      ],
                      "others_margin": -0.024904
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 17,
                  "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 0.9984, quality 0.482)",
              "stats": {
                "interceptions": 0.8756,
                "tackles": 2.4063,
                "tackles_won": 1.6247,
                "clearances": 1.8369,
                "aerial_won": 0.6221,
                "total_shots": 0.4321,
                "rating": 6.7508,
                "minutes": 73.42,
                "total_pass": 35.2786,
                "accurate_pass": 31.0284,
                "duels_won": 5.0483,
                "total_long_balls": 2.2444,
                "accurate_long_balls": 0.6439,
                "total_own_half_passes": 16.8455,
                "accurate_own_half_passes": 14.6603,
                "total_opp_half_passes": 18.4331,
                "accurate_opp_half_passes": 16.3681,
                "crosses_total": 1.9026,
                "crosses_accurate": 0.2637,
                "touches": 56.109,
                "possession_lost": 9.9658,
                "dispossessed": 0.9558,
                "duels_lost": 4.7965,
                "aerial_lost": 1.0002,
                "total_contest": 1.5525,
                "won_contest": 0.5887,
                "ball_recovery": 3.4636,
                "challenges_lost": 0.8425,
                "fouls": 1.1169,
                "fouls_drawn": 0.6816,
                "blocks": 0.7249,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0099,
                "expected_assists": 0.0553,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0508,
                "xgot": 0.0,
                "ball_carries": 11.0475,
                "total_progression": 28.998,
                "progressive_carries": 0.606,
                "key_pass": 0.6451,
                "shots_off_target": 0.4321
              },
              "params": {
                "market_value_eur": 6600000,
                "quality_factor": 0.4818,
                "boost_factor": 0.9984,
                "reference_quality": 0.505,
                "history_matches": 17,
                "history_shrink": 0.2273,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0079)",
              "stats": {
                "interceptions": 0.8687,
                "tackles": 2.4063,
                "tackles_won": 1.628,
                "clearances": 1.8369,
                "aerial_won": 0.6221,
                "total_shots": 0.437,
                "rating": 6.7508,
                "minutes": 73.42,
                "total_pass": 35.2786,
                "accurate_pass": 31.0284,
                "duels_won": 5.0483,
                "total_long_balls": 2.2444,
                "accurate_long_balls": 0.6439,
                "total_own_half_passes": 16.8455,
                "accurate_own_half_passes": 14.6603,
                "total_opp_half_passes": 18.4331,
                "accurate_opp_half_passes": 16.3681,
                "crosses_total": 1.8876,
                "crosses_accurate": 0.2637,
                "touches": 56.109,
                "possession_lost": 9.9658,
                "dispossessed": 0.9558,
                "duels_lost": 4.7965,
                "aerial_lost": 1.0002,
                "total_contest": 1.5525,
                "won_contest": 0.5887,
                "ball_recovery": 3.4636,
                "challenges_lost": 0.8425,
                "fouls": 1.1161,
                "fouls_drawn": 0.6762,
                "blocks": 0.7249,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0099,
                "expected_assists": 0.0553,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0508,
                "xgot": 0.0,
                "ball_carries": 11.0475,
                "total_progression": 28.998,
                "progressive_carries": 0.606,
                "key_pass": 0.6451,
                "shots_off_target": 0.4321
              },
              "params": {
                "blend_weight": 0.0079,
                "history_matches": 17,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8158,
                "prior_reliability": 0.0533,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 1.9026,
                  "after": 1.8876
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.8756,
                  "after": 0.8687
                },
                {
                  "stat": "wasFouled",
                  "before": 0.6816,
                  "after": 0.6762
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.8687,
                "tackles": 2.4063,
                "tackles_won": 1.628,
                "clearances": 1.8369,
                "aerial_won": 0.6221,
                "total_shots": 0.437,
                "rating": 6.7508,
                "minutes": 73.42,
                "total_pass": 35.2786,
                "accurate_pass": 31.0284,
                "duels_won": 5.0483,
                "total_long_balls": 2.2444,
                "accurate_long_balls": 0.6439,
                "total_own_half_passes": 16.8455,
                "accurate_own_half_passes": 14.6603,
                "total_opp_half_passes": 18.4331,
                "accurate_opp_half_passes": 16.3681,
                "crosses_total": 1.8876,
                "crosses_accurate": 0.2637,
                "touches": 56.109,
                "possession_lost": 9.9658,
                "dispossessed": 0.9558,
                "duels_lost": 4.7965,
                "aerial_lost": 1.0002,
                "total_contest": 1.5525,
                "won_contest": 0.5887,
                "ball_recovery": 3.4636,
                "challenges_lost": 0.8425,
                "fouls": 1.1161,
                "fouls_drawn": 0.6762,
                "blocks": 0.7249,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0099,
                "expected_assists": 0.0553,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0508,
                "xgot": 0.0,
                "ball_carries": 11.0475,
                "total_progression": 28.998,
                "progressive_carries": 0.606,
                "key_pass": 0.6451,
                "shots_off_target": 0.4321
              },
              "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.8687,
                "tackles": 2.4063,
                "tackles_won": 1.628,
                "clearances": 1.8369,
                "aerial_won": 0.6221,
                "total_shots": 0.437,
                "rating": 6.7508,
                "minutes": 73.42,
                "total_pass": 35.2786,
                "accurate_pass": 31.0284,
                "duels_won": 5.0483,
                "total_long_balls": 2.2444,
                "accurate_long_balls": 0.6439,
                "total_own_half_passes": 16.8455,
                "accurate_own_half_passes": 14.6603,
                "total_opp_half_passes": 18.4331,
                "accurate_opp_half_passes": 16.3681,
                "crosses_total": 1.8876,
                "crosses_accurate": 0.2637,
                "touches": 56.109,
                "possession_lost": 9.9658,
                "dispossessed": 0.9558,
                "duels_lost": 4.7965,
                "aerial_lost": 1.0002,
                "total_contest": 1.5525,
                "won_contest": 0.5887,
                "ball_recovery": 3.4636,
                "challenges_lost": 0.8425,
                "fouls": 1.1161,
                "fouls_drawn": 0.6762,
                "blocks": 0.7249,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0099,
                "expected_assists": 0.0553,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0508,
                "xgot": 0.0,
                "ball_carries": 11.0475,
                "total_progression": 28.998,
                "progressive_carries": 0.606,
                "key_pass": 0.6451,
                "shots_off_target": 0.4321,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.6,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.611,
                "opponent_faced": "Ramón Enríquez",
                "pressing_zone": "Left Wingback vs Right Back — Overlapping Run",
                "matchup_zone": "Left Wingback vs Right Back — Overlapping Run",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Ramón Enríquez",
                  "matchup_zone": "Left Wingback vs Right Back — Overlapping Run"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 2 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 0.8687,
                "tackles": 2.4063,
                "tackles_won": 1.628,
                "clearances": 1.8369,
                "aerial_won": 0.6221,
                "total_shots": 0.437,
                "rating": 6.7508,
                "minutes": 73.42,
                "total_pass": 35.2786,
                "accurate_pass": 31.0284,
                "duels_won": 5.0483,
                "total_long_balls": 2.2444,
                "accurate_long_balls": 0.6439,
                "total_own_half_passes": 16.8455,
                "accurate_own_half_passes": 14.6603,
                "total_opp_half_passes": 18.4331,
                "accurate_opp_half_passes": 16.3681,
                "crosses_total": 1.8876,
                "crosses_accurate": 0.2637,
                "touches": 56.109,
                "possession_lost": 9.9658,
                "dispossessed": 0.9558,
                "duels_lost": 4.7965,
                "aerial_lost": 1.0002,
                "total_contest": 1.5525,
                "won_contest": 0.5887,
                "ball_recovery": 3.4636,
                "challenges_lost": 0.8425,
                "fouls": 1.1161,
                "fouls_drawn": 0.6762,
                "blocks": 0.7249,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0099,
                "expected_assists": 0.0553,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0508,
                "xgot": 0.0,
                "ball_carries": 11.0475,
                "total_progression": 28.998,
                "progressive_carries": 0.606,
                "key_pass": 0.6451,
                "shots_off_target": 0.4321,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.6,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.611,
                "opponent_faced": "Ramón Enríquez",
                "pressing_zone": "Left Wingback vs Right Back — Overlapping Run",
                "matchup_zone": "Left Wingback vs Right Back — Overlapping Run",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.15 (squad xG sum 1.3311, xG scale 1.6175, xA scale 1.6175, team xA 1.53 = 0.71 x lambda)",
              "stats": {
                "interceptions": 0.8687,
                "tackles": 2.4063,
                "tackles_won": 1.628,
                "clearances": 1.8369,
                "aerial_won": 0.6221,
                "total_shots": 0.437,
                "rating": 6.7508,
                "minutes": 73.42,
                "total_pass": 35.2786,
                "accurate_pass": 31.0284,
                "duels_won": 5.0483,
                "total_long_balls": 2.2444,
                "accurate_long_balls": 0.6439,
                "total_own_half_passes": 16.8455,
                "accurate_own_half_passes": 14.6603,
                "total_opp_half_passes": 18.4331,
                "accurate_opp_half_passes": 16.3681,
                "crosses_total": 1.8876,
                "crosses_accurate": 0.2637,
                "touches": 56.109,
                "possession_lost": 9.9658,
                "dispossessed": 0.9558,
                "duels_lost": 4.7965,
                "aerial_lost": 1.0002,
                "total_contest": 1.5525,
                "won_contest": 0.5887,
                "ball_recovery": 3.4636,
                "challenges_lost": 0.8425,
                "fouls": 1.1161,
                "fouls_drawn": 0.6762,
                "blocks": 0.7249,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.016,
                "expected_assists": 0.0894,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0508,
                "xgot": 0.0,
                "ball_carries": 11.0475,
                "total_progression": 28.998,
                "progressive_carries": 0.606,
                "key_pass": 0.6451,
                "shots_off_target": 0.4321,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.6,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.611,
                "opponent_faced": "Ramón Enríquez",
                "pressing_zone": "Left Wingback vs Right Back — Overlapping Run",
                "matchup_zone": "Left Wingback vs Right Back — Overlapping Run",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8347,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 2.153,
                "squad_xg_sum": 1.3311,
                "squad_xa_sum": 0.9447,
                "team_expected_assists": 1.528,
                "team_xa_to_xg_ratio": 0.7097,
                "bench_appearance_weighted": true,
                "xg_scale": 1.6175,
                "xa_scale": 1.6175,
                "opponent_lambda": 0.831,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0099,
                  "after": 0.016
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0553,
                  "after": 0.0894
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 13 by projected rating, fifa_overall 70.0)",
              "stats": {
                "interceptions": 0.8687,
                "tackles": 2.4063,
                "tackles_won": 1.628,
                "clearances": 1.8369,
                "aerial_won": 0.6221,
                "total_shots": 0.437,
                "rating": 6.7508,
                "minutes": 73.42,
                "total_pass": 35.2786,
                "accurate_pass": 31.0284,
                "duels_won": 5.0483,
                "total_long_balls": 2.2444,
                "accurate_long_balls": 0.6439,
                "total_own_half_passes": 16.8455,
                "accurate_own_half_passes": 14.6603,
                "total_opp_half_passes": 18.4331,
                "accurate_opp_half_passes": 16.3681,
                "crosses_total": 1.8876,
                "crosses_accurate": 0.2637,
                "touches": 56.109,
                "possession_lost": 9.9658,
                "dispossessed": 0.9558,
                "duels_lost": 4.7965,
                "aerial_lost": 1.0002,
                "total_contest": 1.5525,
                "won_contest": 0.5887,
                "ball_recovery": 3.4636,
                "challenges_lost": 0.8425,
                "fouls": 1.1161,
                "fouls_drawn": 0.6762,
                "blocks": 0.7249,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.016,
                "expected_assists": 0.0894,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0508,
                "xgot": 0.0,
                "ball_carries": 11.0475,
                "total_progression": 28.998,
                "progressive_carries": 0.606,
                "key_pass": 0.6451,
                "shots_off_target": 0.4321,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.6,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.611,
                "opponent_faced": "Ramón Enríquez",
                "pressing_zone": "Left Wingback vs Right Back — Overlapping Run",
                "matchup_zone": "Left Wingback vs Right Back — Overlapping Run",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8347,
                "creation_factor": 0.8,
                "fifa_overall": 70.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": 4946,
                "fifa_rank": 5918.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 70.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "interceptions": 0.8687,
                "tackles": 2.4063,
                "tackles_won": 1.628,
                "clearances": 1.8369,
                "aerial_won": 0.6221,
                "total_shots": 0.437,
                "rating": 6.7508,
                "minutes": 73.42,
                "total_pass": 35.2786,
                "accurate_pass": 31.0284,
                "duels_won": 5.0483,
                "total_long_balls": 2.2444,
                "accurate_long_balls": 0.6439,
                "total_own_half_passes": 16.8455,
                "accurate_own_half_passes": 14.6603,
                "total_opp_half_passes": 18.4331,
                "accurate_opp_half_passes": 16.3681,
                "crosses_total": 1.8876,
                "crosses_accurate": 0.2637,
                "touches": 56.109,
                "possession_lost": 9.9658,
                "dispossessed": 0.9558,
                "duels_lost": 4.7965,
                "aerial_lost": 1.0002,
                "total_contest": 1.5525,
                "won_contest": 0.5887,
                "ball_recovery": 3.4636,
                "challenges_lost": 0.8425,
                "fouls": 1.1161,
                "fouls_drawn": 0.6762,
                "blocks": 0.7249,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.016,
                "expected_assists": 0.0894,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0508,
                "xgot": 0.0,
                "ball_carries": 11.0475,
                "total_progression": 28.998,
                "progressive_carries": 0.606,
                "key_pass": 0.6451,
                "shots_off_target": 0.4321,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.6,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.611,
                "opponent_faced": "Ramón Enríquez",
                "pressing_zone": "Left Wingback vs Right Back — Overlapping Run",
                "matchup_zone": "Left Wingback vs Right Back — Overlapping Run",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0159,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8347,
                "creation_factor": 0.8,
                "fifa_overall": 70.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0159,
                "goal_rate": 0.0,
                "scorer_weight": 0.0134,
                "squad_weight_total": 2.2809,
                "weight_share": 0.0059,
                "finishing_factor": 0.8347,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.6492,
                    "already": 0,
                    "effective_weight": 0.6492,
                    "runner_up": "Troy Parrott",
                    "runner_up_effective_weight": 0.4679
                  },
                  {
                    "n": 2,
                    "player": "Troy Parrott",
                    "weight": 0.4679,
                    "already": 0,
                    "effective_weight": 0.4679,
                    "runner_up": "Antony",
                    "runner_up_effective_weight": 0.3665
                  }
                ]
              }
            },
            {
              "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.8687,
                "tackles": 2.4063,
                "tackles_won": 1.628,
                "clearances": 1.8369,
                "aerial_won": 0.6221,
                "total_shots": 0.437,
                "rating": 6.7508,
                "minutes": 73.42,
                "total_pass": 35.2786,
                "accurate_pass": 31.0284,
                "duels_won": 5.0483,
                "total_long_balls": 2.2444,
                "accurate_long_balls": 0.6439,
                "total_own_half_passes": 16.8455,
                "accurate_own_half_passes": 14.6603,
                "total_opp_half_passes": 18.4331,
                "accurate_opp_half_passes": 16.3681,
                "crosses_total": 1.8876,
                "crosses_accurate": 0.2637,
                "touches": 56.109,
                "possession_lost": 9.9658,
                "dispossessed": 0.9558,
                "duels_lost": 4.7965,
                "aerial_lost": 1.0002,
                "total_contest": 1.5525,
                "won_contest": 0.5887,
                "ball_recovery": 3.4636,
                "challenges_lost": 0.8425,
                "fouls": 1.1161,
                "fouls_drawn": 0.6762,
                "blocks": 0.7249,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.016,
                "expected_assists": 0.0894,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0508,
                "xgot": 0.0,
                "ball_carries": 11.0475,
                "total_progression": 28.998,
                "progressive_carries": 0.606,
                "key_pass": 0.6451,
                "shots_off_target": 0.4321,
                "tackles_in_zone": 2.0,
                "tackles_won_in_zone": 1.6,
                "interceptions_in_zone": 0.8,
                "clearances_in_zone": 0.5,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.611,
                "opponent_faced": "Ramón Enríquez",
                "pressing_zone": "Left Wingback vs Right Back — Overlapping Run",
                "matchup_zone": "Left Wingback vs Right Back — Overlapping Run",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0159,
                "projected_assists": 0,
                "assist_probability": 0.0855,
                "finishing_factor": 0.8347,
                "creation_factor": 0.8,
                "fifa_overall": 70.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0855,
                "assist_rate": 0.0,
                "provider_weight": 0.0715,
                "squad_weight_total": 1.2992,
                "weight_share": 0.055,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.25,
                    "already": 0,
                    "effective_weight": 0.25,
                    "runner_up": "Pablo Fornals",
                    "runner_up_effective_weight": 0.2333
                  }
                ]
              }
            }
          ]
        },
        "Álvaro Valles": {
          "player_id": 964983,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 1,
          "height": 192,
          "market_value": 9300000,
          "stats": {
            "saves": 3,
            "goals_prevented": -0.0043,
            "rating": 7.0737,
            "minutes": 90,
            "total_pass": 28,
            "accurate_pass": 21,
            "total_long_balls": 13,
            "accurate_long_balls": 6,
            "touches": 41,
            "clearances": 1,
            "ball_recovery": 8,
            "high_claims": 1,
            "punches": 0.6052,
            "aerial_won": 1,
            "sweeper_actions": 1,
            "sweeper_accurate": 1,
            "saves_inside_box": 3,
            "possession_lost": 7.3502,
            "duels_won": 1,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 19,
            "accurate_own_half_passes": 18,
            "gk_engine_opponent_lambda": 0.7182,
            "shots_faced": 7.9,
            "expected_saves": 1.93,
            "high_pressure_saves": 0.66,
            "opponent_faced": "Adrián Niño, David Larrubia",
            "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": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16421079,
              "match_date": "2026-10-25",
              "home_team": "Celta Vigo",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 8.2,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0004,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "total_pass": 31,
                "accurate_pass": 26,
                "tackles": 0,
                "tackles_won": 0,
                "interceptions": 0,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 8,
                "saves": 4,
                "goals_prevented": 0.8204
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421068,
              "match_date": "2026-10-17",
              "home_team": "Real Betis",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0012,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 21,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 9,
                "saves": 5,
                "goals_prevented": -0.0979
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421054,
              "match_date": "2026-10-11",
              "home_team": "Real Betis",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0027,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 19,
                "ball_recovery": 9,
                "saves": 3,
                "goals_prevented": 0.2268
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416313,
              "match_date": "2026-09-20",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 8.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0002,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 21,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 8,
                "saves": 6,
                "goals_prevented": 1.1632
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416336,
              "match_date": "2026-09-17",
              "home_team": "Real Betis",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0012,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 27,
                "clearances": 1,
                "duels_won": 1,
                "ball_recovery": 5,
                "saves": 2,
                "goals_prevented": 0.365
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 9.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0007,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 19,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 12,
                "saves": 7,
                "goals_prevented": 1.8369
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416315,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 10.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.001,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 11,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 9,
                "saves": 6,
                "goals_prevented": 2.9806
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416309,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 19,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 8,
                "saves": 4,
                "goals_prevented": -0.583
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421049,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 8.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0019,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 17,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 7,
                "saves": 3,
                "goals_prevented": 1.1262
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416293,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 21,
                "clearances": 3,
                "ball_recovery": 14,
                "saves": 3,
                "goals_prevented": 0.5213
              },
              "has_player_stats": true,
              "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": 2143,
            "combined_rank_score": 808.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 50.0,
            "sofascore_rating": 7.7333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 1567.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 4,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0737,
            "source_file": "data/player_rankings.csv",
            "player_name": "Álvaro Valles",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Vlatko Stojanovski",
                  "ranking": 2138
                },
                {
                  "player_name": "Islom Tukhtakhuzhaev",
                  "ranking": 2139
                },
                {
                  "player_name": "Juan Figueroa",
                  "ranking": 2140
                },
                {
                  "player_name": "Kaito Taniguchi",
                  "ranking": 2141
                },
                {
                  "player_name": "Seok-jun Hong",
                  "ranking": 2142
                }
              ],
              "lower": [
                {
                  "player_name": "Lazar Samardžić",
                  "ranking": 2144
                },
                {
                  "player_name": "Giovanny Avalos",
                  "ranking": 2145
                },
                {
                  "player_name": "Nahuel Tenaglia",
                  "ranking": 2146
                },
                {
                  "player_name": "Breel Embolo",
                  "ranking": 2147
                },
                {
                  "player_name": "Sergi Cardona",
                  "ranking": 2148
                }
              ]
            }
          },
          "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.0003,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "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, Real Betis, rel: 0.20, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost G_service raw output over 3 target models",
              "stats": {
                "saves": 3.2082,
                "goals_prevented": -0.0043,
                "rating": 7.0737,
                "minutes": 90.0,
                "total_pass": 27.9256,
                "accurate_pass": 20.9237,
                "total_long_balls": 13.1929,
                "accurate_long_balls": 6.3071,
                "touches": 40.7537,
                "clearances": 1.1679,
                "ball_recovery": 8.3,
                "high_claims": 1.0126,
                "punches": 0.605,
                "aerial_won": 0.6477,
                "sweeper_actions": 0.9002,
                "sweeper_accurate": 0.8608,
                "saves_inside_box": 3.167,
                "possession_lost": 7.348,
                "duels_won": 0.8812,
                "duels_lost": 0.1838,
                "total_contest": 0.0788,
                "won_contest": 0.0788,
                "fouls": 0.0,
                "fouls_drawn": 0.0264,
                "total_own_half_passes": 19.2873,
                "accurate_own_half_passes": 17.9803
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 5,
                  "trained_at": "2026-10-31T10:28:35.350989+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 201,
                    "rows": 7385
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-25",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1503,
                    "rating": 8.2
                  },
                  {
                    "match_date": "2026-10-17",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1278,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Osasuna",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1086,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0923,
                    "rating": 8.5
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0785,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0667,
                    "rating": 9.9
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0567,
                    "rating": 10.0
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0482,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 8.3
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 7.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "accurateKeeperSweeper": 0.8609,
                  "goalkeeperValueNormalized": 0.4881,
                  "goodHighClaim": 1.0126,
                  "save_contribution": 4.7812,
                  "possessionLostCtrl": 7.348,
                  "sweeper_actions_p90": 0.7964
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 3.208233118057251,
                    "model_output": 3.2082,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "save_contribution",
                        "importance": 0.0422
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0362
                      },
                      {
                        "name": "goodHighClaim",
                        "importance": 0.0359
                      },
                      {
                        "name": "defensiveValueNormalized",
                        "importance": 0.0358
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0358
                      }
                    ],
                    "decomposition": {
                      "base": 2.9271,
                      "items": [
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "contribution": 0.0752
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0727
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": 0.0488
                        },
                        {
                          "name": "goalsPrevented",
                          "contribution": 0.047
                        },
                        {
                          "name": "save_contribution",
                          "contribution": 0.0447
                        }
                      ],
                      "others": -0.0073,
                      "total": 3.2082,
                      "log_link": true,
                      "margin_base": 1.074005,
                      "item_margins": [
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "margin": 0.025361
                        },
                        {
                          "name": "rating",
                          "margin": 0.023912
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": 0.015755
                        },
                        {
                          "name": "goalsPrevented",
                          "margin": 0.014922
                        },
                        {
                          "name": "save_contribution",
                          "margin": 0.014
                        }
                      ],
                      "others_margin": -0.002234
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": -0.004295851103961468,
                    "model_output": -0.0043,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0432
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.04
                      },
                      {
                        "name": "goodHighClaim",
                        "importance": 0.0388
                      },
                      {
                        "name": "punches",
                        "importance": 0.0371
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0358
                      }
                    ],
                    "decomposition": {
                      "base": -0.0235,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": -0.0277
                        },
                        {
                          "name": "goalsPrevented",
                          "contribution": 0.0217
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": 0.0188
                        },
                        {
                          "name": "accurateLongBalls",
                          "contribution": 0.0181
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "contribution": -0.0164
                        }
                      ],
                      "others": 0.0047,
                      "total": -0.0043,
                      "log_link": false,
                      "margin_base": -0.023525,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": -0.027712
                        },
                        {
                          "name": "goalsPrevented",
                          "margin": 0.021746
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": 0.018806
                        },
                        {
                          "name": "accurateLongBalls",
                          "margin": 0.018132
                        },
                        {
                          "name": "sweeper_actions_p90",
                          "margin": -0.016364
                        }
                      ],
                      "others_margin": 0.00462
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.073728561401367,
                    "model_output": 7.0737,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "accurateKeeperSweeper",
                        "importance": 0.0401
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.0389
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0374
                      },
                      {
                        "name": "touches",
                        "importance": 0.0351
                      },
                      {
                        "name": "rating",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 6.9898,
                      "items": [
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "contribution": 0.044
                        },
                        {
                          "name": "accurateOwnHalfPasses",
                          "contribution": -0.0425
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0211
                        },
                        {
                          "name": "save_contribution",
                          "contribution": 0.0195
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0155
                        }
                      ],
                      "others": 0.0263,
                      "total": 7.0737,
                      "log_link": false,
                      "margin_base": 6.989751,
                      "item_margins": [
                        {
                          "name": "savedShotsFromInsideTheBox",
                          "margin": 0.044026
                        },
                        {
                          "name": "accurateOwnHalfPasses",
                          "margin": -0.042472
                        },
                        {
                          "name": "rating",
                          "margin": 0.021128
                        },
                        {
                          "name": "save_contribution",
                          "margin": 0.019524
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.015522
                        }
                      ],
                      "others_margin": 0.026251
                    }
                  }
                ],
                "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.0003, quality 0.514)",
              "stats": {
                "saves": 3.2092,
                "goals_prevented": -0.0043,
                "rating": 7.0737,
                "minutes": 90.0,
                "total_pass": 27.934,
                "accurate_pass": 20.93,
                "total_long_balls": 13.1969,
                "accurate_long_balls": 6.309,
                "touches": 40.7659,
                "clearances": 1.1683,
                "ball_recovery": 8.3025,
                "high_claims": 1.0129,
                "punches": 0.6052,
                "aerial_won": 0.6479,
                "sweeper_actions": 0.9005,
                "sweeper_accurate": 0.8611,
                "saves_inside_box": 3.168,
                "possession_lost": 7.3502,
                "duels_won": 0.8815,
                "duels_lost": 0.1839,
                "total_contest": 0.0788,
                "won_contest": 0.0788,
                "fouls": 0.0,
                "fouls_drawn": 0.0264,
                "total_own_half_passes": 19.2931,
                "accurate_own_half_passes": 17.9857
              },
              "params": {
                "market_value_eur": 9300000,
                "quality_factor": 0.5142,
                "boost_factor": 1.0003,
                "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": 3.2111,
                "goals_prevented": -0.0043,
                "rating": 7.0737,
                "minutes": 90.0,
                "total_pass": 27.934,
                "accurate_pass": 20.93,
                "total_long_balls": 13.1969,
                "accurate_long_balls": 6.309,
                "touches": 40.7659,
                "clearances": 1.1683,
                "ball_recovery": 8.3025,
                "high_claims": 1.0129,
                "punches": 0.6052,
                "aerial_won": 0.6479,
                "sweeper_actions": 0.9005,
                "sweeper_accurate": 0.8611,
                "saves_inside_box": 3.168,
                "possession_lost": 7.3502,
                "duels_won": 0.8815,
                "duels_lost": 0.1839,
                "total_contest": 0.0788,
                "won_contest": 0.0788,
                "fouls": 0.0,
                "fouls_drawn": 0.026,
                "total_own_half_passes": 19.2931,
                "accurate_own_half_passes": 17.9857
              },
              "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": "Real Betis"
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 3.2111,
                "goals_prevented": -0.0043,
                "rating": 7.0737,
                "minutes": 90.0,
                "total_pass": 27.934,
                "accurate_pass": 20.93,
                "total_long_balls": 13.1969,
                "accurate_long_balls": 6.309,
                "touches": 40.7659,
                "clearances": 1.1683,
                "ball_recovery": 8.3025,
                "high_claims": 1.0129,
                "punches": 0.6052,
                "aerial_won": 0.6479,
                "sweeper_actions": 0.9005,
                "sweeper_accurate": 0.8611,
                "saves_inside_box": 3.168,
                "possession_lost": 7.3502,
                "duels_won": 0.8815,
                "duels_lost": 0.1839,
                "total_contest": 0.0788,
                "won_contest": 0.0788,
                "fouls": 0.0,
                "fouls_drawn": 0.026,
                "total_own_half_passes": 19.2931,
                "accurate_own_half_passes": 17.9857
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "enriched_model_output",
              "description": "Model output after duel-context enrichment (pre router post-processing)",
              "stats": {
                "saves": 3.2111,
                "goals_prevented": -0.0043,
                "rating": 7.0737,
                "minutes": 90.0,
                "total_pass": 27.934,
                "accurate_pass": 20.93,
                "total_long_balls": 13.1969,
                "accurate_long_balls": 6.309,
                "touches": 40.7659,
                "clearances": 1.1683,
                "ball_recovery": 8.3025,
                "high_claims": 1.0129,
                "punches": 0.6052,
                "aerial_won": 0.6479,
                "sweeper_actions": 0.9005,
                "sweeper_accurate": 0.8611,
                "saves_inside_box": 3.168,
                "possession_lost": 7.3502,
                "duels_won": 0.8815,
                "duels_lost": 0.1839,
                "total_contest": 0.0788,
                "won_contest": 0.0788,
                "fouls": 0.0,
                "fouls_drawn": 0.026,
                "total_own_half_passes": 19.2931,
                "accurate_own_half_passes": 17.9857,
                "gk_engine_opponent_lambda": 0.7182,
                "shots_faced": 6.8,
                "expected_saves": 1.66,
                "high_pressure_saves": 0.57,
                "opponent_faced": "Adrián Niño, David Larrubia",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Adrián Niño, David Larrubia",
                  "matchup_zone": "Goalkeeper shot-stopping context",
                  "opponent_lambda": 0.7182
                }
              }
            },
            {
              "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": 3.2111,
                "goals_prevented": -0.0043,
                "rating": 7.0737,
                "minutes": 90.0,
                "total_pass": 27.934,
                "accurate_pass": 20.93,
                "total_long_balls": 13.1969,
                "accurate_long_balls": 6.309,
                "touches": 40.7659,
                "clearances": 1.1683,
                "ball_recovery": 8.3025,
                "high_claims": 1.0129,
                "punches": 0.6052,
                "aerial_won": 0.6479,
                "sweeper_actions": 0.9005,
                "sweeper_accurate": 0.8611,
                "saves_inside_box": 3.168,
                "possession_lost": 7.3502,
                "duels_won": 0.8815,
                "duels_lost": 0.1839,
                "total_contest": 0.0788,
                "won_contest": 0.0788,
                "fouls": 0.0,
                "fouls_drawn": 0.026,
                "total_own_half_passes": 19.2931,
                "accurate_own_half_passes": 17.9857,
                "gk_engine_opponent_lambda": 0.7182,
                "shots_faced": 6.8,
                "expected_saves": 1.66,
                "high_pressure_saves": 0.57,
                "opponent_faced": "Adrián Niño, David Larrubia",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.15 (squad xG sum 1.3311, xG scale 1.6175, xA scale 1.6175, team xA 1.53 = 0.71 x lambda)",
              "stats": {
                "saves": 3.2111,
                "goals_prevented": -0.0043,
                "rating": 7.0737,
                "minutes": 90.0,
                "total_pass": 27.934,
                "accurate_pass": 20.93,
                "total_long_balls": 13.1969,
                "accurate_long_balls": 6.309,
                "touches": 40.7659,
                "clearances": 1.1683,
                "ball_recovery": 8.3025,
                "high_claims": 1.0129,
                "punches": 0.6052,
                "aerial_won": 0.6479,
                "sweeper_actions": 0.9005,
                "sweeper_accurate": 0.8611,
                "saves_inside_box": 3.168,
                "possession_lost": 7.3502,
                "duels_won": 0.8815,
                "duels_lost": 0.1839,
                "total_contest": 0.0788,
                "won_contest": 0.0788,
                "fouls": 0.0,
                "fouls_drawn": 0.026,
                "total_own_half_passes": 19.2931,
                "accurate_own_half_passes": 17.9857,
                "gk_engine_opponent_lambda": 0.7182,
                "shots_faced": 7.9,
                "expected_saves": 1.93,
                "high_pressure_saves": 0.66,
                "opponent_faced": "Adrián Niño, David Larrubia",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback",
                "goals": 0,
                "projected_goals": 0,
                "goal_probability": 0.0,
                "assists": 0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 1.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0
              },
              "params": {
                "team_lambda": 2.153,
                "squad_xg_sum": 1.3311,
                "squad_xa_sum": 0.9447,
                "team_expected_assists": 1.528,
                "team_xa_to_xg_ratio": 0.7097,
                "bench_appearance_weighted": true,
                "xg_scale": 1.6175,
                "xa_scale": 1.6175,
                "opponent_lambda": 0.831,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "shots_faced",
                  "before": 6.8,
                  "after": 7.9
                },
                {
                  "stat": "expected_saves",
                  "before": 1.66,
                  "after": 1.93
                },
                {
                  "stat": "high_pressure_saves",
                  "before": 0.57,
                  "after": 0.66
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 4 by projected rating, fifa_overall 77.0)",
              "stats": {
                "saves": 3.2111,
                "goals_prevented": -0.0043,
                "rating": 7.0737,
                "minutes": 90.0,
                "total_pass": 27.934,
                "accurate_pass": 20.93,
                "total_long_balls": 13.1969,
                "accurate_long_balls": 6.309,
                "touches": 40.7659,
                "clearances": 1.1683,
                "ball_recovery": 8.3025,
                "high_claims": 1.0129,
                "punches": 0.6052,
                "aerial_won": 0.6479,
                "sweeper_actions": 0.9005,
                "sweeper_accurate": 0.8611,
                "saves_inside_box": 3.168,
                "possession_lost": 7.3502,
                "duels_won": 0.8815,
                "duels_lost": 0.1839,
                "total_contest": 0.0788,
                "won_contest": 0.0788,
                "fouls": 0.0,
                "fouls_drawn": 0.026,
                "total_own_half_passes": 19.2931,
                "accurate_own_half_passes": 17.9857,
                "gk_engine_opponent_lambda": 0.7182,
                "shots_faced": 7.9,
                "expected_saves": 1.93,
                "high_pressure_saves": 0.66,
                "opponent_faced": "Adrián Niño, David Larrubia",
                "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": 77.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": 2143,
                "fifa_rank": 1567.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "saves": 3.2111,
                "goals_prevented": -0.0043,
                "rating": 7.0737,
                "minutes": 90.0,
                "total_pass": 27.934,
                "accurate_pass": 20.93,
                "total_long_balls": 13.1969,
                "accurate_long_balls": 6.309,
                "touches": 40.7659,
                "clearances": 1.1683,
                "ball_recovery": 8.3025,
                "high_claims": 1.0129,
                "punches": 0.6052,
                "aerial_won": 0.6479,
                "sweeper_actions": 0.9005,
                "sweeper_accurate": 0.8611,
                "saves_inside_box": 3.168,
                "possession_lost": 7.3502,
                "duels_won": 0.8815,
                "duels_lost": 0.1839,
                "total_contest": 0.0788,
                "won_contest": 0.0788,
                "fouls": 0.0,
                "fouls_drawn": 0.026,
                "total_own_half_passes": 19.2931,
                "accurate_own_half_passes": 17.9857,
                "gk_engine_opponent_lambda": 0.7182,
                "shots_faced": 7.9,
                "expected_saves": 1.93,
                "high_pressure_saves": 0.66,
                "opponent_faced": "Adrián Niño, David Larrubia",
                "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": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.0,
                "squad_weight_total": 2.2809,
                "weight_share": 0.0,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.6492,
                    "already": 0,
                    "effective_weight": 0.6492,
                    "runner_up": "Troy Parrott",
                    "runner_up_effective_weight": 0.4679
                  },
                  {
                    "n": 2,
                    "player": "Troy Parrott",
                    "weight": 0.4679,
                    "already": 0,
                    "effective_weight": 0.4679,
                    "runner_up": "Antony",
                    "runner_up_effective_weight": 0.3665
                  }
                ]
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation: 1 projected assists distributed by provider weight (xA x creation x appearance; nobody assists his own goal)",
              "stats": {
                "saves": 3.2111,
                "goals_prevented": -0.0043,
                "rating": 7.0737,
                "minutes": 90.0,
                "total_pass": 27.934,
                "accurate_pass": 20.93,
                "total_long_balls": 13.1969,
                "accurate_long_balls": 6.309,
                "touches": 40.7659,
                "clearances": 1.1683,
                "ball_recovery": 8.3025,
                "high_claims": 1.0129,
                "punches": 0.6052,
                "aerial_won": 0.6479,
                "sweeper_actions": 0.9005,
                "sweeper_accurate": 0.8611,
                "saves_inside_box": 3.168,
                "possession_lost": 7.3502,
                "duels_won": 0.8815,
                "duels_lost": 0.1839,
                "total_contest": 0.0788,
                "won_contest": 0.0788,
                "fouls": 0.0,
                "fouls_drawn": 0.026,
                "total_own_half_passes": 19.2931,
                "accurate_own_half_passes": 17.9857,
                "gk_engine_opponent_lambda": 0.7182,
                "shots_faced": 7.9,
                "expected_saves": 1.93,
                "high_pressure_saves": 0.66,
                "opponent_faced": "Adrián Niño, David Larrubia",
                "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": 77.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0,
                "squad_weight_total": 1.2992,
                "weight_share": 0.0,
                "creation_factor": 1.0,
                "appearance_weight": 1.0,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.25,
                    "already": 0,
                    "effective_weight": 0.25,
                    "runner_up": "Pablo Fornals",
                    "runner_up_effective_weight": 0.2333
                  }
                ]
              }
            }
          ]
        }
      },
      "bench_players": {
        "Diego Conde": {
          "player_id": 951008,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 13,
          "height": 188,
          "market_value": 3200000,
          "stats": {
            "saves": 0,
            "goals_prevented": 0.022,
            "rating": 6.8,
            "minutes": 4,
            "total_pass": 1,
            "accurate_pass": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "touches": 2,
            "clearances": 0,
            "ball_recovery": 0,
            "high_claims": 0,
            "punches": 0.0147,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 0.1174,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 1,
            "accurate_own_half_passes": 1,
            "bench_appearance_probability": 0.109,
            "bench_expected_minutes": 4.4,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.325,
            "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": 76.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 3128,
            "combined_rank_score": 1089.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 1974.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8,
            "source_file": "data/player_rankings.csv",
            "player_name": "Diego Conde",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Mykola Shaparenko",
                  "ranking": 3123
                },
                {
                  "player_name": "Kostas Tsimikas",
                  "ranking": 3124
                },
                {
                  "player_name": "Kepa",
                  "ranking": 3125
                },
                {
                  "player_name": "Nahuel Molina",
                  "ranking": 3126
                },
                {
                  "player_name": "Václav Jemelka",
                  "ranking": 3127
                }
              ],
              "lower": [
                {
                  "player_name": "Lawrence Shankland",
                  "ranking": 3129
                },
                {
                  "player_name": "Cameron Carter-Vickers",
                  "ranking": 3130
                },
                {
                  "player_name": "Patrick Wimmer",
                  "ranking": 3131
                },
                {
                  "player_name": "Thomas Lemar",
                  "ranking": 3132
                },
                {
                  "player_name": "Robert Navarro",
                  "ranking": 3133
                }
              ]
            }
          },
          "data_sources": [
            "market_value"
          ],
          "data_confidence": 0.25,
          "history_matches": 0,
          "xgboost_reasoning": {
            "model_source": "market_value_prior",
            "position_service": "G_service",
            "features_evaluated": [],
            "targets_predicted": [],
            "history_matches": 0,
            "data_confidence": 0.25,
            "data_sources": [
              "market_value"
            ],
            "bench_expected_minutes": 4.40206294284004,
            "bench_appearance_prob": 0.10918467922000183,
            "market_value_adjustment": 0.4399,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection from market-value prior (€3,200,000) scaled to 4.4 expected mins."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position G (quality 0.44)",
              "stats": {
                "saves": 2.9,
                "goals_prevented": 0.45,
                "rating": 6.8,
                "minutes": 90.0,
                "total_pass": 27.0,
                "accurate_pass": 20.0,
                "total_long_balls": 9.0,
                "accurate_long_balls": 4.0,
                "touches": 32.0,
                "clearances": 0.9,
                "ball_recovery": 1.2,
                "high_claims": 0.6,
                "punches": 0.3,
                "aerial_won": 0.7,
                "sweeper_actions": 1.2,
                "sweeper_accurate": 0.7,
                "saves_inside_box": 1.2,
                "possession_lost": 2.4,
                "duels_won": 0.4,
                "duels_lost": 0.2,
                "total_contest": 0.4,
                "won_contest": 0.2,
                "fouls": 0.2,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 21.0,
                "accurate_own_half_passes": 16.0
              },
              "params": {
                "market_value_eur": 3200000,
                "quality_factor": 0.4399
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 90.0 to 4.4 expected minutes (appearance prob 0.11)",
              "stats": {
                "saves": 0.1418,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4.4,
                "total_pass": 1.3206,
                "accurate_pass": 0.9782,
                "total_long_balls": 0.4402,
                "accurate_long_balls": 0.1956,
                "touches": 1.5652,
                "clearances": 0.044,
                "ball_recovery": 0.0587,
                "high_claims": 0.0293,
                "punches": 0.0147,
                "aerial_won": 0.0342,
                "sweeper_actions": 0.0587,
                "sweeper_accurate": 0.0342,
                "saves_inside_box": 0.0587,
                "possession_lost": 0.1174,
                "duels_won": 0.0196,
                "duels_lost": 0.0098,
                "total_contest": 0.0196,
                "won_contest": 0.0098,
                "fouls": 0.0098,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 1.0271,
                "accurate_own_half_passes": 0.7826,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.4
              },
              "params": {
                "expected_minutes": 4.4,
                "projection_minutes": 90.0,
                "minutes_scale": 0.0489,
                "appearance_probability": 0.109
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 0.1418,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4.4,
                "total_pass": 1.3206,
                "accurate_pass": 0.9782,
                "total_long_balls": 0.4402,
                "accurate_long_balls": 0.1956,
                "touches": 1.5652,
                "clearances": 0.044,
                "ball_recovery": 0.0587,
                "high_claims": 0.0293,
                "punches": 0.0147,
                "aerial_won": 0.0342,
                "sweeper_actions": 0.0587,
                "sweeper_accurate": 0.0342,
                "saves_inside_box": 0.0587,
                "possession_lost": 0.1174,
                "duels_won": 0.0196,
                "duels_lost": 0.0098,
                "total_contest": 0.0196,
                "won_contest": 0.0098,
                "fouls": 0.0098,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 1.0271,
                "accurate_own_half_passes": 0.7826,
                "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.1418,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4.4,
                "total_pass": 1.3206,
                "accurate_pass": 0.9782,
                "total_long_balls": 0.4402,
                "accurate_long_balls": 0.1956,
                "touches": 1.5652,
                "clearances": 0.044,
                "ball_recovery": 0.0587,
                "high_claims": 0.0293,
                "punches": 0.0147,
                "aerial_won": 0.0342,
                "sweeper_actions": 0.0587,
                "sweeper_accurate": 0.0342,
                "saves_inside_box": 0.0587,
                "possession_lost": 0.1174,
                "duels_won": 0.0196,
                "duels_lost": 0.0098,
                "total_contest": 0.0196,
                "won_contest": 0.0098,
                "fouls": 0.0098,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 1.0271,
                "accurate_own_half_passes": 0.7826,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.325,
                "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.109,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 10 by projected rating, fifa_overall 76.0)",
              "stats": {
                "saves": 0.1418,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4.4,
                "total_pass": 1.3206,
                "accurate_pass": 0.9782,
                "total_long_balls": 0.4402,
                "accurate_long_balls": 0.1956,
                "touches": 1.5652,
                "clearances": 0.044,
                "ball_recovery": 0.0587,
                "high_claims": 0.0293,
                "punches": 0.0147,
                "aerial_won": 0.0342,
                "sweeper_actions": 0.0587,
                "sweeper_accurate": 0.0342,
                "saves_inside_box": 0.0587,
                "possession_lost": 0.1174,
                "duels_won": 0.0196,
                "duels_lost": 0.0098,
                "total_contest": 0.0196,
                "won_contest": 0.0098,
                "fouls": 0.0098,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 1.0271,
                "accurate_own_half_passes": 0.7826,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.4,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.325,
                "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": 76.0
              },
              "params": {
                "match_squad_rank": 10,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3128,
                "fifa_rank": 1974.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 76.0
              }
            }
          ]
        },
        "Valentín Gómez": {
          "player_id": 1186010,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 16,
          "height": 181,
          "market_value": 11200000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 1,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.8035,
            "minutes": 14,
            "total_pass": 9,
            "accurate_pass": 8,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_own_half_passes": 6,
            "accurate_own_half_passes": 5,
            "total_opp_half_passes": 4,
            "accurate_opp_half_passes": 3,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 13,
            "possession_lost": 1.501,
            "dispossessed": 0.0705,
            "duels_lost": 1,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0041,
            "expected_assists": 0.0218,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 3,
            "total_progression": 2,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.225,
            "bench_expected_minutes": 13.96,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.325,
            "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": 16421079,
              "match_date": "2026-10-25",
              "home_team": "Celta Vigo",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.281,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "total_pass": 46,
                "accurate_pass": 42,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 3,
                "saves": 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": 16421068,
              "match_date": "2026-10-17",
              "home_team": "Real Betis",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2557,
                "expected_assists": 0.0016,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 38,
                "accurate_pass": 34,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 6,
                "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": 16416313,
              "match_date": "2026-09-20",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 78,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.018,
                "total_shots": 0,
                "total_pass": 52,
                "accurate_pass": 49,
                "key_pass": 1,
                "tackles": 1,
                "clearances": 9,
                "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": 16416336,
              "match_date": "2026-09-17",
              "home_team": "Real Betis",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0197,
                "total_shots": 0,
                "total_pass": 91,
                "accurate_pass": 87,
                "clearances": 8,
                "aerial_won": 3,
                "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": 16421049,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0083,
                "total_shots": 0,
                "total_pass": 62,
                "accurate_pass": 58,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 2,
                "clearances": 9,
                "aerial_won": 1,
                "duels_won": 6,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083710,
              "match_date": "2026-05-23",
              "home_team": "Real Betis",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 11,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 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": 14083666,
              "match_date": "2026-05-17",
              "home_team": "FC Barcelona",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 90,
                "rating": 5.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0013,
                "total_shots": 0,
                "total_pass": 37,
                "accurate_pass": 32,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083608,
              "match_date": "2026-05-12",
              "home_team": "Real Betis",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Elche",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0518,
                "expected_assists": 0.0011,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 37,
                "accurate_pass": 33,
                "key_pass": 2,
                "tackles": 2,
                "interceptions": 1,
                "clearances": 5,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083583,
              "match_date": "2026-05-09",
              "home_team": "Real Sociedad",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0029,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 31,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 4,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083318,
              "match_date": "2026-04-21",
              "home_team": "Girona FC",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0155,
                "total_shots": 0,
                "total_pass": 35,
                "accurate_pass": 27,
                "interceptions": 1,
                "clearances": 5,
                "aerial_won": 2,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 3105,
            "combined_rank_score": 1070.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 157.0,
            "sofascore_rating": 7.3,
            "sofascore_appearances": 1.0,
            "fifa_rank": 1984.0,
            "fifa_overall": 76.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 9,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8035,
            "source_file": "data/player_rankings.csv",
            "player_name": "Valentín Gómez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Alexander Prass",
                  "ranking": 3100
                },
                {
                  "player_name": "Darwin Núñez",
                  "ranking": 3101
                },
                {
                  "player_name": "Fran Beltrán",
                  "ranking": 3102
                },
                {
                  "player_name": "Archie Gray",
                  "ranking": 3103
                },
                {
                  "player_name": "Rico Lewis",
                  "ranking": 3104
                }
              ],
              "lower": [
                {
                  "player_name": "Leandro Barreiro",
                  "ranking": 3106
                },
                {
                  "player_name": "Mattias Svanberg",
                  "ranking": 3107
                },
                {
                  "player_name": "Zakaria El Ouahdi",
                  "ranking": 3108
                },
                {
                  "player_name": "Haris Tabaković",
                  "ranking": 3109
                },
                {
                  "player_name": "Guus Til",
                  "ranking": 3110
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.76,
          "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.76,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 13.964352059515004,
            "bench_appearance_prob": 0.225,
            "market_value_adjustment": 1.0012,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 1.0,
              "starts": 1.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0667
            },
            "rationale": "Bench projection scaled from XGBoost D_service (33 historical appearances) to 14.0 expected mins (appearance prob 0.23); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.3665,
                "tackles": 0.5153,
                "tackles_won": 0.2715,
                "clearances": 2.4549,
                "aerial_won": 0.6956,
                "total_shots": 0.1613,
                "rating": 6.8035,
                "minutes": 27.53,
                "total_pass": 18.5772,
                "accurate_pass": 16.4728,
                "duels_won": 1.5202,
                "total_long_balls": 2.0453,
                "accurate_long_balls": 1.4143,
                "total_own_half_passes": 11.4693,
                "accurate_own_half_passes": 10.5968,
                "total_opp_half_passes": 7.1079,
                "accurate_opp_half_passes": 5.8759,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 24.7839,
                "possession_lost": 2.9557,
                "dispossessed": 0.0704,
                "duels_lost": 1.5157,
                "aerial_lost": 0.6752,
                "total_contest": 0.2008,
                "won_contest": 0.1303,
                "ball_recovery": 1.2605,
                "challenges_lost": 0.1409,
                "fouls": 0.5587,
                "fouls_drawn": 0.0,
                "blocks": 0.9112,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0081,
                "expected_assists": 0.0428,
                "shots_on_target": 0.0,
                "big_chances_created": 0.3217,
                "xgot": 0.0,
                "ball_carries": 4.9391,
                "total_progression": 4.2351,
                "progressive_carries": 0.0717,
                "key_pass": 0.3816,
                "shots_off_target": 0.1613
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:29:25.210665+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 626,
                    "rows": 22004
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-25",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1507,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-10-17",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1281,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 78.0,
                    "is_starting": false,
                    "weight": 0.1089,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0926,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0787,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Levante UD",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.0669,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0568,
                    "rating": 5.8
                  },
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Elche",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0483,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0411,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Girona FC",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0349,
                    "rating": 6.2
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 4.8738,
                  "aerialWon": 1.2627,
                  "totalClearance_p90": 6.1306,
                  "totalTackle": 1.2603,
                  "totalPass": 44.8451
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.3665253818035126,
                    "model_output": 0.3665,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2977
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0446
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0318
                      },
                      {
                        "name": "touches",
                        "importance": 0.0281
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8678,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4939
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0224
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0072
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0065
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0059
                        }
                      ],
                      "others": -0.0246,
                      "total": 0.3665,
                      "log_link": true,
                      "margin_base": -0.141777,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.842037
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.058147
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.017963
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.016225
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.014963
                        }
                      ],
                      "others_margin": -0.064796
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.5153005123138428,
                    "model_output": 0.5153,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2493
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0731
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0414
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0245
                      }
                    ],
                    "decomposition": {
                      "base": 1.3878,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7603
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0255
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0202
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.016
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0127
                        }
                      ],
                      "others": -0.0378,
                      "total": 0.5153,
                      "log_link": true,
                      "margin_base": 0.327722,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.793782
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.041507
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.034115
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.027871
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.022761
                        }
                      ],
                      "others_margin": -0.070692
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.2714719772338867,
                    "model_output": 0.2715,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1966
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0678
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0471
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0406
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 0.8471,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4688
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0204
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0184
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0135
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0091
                        }
                      ],
                      "others": -0.0454,
                      "total": 0.2715,
                      "log_link": true,
                      "margin_base": -0.165887,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.806202
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.055465
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.052882
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.040558
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.028238
                        }
                      ],
                      "others_margin": -0.154663
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.4549319744110107,
                    "model_output": 2.4549,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2929
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1447
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.1031
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0342
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0223
                      }
                    ],
                    "decomposition": {
                      "base": 3.4227,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.0231
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.3192
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.1777
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.1184
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0923
                        }
                      ],
                      "others": 0.3477,
                      "total": 2.4549,
                      "log_link": true,
                      "margin_base": 1.230438,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.894241
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.205435
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.098374
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.060567
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.044775
                        }
                      ],
                      "others_margin": 0.152751
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.6955639123916626,
                    "model_output": 0.6956,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1591
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1548
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0782
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.3743,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7687
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0422
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.037
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0332
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0148
                        }
                      ],
                      "others": -0.0076,
                      "total": 0.6956,
                      "log_link": true,
                      "margin_base": 0.31798,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.819485
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.067359
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.055558
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.047385
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.020873
                        }
                      ],
                      "others_margin": -0.010957
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.16129370033740997,
                    "model_output": 0.1613,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1011
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0377
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0308
                      },
                      {
                        "name": "rating",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.4801,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2057
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0803
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0199
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0189
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0104
                        }
                      ],
                      "others": -0.0442,
                      "total": 0.1613,
                      "log_link": false,
                      "margin_base": 0.48008,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.20574
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.080334
                        },
                        {
                          "name": "rating",
                          "margin": 0.019906
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.018947
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.010401
                        }
                      ],
                      "others_margin": -0.044072
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.803484916687012,
                    "model_output": 6.8035,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0922
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0582
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0462
                      },
                      {
                        "name": "rating",
                        "importance": 0.0313
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 6.7972,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0117
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0101
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0085
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0084
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0074
                        }
                      ],
                      "others": 0.0208,
                      "total": 6.8035,
                      "log_link": false,
                      "margin_base": 6.797222,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.011691
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.010129
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.008482
                        },
                        {
                          "name": "rating",
                          "margin": 0.008391
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.007361
                        }
                      ],
                      "others_margin": 0.020815
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 33,
                  "role_matches": 10,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0012, quality 0.536)",
              "stats": {
                "interceptions": 0.367,
                "tackles": 0.5159,
                "tackles_won": 0.2718,
                "clearances": 2.4579,
                "aerial_won": 0.6964,
                "total_shots": 0.1615,
                "rating": 6.8035,
                "minutes": 27.53,
                "total_pass": 18.5995,
                "accurate_pass": 16.4926,
                "duels_won": 1.522,
                "total_long_balls": 2.0478,
                "accurate_long_balls": 1.416,
                "total_own_half_passes": 11.4831,
                "accurate_own_half_passes": 10.6095,
                "total_opp_half_passes": 7.1164,
                "accurate_opp_half_passes": 5.883,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 24.8136,
                "possession_lost": 2.9592,
                "dispossessed": 0.0705,
                "duels_lost": 1.5175,
                "aerial_lost": 0.676,
                "total_contest": 0.201,
                "won_contest": 0.1305,
                "ball_recovery": 1.262,
                "challenges_lost": 0.1411,
                "fouls": 0.5594,
                "fouls_drawn": 0.0,
                "blocks": 0.9123,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0081,
                "expected_assists": 0.0429,
                "shots_on_target": 0.0,
                "big_chances_created": 0.3221,
                "xgot": 0.0,
                "ball_carries": 4.945,
                "total_progression": 4.2402,
                "progressive_carries": 0.0718,
                "key_pass": 0.3821,
                "shots_off_target": 0.1615
              },
              "params": {
                "market_value_eur": 11200000,
                "quality_factor": 0.5365,
                "boost_factor": 1.0012,
                "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.0057)",
              "stats": {
                "interceptions": 0.3684,
                "tackles": 0.5159,
                "tackles_won": 0.2755,
                "clearances": 2.4579,
                "aerial_won": 0.6964,
                "total_shots": 0.1606,
                "rating": 6.8035,
                "minutes": 27.53,
                "total_pass": 18.5995,
                "accurate_pass": 16.4926,
                "duels_won": 1.522,
                "total_long_balls": 2.0478,
                "accurate_long_balls": 1.416,
                "total_own_half_passes": 11.4831,
                "accurate_own_half_passes": 10.6095,
                "total_opp_half_passes": 7.1164,
                "accurate_opp_half_passes": 5.883,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 24.8136,
                "possession_lost": 2.9592,
                "dispossessed": 0.0705,
                "duels_lost": 1.5175,
                "aerial_lost": 0.676,
                "total_contest": 0.201,
                "won_contest": 0.1305,
                "ball_recovery": 1.262,
                "challenges_lost": 0.1411,
                "fouls": 0.558,
                "fouls_drawn": 0.0,
                "blocks": 0.9123,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0081,
                "expected_assists": 0.0429,
                "shots_on_target": 0.0,
                "big_chances_created": 0.3221,
                "xgot": 0.0,
                "ball_carries": 4.945,
                "total_progression": 4.2402,
                "progressive_carries": 0.0718,
                "key_pass": 0.3821,
                "shots_off_target": 0.1615
              },
              "params": {
                "blend_weight": 0.0057,
                "history_matches": 33,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.3059,
                "prior_reliability": 0.0667,
                "competition": "La Liga",
                "squad": "Real Betis"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 27.5 to 14.0 expected minutes (appearance prob 0.23)",
              "stats": {
                "interceptions": 0.1869,
                "tackles": 0.2617,
                "tackles_won": 0.1397,
                "clearances": 1.2467,
                "aerial_won": 0.3532,
                "total_shots": 0.0819,
                "rating": 6.8035,
                "minutes": 13.96,
                "total_pass": 9.4344,
                "accurate_pass": 8.3657,
                "duels_won": 0.772,
                "total_long_balls": 1.0387,
                "accurate_long_balls": 0.7183,
                "total_own_half_passes": 5.8247,
                "accurate_own_half_passes": 5.3816,
                "total_opp_half_passes": 3.6097,
                "accurate_opp_half_passes": 2.9841,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 12.5865,
                "possession_lost": 1.501,
                "dispossessed": 0.0705,
                "duels_lost": 0.7697,
                "aerial_lost": 0.676,
                "total_contest": 0.102,
                "won_contest": 0.0662,
                "ball_recovery": 0.6401,
                "challenges_lost": 0.1411,
                "fouls": 0.283,
                "fouls_drawn": 0.0,
                "blocks": 0.4628,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0041,
                "expected_assists": 0.0218,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1634,
                "xgot": 0.0,
                "ball_carries": 2.5083,
                "total_progression": 2.1508,
                "progressive_carries": 0.0364,
                "key_pass": 0.1938,
                "shots_off_target": 0.0819,
                "bench_appearance_probability": 0.225,
                "bench_expected_minutes": 13.96
              },
              "params": {
                "expected_minutes": 13.96,
                "projection_minutes": 27.53,
                "minutes_scale": 0.5072,
                "appearance_probability": 0.225
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.1869,
                "tackles": 0.2617,
                "tackles_won": 0.1397,
                "clearances": 1.2467,
                "aerial_won": 0.3532,
                "total_shots": 0.0819,
                "rating": 6.8035,
                "minutes": 13.96,
                "total_pass": 9.4344,
                "accurate_pass": 8.3657,
                "duels_won": 0.772,
                "total_long_balls": 1.0387,
                "accurate_long_balls": 0.7183,
                "total_own_half_passes": 5.8247,
                "accurate_own_half_passes": 5.3816,
                "total_opp_half_passes": 3.6097,
                "accurate_opp_half_passes": 2.9841,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 12.5865,
                "possession_lost": 1.501,
                "dispossessed": 0.0705,
                "duels_lost": 0.7697,
                "aerial_lost": 0.676,
                "total_contest": 0.102,
                "won_contest": 0.0662,
                "ball_recovery": 0.6401,
                "challenges_lost": 0.1411,
                "fouls": 0.283,
                "fouls_drawn": 0.0,
                "blocks": 0.4628,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0041,
                "expected_assists": 0.0218,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1634,
                "xgot": 0.0,
                "ball_carries": 2.5083,
                "total_progression": 2.1508,
                "progressive_carries": 0.0364,
                "key_pass": 0.1938,
                "shots_off_target": 0.0819,
                "bench_appearance_probability": 0.225,
                "bench_expected_minutes": 13.96
              },
              "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.1869,
                "tackles": 0.2617,
                "tackles_won": 0.1397,
                "clearances": 1.2467,
                "aerial_won": 0.3532,
                "total_shots": 0.0819,
                "rating": 6.8035,
                "minutes": 13.96,
                "total_pass": 9.4344,
                "accurate_pass": 8.3657,
                "duels_won": 0.772,
                "total_long_balls": 1.0387,
                "accurate_long_balls": 0.7183,
                "total_own_half_passes": 5.8247,
                "accurate_own_half_passes": 5.3816,
                "total_opp_half_passes": 3.6097,
                "accurate_opp_half_passes": 2.9841,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 12.5865,
                "possession_lost": 1.501,
                "dispossessed": 0.0705,
                "duels_lost": 0.7697,
                "aerial_lost": 0.676,
                "total_contest": 0.102,
                "won_contest": 0.0662,
                "ball_recovery": 0.6401,
                "challenges_lost": 0.1411,
                "fouls": 0.283,
                "fouls_drawn": 0.0,
                "blocks": 0.4628,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0041,
                "expected_assists": 0.0218,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1634,
                "xgot": 0.0,
                "ball_carries": 2.5083,
                "total_progression": 2.1508,
                "progressive_carries": 0.0364,
                "key_pass": 0.1938,
                "shots_off_target": 0.0819,
                "bench_appearance_probability": 0.225,
                "bench_expected_minutes": 13.96,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.325,
                "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.225,
                "projected_substitutes": 2,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 9 by projected rating, fifa_overall 76.0)",
              "stats": {
                "interceptions": 0.1869,
                "tackles": 0.2617,
                "tackles_won": 0.1397,
                "clearances": 1.2467,
                "aerial_won": 0.3532,
                "total_shots": 0.0819,
                "rating": 6.8035,
                "minutes": 13.96,
                "total_pass": 9.4344,
                "accurate_pass": 8.3657,
                "duels_won": 0.772,
                "total_long_balls": 1.0387,
                "accurate_long_balls": 0.7183,
                "total_own_half_passes": 5.8247,
                "accurate_own_half_passes": 5.3816,
                "total_opp_half_passes": 3.6097,
                "accurate_opp_half_passes": 2.9841,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 12.5865,
                "possession_lost": 1.501,
                "dispossessed": 0.0705,
                "duels_lost": 0.7697,
                "aerial_lost": 0.676,
                "total_contest": 0.102,
                "won_contest": 0.0662,
                "ball_recovery": 0.6401,
                "challenges_lost": 0.1411,
                "fouls": 0.283,
                "fouls_drawn": 0.0,
                "blocks": 0.4628,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0041,
                "expected_assists": 0.0218,
                "shots_on_target": 0.0,
                "big_chances_created": 0.1634,
                "xgot": 0.0,
                "ball_carries": 2.5083,
                "total_progression": 2.1508,
                "progressive_carries": 0.0364,
                "key_pass": 0.1938,
                "shots_off_target": 0.0819,
                "bench_appearance_probability": 0.225,
                "bench_expected_minutes": 13.96,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.325,
                "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": 9,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3105,
                "fifa_rank": 1984.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 76.0
              }
            }
          ]
        },
        "Aitor Ruibal": {
          "player_id": 893062,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 24,
          "height": 176,
          "market_value": 3900000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.771,
            "minutes": 14,
            "total_pass": 7,
            "accurate_pass": 6,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 4,
            "accurate_opp_half_passes": 3,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 12,
            "possession_lost": 2.687,
            "dispossessed": 0.2422,
            "duels_lost": 1,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 2,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0066,
            "expected_assists": 0.0129,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 4,
            "total_progression": 1,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.301,
            "bench_expected_minutes": 13.62,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.325,
            "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": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 14083583,
              "match_date": "2026-05-09",
              "home_team": "Real Sociedad",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0009,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 17,
                "tackles": 4,
                "tackles_won": 4,
                "interceptions": 1,
                "clearances": 7,
                "duels_won": 5,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083318,
              "match_date": "2026-04-21",
              "home_team": "Girona FC",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Girona FC",
              "stats": {
                "minutes": 75,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.008,
                "total_shots": 0,
                "total_pass": 38,
                "accurate_pass": 34,
                "tackles": 4,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083172,
              "match_date": "2026-04-12",
              "home_team": "Osasuna",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 45,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0093,
                "expected_assists": 0.0172,
                "total_shots": 1,
                "total_pass": 19,
                "accurate_pass": 14,
                "tackles": 2,
                "tackles_won": 2,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14081811,
              "match_date": "2026-04-04",
              "home_team": "Real Betis",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.6756,
                "expected_assists": 0.0952,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 44,
                "accurate_pass": 34,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 5,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083657,
              "match_date": "2026-03-22",
              "home_team": "Athletic Club",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 74,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0153,
                "expected_assists": 0.0989,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 22,
                "accurate_pass": 18,
                "key_pass": 1,
                "tackles": 1,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083622,
              "match_date": "2026-03-15",
              "home_team": "Real Betis",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.2306,
                "expected_assists": 0.0947,
                "total_shots": 6,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 31,
                "accurate_pass": 30,
                "key_pass": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14081791,
              "match_date": "2026-03-01",
              "home_team": "Real Betis",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0077,
                "total_shots": 0,
                "total_pass": 45,
                "accurate_pass": 39,
                "tackles": 5,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 6,
                "duels_won": 7,
                "ball_recovery": 11
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083572,
              "match_date": "2026-02-21",
              "home_team": "Real Betis",
              "away_team": "Rayo Vallecano",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Rayo Vallecano",
              "stats": {
                "minutes": 69,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0128,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 18,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 2,
                "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": 14083509,
              "match_date": "2026-02-15",
              "home_team": "Mallorca",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 67,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0042,
                "expected_assists": 0.0078,
                "total_shots": 1,
                "total_pass": 23,
                "accurate_pass": 19,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 5,
                "duels_won": 3,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083263,
              "match_date": "2026-02-08",
              "home_team": "Atlético Madrid",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0044,
                "total_shots": 0,
                "total_pass": 43,
                "accurate_pass": 31,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 3,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 3081,
            "combined_rank_score": 1048.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 539.0,
            "sofascore_rating": 6.8259,
            "sofascore_appearances": 27.0,
            "fifa_rank": 1558.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.771,
            "source_file": "data/player_rankings.csv",
            "player_name": "Aitor Ruibal",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Leopold Querfeld",
                  "ranking": 3076
                },
                {
                  "player_name": "Daizen Maeda",
                  "ranking": 3077
                },
                {
                  "player_name": "Javi Galán",
                  "ranking": 3078
                },
                {
                  "player_name": "Matt O'Riley",
                  "ranking": 3079
                },
                {
                  "player_name": "Joshua King",
                  "ranking": 3080
                }
              ],
              "lower": [
                {
                  "player_name": "Artem Bondarenko",
                  "ranking": 3082
                },
                {
                  "player_name": "Igor Jesus",
                  "ranking": 3083
                },
                {
                  "player_name": "Luis Rioja",
                  "ranking": 3084
                },
                {
                  "player_name": "Roberto Alvarado",
                  "ranking": 3085
                },
                {
                  "player_name": "Callum Wilson",
                  "ranking": 3086
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "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.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 13.61644058998921,
            "bench_appearance_prob": 0.30074729954496415,
            "market_value_adjustment": 0.9974,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost D_service (27 historical appearances) to 13.6 expected mins (appearance prob 0.30)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.435,
                "tackles": 0.7781,
                "tackles_won": 0.5228,
                "clearances": 0.8058,
                "aerial_won": 0.241,
                "total_shots": 0.392,
                "rating": 6.771,
                "minutes": 28.19,
                "total_pass": 14.7253,
                "accurate_pass": 12.4516,
                "duels_won": 2.2535,
                "total_long_balls": 1.2565,
                "accurate_long_balls": 0.4586,
                "total_own_half_passes": 7.0887,
                "accurate_own_half_passes": 6.2783,
                "total_opp_half_passes": 7.6366,
                "accurate_opp_half_passes": 6.1733,
                "crosses_total": 1.4165,
                "crosses_accurate": 0.2856,
                "touches": 24.8172,
                "possession_lost": 5.5773,
                "dispossessed": 0.2428,
                "duels_lost": 2.2816,
                "aerial_lost": 0.0,
                "total_contest": 0.9644,
                "won_contest": 0.5248,
                "ball_recovery": 1.4339,
                "challenges_lost": 1.5992,
                "fouls": 0.2208,
                "fouls_drawn": 0.563,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0136,
                "expected_assists": 0.0269,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 8.0,
                "total_progression": 1.6441,
                "progressive_carries": 1.0,
                "key_pass": 0.6501,
                "shots_off_target": 0.392
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:29:25.210665+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 626,
                    "rows": 22004
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1519,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-04-21",
                    "opponent": "Girona FC",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.1291,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-04-12",
                    "opponent": "Osasuna",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1097,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-04-04",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0933,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-03-22",
                    "opponent": "Athletic Club",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.0793,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-03-15",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0674,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-03-01",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0573,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-02-21",
                    "opponent": "Rayo Vallecano",
                    "minutes": 69.0,
                    "is_starting": true,
                    "weight": 0.0487,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-02-15",
                    "opponent": "Mallorca",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.0414,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-02-08",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0352,
                    "rating": 7.1
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 2.2604,
                  "aerialWon": 0.1493,
                  "totalClearance_p90": 2.4725,
                  "totalTackle": 2.4503,
                  "totalPass": 30.1528
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.43499043583869934,
                    "model_output": 0.435,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2977
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0446
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0318
                      },
                      {
                        "name": "touches",
                        "importance": 0.0281
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8678,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4649
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0154
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0154
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0114
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0111
                        }
                      ],
                      "others": -0.0212,
                      "total": 0.435,
                      "log_link": true,
                      "margin_base": -0.141777,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.767347
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.037592
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.036209
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.025989
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.024618
                        }
                      ],
                      "others_margin": -0.047716
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.7780823707580566,
                    "model_output": 0.7781,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2493
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0731
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0414
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0245
                      }
                    ],
                    "decomposition": {
                      "base": 1.3878,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7965
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0365
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0296
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0297
                        },
                        {
                          "name": "wonTackle",
                          "contribution": 0.0239
                        }
                      ],
                      "others": 0.0671,
                      "total": 0.7781,
                      "log_link": true,
                      "margin_base": 0.327722,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.85317
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.059948
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.046008
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.044174
                        },
                        {
                          "name": "wonTackle",
                          "margin": 0.034234
                        }
                      ],
                      "others_margin": 0.09016
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.5228360891342163,
                    "model_output": 0.5228,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1966
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0678
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0471
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0406
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 0.8471,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.491
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0268
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0285
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0277
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0229
                        }
                      ],
                      "others": 0.0608,
                      "total": 0.5228,
                      "log_link": true,
                      "margin_base": -0.165887,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.866505
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.072447
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.071794
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.065248
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.05089
                        }
                      ],
                      "others_margin": 0.123525
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 0.8057946562767029,
                    "model_output": 0.8058,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2929
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1447
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.1031
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0342
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0223
                      }
                    ],
                    "decomposition": {
                      "base": 3.4227,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.0803
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.1561
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0837
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0732
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0589
                        }
                      ],
                      "others": -0.1647,
                      "total": 0.8058,
                      "log_link": true,
                      "margin_base": 1.230438,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.935934
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.123601
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.073154
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.068693
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.058903
                        }
                      ],
                      "others_margin": -0.186079
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.24101372063159943,
                    "model_output": 0.241,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1591
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1548
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0782
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.3743,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7744
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.207
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0237
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0205
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0189
                        }
                      ],
                      "others": -0.0888,
                      "total": 0.241,
                      "log_link": true,
                      "margin_base": 0.31798,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.828858
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.423131
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.062117
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.056997
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.055848
                        }
                      ],
                      "others_margin": -0.313929
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.39198020100593567,
                    "model_output": 0.392,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1011
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0377
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0308
                      },
                      {
                        "name": "rating",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.4801,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2566
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.2135
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0204
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0157
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0127
                        }
                      ],
                      "others": 0.0038,
                      "total": 0.392,
                      "log_link": false,
                      "margin_base": 0.48008,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.256565
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.213473
                        },
                        {
                          "name": "rating",
                          "margin": -0.020427
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.015715
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.012655
                        }
                      ],
                      "others_margin": 0.003788
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.770966529846191,
                    "model_output": 6.771,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0922
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0582
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0462
                      },
                      {
                        "name": "rating",
                        "importance": 0.0313
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 6.7972,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": 0.0411
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0179
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0111
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0111
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0092
                        }
                      ],
                      "others": -0.0364,
                      "total": 6.771,
                      "log_link": false,
                      "margin_base": 6.797222,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": 0.04109
                        },
                        {
                          "name": "rating",
                          "margin": -0.017947
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.011145
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.011118
                        },
                        {
                          "name": "touches",
                          "margin": 0.009231
                        }
                      ],
                      "others_margin": -0.036365
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 27,
                  "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 0.9974, quality 0.449)",
              "stats": {
                "interceptions": 0.4339,
                "tackles": 0.7761,
                "tackles_won": 0.5215,
                "clearances": 0.8037,
                "aerial_won": 0.2404,
                "total_shots": 0.391,
                "rating": 6.771,
                "minutes": 28.19,
                "total_pass": 14.687,
                "accurate_pass": 12.4192,
                "duels_won": 2.2476,
                "total_long_balls": 1.2532,
                "accurate_long_balls": 0.4574,
                "total_own_half_passes": 7.0703,
                "accurate_own_half_passes": 6.262,
                "total_opp_half_passes": 7.6167,
                "accurate_opp_half_passes": 6.1572,
                "crosses_total": 1.4128,
                "crosses_accurate": 0.2849,
                "touches": 24.7527,
                "possession_lost": 5.5628,
                "dispossessed": 0.2422,
                "duels_lost": 2.2757,
                "aerial_lost": 0.0,
                "total_contest": 0.9619,
                "won_contest": 0.5234,
                "ball_recovery": 1.4302,
                "challenges_lost": 1.595,
                "fouls": 0.2202,
                "fouls_drawn": 0.5615,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0136,
                "expected_assists": 0.0268,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 7.9792,
                "total_progression": 1.6398,
                "progressive_carries": 0.9974,
                "key_pass": 0.6484,
                "shots_off_target": 0.391
              },
              "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": "minutes_scale",
              "description": "Bench projection scaled from 28.2 to 13.6 expected minutes (appearance prob 0.30)",
              "stats": {
                "interceptions": 0.2096,
                "tackles": 0.3749,
                "tackles_won": 0.2519,
                "clearances": 0.3882,
                "aerial_won": 0.1161,
                "total_shots": 0.1889,
                "rating": 6.771,
                "minutes": 13.62,
                "total_pass": 7.0942,
                "accurate_pass": 5.9988,
                "duels_won": 1.0856,
                "total_long_balls": 0.6053,
                "accurate_long_balls": 0.2209,
                "total_own_half_passes": 3.4151,
                "accurate_own_half_passes": 3.0247,
                "total_opp_half_passes": 3.679,
                "accurate_opp_half_passes": 2.9741,
                "crosses_total": 0.6824,
                "crosses_accurate": 0.1376,
                "touches": 11.9561,
                "possession_lost": 2.687,
                "dispossessed": 0.2422,
                "duels_lost": 1.0992,
                "aerial_lost": 0.0,
                "total_contest": 0.4646,
                "won_contest": 0.2528,
                "ball_recovery": 0.6908,
                "challenges_lost": 1.595,
                "fouls": 0.1064,
                "fouls_drawn": 0.2712,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0066,
                "expected_assists": 0.0129,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.8541,
                "total_progression": 0.7921,
                "progressive_carries": 0.4818,
                "key_pass": 0.3132,
                "shots_off_target": 0.1889,
                "bench_appearance_probability": 0.301,
                "bench_expected_minutes": 13.62
              },
              "params": {
                "expected_minutes": 13.62,
                "projection_minutes": 28.19,
                "minutes_scale": 0.483,
                "appearance_probability": 0.301
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.2096,
                "tackles": 0.3749,
                "tackles_won": 0.2519,
                "clearances": 0.3882,
                "aerial_won": 0.1161,
                "total_shots": 0.1889,
                "rating": 6.771,
                "minutes": 13.62,
                "total_pass": 7.0942,
                "accurate_pass": 5.9988,
                "duels_won": 1.0856,
                "total_long_balls": 0.6053,
                "accurate_long_balls": 0.2209,
                "total_own_half_passes": 3.4151,
                "accurate_own_half_passes": 3.0247,
                "total_opp_half_passes": 3.679,
                "accurate_opp_half_passes": 2.9741,
                "crosses_total": 0.6824,
                "crosses_accurate": 0.1376,
                "touches": 11.9561,
                "possession_lost": 2.687,
                "dispossessed": 0.2422,
                "duels_lost": 1.0992,
                "aerial_lost": 0.0,
                "total_contest": 0.4646,
                "won_contest": 0.2528,
                "ball_recovery": 0.6908,
                "challenges_lost": 1.595,
                "fouls": 0.1064,
                "fouls_drawn": 0.2712,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0066,
                "expected_assists": 0.0129,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.8541,
                "total_progression": 0.7921,
                "progressive_carries": 0.4818,
                "key_pass": 0.3132,
                "shots_off_target": 0.1889,
                "bench_appearance_probability": 0.301,
                "bench_expected_minutes": 13.62
              },
              "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.2096,
                "tackles": 0.3749,
                "tackles_won": 0.2519,
                "clearances": 0.3882,
                "aerial_won": 0.1161,
                "total_shots": 0.1889,
                "rating": 6.771,
                "minutes": 13.62,
                "total_pass": 7.0942,
                "accurate_pass": 5.9988,
                "duels_won": 1.0856,
                "total_long_balls": 0.6053,
                "accurate_long_balls": 0.2209,
                "total_own_half_passes": 3.4151,
                "accurate_own_half_passes": 3.0247,
                "total_opp_half_passes": 3.679,
                "accurate_opp_half_passes": 2.9741,
                "crosses_total": 0.6824,
                "crosses_accurate": 0.1376,
                "touches": 11.9561,
                "possession_lost": 2.687,
                "dispossessed": 0.2422,
                "duels_lost": 1.0992,
                "aerial_lost": 0.0,
                "total_contest": 0.4646,
                "won_contest": 0.2528,
                "ball_recovery": 0.6908,
                "challenges_lost": 1.595,
                "fouls": 0.1064,
                "fouls_drawn": 0.2712,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0066,
                "expected_assists": 0.0129,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.8541,
                "total_progression": 0.7921,
                "progressive_carries": 0.4818,
                "key_pass": 0.3132,
                "shots_off_target": 0.1889,
                "bench_appearance_probability": 0.301,
                "bench_expected_minutes": 13.62,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.325,
                "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.301,
                "projected_substitutes": 2,
                "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 77.0)",
              "stats": {
                "interceptions": 0.2096,
                "tackles": 0.3749,
                "tackles_won": 0.2519,
                "clearances": 0.3882,
                "aerial_won": 0.1161,
                "total_shots": 0.1889,
                "rating": 6.771,
                "minutes": 13.62,
                "total_pass": 7.0942,
                "accurate_pass": 5.9988,
                "duels_won": 1.0856,
                "total_long_balls": 0.6053,
                "accurate_long_balls": 0.2209,
                "total_own_half_passes": 3.4151,
                "accurate_own_half_passes": 3.0247,
                "total_opp_half_passes": 3.679,
                "accurate_opp_half_passes": 2.9741,
                "crosses_total": 0.6824,
                "crosses_accurate": 0.1376,
                "touches": 11.9561,
                "possession_lost": 2.687,
                "dispossessed": 0.2422,
                "duels_lost": 1.0992,
                "aerial_lost": 0.0,
                "total_contest": 0.4646,
                "won_contest": 0.2528,
                "ball_recovery": 0.6908,
                "challenges_lost": 1.595,
                "fouls": 0.1064,
                "fouls_drawn": 0.2712,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0066,
                "expected_assists": 0.0129,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 3.8541,
                "total_progression": 0.7921,
                "progressive_carries": 0.4818,
                "key_pass": 0.3132,
                "shots_off_target": 0.1889,
                "bench_appearance_probability": 0.301,
                "bench_expected_minutes": 13.62,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.325,
                "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": 77.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": 3081,
                "fifa_rank": 1558.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            }
          ]
        },
        "Sergi Altimira": {
          "player_id": 1137814,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 6,
          "height": 188,
          "market_value": 19300000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0181,
            "assist_rate": 0.032,
            "assists": 0,
            "expected_goals": 0.0201,
            "goal_rate": 0.0293,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7359,
            "minutes": 23,
            "total_pass": 14,
            "accurate_pass": 13,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 7,
            "accurate_own_half_passes": 6,
            "total_opp_half_passes": 7,
            "accurate_opp_half_passes": 6,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 19,
            "possession_lost": 2.2229,
            "dispossessed": 0.3077,
            "duels_lost": 1,
            "aerial_won": 1,
            "aerial_lost": 0,
            "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.0316,
            "ball_carries": 5,
            "total_progression": 8,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.532,
            "bench_expected_minutes": 22.71,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.325,
            "projected_substitution_game_state_adjustment": -1,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 80.0
          },
          "latest_10_games": [
            {
              "match_id": 14083608,
              "match_date": "2026-05-12",
              "home_team": "Real Betis",
              "away_team": "Elche",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Elche",
              "stats": {
                "minutes": 16,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0272,
                "expected_assists": 0.0001,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 10,
                "accurate_pass": 7,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083583,
              "match_date": "2026-05-09",
              "home_team": "Real Sociedad",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 69,
                "rating": 7.3,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.019,
                "expected_assists": 0.0083,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 29,
                "accurate_pass": 26,
                "key_pass": 1,
                "tackles": 5,
                "tackles_won": 5,
                "interceptions": 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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083172,
              "match_date": "2026-04-12",
              "home_team": "Osasuna",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 74,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0246,
                "total_shots": 0,
                "total_pass": 38,
                "accurate_pass": 35,
                "tackles": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14081811,
              "match_date": "2026-04-04",
              "home_team": "Real Betis",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 75,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0435,
                "expected_assists": 0.0156,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 55,
                "accurate_pass": 51,
                "tackles": 5,
                "tackles_won": 2,
                "interceptions": 3,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 10,
                "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": 14083657,
              "match_date": "2026-03-22",
              "home_team": "Athletic Club",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Athletic Club",
              "stats": {
                "minutes": 45,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0203,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 33,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 6,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083622,
              "match_date": "2026-03-15",
              "home_team": "Real Betis",
              "away_team": "Celta Vigo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 10,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0339,
                "expected_assists": 0.0053,
                "total_shots": 1,
                "total_pass": 7,
                "accurate_pass": 6,
                "interceptions": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14081801,
              "match_date": "2026-03-08",
              "home_team": "Getafe",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1412,
                "total_shots": 0,
                "total_pass": 79,
                "accurate_pass": 71,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 1,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14081791,
              "match_date": "2026-03-01",
              "home_team": "Real Betis",
              "away_team": "Sevilla",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Sevilla",
              "stats": {
                "minutes": 20,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0181,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 10,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083509,
              "match_date": "2026-02-15",
              "home_team": "Mallorca",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Mallorca",
              "stats": {
                "minutes": 23,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0056,
                "total_shots": 0,
                "total_pass": 9,
                "accurate_pass": 9,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083263,
              "match_date": "2026-02-08",
              "home_team": "Atlético Madrid",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 20,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0008,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 5,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 771,
            "combined_rank_score": 519.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 374.0,
            "sofascore_rating": 6.9667,
            "sofascore_appearances": 24.0,
            "fifa_rank": 664.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7359,
            "source_file": "data/player_rankings.csv",
            "player_name": "Sergi Altimira",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Maximiliano Araújo",
                  "ranking": 766
                },
                {
                  "player_name": "Han Tae-Hee",
                  "ranking": 767
                },
                {
                  "player_name": "Stanislav Lobotka",
                  "ranking": 768
                },
                {
                  "player_name": "Pierre-Emile Højbjerg",
                  "ranking": 769
                },
                {
                  "player_name": "James Tarkowski",
                  "ranking": 770
                }
              ],
              "lower": [
                {
                  "player_name": "Joshua Oluwayemi",
                  "ranking": 772
                },
                {
                  "player_name": "Eric Bailly",
                  "ranking": 773
                },
                {
                  "player_name": "Bobir Abdikholikov",
                  "ranking": 774
                },
                {
                  "player_name": "Saidazamat Mirsaidov",
                  "ranking": 775
                },
                {
                  "player_name": "Yuri Alberto",
                  "ranking": 776
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 24,
          "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": 24,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 22.71152221225244,
            "bench_appearance_prob": 0.5323419187387474,
            "market_value_adjustment": 1.0062,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (24 historical appearances) to 22.7 expected mins (appearance prob 0.53)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.2497,
                "expected_assists": 0.0171,
                "assists": 0.0305,
                "assist_rate": 0.0305,
                "expected_goals": 0.0191,
                "goals": 0.0278,
                "goal_rate": 0.0278,
                "shots_on_target": 0.0683,
                "total_shots": 0.2745,
                "rating": 6.7359,
                "minutes": 21.69,
                "total_pass": 13.2726,
                "accurate_pass": 12.0672,
                "duels_won": 1.8123,
                "total_long_balls": 0.4088,
                "accurate_long_balls": 0.3671,
                "total_own_half_passes": 6.7843,
                "accurate_own_half_passes": 6.131,
                "total_opp_half_passes": 6.4884,
                "accurate_opp_half_passes": 5.9363,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 18.0564,
                "possession_lost": 2.1098,
                "dispossessed": 0.3058,
                "duels_lost": 1.3742,
                "aerial_won": 0.4985,
                "aerial_lost": 0.0417,
                "interceptions": 0.4232,
                "tackles_won": 0.6325,
                "tackles": 0.668,
                "clearances": 0.6243,
                "total_contest": 0.2826,
                "won_contest": 0.1295,
                "challenges_lost": 0.6254,
                "fouls": 0.2481,
                "fouls_drawn": 0.5654,
                "blocks": 0.1106,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.03,
                "ball_carries": 4.3162,
                "total_progression": 7.7482,
                "progressive_carries": 0.1279,
                "shots_off_target": 0.2062
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-31T10:30:21.314387+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 902,
                    "rows": 24945
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-05-12",
                    "opponent": "Elche",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.1531,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Real Sociedad",
                    "minutes": 69.0,
                    "is_starting": true,
                    "weight": 0.1301,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-04-12",
                    "opponent": "Osasuna",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.1106,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-04-04",
                    "opponent": "Espanyol",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.094,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-03-22",
                    "opponent": "Athletic Club",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0799,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-03-15",
                    "opponent": "Celta Vigo",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.0679,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-03-08",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0577,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-03-01",
                    "opponent": "Sevilla",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.0491,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-02-15",
                    "opponent": "Mallorca",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.0417,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-02-08",
                    "opponent": "Atlético Madrid",
                    "minutes": 20.0,
                    "is_starting": false,
                    "weight": 0.0355,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.4955,
                  "expectedGoals": 0.0163,
                  "creative_index": 0.1658,
                  "expectedAssists": 0.0247,
                  "keyPass": 0.3773
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.2497362345457077,
                    "model_output": 0.2497,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1583
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1351
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0716
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0542
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.028
                      }
                    ],
                    "decomposition": {
                      "base": 0.8899,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3856
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0648
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0537
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0362
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0212
                        }
                      ],
                      "others": -0.0787,
                      "total": 0.2497,
                      "log_link": true,
                      "margin_base": -0.11669,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.568023
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.137441
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.130257
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.098578
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.062584
                        }
                      ],
                      "others_margin": -0.273777
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.01714801788330078,
                    "model_output": 0.0171,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1213
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1076
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0864
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0618
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0476
                      }
                    ],
                    "decomposition": {
                      "base": 0.085,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.036
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0108
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.008
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0042
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0017
                        }
                      ],
                      "others": -0.0072,
                      "total": 0.0171,
                      "log_link": true,
                      "margin_base": -2.465163,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.550346
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.24903
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.235888
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.148095
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.067121
                        }
                      ],
                      "others_margin": -0.35023
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.03045092523097992,
                    "model_output": 0.0305,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0508
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0336
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0324
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0229
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0069
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0057
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0039
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0034
                        }
                      ],
                      "others": -0.0118,
                      "total": 0.0305,
                      "log_link": true,
                      "margin_base": -2.463734,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.313453
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.118282
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.10941
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.08096
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.076906
                        }
                      ],
                      "others_margin": -0.328893
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.01909242942929268,
                    "model_output": 0.0191,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1242
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0778
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0743
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0437
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0241
                      }
                    ],
                    "decomposition": {
                      "base": 0.0911,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0387
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0183
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.005
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0022
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0017
                        }
                      ],
                      "others": -0.0061,
                      "total": 0.0191,
                      "log_link": true,
                      "margin_base": -2.395469,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.552874
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.430504
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.159776
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.079178
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.063693
                        }
                      ],
                      "others_margin": -0.27697
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.02781781367957592,
                    "model_output": 0.0278,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0846
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0655
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0399
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0358
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.0947,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0335
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0116
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0087
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.0027
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0023
                        }
                      ],
                      "others": -0.0081,
                      "total": 0.0278,
                      "log_link": true,
                      "margin_base": -2.357331,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.437408
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.21125
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.193704
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.067338
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.06095
                        }
                      ],
                      "others_margin": -0.254097
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.06833919137716293,
                    "model_output": 0.0683,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1146
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0928
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0753
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0297
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.3177,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1468
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0413
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0198
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0154
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.004
                        }
                      ],
                      "others": -0.0221,
                      "total": 0.0683,
                      "log_link": true,
                      "margin_base": -1.146731,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.62021
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.276578
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.165784
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.150647
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.043049
                        }
                      ],
                      "others_margin": -0.280272
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.2745325565338135,
                    "model_output": 0.2745,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1488
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1213
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0446
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0276
                      }
                    ],
                    "decomposition": {
                      "base": 0.9817,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3232
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1939
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0443
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0247
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0214
                        }
                      ],
                      "others": -0.0997,
                      "total": 0.2745,
                      "log_link": false,
                      "margin_base": 0.98173,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.323238
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.193867
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.044269
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.024653
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.021445
                        }
                      ],
                      "others_margin": -0.099727
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.735869884490967,
                    "model_output": 6.7359,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.102
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0743
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0503
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0382
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0914
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0154
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0099
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0067
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0048
                        }
                      ],
                      "others": -0.0015,
                      "total": 6.7359,
                      "log_link": false,
                      "margin_base": 6.856008,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.091378
                        },
                        {
                          "name": "rating",
                          "margin": -0.01544
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.009859
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.006732
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.004833
                        }
                      ],
                      "others_margin": -0.001564
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 24,
                  "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.0062, quality 0.624)",
              "stats": {
                "key_pass": 0.2513,
                "expected_assists": 0.0173,
                "assists": 0.0306,
                "assist_rate": 0.0306,
                "expected_goals": 0.0192,
                "goals": 0.028,
                "goal_rate": 0.028,
                "shots_on_target": 0.0688,
                "total_shots": 0.2763,
                "rating": 6.7359,
                "minutes": 21.69,
                "total_pass": 13.3549,
                "accurate_pass": 12.142,
                "duels_won": 1.8235,
                "total_long_balls": 0.4113,
                "accurate_long_balls": 0.3694,
                "total_own_half_passes": 6.8264,
                "accurate_own_half_passes": 6.169,
                "total_opp_half_passes": 6.5286,
                "accurate_opp_half_passes": 5.9731,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 18.1683,
                "possession_lost": 2.1229,
                "dispossessed": 0.3077,
                "duels_lost": 1.3827,
                "aerial_won": 0.5016,
                "aerial_lost": 0.042,
                "interceptions": 0.4258,
                "tackles_won": 0.6364,
                "tackles": 0.6721,
                "clearances": 0.6282,
                "total_contest": 0.2844,
                "won_contest": 0.1303,
                "challenges_lost": 0.6293,
                "fouls": 0.2496,
                "fouls_drawn": 0.5689,
                "blocks": 0.1113,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0302,
                "ball_carries": 4.343,
                "total_progression": 7.7962,
                "progressive_carries": 0.1287,
                "shots_off_target": 0.2075
              },
              "params": {
                "market_value_eur": 19300000,
                "quality_factor": 0.6241,
                "boost_factor": 1.0062,
                "reference_quality": 0.505,
                "history_matches": 24,
                "history_shrink": 0.1724,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 21.7 to 22.7 expected minutes (appearance prob 0.53)",
              "stats": {
                "key_pass": 0.2631,
                "expected_assists": 0.0181,
                "assists": 0.032,
                "assist_rate": 0.032,
                "expected_goals": 0.0201,
                "goals": 0.0293,
                "goal_rate": 0.0293,
                "shots_on_target": 0.072,
                "total_shots": 0.2893,
                "rating": 6.7359,
                "minutes": 22.71,
                "total_pass": 13.9839,
                "accurate_pass": 12.7138,
                "duels_won": 1.9094,
                "total_long_balls": 0.4307,
                "accurate_long_balls": 0.3868,
                "total_own_half_passes": 7.1479,
                "accurate_own_half_passes": 6.4595,
                "total_opp_half_passes": 6.8361,
                "accurate_opp_half_passes": 6.2544,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 19.024,
                "possession_lost": 2.2229,
                "dispossessed": 0.3077,
                "duels_lost": 1.4478,
                "aerial_won": 0.5252,
                "aerial_lost": 0.042,
                "interceptions": 0.4459,
                "tackles_won": 0.6664,
                "tackles": 0.7038,
                "clearances": 0.6578,
                "total_contest": 0.2978,
                "won_contest": 0.1364,
                "challenges_lost": 0.6293,
                "fouls": 0.2614,
                "fouls_drawn": 0.5957,
                "blocks": 0.1165,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0316,
                "ball_carries": 4.5475,
                "total_progression": 8.1634,
                "progressive_carries": 0.1348,
                "shots_off_target": 0.2173,
                "bench_appearance_probability": 0.532,
                "bench_expected_minutes": 22.71
              },
              "params": {
                "expected_minutes": 22.71,
                "projection_minutes": 21.69,
                "minutes_scale": 1.0471,
                "appearance_probability": 0.532
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.2631,
                "expected_assists": 0.0181,
                "assists": 0.032,
                "assist_rate": 0.032,
                "expected_goals": 0.0201,
                "goals": 0.0293,
                "goal_rate": 0.0293,
                "shots_on_target": 0.072,
                "total_shots": 0.2893,
                "rating": 6.7359,
                "minutes": 22.71,
                "total_pass": 13.9839,
                "accurate_pass": 12.7138,
                "duels_won": 1.9094,
                "total_long_balls": 0.4307,
                "accurate_long_balls": 0.3868,
                "total_own_half_passes": 7.1479,
                "accurate_own_half_passes": 6.4595,
                "total_opp_half_passes": 6.8361,
                "accurate_opp_half_passes": 6.2544,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 19.024,
                "possession_lost": 2.2229,
                "dispossessed": 0.3077,
                "duels_lost": 1.4478,
                "aerial_won": 0.5252,
                "aerial_lost": 0.042,
                "interceptions": 0.4459,
                "tackles_won": 0.6664,
                "tackles": 0.7038,
                "clearances": 0.6578,
                "total_contest": 0.2978,
                "won_contest": 0.1364,
                "challenges_lost": 0.6293,
                "fouls": 0.2614,
                "fouls_drawn": 0.5957,
                "blocks": 0.1165,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0316,
                "ball_carries": 4.5475,
                "total_progression": 8.1634,
                "progressive_carries": 0.1348,
                "shots_off_target": 0.2173,
                "bench_appearance_probability": 0.532,
                "bench_expected_minutes": 22.71
              },
              "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.2631,
                "expected_assists": 0.0181,
                "assist_rate": 0.032,
                "assists": 0,
                "expected_goals": 0.0201,
                "goal_rate": 0.0293,
                "goals": 0,
                "shots_on_target": 0.072,
                "total_shots": 0.2893,
                "rating": 6.7359,
                "minutes": 22.71,
                "total_pass": 13.9839,
                "accurate_pass": 12.7138,
                "duels_won": 1.9094,
                "total_long_balls": 0.4307,
                "accurate_long_balls": 0.3868,
                "total_own_half_passes": 7.1479,
                "accurate_own_half_passes": 6.4595,
                "total_opp_half_passes": 6.8361,
                "accurate_opp_half_passes": 6.2544,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 19.024,
                "possession_lost": 2.2229,
                "dispossessed": 0.3077,
                "duels_lost": 1.4478,
                "aerial_won": 0.5252,
                "aerial_lost": 0.042,
                "interceptions": 0.4459,
                "tackles_won": 0.6664,
                "tackles": 0.7038,
                "clearances": 0.6578,
                "total_contest": 0.2978,
                "won_contest": 0.1364,
                "challenges_lost": 0.6293,
                "fouls": 0.2614,
                "fouls_drawn": 0.5957,
                "blocks": 0.1165,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0316,
                "ball_carries": 4.5475,
                "total_progression": 8.1634,
                "progressive_carries": 0.1348,
                "shots_off_target": 0.2173,
                "bench_appearance_probability": 0.532,
                "bench_expected_minutes": 22.71,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.325,
                "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.532,
                "projected_substitutes": 2,
                "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 80.0)",
              "stats": {
                "key_pass": 0.2631,
                "expected_assists": 0.0181,
                "assist_rate": 0.032,
                "assists": 0,
                "expected_goals": 0.0201,
                "goal_rate": 0.0293,
                "goals": 0,
                "shots_on_target": 0.072,
                "total_shots": 0.2893,
                "rating": 6.7359,
                "minutes": 22.71,
                "total_pass": 13.9839,
                "accurate_pass": 12.7138,
                "duels_won": 1.9094,
                "total_long_balls": 0.4307,
                "accurate_long_balls": 0.3868,
                "total_own_half_passes": 7.1479,
                "accurate_own_half_passes": 6.4595,
                "total_opp_half_passes": 6.8361,
                "accurate_opp_half_passes": 6.2544,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 19.024,
                "possession_lost": 2.2229,
                "dispossessed": 0.3077,
                "duels_lost": 1.4478,
                "aerial_won": 0.5252,
                "aerial_lost": 0.042,
                "interceptions": 0.4459,
                "tackles_won": 0.6664,
                "tackles": 0.7038,
                "clearances": 0.6578,
                "total_contest": 0.2978,
                "won_contest": 0.1364,
                "challenges_lost": 0.6293,
                "fouls": 0.2614,
                "fouls_drawn": 0.5957,
                "blocks": 0.1165,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0316,
                "ball_carries": 4.5475,
                "total_progression": 8.1634,
                "progressive_carries": 0.1348,
                "shots_off_target": 0.2173,
                "bench_appearance_probability": 0.532,
                "bench_expected_minutes": 22.71,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.325,
                "projected_substitution_game_state_adjustment": -1,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 80.0
              },
              "params": {
                "match_squad_rank": 14,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 771,
                "fifa_rank": 664.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 80.0
              }
            }
          ]
        },
        "Nelson Deossa": {
          "player_id": 1129401,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 18,
          "height": 185,
          "market_value": 9800000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0284,
            "assist_rate": 0.0468,
            "assists": 0,
            "expected_goals": 0.0516,
            "goal_rate": 0.0617,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.7545,
            "minutes": 20,
            "total_pass": 11,
            "accurate_pass": 9,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 7,
            "accurate_opp_half_passes": 6,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 16,
            "possession_lost": 2.8482,
            "dispossessed": 0.3338,
            "duels_lost": 2,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 1,
            "won_contest": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1016,
            "ball_carries": 6,
            "total_progression": 21,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.57,
            "bench_expected_minutes": 19.93,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.325,
            "projected_substitution_game_state_adjustment": -1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0493,
            "projected_assists": 0,
            "assist_probability": 0.0277,
            "finishing_factor": 1.0538,
            "creation_factor": 1.198,
            "fifa_overall": 75.0
          },
          "latest_10_games": [
            {
              "match_id": 16421079,
              "match_date": "2026-10-25",
              "home_team": "Celta Vigo",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 61,
                "rating": 6.7,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1654,
                "expected_assists": 0.1067,
                "total_shots": 3,
                "shots_on_target": 0,
                "shots_off_target": 3,
                "total_pass": 23,
                "accurate_pass": 18,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 0,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 1,
                "saves": 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": 16421068,
              "match_date": "2026-10-17",
              "home_team": "Real Betis",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 45,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0641,
                "expected_assists": 0.0043,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 17,
                "accurate_pass": 16,
                "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": 16421054,
              "match_date": "2026-10-11",
              "home_team": "Real Betis",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 9,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0876,
                "expected_assists": 0.0045,
                "total_shots": 3,
                "shots_off_target": 1,
                "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": 16416313,
              "match_date": "2026-09-20",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 61,
                "rating": 6.7,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.04,
                "expected_assists": 0.0241,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 36,
                "accurate_pass": 29,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 1,
                "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": 16416336,
              "match_date": "2026-09-17",
              "home_team": "Real Betis",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0254,
                "expected_assists": 0.0374,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 65,
                "accurate_pass": 53,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 10,
                "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": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 23,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.31,
                "expected_assists": 0.1789,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 14,
                "accurate_pass": 11,
                "key_pass": 2,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416315,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 22,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0523,
                "expected_assists": 0.0047,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 10,
                "accurate_pass": 7,
                "clearances": 1,
                "aerial_won": 2,
                "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": 16416309,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 23,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0277,
                "expected_assists": 0.0104,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 19,
                "accurate_pass": 14,
                "tackles": 2,
                "tackles_won": 2,
                "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": 16421049,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0965,
                "expected_assists": 0.026,
                "total_shots": 4,
                "shots_off_target": 3,
                "total_pass": 59,
                "accurate_pass": 54,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 4,
                "duels_won": 5,
                "ball_recovery": 8
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416293,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 10,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0332,
                "expected_assists": 0.0626,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 4,
                "accurate_pass": 4,
                "key_pass": 1,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 3441,
            "combined_rank_score": 1430.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 3.0,
            "fifa_rank": 2416.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7545,
            "source_file": "data/player_rankings.csv",
            "player_name": "Nelson Deossa",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Lorenzo Melgarejo",
                  "ranking": 3436
                },
                {
                  "player_name": "Tomáš Chorý",
                  "ranking": 3437
                },
                {
                  "player_name": "Ferran Jutglà",
                  "ranking": 3438
                },
                {
                  "player_name": "César Tárrega",
                  "ranking": 3439
                },
                {
                  "player_name": "Lucas Stassin",
                  "ranking": 3440
                }
              ],
              "lower": [
                {
                  "player_name": "Filip Jörgensen",
                  "ranking": 3442
                },
                {
                  "player_name": "Luis Muriel",
                  "ranking": 3443
                },
                {
                  "player_name": "Ethan Nwaneri",
                  "ranking": 3444
                },
                {
                  "player_name": "Lucas Martínez Quarta",
                  "ranking": 3445
                },
                {
                  "player_name": "Ben Davies",
                  "ranking": 3446
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.764,
          "history_matches": 30,
          "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": 30,
            "data_confidence": 0.764,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 19.93,
            "bench_appearance_prob": 0.57,
            "market_value_adjustment": 1.0006,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 18.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0933
            },
            "rationale": "Bench projection scaled from XGBoost M_service (30 historical appearances) to 19.9 expected mins (appearance prob 0.57); FBref playing time empirical prior: 2.0 sub appearances, 18.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.462,
                "expected_assists": 0.0321,
                "assists": 0.0492,
                "assist_rate": 0.0492,
                "expected_goals": 0.0583,
                "goals": 0.0649,
                "goal_rate": 0.0649,
                "shots_on_target": 0.232,
                "total_shots": 1.1394,
                "rating": 6.7545,
                "minutes": 20.76,
                "total_pass": 11.1856,
                "accurate_pass": 9.6066,
                "duels_won": 2.2494,
                "total_long_balls": 0.9222,
                "accurate_long_balls": 0.7474,
                "total_own_half_passes": 3.4851,
                "accurate_own_half_passes": 3.2223,
                "total_opp_half_passes": 7.7004,
                "accurate_opp_half_passes": 6.3842,
                "crosses_total": 0.0724,
                "crosses_accurate": 0.0,
                "touches": 17.0471,
                "possession_lost": 2.965,
                "dispossessed": 0.3336,
                "duels_lost": 1.5984,
                "aerial_won": 0.8738,
                "aerial_lost": 0.4208,
                "interceptions": 0.0367,
                "tackles_won": 0.2389,
                "tackles": 0.2389,
                "clearances": 0.2109,
                "total_contest": 0.961,
                "won_contest": 0.5914,
                "challenges_lost": 0.1073,
                "fouls": 0.3788,
                "fouls_drawn": 0.5453,
                "blocks": 0.0,
                "big_chances_created": 0.1474,
                "big_chances_missed": 0.1393,
                "xgot": 0.1147,
                "ball_carries": 5.9615,
                "total_progression": 21.7889,
                "progressive_carries": 0.5732,
                "shots_off_target": 0.9074
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-31T10:30:21.314387+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 902,
                    "rows": 24945
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-25",
                    "opponent": "Celta Vigo",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.1512,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-10-17",
                    "opponent": "FC Barcelona",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1285,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Osasuna",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.1092,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.0928,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0789,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Villarreal",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.0671,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 22.0,
                    "is_starting": false,
                    "weight": 0.057,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.0485,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0412,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.035,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 1.9991,
                  "expectedGoals": 0.0821,
                  "creative_index": 0.2492,
                  "expectedAssists": 0.0409,
                  "keyPass": 0.5617
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.4619919955730438,
                    "model_output": 0.462,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1583
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1351
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0716
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0542
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.028
                      }
                    ],
                    "decomposition": {
                      "base": 0.8899,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4065
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0462
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0431
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0367
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0214
                        }
                      ],
                      "others": 0.0336,
                      "total": 0.462,
                      "log_link": true,
                      "margin_base": -0.11669,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.610281
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.091225
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.084912
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.078449
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.048707
                        }
                      ],
                      "others_margin": 0.075607
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03205248340964317,
                    "model_output": 0.0321,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1213
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1076
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0864
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0618
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0476
                      }
                    ],
                    "decomposition": {
                      "base": 0.085,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0362
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0092
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0052
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0022
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0016
                        }
                      ],
                      "others": -0.0029,
                      "total": 0.0321,
                      "log_link": true,
                      "margin_base": -2.465163,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.55537
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.207897
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.140174
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.061168
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.043304
                        }
                      ],
                      "others_margin": -0.089639
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.04921005666255951,
                    "model_output": 0.0492,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0508
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0336
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0324
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0215
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0074
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0057
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0057
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0042
                        }
                      ],
                      "others": -0.0028,
                      "total": 0.0492,
                      "log_link": true,
                      "margin_base": -2.463734,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.290549
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.123354
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.107578
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.107352
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.077041
                        }
                      ],
                      "others_margin": -0.056753
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.05830369144678116,
                    "model_output": 0.0583,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1242
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0778
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0743
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0437
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0241
                      }
                    ],
                    "decomposition": {
                      "base": 0.0911,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0384
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0086
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.007
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0044
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0044
                        }
                      ],
                      "others": -0.01,
                      "total": 0.0583,
                      "log_link": true,
                      "margin_base": -2.395469,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.547594
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.1505
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.107811
                        },
                        {
                          "name": "goals",
                          "margin": -0.066718
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.066616
                        }
                      ],
                      "others_margin": -0.157236
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.06486941874027252,
                    "model_output": 0.0649,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0846
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0655
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0399
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0358
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.0947,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0355
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0157
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0067
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0047
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0038
                        }
                      ],
                      "others": -0.0158,
                      "total": 0.0649,
                      "log_link": true,
                      "margin_base": -2.357331,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.470172
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.235786
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.086014
                        },
                        {
                          "name": "duelLost",
                          "margin": -0.059308
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.047731
                        }
                      ],
                      "others_margin": -0.218101
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.23200422525405884,
                    "model_output": 0.232,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1146
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0928
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0753
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0297
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.3177,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1455
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.053
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0186
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0078
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0067
                        }
                      ],
                      "others": -0.0129,
                      "total": 0.232,
                      "log_link": true,
                      "margin_base": -1.146731,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.612675
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.268479
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.079331
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.031457
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.026841
                        }
                      ],
                      "others_margin": -0.05402
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.1394399404525757,
                    "model_output": 1.1394,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1488
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1213
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0446
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0276
                      }
                    ],
                    "decomposition": {
                      "base": 0.9817,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4507
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.4303
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0569
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0466
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0438
                        }
                      ],
                      "others": 0.0308,
                      "total": 1.1394,
                      "log_link": false,
                      "margin_base": 0.98173,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.450722
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.430261
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.056943
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.046625
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.04381
                        }
                      ],
                      "others_margin": 0.030793
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.754495620727539,
                    "model_output": 6.7545,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.102
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0743
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0503
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0382
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0983
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0194
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0193
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0105
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0076
                        }
                      ],
                      "others": -0.006,
                      "total": 6.7545,
                      "log_link": false,
                      "margin_base": 6.856008,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.098271
                        },
                        {
                          "name": "rating",
                          "margin": -0.019391
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.019285
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.010459
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.007606
                        }
                      ],
                      "others_margin": -0.005989
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 30,
                  "role_matches": 18,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0006, quality 0.520)",
              "stats": {
                "key_pass": 0.4623,
                "expected_assists": 0.0321,
                "assists": 0.0492,
                "assist_rate": 0.0492,
                "expected_goals": 0.0583,
                "goals": 0.0649,
                "goal_rate": 0.0649,
                "shots_on_target": 0.2321,
                "total_shots": 1.1401,
                "rating": 6.7545,
                "minutes": 20.76,
                "total_pass": 11.1923,
                "accurate_pass": 9.6124,
                "duels_won": 2.2507,
                "total_long_balls": 0.9228,
                "accurate_long_balls": 0.7478,
                "total_own_half_passes": 3.4872,
                "accurate_own_half_passes": 3.2242,
                "total_opp_half_passes": 7.705,
                "accurate_opp_half_passes": 6.388,
                "crosses_total": 0.0724,
                "crosses_accurate": 0.0,
                "touches": 17.0573,
                "possession_lost": 2.9668,
                "dispossessed": 0.3338,
                "duels_lost": 1.5994,
                "aerial_won": 0.8743,
                "aerial_lost": 0.4211,
                "interceptions": 0.0367,
                "tackles_won": 0.239,
                "tackles": 0.239,
                "clearances": 0.211,
                "total_contest": 0.9616,
                "won_contest": 0.5918,
                "challenges_lost": 0.1074,
                "fouls": 0.379,
                "fouls_drawn": 0.5456,
                "blocks": 0.0,
                "big_chances_created": 0.1475,
                "big_chances_missed": 0.1394,
                "xgot": 0.1148,
                "ball_carries": 5.9651,
                "total_progression": 21.802,
                "progressive_carries": 0.5735,
                "shots_off_target": 0.9079
              },
              "params": {
                "market_value_eur": 9800000,
                "quality_factor": 0.5201,
                "boost_factor": 1.0006,
                "reference_quality": 0.505,
                "history_matches": 30,
                "history_shrink": 0.1429,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0087)",
              "stats": {
                "key_pass": 0.4623,
                "expected_assists": 0.0321,
                "assists": 0.0488,
                "assist_rate": 0.0488,
                "expected_goals": 0.0583,
                "goals": 0.0643,
                "goal_rate": 0.0643,
                "shots_on_target": 0.2315,
                "total_shots": 1.1389,
                "rating": 6.7545,
                "minutes": 20.76,
                "total_pass": 11.1923,
                "accurate_pass": 9.6124,
                "duels_won": 2.2507,
                "total_long_balls": 0.9228,
                "accurate_long_balls": 0.7478,
                "total_own_half_passes": 3.4872,
                "accurate_own_half_passes": 3.2242,
                "total_opp_half_passes": 7.705,
                "accurate_opp_half_passes": 6.388,
                "crosses_total": 0.0718,
                "crosses_accurate": 0.0,
                "touches": 17.0573,
                "possession_lost": 2.9668,
                "dispossessed": 0.3338,
                "duels_lost": 1.5994,
                "aerial_won": 0.8743,
                "aerial_lost": 0.4211,
                "interceptions": 0.0378,
                "tackles_won": 0.2398,
                "tackles": 0.239,
                "clearances": 0.211,
                "total_contest": 0.9616,
                "won_contest": 0.5918,
                "challenges_lost": 0.1074,
                "fouls": 0.3786,
                "fouls_drawn": 0.5423,
                "blocks": 0.0,
                "big_chances_created": 0.1475,
                "big_chances_missed": 0.1394,
                "xgot": 0.1148,
                "ball_carries": 5.9651,
                "total_progression": 21.802,
                "progressive_carries": 0.5735,
                "shots_off_target": 0.9079
              },
              "params": {
                "blend_weight": 0.0087,
                "history_matches": 30,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2307,
                "prior_reliability": 0.0933,
                "competition": "La Liga",
                "squad": "Real Betis"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 20.8 to 19.9 expected minutes (appearance prob 0.57)",
              "stats": {
                "key_pass": 0.4438,
                "expected_assists": 0.0308,
                "assists": 0.0468,
                "assist_rate": 0.0468,
                "expected_goals": 0.056,
                "goals": 0.0617,
                "goal_rate": 0.0617,
                "shots_on_target": 0.2222,
                "total_shots": 1.0938,
                "rating": 6.7545,
                "minutes": 19.93,
                "total_pass": 10.7448,
                "accurate_pass": 9.2281,
                "duels_won": 2.1607,
                "total_long_balls": 0.8859,
                "accurate_long_balls": 0.7179,
                "total_own_half_passes": 3.3478,
                "accurate_own_half_passes": 3.0953,
                "total_opp_half_passes": 7.3969,
                "accurate_opp_half_passes": 6.1326,
                "crosses_total": 0.0689,
                "crosses_accurate": 0.0,
                "touches": 16.3753,
                "possession_lost": 2.8482,
                "dispossessed": 0.3338,
                "duels_lost": 1.5355,
                "aerial_won": 0.8393,
                "aerial_lost": 0.4211,
                "interceptions": 0.0363,
                "tackles_won": 0.2294,
                "tackles": 0.2294,
                "clearances": 0.2026,
                "total_contest": 0.9232,
                "won_contest": 0.5681,
                "challenges_lost": 0.1074,
                "fouls": 0.3635,
                "fouls_drawn": 0.5206,
                "blocks": 0.0,
                "big_chances_created": 0.1416,
                "big_chances_missed": 0.1338,
                "xgot": 0.1102,
                "ball_carries": 5.7266,
                "total_progression": 20.9303,
                "progressive_carries": 0.5506,
                "shots_off_target": 0.8716,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 19.93
              },
              "params": {
                "expected_minutes": 19.93,
                "projection_minutes": 20.76,
                "minutes_scale": 0.96,
                "appearance_probability": 0.57
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.4438,
                "expected_assists": 0.0308,
                "assists": 0.0468,
                "assist_rate": 0.0468,
                "expected_goals": 0.056,
                "goals": 0.0617,
                "goal_rate": 0.0617,
                "shots_on_target": 0.2222,
                "total_shots": 1.0938,
                "rating": 6.7545,
                "minutes": 19.93,
                "total_pass": 10.7448,
                "accurate_pass": 9.2281,
                "duels_won": 2.1607,
                "total_long_balls": 0.8859,
                "accurate_long_balls": 0.7179,
                "total_own_half_passes": 3.3478,
                "accurate_own_half_passes": 3.0953,
                "total_opp_half_passes": 7.3969,
                "accurate_opp_half_passes": 6.1326,
                "crosses_total": 0.0689,
                "crosses_accurate": 0.0,
                "touches": 16.3753,
                "possession_lost": 2.8482,
                "dispossessed": 0.3338,
                "duels_lost": 1.5355,
                "aerial_won": 0.8393,
                "aerial_lost": 0.4211,
                "interceptions": 0.0363,
                "tackles_won": 0.2294,
                "tackles": 0.2294,
                "clearances": 0.2026,
                "total_contest": 0.9232,
                "won_contest": 0.5681,
                "challenges_lost": 0.1074,
                "fouls": 0.3635,
                "fouls_drawn": 0.5206,
                "blocks": 0.0,
                "big_chances_created": 0.1416,
                "big_chances_missed": 0.1338,
                "xgot": 0.1102,
                "ball_carries": 5.7266,
                "total_progression": 20.9303,
                "progressive_carries": 0.5506,
                "shots_off_target": 0.8716,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 19.93
              },
              "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.4438,
                "expected_assists": 0.0308,
                "assist_rate": 0.0468,
                "assists": 0,
                "expected_goals": 0.056,
                "goal_rate": 0.0617,
                "goals": 0,
                "shots_on_target": 0.2222,
                "total_shots": 1.0938,
                "rating": 6.7545,
                "minutes": 19.93,
                "total_pass": 10.7448,
                "accurate_pass": 9.2281,
                "duels_won": 2.1607,
                "total_long_balls": 0.8859,
                "accurate_long_balls": 0.7179,
                "total_own_half_passes": 3.3478,
                "accurate_own_half_passes": 3.0953,
                "total_opp_half_passes": 7.3969,
                "accurate_opp_half_passes": 6.1326,
                "crosses_total": 0.0689,
                "crosses_accurate": 0.0,
                "touches": 16.3753,
                "possession_lost": 2.8482,
                "dispossessed": 0.3338,
                "duels_lost": 1.5355,
                "aerial_won": 0.8393,
                "aerial_lost": 0.4211,
                "interceptions": 0.0363,
                "tackles_won": 0.2294,
                "tackles": 0.2294,
                "clearances": 0.2026,
                "total_contest": 0.9232,
                "won_contest": 0.5681,
                "challenges_lost": 0.1074,
                "fouls": 0.3635,
                "fouls_drawn": 0.5206,
                "blocks": 0.0,
                "big_chances_created": 0.1416,
                "big_chances_missed": 0.1338,
                "xgot": 0.1102,
                "ball_carries": 5.7266,
                "total_progression": 20.9303,
                "progressive_carries": 0.5506,
                "shots_off_target": 0.8716,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 19.93,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.325,
                "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": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.15 (squad xG sum 1.3311, xG scale 1.6175, xA scale 1.6175, team xA 1.53 = 0.71 x lambda)",
              "stats": {
                "key_pass": 0.4438,
                "expected_assists": 0.0284,
                "assist_rate": 0.0468,
                "assists": 0,
                "expected_goals": 0.0516,
                "goal_rate": 0.0617,
                "goals": 0,
                "shots_on_target": 0.2222,
                "total_shots": 1.0938,
                "rating": 6.7545,
                "minutes": 19.93,
                "total_pass": 10.7448,
                "accurate_pass": 9.2281,
                "duels_won": 2.1607,
                "total_long_balls": 0.8859,
                "accurate_long_balls": 0.7179,
                "total_own_half_passes": 3.3478,
                "accurate_own_half_passes": 3.0953,
                "total_opp_half_passes": 7.3969,
                "accurate_opp_half_passes": 6.1326,
                "crosses_total": 0.0689,
                "crosses_accurate": 0.0,
                "touches": 16.3753,
                "possession_lost": 2.8482,
                "dispossessed": 0.3338,
                "duels_lost": 1.5355,
                "aerial_won": 0.8393,
                "aerial_lost": 0.4211,
                "interceptions": 0.0363,
                "tackles_won": 0.2294,
                "tackles": 0.2294,
                "clearances": 0.2026,
                "total_contest": 0.9232,
                "won_contest": 0.5681,
                "challenges_lost": 0.1074,
                "fouls": 0.3635,
                "fouls_drawn": 0.5206,
                "blocks": 0.0,
                "big_chances_created": 0.1416,
                "big_chances_missed": 0.1338,
                "xgot": 0.1016,
                "ball_carries": 5.7266,
                "total_progression": 20.9303,
                "progressive_carries": 0.5506,
                "shots_off_target": 0.8716,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 19.93,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.325,
                "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.0538,
                "creation_factor": 1.198
              },
              "params": {
                "team_lambda": 2.153,
                "squad_xg_sum": 1.3311,
                "squad_xa_sum": 0.9447,
                "team_expected_assists": 1.528,
                "team_xa_to_xg_ratio": 0.7097,
                "bench_appearance_weighted": true,
                "xg_scale": 1.6175,
                "xa_scale": 1.6175,
                "opponent_lambda": 0.831,
                "scoreline_reset": true,
                "appearance_weight": 0.57
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 12 by projected rating, fifa_overall 75.0)",
              "stats": {
                "key_pass": 0.4438,
                "expected_assists": 0.0284,
                "assist_rate": 0.0468,
                "assists": 0,
                "expected_goals": 0.0516,
                "goal_rate": 0.0617,
                "goals": 0,
                "shots_on_target": 0.2222,
                "total_shots": 1.0938,
                "rating": 6.7545,
                "minutes": 19.93,
                "total_pass": 10.7448,
                "accurate_pass": 9.2281,
                "duels_won": 2.1607,
                "total_long_balls": 0.8859,
                "accurate_long_balls": 0.7179,
                "total_own_half_passes": 3.3478,
                "accurate_own_half_passes": 3.0953,
                "total_opp_half_passes": 7.3969,
                "accurate_opp_half_passes": 6.1326,
                "crosses_total": 0.0689,
                "crosses_accurate": 0.0,
                "touches": 16.3753,
                "possession_lost": 2.8482,
                "dispossessed": 0.3338,
                "duels_lost": 1.5355,
                "aerial_won": 0.8393,
                "aerial_lost": 0.4211,
                "interceptions": 0.0363,
                "tackles_won": 0.2294,
                "tackles": 0.2294,
                "clearances": 0.2026,
                "total_contest": 0.9232,
                "won_contest": 0.5681,
                "challenges_lost": 0.1074,
                "fouls": 0.3635,
                "fouls_drawn": 0.5206,
                "blocks": 0.0,
                "big_chances_created": 0.1416,
                "big_chances_missed": 0.1338,
                "xgot": 0.1016,
                "ball_carries": 5.7266,
                "total_progression": 20.9303,
                "progressive_carries": 0.5506,
                "shots_off_target": 0.8716,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 19.93,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.325,
                "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.0538,
                "creation_factor": 1.198,
                "fifa_overall": 75.0
              },
              "params": {
                "match_squad_rank": 12,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3441,
                "fifa_rank": 2416.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 75.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.4438,
                "expected_assists": 0.0284,
                "assist_rate": 0.0468,
                "assists": 0,
                "expected_goals": 0.0516,
                "goal_rate": 0.0617,
                "goals": 0,
                "shots_on_target": 0.2222,
                "total_shots": 1.0938,
                "rating": 6.7545,
                "minutes": 19.93,
                "total_pass": 10.7448,
                "accurate_pass": 9.2281,
                "duels_won": 2.1607,
                "total_long_balls": 0.8859,
                "accurate_long_balls": 0.7179,
                "total_own_half_passes": 3.3478,
                "accurate_own_half_passes": 3.0953,
                "total_opp_half_passes": 7.3969,
                "accurate_opp_half_passes": 6.1326,
                "crosses_total": 0.0689,
                "crosses_accurate": 0.0,
                "touches": 16.3753,
                "possession_lost": 2.8482,
                "dispossessed": 0.3338,
                "duels_lost": 1.5355,
                "aerial_won": 0.8393,
                "aerial_lost": 0.4211,
                "interceptions": 0.0363,
                "tackles_won": 0.2294,
                "tackles": 0.2294,
                "clearances": 0.2026,
                "total_contest": 0.9232,
                "won_contest": 0.5681,
                "challenges_lost": 0.1074,
                "fouls": 0.3635,
                "fouls_drawn": 0.5206,
                "blocks": 0.0,
                "big_chances_created": 0.1416,
                "big_chances_missed": 0.1338,
                "xgot": 0.1016,
                "ball_carries": 5.7266,
                "total_progression": 20.9303,
                "progressive_carries": 0.5506,
                "shots_off_target": 0.8716,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 19.93,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.325,
                "projected_substitution_game_state_adjustment": -1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0493,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0538,
                "creation_factor": 1.198,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0493,
                "goal_rate": 0.0617,
                "scorer_weight": 0.0544,
                "squad_weight_total": 2.2809,
                "weight_share": 0.0238,
                "finishing_factor": 1.0538,
                "appearance_weight": 0.57,
                "weight_rank": 9,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.6492,
                    "already": 0,
                    "effective_weight": 0.6492,
                    "runner_up": "Troy Parrott",
                    "runner_up_effective_weight": 0.4679
                  },
                  {
                    "n": 2,
                    "player": "Troy Parrott",
                    "weight": 0.4679,
                    "already": 0,
                    "effective_weight": 0.4679,
                    "runner_up": "Antony",
                    "runner_up_effective_weight": 0.3665
                  }
                ]
              }
            },
            {
              "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.4438,
                "expected_assists": 0.0284,
                "assist_rate": 0.0468,
                "assists": 0,
                "expected_goals": 0.0516,
                "goal_rate": 0.0617,
                "goals": 0,
                "shots_on_target": 0.2222,
                "total_shots": 1.0938,
                "rating": 6.7545,
                "minutes": 19.93,
                "total_pass": 10.7448,
                "accurate_pass": 9.2281,
                "duels_won": 2.1607,
                "total_long_balls": 0.8859,
                "accurate_long_balls": 0.7179,
                "total_own_half_passes": 3.3478,
                "accurate_own_half_passes": 3.0953,
                "total_opp_half_passes": 7.3969,
                "accurate_opp_half_passes": 6.1326,
                "crosses_total": 0.0689,
                "crosses_accurate": 0.0,
                "touches": 16.3753,
                "possession_lost": 2.8482,
                "dispossessed": 0.3338,
                "duels_lost": 1.5355,
                "aerial_won": 0.8393,
                "aerial_lost": 0.4211,
                "interceptions": 0.0363,
                "tackles_won": 0.2294,
                "tackles": 0.2294,
                "clearances": 0.2026,
                "total_contest": 0.9232,
                "won_contest": 0.5681,
                "challenges_lost": 0.1074,
                "fouls": 0.3635,
                "fouls_drawn": 0.5206,
                "blocks": 0.0,
                "big_chances_created": 0.1416,
                "big_chances_missed": 0.1338,
                "xgot": 0.1016,
                "ball_carries": 5.7266,
                "total_progression": 20.9303,
                "progressive_carries": 0.5506,
                "shots_off_target": 0.8716,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 19.93,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.325,
                "projected_substitution_game_state_adjustment": -1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0493,
                "projected_assists": 0,
                "assist_probability": 0.0277,
                "finishing_factor": 1.0538,
                "creation_factor": 1.198,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0277,
                "assist_rate": 0.0468,
                "provider_weight": 0.034,
                "squad_weight_total": 1.2992,
                "weight_share": 0.0262,
                "creation_factor": 1.198,
                "appearance_weight": 0.57,
                "weight_rank": 9,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.25,
                    "already": 0,
                    "effective_weight": 0.25,
                    "runner_up": "Pablo Fornals",
                    "runner_up_effective_weight": 0.2333
                  }
                ]
              }
            }
          ]
        },
        "Cucho Hernández": {
          "player_id": 887055,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 9,
          "height": 175,
          "market_value": 16500000,
          "stats": {
            "expected_goals": 0.1233,
            "goal_rate": 0.128,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0388,
            "key_pass": 0,
            "rating": 6.728,
            "minutes": 26,
            "total_pass": 12,
            "accurate_pass": 9,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 10,
            "accurate_opp_half_passes": 7,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 18,
            "possession_lost": 4.7985,
            "dispossessed": 0.508,
            "duels_lost": 2,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 1,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0705,
            "offsides": 0,
            "ball_carries": 5,
            "total_progression": 7,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.587,
            "bench_expected_minutes": 25.92,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.325,
            "projected_substitution_game_state_adjustment": -1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.1112,
            "projected_assists": 0,
            "assist_probability": 0.0375,
            "finishing_factor": 0.9894,
            "creation_factor": 0.8,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16421068,
              "match_date": "2026-10-17",
              "home_team": "Real Betis",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 64,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2198,
                "expected_assists": 0.0067,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 14,
                "accurate_pass": 9,
                "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": 16421054,
              "match_date": "2026-10-11",
              "home_team": "Real Betis",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 81,
                "rating": 7.0,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.1141,
                "expected_assists": 0.1814,
                "total_shots": 3,
                "shots_off_target": 1,
                "total_pass": 24,
                "accurate_pass": 20,
                "key_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "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": 16416313,
              "match_date": "2026-09-20",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3739,
                "expected_assists": 0.0129,
                "total_shots": 5,
                "shots_on_target": 2,
                "total_pass": 26,
                "accurate_pass": 21,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 4,
                "duels_won": 6,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416336,
              "match_date": "2026-09-17",
              "home_team": "Real Betis",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Getafe",
              "stats": {
                "minutes": 18,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0282,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 8,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 84,
                "rating": 6.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.7169,
                "expected_assists": 0.0456,
                "total_shots": 4,
                "shots_on_target": 3,
                "shots_off_target": 1,
                "total_pass": 21,
                "accurate_pass": 15,
                "key_pass": 1,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416315,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 68,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0332,
                "expected_assists": 0.0401,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 13,
                "accurate_pass": 8,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416309,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 33,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0191,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 12,
                "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": 16421049,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 71,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0441,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 11,
                "key_pass": 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": 16416293,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 80,
                "rating": 6.8,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.1215,
                "expected_assists": 0.1305,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 19,
                "accurate_pass": 14,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 6,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083710,
              "match_date": "2026-05-23",
              "home_team": "Real Betis",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1823,
                "expected_assists": 0.0202,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 15,
                "accurate_pass": 12,
                "key_pass": 1,
                "tackles": 1,
                "clearances": 1,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 1878,
            "combined_rank_score": 727.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 493.0,
            "sofascore_rating": 6.8625,
            "sofascore_appearances": 32.0,
            "fifa_rank": 961.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.728,
            "source_file": "data/player_rankings.csv",
            "player_name": "Cucho Hernández",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Calebe Gonçalves",
                  "ranking": 1873
                },
                {
                  "player_name": "Jack Hinshelwood",
                  "ranking": 1874
                },
                {
                  "player_name": "David Retamal",
                  "ranking": 1875
                },
                {
                  "player_name": "Xaver Schlager",
                  "ranking": 1876
                },
                {
                  "player_name": "Fernando Muslera",
                  "ranking": 1877
                }
              ],
              "lower": [
                {
                  "player_name": "Evanilson",
                  "ranking": 1879
                },
                {
                  "player_name": "Vanja Milinković-Savić",
                  "ranking": 1880
                },
                {
                  "player_name": "Abdülkerim Bardakcı",
                  "ranking": 1881
                },
                {
                  "player_name": "Mauro Arambarri",
                  "ranking": 1882
                },
                {
                  "player_name": "Kim Hyeon-Jun",
                  "ranking": 1883
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 41,
          "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": 41,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.91737481061636,
            "bench_appearance_prob": 0.5871534004825618,
            "market_value_adjustment": 1.0029,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (41 historical appearances) to 25.9 expected mins (appearance prob 0.59)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1443,
                "goals": 0.1422,
                "goal_rate": 0.1422,
                "shots_on_target": 0.4057,
                "total_shots": 1.0551,
                "expected_assists": 0.0454,
                "key_pass": 0.4047,
                "rating": 6.728,
                "minutes": 28.88,
                "total_pass": 13.6462,
                "accurate_pass": 9.9399,
                "duels_won": 1.9189,
                "total_long_balls": 0.9129,
                "accurate_long_balls": 0.6862,
                "total_opp_half_passes": 11.0411,
                "accurate_opp_half_passes": 7.5275,
                "crosses_total": 0.2267,
                "crosses_accurate": 0.2267,
                "touches": 20.2685,
                "possession_lost": 5.3315,
                "dispossessed": 0.5065,
                "duels_lost": 2.4349,
                "aerial_lost": 0.8073,
                "total_contest": 1.3138,
                "won_contest": 1.0,
                "ball_recovery": 0.6462,
                "challenges_lost": 0.5806,
                "fouls": 0.2267,
                "fouls_drawn": 0.4595,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2267,
                "tackles_won": 0.0,
                "tackles": 0.1927,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1927,
                "big_chances_missed": 0.0,
                "xgot": 0.0826,
                "offsides": 0.0,
                "ball_carries": 5.3454,
                "total_progression": 7.8155,
                "progressive_carries": 0.2267,
                "shots_off_target": 0.6494
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:30:56.271646+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 610,
                    "rows": 17075
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-17",
                    "opponent": "FC Barcelona",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Osasuna",
                    "minutes": 81.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Getafe",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.0922,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Villarreal",
                    "minutes": 84.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.0566,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "accurateOppositionHalfPasses": 8.668,
                  "expectedGoals": 0.3156,
                  "totalOppositionHalfPasses": 12.5428,
                  "accuratePass": 13.5989,
                  "totalShots": 2.2006
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.14426064491271973,
                    "model_output": 0.1443,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0898
                      },
                      {
                        "name": "goals",
                        "importance": 0.0323
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0236
                      }
                    ],
                    "decomposition": {
                      "base": 0.1945,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0871
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0174
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0059
                        },
                        {
                          "name": "goals",
                          "contribution": 0.006
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0047
                        }
                      ],
                      "others": 0.0029,
                      "total": 0.1443,
                      "log_link": true,
                      "margin_base": -1.637486,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.593652
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.149933
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.046286
                        },
                        {
                          "name": "goals",
                          "margin": 0.045057
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.033547
                        }
                      ],
                      "others_margin": 0.020181
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.14222058653831482,
                    "model_output": 0.1422,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.144
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0742
                      },
                      {
                        "name": "goals",
                        "importance": 0.053
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0908
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0148
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0076
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0056
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0053
                        }
                      ],
                      "others": 0.0159,
                      "total": 0.1422,
                      "log_link": true,
                      "margin_base": -1.614663,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.60933
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.128248
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.063457
                        },
                        {
                          "name": "goals",
                          "margin": 0.047034
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.04283
                        }
                      ],
                      "others_margin": 0.118962
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.4056898355484009,
                    "model_output": 0.4057,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2115
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.066
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0499
                      },
                      {
                        "name": "goals",
                        "importance": 0.0473
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 0.5305,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2141
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.043
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0244
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0194
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0141
                        }
                      ],
                      "others": 0.0166,
                      "total": 0.4057,
                      "log_link": true,
                      "margin_base": -0.633985,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.51695
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.127522
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.065779
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.049341
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.035698
                        }
                      ],
                      "others_margin": 0.041824
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0551090240478516,
                    "model_output": 1.0551,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2934
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0662
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.05
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0272
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.027
                      }
                    ],
                    "decomposition": {
                      "base": 1.3805,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5857
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1785
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0514
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0397
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0281
                        }
                      ],
                      "others": 0.0188,
                      "total": 1.0551,
                      "log_link": false,
                      "margin_base": 1.38048,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.585691
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.178516
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.051418
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.039664
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.028135
                        }
                      ],
                      "others_margin": 0.018858
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.04544723778963089,
                    "model_output": 0.0454,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1135
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0826
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0722
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0587
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0552
                      }
                    ],
                    "decomposition": {
                      "base": 0.0647,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0165
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0059
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0034
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0022
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0022
                        }
                      ],
                      "others": -0.0053,
                      "total": 0.0454,
                      "log_link": true,
                      "margin_base": -2.738275,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.294683
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.115924
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.065306
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.045145
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.043503
                        }
                      ],
                      "others_margin": -0.107222
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.40471890568733215,
                    "model_output": 0.4047,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1545
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.1071
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0923
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0893
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0298
                      }
                    ],
                    "decomposition": {
                      "base": 0.6939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2574
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0194
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0149
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0136
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0115
                        }
                      ],
                      "others": 0.0046,
                      "total": 0.4047,
                      "log_link": true,
                      "margin_base": -0.365451,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.463559
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.045428
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.036329
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.034346
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.029255
                        }
                      ],
                      "others_margin": 0.011298
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.727969169616699,
                    "model_output": 6.728,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0529
                      },
                      {
                        "name": "rating",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.044
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0417
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0371
                      }
                    ],
                    "decomposition": {
                      "base": 6.7735,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0725
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0205
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0091
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0086
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0082
                        }
                      ],
                      "others": 0.0142,
                      "total": 6.728,
                      "log_link": false,
                      "margin_base": 6.773504,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.072525
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.020532
                        },
                        {
                          "name": "rating",
                          "margin": 0.009061
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.008599
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.008166
                        }
                      ],
                      "others_margin": 0.014161
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 41,
                  "role_matches": 4,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0029, quality 0.595)",
              "stats": {
                "expected_goals": 0.1447,
                "goals": 0.1426,
                "goal_rate": 0.1426,
                "shots_on_target": 0.4069,
                "total_shots": 1.0582,
                "expected_assists": 0.0456,
                "key_pass": 0.4059,
                "rating": 6.728,
                "minutes": 28.88,
                "total_pass": 13.6858,
                "accurate_pass": 9.9687,
                "duels_won": 1.9245,
                "total_long_balls": 0.9155,
                "accurate_long_balls": 0.6882,
                "total_opp_half_passes": 11.0731,
                "accurate_opp_half_passes": 7.5493,
                "crosses_total": 0.2274,
                "crosses_accurate": 0.2274,
                "touches": 20.3273,
                "possession_lost": 5.347,
                "dispossessed": 0.508,
                "duels_lost": 2.442,
                "aerial_lost": 0.8096,
                "total_contest": 1.3176,
                "won_contest": 1.0029,
                "ball_recovery": 0.6481,
                "challenges_lost": 0.5823,
                "fouls": 0.2274,
                "fouls_drawn": 0.4608,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2274,
                "tackles_won": 0.0,
                "tackles": 0.1933,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1933,
                "big_chances_missed": 0.0,
                "xgot": 0.0828,
                "offsides": 0.0,
                "ball_carries": 5.3609,
                "total_progression": 7.8382,
                "progressive_carries": 0.2274,
                "shots_off_target": 0.6513
              },
              "params": {
                "market_value_eur": 16500000,
                "quality_factor": 0.5953,
                "boost_factor": 1.0029,
                "reference_quality": 0.505,
                "history_matches": 41,
                "history_shrink": 0.1087,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 28.9 to 25.9 expected minutes (appearance prob 0.59)",
              "stats": {
                "expected_goals": 0.1299,
                "goals": 0.128,
                "goal_rate": 0.128,
                "shots_on_target": 0.3652,
                "total_shots": 0.9497,
                "expected_assists": 0.0409,
                "key_pass": 0.3643,
                "rating": 6.728,
                "minutes": 25.92,
                "total_pass": 12.2819,
                "accurate_pass": 8.9461,
                "duels_won": 1.7271,
                "total_long_balls": 0.8216,
                "accurate_long_balls": 0.6176,
                "total_opp_half_passes": 9.9372,
                "accurate_opp_half_passes": 6.7749,
                "crosses_total": 0.2041,
                "crosses_accurate": 0.2041,
                "touches": 18.242,
                "possession_lost": 4.7985,
                "dispossessed": 0.508,
                "duels_lost": 2.1915,
                "aerial_lost": 0.8096,
                "total_contest": 1.1824,
                "won_contest": 0.9,
                "ball_recovery": 0.5816,
                "challenges_lost": 0.5823,
                "fouls": 0.2041,
                "fouls_drawn": 0.4135,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2041,
                "tackles_won": 0.0,
                "tackles": 0.1735,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1735,
                "big_chances_missed": 0.0,
                "xgot": 0.0743,
                "offsides": 0.0,
                "ball_carries": 4.811,
                "total_progression": 7.0341,
                "progressive_carries": 0.2041,
                "shots_off_target": 0.5845,
                "bench_appearance_probability": 0.587,
                "bench_expected_minutes": 25.92
              },
              "params": {
                "expected_minutes": 25.92,
                "projection_minutes": 28.88,
                "minutes_scale": 0.8974,
                "appearance_probability": 0.587
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1299,
                "goals": 0.128,
                "goal_rate": 0.128,
                "shots_on_target": 0.3652,
                "total_shots": 0.9497,
                "expected_assists": 0.0409,
                "key_pass": 0.3643,
                "rating": 6.728,
                "minutes": 25.92,
                "total_pass": 12.2819,
                "accurate_pass": 8.9461,
                "duels_won": 1.7271,
                "total_long_balls": 0.8216,
                "accurate_long_balls": 0.6176,
                "total_opp_half_passes": 9.9372,
                "accurate_opp_half_passes": 6.7749,
                "crosses_total": 0.2041,
                "crosses_accurate": 0.2041,
                "touches": 18.242,
                "possession_lost": 4.7985,
                "dispossessed": 0.508,
                "duels_lost": 2.1915,
                "aerial_lost": 0.8096,
                "total_contest": 1.1824,
                "won_contest": 0.9,
                "ball_recovery": 0.5816,
                "challenges_lost": 0.5823,
                "fouls": 0.2041,
                "fouls_drawn": 0.4135,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2041,
                "tackles_won": 0.0,
                "tackles": 0.1735,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1735,
                "big_chances_missed": 0.0,
                "xgot": 0.0743,
                "offsides": 0.0,
                "ball_carries": 4.811,
                "total_progression": 7.0341,
                "progressive_carries": 0.2041,
                "shots_off_target": 0.5845,
                "bench_appearance_probability": 0.587,
                "bench_expected_minutes": 25.92
              },
              "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.1299,
                "goal_rate": 0.128,
                "goals": 0,
                "shots_on_target": 0.3652,
                "total_shots": 0.9497,
                "expected_assists": 0.0409,
                "key_pass": 0.3643,
                "rating": 6.728,
                "minutes": 25.92,
                "total_pass": 12.2819,
                "accurate_pass": 8.9461,
                "duels_won": 1.7271,
                "total_long_balls": 0.8216,
                "accurate_long_balls": 0.6176,
                "total_opp_half_passes": 9.9372,
                "accurate_opp_half_passes": 6.7749,
                "crosses_total": 0.2041,
                "crosses_accurate": 0.2041,
                "touches": 18.242,
                "possession_lost": 4.7985,
                "dispossessed": 0.508,
                "duels_lost": 2.1915,
                "aerial_lost": 0.8096,
                "total_contest": 1.1824,
                "won_contest": 0.9,
                "ball_recovery": 0.5816,
                "challenges_lost": 0.5823,
                "fouls": 0.2041,
                "fouls_drawn": 0.4135,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2041,
                "tackles_won": 0.0,
                "tackles": 0.1735,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1735,
                "big_chances_missed": 0.0,
                "xgot": 0.0743,
                "offsides": 0.0,
                "ball_carries": 4.811,
                "total_progression": 7.0341,
                "progressive_carries": 0.2041,
                "shots_off_target": 0.5845,
                "bench_appearance_probability": 0.587,
                "bench_expected_minutes": 25.92,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.325,
                "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": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.15 (squad xG sum 1.3311, xG scale 1.6175, xA scale 1.6175, team xA 1.53 = 0.71 x lambda)",
              "stats": {
                "expected_goals": 0.1233,
                "goal_rate": 0.128,
                "goals": 0,
                "shots_on_target": 0.3652,
                "total_shots": 0.9497,
                "expected_assists": 0.0388,
                "key_pass": 0.3643,
                "rating": 6.728,
                "minutes": 25.92,
                "total_pass": 12.2819,
                "accurate_pass": 8.9461,
                "duels_won": 1.7271,
                "total_long_balls": 0.8216,
                "accurate_long_balls": 0.6176,
                "total_opp_half_passes": 9.9372,
                "accurate_opp_half_passes": 6.7749,
                "crosses_total": 0.2041,
                "crosses_accurate": 0.2041,
                "touches": 18.242,
                "possession_lost": 4.7985,
                "dispossessed": 0.508,
                "duels_lost": 2.1915,
                "aerial_lost": 0.8096,
                "total_contest": 1.1824,
                "won_contest": 0.9,
                "ball_recovery": 0.5816,
                "challenges_lost": 0.5823,
                "fouls": 0.2041,
                "fouls_drawn": 0.4135,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2041,
                "tackles_won": 0.0,
                "tackles": 0.1735,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1735,
                "big_chances_missed": 0.0,
                "xgot": 0.0705,
                "offsides": 0.0,
                "ball_carries": 4.811,
                "total_progression": 7.0341,
                "progressive_carries": 0.2041,
                "shots_off_target": 0.5845,
                "bench_appearance_probability": 0.587,
                "bench_expected_minutes": 25.92,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.325,
                "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.9894,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 2.153,
                "squad_xg_sum": 1.3311,
                "squad_xa_sum": 0.9447,
                "team_expected_assists": 1.528,
                "team_xa_to_xg_ratio": 0.7097,
                "bench_appearance_weighted": true,
                "xg_scale": 1.6175,
                "xa_scale": 1.6175,
                "opponent_lambda": 0.831,
                "scoreline_reset": true,
                "appearance_weight": 0.587
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1299,
                  "after": 0.1233
                }
              ]
            },
            {
              "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.1233,
                "goal_rate": 0.128,
                "goals": 0,
                "shots_on_target": 0.3652,
                "total_shots": 0.9497,
                "expected_assists": 0.0388,
                "key_pass": 0.3643,
                "rating": 6.728,
                "minutes": 25.92,
                "total_pass": 12.2819,
                "accurate_pass": 8.9461,
                "duels_won": 1.7271,
                "total_long_balls": 0.8216,
                "accurate_long_balls": 0.6176,
                "total_opp_half_passes": 9.9372,
                "accurate_opp_half_passes": 6.7749,
                "crosses_total": 0.2041,
                "crosses_accurate": 0.2041,
                "touches": 18.242,
                "possession_lost": 4.7985,
                "dispossessed": 0.508,
                "duels_lost": 2.1915,
                "aerial_lost": 0.8096,
                "total_contest": 1.1824,
                "won_contest": 0.9,
                "ball_recovery": 0.5816,
                "challenges_lost": 0.5823,
                "fouls": 0.2041,
                "fouls_drawn": 0.4135,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2041,
                "tackles_won": 0.0,
                "tackles": 0.1735,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1735,
                "big_chances_missed": 0.0,
                "xgot": 0.0705,
                "offsides": 0.0,
                "ball_carries": 4.811,
                "total_progression": 7.0341,
                "progressive_carries": 0.2041,
                "shots_off_target": 0.5845,
                "bench_appearance_probability": 0.587,
                "bench_expected_minutes": 25.92,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.325,
                "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.9894,
                "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",
                "ranking_status": "combined",
                "global_player_rank": 1878,
                "fifa_rank": 961.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.1233,
                "goal_rate": 0.128,
                "goals": 0,
                "shots_on_target": 0.3652,
                "total_shots": 0.9497,
                "expected_assists": 0.0388,
                "key_pass": 0.3643,
                "rating": 6.728,
                "minutes": 25.92,
                "total_pass": 12.2819,
                "accurate_pass": 8.9461,
                "duels_won": 1.7271,
                "total_long_balls": 0.8216,
                "accurate_long_balls": 0.6176,
                "total_opp_half_passes": 9.9372,
                "accurate_opp_half_passes": 6.7749,
                "crosses_total": 0.2041,
                "crosses_accurate": 0.2041,
                "touches": 18.242,
                "possession_lost": 4.7985,
                "dispossessed": 0.508,
                "duels_lost": 2.1915,
                "aerial_lost": 0.8096,
                "total_contest": 1.1824,
                "won_contest": 0.9,
                "ball_recovery": 0.5816,
                "challenges_lost": 0.5823,
                "fouls": 0.2041,
                "fouls_drawn": 0.4135,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2041,
                "tackles_won": 0.0,
                "tackles": 0.1735,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1735,
                "big_chances_missed": 0.0,
                "xgot": 0.0705,
                "offsides": 0.0,
                "ball_carries": 4.811,
                "total_progression": 7.0341,
                "progressive_carries": 0.2041,
                "shots_off_target": 0.5845,
                "bench_appearance_probability": 0.587,
                "bench_expected_minutes": 25.92,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.325,
                "projected_substitution_game_state_adjustment": -1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.1112,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9894,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.1112,
                "goal_rate": 0.128,
                "scorer_weight": 0.122,
                "squad_weight_total": 2.2809,
                "weight_share": 0.0535,
                "finishing_factor": 0.9894,
                "appearance_weight": 0.587,
                "weight_rank": 7,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.6492,
                    "already": 0,
                    "effective_weight": 0.6492,
                    "runner_up": "Troy Parrott",
                    "runner_up_effective_weight": 0.4679
                  },
                  {
                    "n": 2,
                    "player": "Troy Parrott",
                    "weight": 0.4679,
                    "already": 0,
                    "effective_weight": 0.4679,
                    "runner_up": "Antony",
                    "runner_up_effective_weight": 0.3665
                  }
                ]
              }
            },
            {
              "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.1233,
                "goal_rate": 0.128,
                "goals": 0,
                "shots_on_target": 0.3652,
                "total_shots": 0.9497,
                "expected_assists": 0.0388,
                "key_pass": 0.3643,
                "rating": 6.728,
                "minutes": 25.92,
                "total_pass": 12.2819,
                "accurate_pass": 8.9461,
                "duels_won": 1.7271,
                "total_long_balls": 0.8216,
                "accurate_long_balls": 0.6176,
                "total_opp_half_passes": 9.9372,
                "accurate_opp_half_passes": 6.7749,
                "crosses_total": 0.2041,
                "crosses_accurate": 0.2041,
                "touches": 18.242,
                "possession_lost": 4.7985,
                "dispossessed": 0.508,
                "duels_lost": 2.1915,
                "aerial_lost": 0.8096,
                "total_contest": 1.1824,
                "won_contest": 0.9,
                "ball_recovery": 0.5816,
                "challenges_lost": 0.5823,
                "fouls": 0.2041,
                "fouls_drawn": 0.4135,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2041,
                "tackles_won": 0.0,
                "tackles": 0.1735,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1735,
                "big_chances_missed": 0.0,
                "xgot": 0.0705,
                "offsides": 0.0,
                "ball_carries": 4.811,
                "total_progression": 7.0341,
                "progressive_carries": 0.2041,
                "shots_off_target": 0.5845,
                "bench_appearance_probability": 0.587,
                "bench_expected_minutes": 25.92,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.325,
                "projected_substitution_game_state_adjustment": -1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.1112,
                "projected_assists": 0,
                "assist_probability": 0.0375,
                "finishing_factor": 0.9894,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0375,
                "assist_rate": 0.0,
                "provider_weight": 0.031,
                "squad_weight_total": 1.2992,
                "weight_share": 0.0239,
                "creation_factor": 0.8,
                "appearance_weight": 0.587,
                "weight_rank": 10,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.25,
                    "already": 0,
                    "effective_weight": 0.25,
                    "runner_up": "Pablo Fornals",
                    "runner_up_effective_weight": 0.2333
                  }
                ]
              }
            }
          ]
        },
        "Rodrigo Riquelme": {
          "player_id": 989113,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 17,
          "height": 174,
          "market_value": 4300000,
          "stats": {
            "expected_goals": 0.0597,
            "goal_rate": 0.0503,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0479,
            "key_pass": 1,
            "rating": 6.6211,
            "minutes": 25,
            "total_pass": 9,
            "accurate_pass": 7,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 6,
            "accurate_opp_half_passes": 4,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 15,
            "possession_lost": 4.0171,
            "dispossessed": 0.6764,
            "duels_lost": 3,
            "aerial_lost": 0,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 1,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.14,
            "offsides": 0,
            "ball_carries": 5,
            "total_progression": 27,
            "progressive_carries": 1,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.335,
            "bench_expected_minutes": 25.36,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.325,
            "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": 83.0
          },
          "latest_10_games": [
            {
              "match_id": 16421068,
              "match_date": "2026-10-17",
              "home_team": "Real Betis",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 26,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.025,
                "total_shots": 0,
                "total_pass": 10,
                "accurate_pass": 8,
                "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": 16421054,
              "match_date": "2026-10-11",
              "home_team": "Real Betis",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 73,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.1672,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 18,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "duels_won": 5,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416313,
              "match_date": "2026-09-20",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 11,
                "rating": 6.3,
                "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": 16416336,
              "match_date": "2026-09-17",
              "home_team": "Real Betis",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Getafe",
              "stats": {
                "minutes": 18,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1237,
                "expected_assists": 0.0514,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 8,
                "accurate_pass": 7,
                "key_pass": 1,
                "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": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 67,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1264,
                "expected_assists": 0.0452,
                "total_shots": 2,
                "total_pass": 15,
                "accurate_pass": 10,
                "key_pass": 1,
                "interceptions": 1,
                "clearances": 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": 16416315,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 13,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0161,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 4,
                "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": 16416309,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 67,
                "rating": 7.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.7508,
                "expected_assists": 0.0856,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 36,
                "accurate_pass": 32,
                "key_pass": 1,
                "tackles": 2,
                "interceptions": 3,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421049,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 59,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0433,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 16,
                "key_pass": 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": 16416293,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 73,
                "rating": 8.0,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0849,
                "expected_assists": 0.0963,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 31,
                "accurate_pass": 25,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "duels_won": 8
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083666,
              "match_date": "2026-05-17",
              "home_team": "FC Barcelona",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 11,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0023,
                "total_shots": 0,
                "total_pass": 2,
                "accurate_pass": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 224,
            "combined_rank_score": 220.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 167.0,
            "sofascore_rating": 7.2667,
            "sofascore_appearances": 3.0,
            "fifa_rank": 274.0,
            "fifa_overall": 83.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6211,
            "source_file": "data/player_rankings.csv",
            "player_name": "Rodrigo Riquelme",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Javohir Ilyosov",
                  "ranking": 219
                },
                {
                  "player_name": "Trent Alexander-Arnold",
                  "ranking": 220
                },
                {
                  "player_name": "Pedro Porro",
                  "ranking": 221
                },
                {
                  "player_name": "Rodrigo Garro",
                  "ranking": 222
                },
                {
                  "player_name": "Ylyas Chouaref",
                  "ranking": 223
                }
              ],
              "lower": [
                {
                  "player_name": "Luis Chávez",
                  "ranking": 225
                },
                {
                  "player_name": "Julio González",
                  "ranking": 226
                },
                {
                  "player_name": "Gabriel Magalhães",
                  "ranking": 227
                },
                {
                  "player_name": "Ikram Alibaev",
                  "ranking": 228
                },
                {
                  "player_name": "Roger Brugué",
                  "ranking": 229
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.772,
          "history_matches": 34,
          "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": 34,
            "data_confidence": 0.772,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 25.356033856478426,
            "bench_appearance_prob": 0.335,
            "market_value_adjustment": 0.998,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "sub_appearances": 0.0,
              "goals_per90": 0.9090909090909091,
              "assists_per90": 0.0,
              "prior_reliability": 0.1467
            },
            "rationale": "Bench projection scaled from XGBoost F_service (34 historical appearances) to 25.4 expected mins (appearance prob 0.34); FBref playing time empirical prior: 0.0 sub appearances, 0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.0484,
                "goals": 0.0387,
                "goal_rate": 0.0387,
                "shots_on_target": 0.1801,
                "total_shots": 0.5216,
                "expected_assists": 0.0389,
                "key_pass": 0.4234,
                "rating": 6.6211,
                "minutes": 20.52,
                "total_pass": 7.1597,
                "accurate_pass": 5.8753,
                "duels_won": 1.1862,
                "total_long_balls": 0.3607,
                "accurate_long_balls": 0.1277,
                "total_opp_half_passes": 4.678,
                "accurate_opp_half_passes": 3.5537,
                "crosses_total": 0.5193,
                "crosses_accurate": 0.2526,
                "touches": 11.9973,
                "possession_lost": 3.2574,
                "dispossessed": 0.6778,
                "duels_lost": 2.3323,
                "aerial_lost": 0.4936,
                "total_contest": 1.0451,
                "won_contest": 0.4539,
                "ball_recovery": 1.5575,
                "challenges_lost": 0.3609,
                "fouls": 0.2591,
                "fouls_drawn": 0.253,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0852,
                "tackles_won": 0.2614,
                "tackles": 0.4625,
                "clearances": 0.1324,
                "blocks": 0.0,
                "big_chances_created": 0.1168,
                "big_chances_missed": 0.0413,
                "xgot": 0.1135,
                "offsides": 0.0685,
                "ball_carries": 3.8068,
                "total_progression": 21.7025,
                "progressive_carries": 0.6617,
                "shots_off_target": 0.3415
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:30:56.271646+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 610,
                    "rows": 17075
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-17",
                    "opponent": "FC Barcelona",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.1506,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Osasuna",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.128,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.1088,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Getafe",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.0925,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Villarreal",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.0786,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.0668,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.0568,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 59.0,
                    "is_starting": true,
                    "weight": 0.0483,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.041,
                    "rating": 8.0
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "FC Barcelona",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.0349,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "accurateOppositionHalfPasses": 7.1407,
                  "expectedGoals": 0.0823,
                  "totalOppositionHalfPasses": 8.6371,
                  "accuratePass": 10.6691,
                  "totalShots": 0.6592
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.04840786010026932,
                    "model_output": 0.0484,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0898
                      },
                      {
                        "name": "goals",
                        "importance": 0.0323
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0236
                      }
                    ],
                    "decomposition": {
                      "base": 0.1945,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0937
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0149
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0057
                        },
                        {
                          "name": "pass_accuracy",
                          "contribution": -0.0038
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0032
                        }
                      ],
                      "others": -0.0248,
                      "total": 0.0484,
                      "log_link": true,
                      "margin_base": -1.637486,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.65761
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.159548
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.06896
                        },
                        {
                          "name": "pass_accuracy",
                          "margin": -0.048903
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.04331
                        }
                      ],
                      "others_margin": -0.412277
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.03871091455221176,
                    "model_output": 0.0387,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.144
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0742
                      },
                      {
                        "name": "goals",
                        "importance": 0.053
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1053
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0123
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0092
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0073
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0031
                        }
                      ],
                      "others": -0.0231,
                      "total": 0.0387,
                      "log_link": true,
                      "margin_base": -1.614663,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.753775
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.140249
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.120514
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.106221
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.049727
                        }
                      ],
                      "others_margin": -0.466484
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.18012578785419464,
                    "model_output": 0.1801,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2115
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.066
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0499
                      },
                      {
                        "name": "goals",
                        "importance": 0.0473
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 0.5305,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.237
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0348
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0124
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0117
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0097
                        }
                      ],
                      "others": -0.0448,
                      "total": 0.1801,
                      "log_link": true,
                      "margin_base": -0.633985,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.59184
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.126282
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.04922
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.048819
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.042191
                        }
                      ],
                      "others_margin": -0.221763
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5216214060783386,
                    "model_output": 0.5216,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2934
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0662
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.05
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0272
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.027
                      }
                    ],
                    "decomposition": {
                      "base": 1.3805,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4729
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1314
                        },
                        {
                          "name": "totalShots_p90",
                          "contribution": -0.0362
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0337
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0282
                        }
                      ],
                      "others": -0.1565,
                      "total": 0.5216,
                      "log_link": false,
                      "margin_base": 1.38048,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.472924
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.131351
                        },
                        {
                          "name": "totalShots_p90",
                          "margin": -0.036233
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.033736
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.028205
                        }
                      ],
                      "others_margin": -0.156409
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.038866475224494934,
                    "model_output": 0.0389,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1135
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0826
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0722
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0587
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0552
                      }
                    ],
                    "decomposition": {
                      "base": 0.0647,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0197
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0024
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0019
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0018
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0017
                        }
                      ],
                      "others": -0.0017,
                      "total": 0.0389,
                      "log_link": true,
                      "margin_base": -2.738275,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.362495
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.055073
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.046038
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.044856
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.041887
                        }
                      ],
                      "others_margin": -0.042773
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.4233763515949249,
                    "model_output": 0.4234,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1545
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.1071
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0923
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0893
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0298
                      }
                    ],
                    "decomposition": {
                      "base": 0.6939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2407
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0243
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0188
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0162
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0153
                        }
                      ],
                      "others": 0.0072,
                      "total": 0.4234,
                      "log_link": true,
                      "margin_base": -0.365451,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.425972
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.05508
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.042933
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.036867
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.036119
                        }
                      ],
                      "others_margin": 0.017062
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.621149063110352,
                    "model_output": 6.6211,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0529
                      },
                      {
                        "name": "rating",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.044
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0417
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0371
                      }
                    ],
                    "decomposition": {
                      "base": 6.7735,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0682
                        },
                        {
                          "name": "rating",
                          "contribution": -0.01
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0091
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0075
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0064
                        }
                      ],
                      "others": -0.0512,
                      "total": 6.6211,
                      "log_link": false,
                      "margin_base": 6.773504,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.068177
                        },
                        {
                          "name": "rating",
                          "margin": -0.010047
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.009051
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.007517
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.006367
                        }
                      ],
                      "others_margin": -0.051197
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 34,
                  "role_matches": 22,
                  "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.9980, quality 0.454)",
              "stats": {
                "expected_goals": 0.0483,
                "goals": 0.0386,
                "goal_rate": 0.0386,
                "shots_on_target": 0.1798,
                "total_shots": 0.5206,
                "expected_assists": 0.0388,
                "key_pass": 0.4225,
                "rating": 6.6211,
                "minutes": 20.52,
                "total_pass": 7.1454,
                "accurate_pass": 5.8635,
                "duels_won": 1.1838,
                "total_long_balls": 0.36,
                "accurate_long_balls": 0.1274,
                "total_opp_half_passes": 4.6686,
                "accurate_opp_half_passes": 3.5466,
                "crosses_total": 0.5183,
                "crosses_accurate": 0.2521,
                "touches": 11.9733,
                "possession_lost": 3.2509,
                "dispossessed": 0.6764,
                "duels_lost": 2.3276,
                "aerial_lost": 0.4926,
                "total_contest": 1.043,
                "won_contest": 0.453,
                "ball_recovery": 1.5544,
                "challenges_lost": 0.3602,
                "fouls": 0.2586,
                "fouls_drawn": 0.2525,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.085,
                "tackles_won": 0.2609,
                "tackles": 0.4616,
                "clearances": 0.1321,
                "blocks": 0.0,
                "big_chances_created": 0.1166,
                "big_chances_missed": 0.0412,
                "xgot": 0.1133,
                "offsides": 0.0684,
                "ball_carries": 3.7992,
                "total_progression": 21.6591,
                "progressive_carries": 0.6604,
                "shots_off_target": 0.3408
              },
              "params": {
                "market_value_eur": 4300000,
                "quality_factor": 0.4535,
                "boost_factor": 0.998,
                "reference_quality": 0.505,
                "history_matches": 34,
                "history_shrink": 0.1282,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0122)",
              "stats": {
                "expected_goals": 0.0483,
                "goals": 0.0407,
                "goal_rate": 0.0407,
                "shots_on_target": 0.1814,
                "total_shots": 0.5194,
                "expected_assists": 0.0388,
                "key_pass": 0.4225,
                "rating": 6.6211,
                "minutes": 20.52,
                "total_pass": 7.1454,
                "accurate_pass": 5.8635,
                "duels_won": 1.1838,
                "total_long_balls": 0.36,
                "accurate_long_balls": 0.1274,
                "total_opp_half_passes": 4.6686,
                "accurate_opp_half_passes": 3.5466,
                "crosses_total": 0.5234,
                "crosses_accurate": 0.2521,
                "touches": 11.9733,
                "possession_lost": 3.2509,
                "dispossessed": 0.6764,
                "duels_lost": 2.3276,
                "aerial_lost": 0.4926,
                "total_contest": 1.043,
                "won_contest": 0.453,
                "ball_recovery": 1.5544,
                "challenges_lost": 0.3602,
                "fouls": 0.258,
                "fouls_drawn": 0.257,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0903,
                "tackles_won": 0.259,
                "tackles": 0.4616,
                "clearances": 0.1321,
                "blocks": 0.0,
                "big_chances_created": 0.1166,
                "big_chances_missed": 0.0412,
                "xgot": 0.1133,
                "offsides": 0.0676,
                "ball_carries": 3.7992,
                "total_progression": 21.6591,
                "progressive_carries": 0.6604,
                "shots_off_target": 0.3408
              },
              "params": {
                "blend_weight": 0.0122,
                "history_matches": 34,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.228,
                "prior_reliability": 0.1467,
                "competition": "La Liga",
                "squad": "Real Betis"
              },
              "changes": [
                {
                  "stat": "interceptionWon",
                  "before": 0.085,
                  "after": 0.0903
                },
                {
                  "stat": "totalCross",
                  "before": 0.5183,
                  "after": 0.5234
                }
              ]
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 20.5 to 25.4 expected minutes (appearance prob 0.34)",
              "stats": {
                "expected_goals": 0.0597,
                "goals": 0.0503,
                "goal_rate": 0.0503,
                "shots_on_target": 0.2242,
                "total_shots": 0.6453,
                "expected_assists": 0.0479,
                "key_pass": 0.5221,
                "rating": 6.6211,
                "minutes": 25.36,
                "total_pass": 8.8294,
                "accurate_pass": 7.2454,
                "duels_won": 1.4628,
                "total_long_balls": 0.4448,
                "accurate_long_balls": 0.1574,
                "total_opp_half_passes": 5.7689,
                "accurate_opp_half_passes": 4.3824,
                "crosses_total": 0.6468,
                "crosses_accurate": 0.3115,
                "touches": 14.7951,
                "possession_lost": 4.0171,
                "dispossessed": 0.6764,
                "duels_lost": 2.8762,
                "aerial_lost": 0.4926,
                "total_contest": 1.2888,
                "won_contest": 0.5598,
                "ball_recovery": 1.9207,
                "challenges_lost": 0.3602,
                "fouls": 0.3188,
                "fouls_drawn": 0.3176,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1116,
                "tackles_won": 0.32,
                "tackles": 0.5704,
                "clearances": 0.1632,
                "blocks": 0.0,
                "big_chances_created": 0.1441,
                "big_chances_missed": 0.0509,
                "xgot": 0.14,
                "offsides": 0.0676,
                "ball_carries": 4.6946,
                "total_progression": 26.7636,
                "progressive_carries": 0.816,
                "shots_off_target": 0.4211,
                "bench_appearance_probability": 0.335,
                "bench_expected_minutes": 25.36
              },
              "params": {
                "expected_minutes": 25.36,
                "projection_minutes": 20.52,
                "minutes_scale": 1.2357,
                "appearance_probability": 0.335
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0597,
                "goals": 0.0503,
                "goal_rate": 0.0503,
                "shots_on_target": 0.2242,
                "total_shots": 0.6453,
                "expected_assists": 0.0479,
                "key_pass": 0.5221,
                "rating": 6.6211,
                "minutes": 25.36,
                "total_pass": 8.8294,
                "accurate_pass": 7.2454,
                "duels_won": 1.4628,
                "total_long_balls": 0.4448,
                "accurate_long_balls": 0.1574,
                "total_opp_half_passes": 5.7689,
                "accurate_opp_half_passes": 4.3824,
                "crosses_total": 0.6468,
                "crosses_accurate": 0.3115,
                "touches": 14.7951,
                "possession_lost": 4.0171,
                "dispossessed": 0.6764,
                "duels_lost": 2.8762,
                "aerial_lost": 0.4926,
                "total_contest": 1.2888,
                "won_contest": 0.5598,
                "ball_recovery": 1.9207,
                "challenges_lost": 0.3602,
                "fouls": 0.3188,
                "fouls_drawn": 0.3176,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1116,
                "tackles_won": 0.32,
                "tackles": 0.5704,
                "clearances": 0.1632,
                "blocks": 0.0,
                "big_chances_created": 0.1441,
                "big_chances_missed": 0.0509,
                "xgot": 0.14,
                "offsides": 0.0676,
                "ball_carries": 4.6946,
                "total_progression": 26.7636,
                "progressive_carries": 0.816,
                "shots_off_target": 0.4211,
                "bench_appearance_probability": 0.335,
                "bench_expected_minutes": 25.36
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "not_projected_to_play",
              "description": "Not among the projected substitutes: no share of the team's goals or assists",
              "stats": {
                "expected_goals": 0.0597,
                "goal_rate": 0.0503,
                "goals": 0,
                "shots_on_target": 0.2242,
                "total_shots": 0.6453,
                "expected_assists": 0.0479,
                "key_pass": 0.5221,
                "rating": 6.6211,
                "minutes": 25.36,
                "total_pass": 8.8294,
                "accurate_pass": 7.2454,
                "duels_won": 1.4628,
                "total_long_balls": 0.4448,
                "accurate_long_balls": 0.1574,
                "total_opp_half_passes": 5.7689,
                "accurate_opp_half_passes": 4.3824,
                "crosses_total": 0.6468,
                "crosses_accurate": 0.3115,
                "touches": 14.7951,
                "possession_lost": 4.0171,
                "dispossessed": 0.6764,
                "duels_lost": 2.8762,
                "aerial_lost": 0.4926,
                "total_contest": 1.2888,
                "won_contest": 0.5598,
                "ball_recovery": 1.9207,
                "challenges_lost": 0.3602,
                "fouls": 0.3188,
                "fouls_drawn": 0.3176,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1116,
                "tackles_won": 0.32,
                "tackles": 0.5704,
                "clearances": 0.1632,
                "blocks": 0.0,
                "big_chances_created": 0.1441,
                "big_chances_missed": 0.0509,
                "xgot": 0.14,
                "offsides": 0.0676,
                "ball_carries": 4.6946,
                "total_progression": 26.7636,
                "progressive_carries": 0.816,
                "shots_off_target": 0.4211,
                "bench_appearance_probability": 0.335,
                "bench_expected_minutes": 25.36,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.325,
                "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.335,
                "projected_substitutes": 2,
                "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 83.0)",
              "stats": {
                "expected_goals": 0.0597,
                "goal_rate": 0.0503,
                "goals": 0,
                "shots_on_target": 0.2242,
                "total_shots": 0.6453,
                "expected_assists": 0.0479,
                "key_pass": 0.5221,
                "rating": 6.6211,
                "minutes": 25.36,
                "total_pass": 8.8294,
                "accurate_pass": 7.2454,
                "duels_won": 1.4628,
                "total_long_balls": 0.4448,
                "accurate_long_balls": 0.1574,
                "total_opp_half_passes": 5.7689,
                "accurate_opp_half_passes": 4.3824,
                "crosses_total": 0.6468,
                "crosses_accurate": 0.3115,
                "touches": 14.7951,
                "possession_lost": 4.0171,
                "dispossessed": 0.6764,
                "duels_lost": 2.8762,
                "aerial_lost": 0.4926,
                "total_contest": 1.2888,
                "won_contest": 0.5598,
                "ball_recovery": 1.9207,
                "challenges_lost": 0.3602,
                "fouls": 0.3188,
                "fouls_drawn": 0.3176,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1116,
                "tackles_won": 0.32,
                "tackles": 0.5704,
                "clearances": 0.1632,
                "blocks": 0.0,
                "big_chances_created": 0.1441,
                "big_chances_missed": 0.0509,
                "xgot": 0.14,
                "offsides": 0.0676,
                "ball_carries": 4.6946,
                "total_progression": 26.7636,
                "progressive_carries": 0.816,
                "shots_off_target": 0.4211,
                "bench_appearance_probability": 0.335,
                "bench_expected_minutes": 25.36,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.325,
                "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": 83.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": 224,
                "fifa_rank": 274.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 83.0
              }
            }
          ]
        }
      },
      "substitutes": {
        "Cucho Hernández": {
          "player_id": 887055,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 9,
          "height": 175,
          "market_value": 16500000,
          "stats": {
            "expected_goals": 0.1233,
            "goal_rate": 0.128,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0388,
            "key_pass": 0,
            "rating": 6.728,
            "minutes": 26,
            "total_pass": 12,
            "accurate_pass": 9,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 10,
            "accurate_opp_half_passes": 7,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 18,
            "possession_lost": 4.7985,
            "dispossessed": 0.508,
            "duels_lost": 2,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 1,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0705,
            "offsides": 0,
            "ball_carries": 5,
            "total_progression": 7,
            "progressive_carries": 0,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.587,
            "bench_expected_minutes": 25.92,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.325,
            "projected_substitution_game_state_adjustment": -1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.1112,
            "projected_assists": 0,
            "assist_probability": 0.0375,
            "finishing_factor": 0.9894,
            "creation_factor": 0.8,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16421068,
              "match_date": "2026-10-17",
              "home_team": "Real Betis",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 64,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2198,
                "expected_assists": 0.0067,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 14,
                "accurate_pass": 9,
                "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": 16421054,
              "match_date": "2026-10-11",
              "home_team": "Real Betis",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 81,
                "rating": 7.0,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.1141,
                "expected_assists": 0.1814,
                "total_shots": 3,
                "shots_off_target": 1,
                "total_pass": 24,
                "accurate_pass": 20,
                "key_pass": 3,
                "tackles": 1,
                "tackles_won": 1,
                "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": 16416313,
              "match_date": "2026-09-20",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 7.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.3739,
                "expected_assists": 0.0129,
                "total_shots": 5,
                "shots_on_target": 2,
                "total_pass": 26,
                "accurate_pass": 21,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 4,
                "duels_won": 6,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416336,
              "match_date": "2026-09-17",
              "home_team": "Real Betis",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Getafe",
              "stats": {
                "minutes": 18,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0282,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 8,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 84,
                "rating": 6.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.7169,
                "expected_assists": 0.0456,
                "total_shots": 4,
                "shots_on_target": 3,
                "shots_off_target": 1,
                "total_pass": 21,
                "accurate_pass": 15,
                "key_pass": 1,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416315,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 68,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0332,
                "expected_assists": 0.0401,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 13,
                "accurate_pass": 8,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416309,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 33,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0191,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 12,
                "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": 16421049,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 71,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0441,
                "total_shots": 0,
                "total_pass": 16,
                "accurate_pass": 11,
                "key_pass": 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": 16416293,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 80,
                "rating": 6.8,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.1215,
                "expected_assists": 0.1305,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 19,
                "accurate_pass": 14,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 6,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 14083710,
              "match_date": "2026-05-23",
              "home_team": "Real Betis",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1823,
                "expected_assists": 0.0202,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 15,
                "accurate_pass": 12,
                "key_pass": 1,
                "tackles": 1,
                "clearances": 1,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 1878,
            "combined_rank_score": 727.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 493.0,
            "sofascore_rating": 6.8625,
            "sofascore_appearances": 32.0,
            "fifa_rank": 961.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.728,
            "source_file": "data/player_rankings.csv",
            "player_name": "Cucho Hernández",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Calebe Gonçalves",
                  "ranking": 1873
                },
                {
                  "player_name": "Jack Hinshelwood",
                  "ranking": 1874
                },
                {
                  "player_name": "David Retamal",
                  "ranking": 1875
                },
                {
                  "player_name": "Xaver Schlager",
                  "ranking": 1876
                },
                {
                  "player_name": "Fernando Muslera",
                  "ranking": 1877
                }
              ],
              "lower": [
                {
                  "player_name": "Evanilson",
                  "ranking": 1879
                },
                {
                  "player_name": "Vanja Milinković-Savić",
                  "ranking": 1880
                },
                {
                  "player_name": "Abdülkerim Bardakcı",
                  "ranking": 1881
                },
                {
                  "player_name": "Mauro Arambarri",
                  "ranking": 1882
                },
                {
                  "player_name": "Kim Hyeon-Jun",
                  "ranking": 1883
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 41,
          "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": 41,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.91737481061636,
            "bench_appearance_prob": 0.5871534004825618,
            "market_value_adjustment": 1.0029,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (41 historical appearances) to 25.9 expected mins (appearance prob 0.59)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1443,
                "goals": 0.1422,
                "goal_rate": 0.1422,
                "shots_on_target": 0.4057,
                "total_shots": 1.0551,
                "expected_assists": 0.0454,
                "key_pass": 0.4047,
                "rating": 6.728,
                "minutes": 28.88,
                "total_pass": 13.6462,
                "accurate_pass": 9.9399,
                "duels_won": 1.9189,
                "total_long_balls": 0.9129,
                "accurate_long_balls": 0.6862,
                "total_opp_half_passes": 11.0411,
                "accurate_opp_half_passes": 7.5275,
                "crosses_total": 0.2267,
                "crosses_accurate": 0.2267,
                "touches": 20.2685,
                "possession_lost": 5.3315,
                "dispossessed": 0.5065,
                "duels_lost": 2.4349,
                "aerial_lost": 0.8073,
                "total_contest": 1.3138,
                "won_contest": 1.0,
                "ball_recovery": 0.6462,
                "challenges_lost": 0.5806,
                "fouls": 0.2267,
                "fouls_drawn": 0.4595,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2267,
                "tackles_won": 0.0,
                "tackles": 0.1927,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1927,
                "big_chances_missed": 0.0,
                "xgot": 0.0826,
                "offsides": 0.0,
                "ball_carries": 5.3454,
                "total_progression": 7.8155,
                "progressive_carries": 0.2267,
                "shots_off_target": 0.6494
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:30:56.271646+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 610,
                    "rows": 17075
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-17",
                    "opponent": "FC Barcelona",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.1502,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Osasuna",
                    "minutes": 81.0,
                    "is_starting": true,
                    "weight": 0.1277,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1085,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Getafe",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.0922,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Villarreal",
                    "minutes": 84.0,
                    "is_starting": true,
                    "weight": 0.0784,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.0666,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 33.0,
                    "is_starting": false,
                    "weight": 0.0566,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 71.0,
                    "is_starting": true,
                    "weight": 0.0481,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.0409,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0348,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "accurateOppositionHalfPasses": 8.668,
                  "expectedGoals": 0.3156,
                  "totalOppositionHalfPasses": 12.5428,
                  "accuratePass": 13.5989,
                  "totalShots": 2.2006
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.14426064491271973,
                    "model_output": 0.1443,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0898
                      },
                      {
                        "name": "goals",
                        "importance": 0.0323
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0236
                      }
                    ],
                    "decomposition": {
                      "base": 0.1945,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0871
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0174
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0059
                        },
                        {
                          "name": "goals",
                          "contribution": 0.006
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0047
                        }
                      ],
                      "others": 0.0029,
                      "total": 0.1443,
                      "log_link": true,
                      "margin_base": -1.637486,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.593652
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.149933
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.046286
                        },
                        {
                          "name": "goals",
                          "margin": 0.045057
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.033547
                        }
                      ],
                      "others_margin": 0.020181
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.14222058653831482,
                    "model_output": 0.1422,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.144
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0742
                      },
                      {
                        "name": "goals",
                        "importance": 0.053
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0908
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0148
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0076
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0056
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.0053
                        }
                      ],
                      "others": 0.0159,
                      "total": 0.1422,
                      "log_link": true,
                      "margin_base": -1.614663,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.60933
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.128248
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.063457
                        },
                        {
                          "name": "goals",
                          "margin": 0.047034
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.04283
                        }
                      ],
                      "others_margin": 0.118962
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.4056898355484009,
                    "model_output": 0.4057,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2115
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.066
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0499
                      },
                      {
                        "name": "goals",
                        "importance": 0.0473
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 0.5305,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2141
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.043
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0244
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0194
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0141
                        }
                      ],
                      "others": 0.0166,
                      "total": 0.4057,
                      "log_link": true,
                      "margin_base": -0.633985,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.51695
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.127522
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.065779
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.049341
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.035698
                        }
                      ],
                      "others_margin": 0.041824
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0551090240478516,
                    "model_output": 1.0551,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2934
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0662
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.05
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0272
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.027
                      }
                    ],
                    "decomposition": {
                      "base": 1.3805,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5857
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1785
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0514
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0397
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0281
                        }
                      ],
                      "others": 0.0188,
                      "total": 1.0551,
                      "log_link": false,
                      "margin_base": 1.38048,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.585691
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.178516
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.051418
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.039664
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.028135
                        }
                      ],
                      "others_margin": 0.018858
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.04544723778963089,
                    "model_output": 0.0454,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1135
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0826
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0722
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0587
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0552
                      }
                    ],
                    "decomposition": {
                      "base": 0.0647,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0165
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0059
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0034
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0022
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": 0.0022
                        }
                      ],
                      "others": -0.0053,
                      "total": 0.0454,
                      "log_link": true,
                      "margin_base": -2.738275,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.294683
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.115924
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.065306
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.045145
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": 0.043503
                        }
                      ],
                      "others_margin": -0.107222
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.40471890568733215,
                    "model_output": 0.4047,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1545
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.1071
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0923
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0893
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0298
                      }
                    ],
                    "decomposition": {
                      "base": 0.6939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2574
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0194
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0149
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0136
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0115
                        }
                      ],
                      "others": 0.0046,
                      "total": 0.4047,
                      "log_link": true,
                      "margin_base": -0.365451,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.463559
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.045428
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.036329
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.034346
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.029255
                        }
                      ],
                      "others_margin": 0.011298
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.727969169616699,
                    "model_output": 6.728,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0529
                      },
                      {
                        "name": "rating",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.044
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0417
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0371
                      }
                    ],
                    "decomposition": {
                      "base": 6.7735,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0725
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0205
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0091
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0086
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0082
                        }
                      ],
                      "others": 0.0142,
                      "total": 6.728,
                      "log_link": false,
                      "margin_base": 6.773504,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.072525
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.020532
                        },
                        {
                          "name": "rating",
                          "margin": 0.009061
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.008599
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.008166
                        }
                      ],
                      "others_margin": 0.014161
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 41,
                  "role_matches": 4,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0029, quality 0.595)",
              "stats": {
                "expected_goals": 0.1447,
                "goals": 0.1426,
                "goal_rate": 0.1426,
                "shots_on_target": 0.4069,
                "total_shots": 1.0582,
                "expected_assists": 0.0456,
                "key_pass": 0.4059,
                "rating": 6.728,
                "minutes": 28.88,
                "total_pass": 13.6858,
                "accurate_pass": 9.9687,
                "duels_won": 1.9245,
                "total_long_balls": 0.9155,
                "accurate_long_balls": 0.6882,
                "total_opp_half_passes": 11.0731,
                "accurate_opp_half_passes": 7.5493,
                "crosses_total": 0.2274,
                "crosses_accurate": 0.2274,
                "touches": 20.3273,
                "possession_lost": 5.347,
                "dispossessed": 0.508,
                "duels_lost": 2.442,
                "aerial_lost": 0.8096,
                "total_contest": 1.3176,
                "won_contest": 1.0029,
                "ball_recovery": 0.6481,
                "challenges_lost": 0.5823,
                "fouls": 0.2274,
                "fouls_drawn": 0.4608,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2274,
                "tackles_won": 0.0,
                "tackles": 0.1933,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1933,
                "big_chances_missed": 0.0,
                "xgot": 0.0828,
                "offsides": 0.0,
                "ball_carries": 5.3609,
                "total_progression": 7.8382,
                "progressive_carries": 0.2274,
                "shots_off_target": 0.6513
              },
              "params": {
                "market_value_eur": 16500000,
                "quality_factor": 0.5953,
                "boost_factor": 1.0029,
                "reference_quality": 0.505,
                "history_matches": 41,
                "history_shrink": 0.1087,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 28.9 to 25.9 expected minutes (appearance prob 0.59)",
              "stats": {
                "expected_goals": 0.1299,
                "goals": 0.128,
                "goal_rate": 0.128,
                "shots_on_target": 0.3652,
                "total_shots": 0.9497,
                "expected_assists": 0.0409,
                "key_pass": 0.3643,
                "rating": 6.728,
                "minutes": 25.92,
                "total_pass": 12.2819,
                "accurate_pass": 8.9461,
                "duels_won": 1.7271,
                "total_long_balls": 0.8216,
                "accurate_long_balls": 0.6176,
                "total_opp_half_passes": 9.9372,
                "accurate_opp_half_passes": 6.7749,
                "crosses_total": 0.2041,
                "crosses_accurate": 0.2041,
                "touches": 18.242,
                "possession_lost": 4.7985,
                "dispossessed": 0.508,
                "duels_lost": 2.1915,
                "aerial_lost": 0.8096,
                "total_contest": 1.1824,
                "won_contest": 0.9,
                "ball_recovery": 0.5816,
                "challenges_lost": 0.5823,
                "fouls": 0.2041,
                "fouls_drawn": 0.4135,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2041,
                "tackles_won": 0.0,
                "tackles": 0.1735,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1735,
                "big_chances_missed": 0.0,
                "xgot": 0.0743,
                "offsides": 0.0,
                "ball_carries": 4.811,
                "total_progression": 7.0341,
                "progressive_carries": 0.2041,
                "shots_off_target": 0.5845,
                "bench_appearance_probability": 0.587,
                "bench_expected_minutes": 25.92
              },
              "params": {
                "expected_minutes": 25.92,
                "projection_minutes": 28.88,
                "minutes_scale": 0.8974,
                "appearance_probability": 0.587
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1299,
                "goals": 0.128,
                "goal_rate": 0.128,
                "shots_on_target": 0.3652,
                "total_shots": 0.9497,
                "expected_assists": 0.0409,
                "key_pass": 0.3643,
                "rating": 6.728,
                "minutes": 25.92,
                "total_pass": 12.2819,
                "accurate_pass": 8.9461,
                "duels_won": 1.7271,
                "total_long_balls": 0.8216,
                "accurate_long_balls": 0.6176,
                "total_opp_half_passes": 9.9372,
                "accurate_opp_half_passes": 6.7749,
                "crosses_total": 0.2041,
                "crosses_accurate": 0.2041,
                "touches": 18.242,
                "possession_lost": 4.7985,
                "dispossessed": 0.508,
                "duels_lost": 2.1915,
                "aerial_lost": 0.8096,
                "total_contest": 1.1824,
                "won_contest": 0.9,
                "ball_recovery": 0.5816,
                "challenges_lost": 0.5823,
                "fouls": 0.2041,
                "fouls_drawn": 0.4135,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2041,
                "tackles_won": 0.0,
                "tackles": 0.1735,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1735,
                "big_chances_missed": 0.0,
                "xgot": 0.0743,
                "offsides": 0.0,
                "ball_carries": 4.811,
                "total_progression": 7.0341,
                "progressive_carries": 0.2041,
                "shots_off_target": 0.5845,
                "bench_appearance_probability": 0.587,
                "bench_expected_minutes": 25.92
              },
              "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.1299,
                "goal_rate": 0.128,
                "goals": 0,
                "shots_on_target": 0.3652,
                "total_shots": 0.9497,
                "expected_assists": 0.0409,
                "key_pass": 0.3643,
                "rating": 6.728,
                "minutes": 25.92,
                "total_pass": 12.2819,
                "accurate_pass": 8.9461,
                "duels_won": 1.7271,
                "total_long_balls": 0.8216,
                "accurate_long_balls": 0.6176,
                "total_opp_half_passes": 9.9372,
                "accurate_opp_half_passes": 6.7749,
                "crosses_total": 0.2041,
                "crosses_accurate": 0.2041,
                "touches": 18.242,
                "possession_lost": 4.7985,
                "dispossessed": 0.508,
                "duels_lost": 2.1915,
                "aerial_lost": 0.8096,
                "total_contest": 1.1824,
                "won_contest": 0.9,
                "ball_recovery": 0.5816,
                "challenges_lost": 0.5823,
                "fouls": 0.2041,
                "fouls_drawn": 0.4135,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2041,
                "tackles_won": 0.0,
                "tackles": 0.1735,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1735,
                "big_chances_missed": 0.0,
                "xgot": 0.0743,
                "offsides": 0.0,
                "ball_carries": 4.811,
                "total_progression": 7.0341,
                "progressive_carries": 0.2041,
                "shots_off_target": 0.5845,
                "bench_appearance_probability": 0.587,
                "bench_expected_minutes": 25.92,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.325,
                "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": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.15 (squad xG sum 1.3311, xG scale 1.6175, xA scale 1.6175, team xA 1.53 = 0.71 x lambda)",
              "stats": {
                "expected_goals": 0.1233,
                "goal_rate": 0.128,
                "goals": 0,
                "shots_on_target": 0.3652,
                "total_shots": 0.9497,
                "expected_assists": 0.0388,
                "key_pass": 0.3643,
                "rating": 6.728,
                "minutes": 25.92,
                "total_pass": 12.2819,
                "accurate_pass": 8.9461,
                "duels_won": 1.7271,
                "total_long_balls": 0.8216,
                "accurate_long_balls": 0.6176,
                "total_opp_half_passes": 9.9372,
                "accurate_opp_half_passes": 6.7749,
                "crosses_total": 0.2041,
                "crosses_accurate": 0.2041,
                "touches": 18.242,
                "possession_lost": 4.7985,
                "dispossessed": 0.508,
                "duels_lost": 2.1915,
                "aerial_lost": 0.8096,
                "total_contest": 1.1824,
                "won_contest": 0.9,
                "ball_recovery": 0.5816,
                "challenges_lost": 0.5823,
                "fouls": 0.2041,
                "fouls_drawn": 0.4135,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2041,
                "tackles_won": 0.0,
                "tackles": 0.1735,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1735,
                "big_chances_missed": 0.0,
                "xgot": 0.0705,
                "offsides": 0.0,
                "ball_carries": 4.811,
                "total_progression": 7.0341,
                "progressive_carries": 0.2041,
                "shots_off_target": 0.5845,
                "bench_appearance_probability": 0.587,
                "bench_expected_minutes": 25.92,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.325,
                "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.9894,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 2.153,
                "squad_xg_sum": 1.3311,
                "squad_xa_sum": 0.9447,
                "team_expected_assists": 1.528,
                "team_xa_to_xg_ratio": 0.7097,
                "bench_appearance_weighted": true,
                "xg_scale": 1.6175,
                "xa_scale": 1.6175,
                "opponent_lambda": 0.831,
                "scoreline_reset": true,
                "appearance_weight": 0.587
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1299,
                  "after": 0.1233
                }
              ]
            },
            {
              "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.1233,
                "goal_rate": 0.128,
                "goals": 0,
                "shots_on_target": 0.3652,
                "total_shots": 0.9497,
                "expected_assists": 0.0388,
                "key_pass": 0.3643,
                "rating": 6.728,
                "minutes": 25.92,
                "total_pass": 12.2819,
                "accurate_pass": 8.9461,
                "duels_won": 1.7271,
                "total_long_balls": 0.8216,
                "accurate_long_balls": 0.6176,
                "total_opp_half_passes": 9.9372,
                "accurate_opp_half_passes": 6.7749,
                "crosses_total": 0.2041,
                "crosses_accurate": 0.2041,
                "touches": 18.242,
                "possession_lost": 4.7985,
                "dispossessed": 0.508,
                "duels_lost": 2.1915,
                "aerial_lost": 0.8096,
                "total_contest": 1.1824,
                "won_contest": 0.9,
                "ball_recovery": 0.5816,
                "challenges_lost": 0.5823,
                "fouls": 0.2041,
                "fouls_drawn": 0.4135,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2041,
                "tackles_won": 0.0,
                "tackles": 0.1735,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1735,
                "big_chances_missed": 0.0,
                "xgot": 0.0705,
                "offsides": 0.0,
                "ball_carries": 4.811,
                "total_progression": 7.0341,
                "progressive_carries": 0.2041,
                "shots_off_target": 0.5845,
                "bench_appearance_probability": 0.587,
                "bench_expected_minutes": 25.92,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.325,
                "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.9894,
                "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",
                "ranking_status": "combined",
                "global_player_rank": 1878,
                "fifa_rank": 961.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation: 2 projected goals distributed by scorer weight (xG x finishing x appearance)",
              "stats": {
                "expected_goals": 0.1233,
                "goal_rate": 0.128,
                "goals": 0,
                "shots_on_target": 0.3652,
                "total_shots": 0.9497,
                "expected_assists": 0.0388,
                "key_pass": 0.3643,
                "rating": 6.728,
                "minutes": 25.92,
                "total_pass": 12.2819,
                "accurate_pass": 8.9461,
                "duels_won": 1.7271,
                "total_long_balls": 0.8216,
                "accurate_long_balls": 0.6176,
                "total_opp_half_passes": 9.9372,
                "accurate_opp_half_passes": 6.7749,
                "crosses_total": 0.2041,
                "crosses_accurate": 0.2041,
                "touches": 18.242,
                "possession_lost": 4.7985,
                "dispossessed": 0.508,
                "duels_lost": 2.1915,
                "aerial_lost": 0.8096,
                "total_contest": 1.1824,
                "won_contest": 0.9,
                "ball_recovery": 0.5816,
                "challenges_lost": 0.5823,
                "fouls": 0.2041,
                "fouls_drawn": 0.4135,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2041,
                "tackles_won": 0.0,
                "tackles": 0.1735,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1735,
                "big_chances_missed": 0.0,
                "xgot": 0.0705,
                "offsides": 0.0,
                "ball_carries": 4.811,
                "total_progression": 7.0341,
                "progressive_carries": 0.2041,
                "shots_off_target": 0.5845,
                "bench_appearance_probability": 0.587,
                "bench_expected_minutes": 25.92,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.325,
                "projected_substitution_game_state_adjustment": -1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.1112,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9894,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.1112,
                "goal_rate": 0.128,
                "scorer_weight": 0.122,
                "squad_weight_total": 2.2809,
                "weight_share": 0.0535,
                "finishing_factor": 0.9894,
                "appearance_weight": 0.587,
                "weight_rank": 7,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.6492,
                    "already": 0,
                    "effective_weight": 0.6492,
                    "runner_up": "Troy Parrott",
                    "runner_up_effective_weight": 0.4679
                  },
                  {
                    "n": 2,
                    "player": "Troy Parrott",
                    "weight": 0.4679,
                    "already": 0,
                    "effective_weight": 0.4679,
                    "runner_up": "Antony",
                    "runner_up_effective_weight": 0.3665
                  }
                ]
              }
            },
            {
              "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.1233,
                "goal_rate": 0.128,
                "goals": 0,
                "shots_on_target": 0.3652,
                "total_shots": 0.9497,
                "expected_assists": 0.0388,
                "key_pass": 0.3643,
                "rating": 6.728,
                "minutes": 25.92,
                "total_pass": 12.2819,
                "accurate_pass": 8.9461,
                "duels_won": 1.7271,
                "total_long_balls": 0.8216,
                "accurate_long_balls": 0.6176,
                "total_opp_half_passes": 9.9372,
                "accurate_opp_half_passes": 6.7749,
                "crosses_total": 0.2041,
                "crosses_accurate": 0.2041,
                "touches": 18.242,
                "possession_lost": 4.7985,
                "dispossessed": 0.508,
                "duels_lost": 2.1915,
                "aerial_lost": 0.8096,
                "total_contest": 1.1824,
                "won_contest": 0.9,
                "ball_recovery": 0.5816,
                "challenges_lost": 0.5823,
                "fouls": 0.2041,
                "fouls_drawn": 0.4135,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2041,
                "tackles_won": 0.0,
                "tackles": 0.1735,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.1735,
                "big_chances_missed": 0.0,
                "xgot": 0.0705,
                "offsides": 0.0,
                "ball_carries": 4.811,
                "total_progression": 7.0341,
                "progressive_carries": 0.2041,
                "shots_off_target": 0.5845,
                "bench_appearance_probability": 0.587,
                "bench_expected_minutes": 25.92,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.325,
                "projected_substitution_game_state_adjustment": -1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.1112,
                "projected_assists": 0,
                "assist_probability": 0.0375,
                "finishing_factor": 0.9894,
                "creation_factor": 0.8,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0375,
                "assist_rate": 0.0,
                "provider_weight": 0.031,
                "squad_weight_total": 1.2992,
                "weight_share": 0.0239,
                "creation_factor": 0.8,
                "appearance_weight": 0.587,
                "weight_rank": 10,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.25,
                    "already": 0,
                    "effective_weight": 0.25,
                    "runner_up": "Pablo Fornals",
                    "runner_up_effective_weight": 0.2333
                  }
                ]
              }
            }
          ]
        },
        "Nelson Deossa": {
          "player_id": 1129401,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 18,
          "height": 185,
          "market_value": 9800000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0284,
            "assist_rate": 0.0468,
            "assists": 0,
            "expected_goals": 0.0516,
            "goal_rate": 0.0617,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.7545,
            "minutes": 20,
            "total_pass": 11,
            "accurate_pass": 9,
            "duels_won": 2,
            "total_long_balls": 1,
            "accurate_long_balls": 1,
            "total_own_half_passes": 3,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 7,
            "accurate_opp_half_passes": 6,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 16,
            "possession_lost": 2.8482,
            "dispossessed": 0.3338,
            "duels_lost": 2,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "total_contest": 1,
            "won_contest": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1016,
            "ball_carries": 6,
            "total_progression": 21,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.57,
            "bench_expected_minutes": 19.93,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 2,
            "projected_substitution_expected_count": 2.325,
            "projected_substitution_game_state_adjustment": -1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0493,
            "projected_assists": 0,
            "assist_probability": 0.0277,
            "finishing_factor": 1.0538,
            "creation_factor": 1.198,
            "fifa_overall": 75.0
          },
          "latest_10_games": [
            {
              "match_id": 16421079,
              "match_date": "2026-10-25",
              "home_team": "Celta Vigo",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 61,
                "rating": 6.7,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1654,
                "expected_assists": 0.1067,
                "total_shots": 3,
                "shots_on_target": 0,
                "shots_off_target": 3,
                "total_pass": 23,
                "accurate_pass": 18,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 0,
                "aerial_won": 1,
                "duels_won": 3,
                "ball_recovery": 1,
                "saves": 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": 16421068,
              "match_date": "2026-10-17",
              "home_team": "Real Betis",
              "away_team": "FC Barcelona",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "FC Barcelona",
              "stats": {
                "minutes": 45,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0641,
                "expected_assists": 0.0043,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 17,
                "accurate_pass": 16,
                "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": 16421054,
              "match_date": "2026-10-11",
              "home_team": "Real Betis",
              "away_team": "Osasuna",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Osasuna",
              "stats": {
                "minutes": 9,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0876,
                "expected_assists": 0.0045,
                "total_shots": 3,
                "shots_off_target": 1,
                "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": 16416313,
              "match_date": "2026-09-20",
              "home_team": "Deportivo de A Coruña",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 61,
                "rating": 6.7,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_goals": 0.04,
                "expected_assists": 0.0241,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 36,
                "accurate_pass": 29,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 1,
                "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": 16416336,
              "match_date": "2026-09-17",
              "home_team": "Real Betis",
              "away_team": "Getafe",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0254,
                "expected_assists": 0.0374,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 65,
                "accurate_pass": 53,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 10,
                "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": 16416333,
              "match_date": "2026-09-14",
              "home_team": "Villarreal",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 23,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.31,
                "expected_assists": 0.1789,
                "total_shots": 3,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 14,
                "accurate_pass": 11,
                "key_pass": 2,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416315,
              "match_date": "2026-09-04",
              "home_team": "Real Betis",
              "away_team": "Real Madrid",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 22,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0523,
                "expected_assists": 0.0047,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 10,
                "accurate_pass": 7,
                "clearances": 1,
                "aerial_won": 2,
                "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": 16416309,
              "match_date": "2026-08-29",
              "home_team": "Levante UD",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 23,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0277,
                "expected_assists": 0.0104,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 19,
                "accurate_pass": 14,
                "tackles": 2,
                "tackles_won": 2,
                "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": 16421049,
              "match_date": "2026-08-25",
              "home_team": "Valencia",
              "away_team": "Real Betis",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Real Betis",
              "opponent": "Valencia",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0965,
                "expected_assists": 0.026,
                "total_shots": 4,
                "shots_off_target": 3,
                "total_pass": 59,
                "accurate_pass": 54,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 4,
                "duels_won": 5,
                "ball_recovery": 8
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416293,
              "match_date": "2026-08-21",
              "home_team": "Real Betis",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Real Betis",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 10,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0332,
                "expected_assists": 0.0626,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 4,
                "accurate_pass": 4,
                "key_pass": 1,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 3441,
            "combined_rank_score": 1430.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 445.0,
            "sofascore_rating": 6.9,
            "sofascore_appearances": 3.0,
            "fifa_rank": 2416.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 12,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7545,
            "source_file": "data/player_rankings.csv",
            "player_name": "Nelson Deossa",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Lorenzo Melgarejo",
                  "ranking": 3436
                },
                {
                  "player_name": "Tomáš Chorý",
                  "ranking": 3437
                },
                {
                  "player_name": "Ferran Jutglà",
                  "ranking": 3438
                },
                {
                  "player_name": "César Tárrega",
                  "ranking": 3439
                },
                {
                  "player_name": "Lucas Stassin",
                  "ranking": 3440
                }
              ],
              "lower": [
                {
                  "player_name": "Filip Jörgensen",
                  "ranking": 3442
                },
                {
                  "player_name": "Luis Muriel",
                  "ranking": 3443
                },
                {
                  "player_name": "Ethan Nwaneri",
                  "ranking": 3444
                },
                {
                  "player_name": "Lucas Martínez Quarta",
                  "ranking": 3445
                },
                {
                  "player_name": "Ben Davies",
                  "ranking": 3446
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.764,
          "history_matches": 30,
          "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": 30,
            "data_confidence": 0.764,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "bench_expected_minutes": 19.93,
            "bench_appearance_prob": 0.57,
            "market_value_adjustment": 1.0006,
            "fbref_prior_metrics": {
              "squad": "Real Betis",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 1.0,
              "sub_appearances": 2.0,
              "minutes_per_sub": 18.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "prior_reliability": 0.0933
            },
            "rationale": "Bench projection scaled from XGBoost M_service (30 historical appearances) to 19.9 expected mins (appearance prob 0.57); FBref playing time empirical prior: 2.0 sub appearances, 18.0 mins/sub."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.462,
                "expected_assists": 0.0321,
                "assists": 0.0492,
                "assist_rate": 0.0492,
                "expected_goals": 0.0583,
                "goals": 0.0649,
                "goal_rate": 0.0649,
                "shots_on_target": 0.232,
                "total_shots": 1.1394,
                "rating": 6.7545,
                "minutes": 20.76,
                "total_pass": 11.1856,
                "accurate_pass": 9.6066,
                "duels_won": 2.2494,
                "total_long_balls": 0.9222,
                "accurate_long_balls": 0.7474,
                "total_own_half_passes": 3.4851,
                "accurate_own_half_passes": 3.2223,
                "total_opp_half_passes": 7.7004,
                "accurate_opp_half_passes": 6.3842,
                "crosses_total": 0.0724,
                "crosses_accurate": 0.0,
                "touches": 17.0471,
                "possession_lost": 2.965,
                "dispossessed": 0.3336,
                "duels_lost": 1.5984,
                "aerial_won": 0.8738,
                "aerial_lost": 0.4208,
                "interceptions": 0.0367,
                "tackles_won": 0.2389,
                "tackles": 0.2389,
                "clearances": 0.2109,
                "total_contest": 0.961,
                "won_contest": 0.5914,
                "challenges_lost": 0.1073,
                "fouls": 0.3788,
                "fouls_drawn": 0.5453,
                "blocks": 0.0,
                "big_chances_created": 0.1474,
                "big_chances_missed": 0.1393,
                "xgot": 0.1147,
                "ball_carries": 5.9615,
                "total_progression": 21.7889,
                "progressive_carries": 0.5732,
                "shots_off_target": 0.9074
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-31T10:30:21.314387+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 902,
                    "rows": 24945
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-25",
                    "opponent": "Celta Vigo",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.1512,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-10-17",
                    "opponent": "FC Barcelona",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1285,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-10-11",
                    "opponent": "Osasuna",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.1092,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.0928,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0789,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-09-14",
                    "opponent": "Villarreal",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.0671,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-04",
                    "opponent": "Real Madrid",
                    "minutes": 22.0,
                    "is_starting": false,
                    "weight": 0.057,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-29",
                    "opponent": "Levante UD",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.0485,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-25",
                    "opponent": "Valencia",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0412,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-21",
                    "opponent": "Real Sociedad",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.035,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 0.0,
                  "totalShots": 1.9991,
                  "expectedGoals": 0.0821,
                  "creative_index": 0.2492,
                  "expectedAssists": 0.0409,
                  "keyPass": 0.5617
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.4619919955730438,
                    "model_output": 0.462,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1583
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1351
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0716
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0542
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.028
                      }
                    ],
                    "decomposition": {
                      "base": 0.8899,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4065
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0462
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0431
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0367
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0214
                        }
                      ],
                      "others": 0.0336,
                      "total": 0.462,
                      "log_link": true,
                      "margin_base": -0.11669,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.610281
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.091225
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.084912
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.078449
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.048707
                        }
                      ],
                      "others_margin": 0.075607
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03205248340964317,
                    "model_output": 0.0321,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1213
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1076
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0864
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0618
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0476
                      }
                    ],
                    "decomposition": {
                      "base": 0.085,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0362
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0092
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0052
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0022
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0016
                        }
                      ],
                      "others": -0.0029,
                      "total": 0.0321,
                      "log_link": true,
                      "margin_base": -2.465163,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.55537
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.207897
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.140174
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.061168
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.043304
                        }
                      ],
                      "others_margin": -0.089639
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.04921005666255951,
                    "model_output": 0.0492,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0508
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0336
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0324
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0215
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0074
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0057
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0057
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0042
                        }
                      ],
                      "others": -0.0028,
                      "total": 0.0492,
                      "log_link": true,
                      "margin_base": -2.463734,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.290549
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.123354
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.107578
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.107352
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.077041
                        }
                      ],
                      "others_margin": -0.056753
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.05830369144678116,
                    "model_output": 0.0583,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1242
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0778
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0743
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0437
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0241
                      }
                    ],
                    "decomposition": {
                      "base": 0.0911,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0384
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0086
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.007
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0044
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0044
                        }
                      ],
                      "others": -0.01,
                      "total": 0.0583,
                      "log_link": true,
                      "margin_base": -2.395469,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.547594
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.1505
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.107811
                        },
                        {
                          "name": "goals",
                          "margin": -0.066718
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.066616
                        }
                      ],
                      "others_margin": -0.157236
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.06486941874027252,
                    "model_output": 0.0649,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0846
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0655
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0399
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0358
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.0947,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0355
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0157
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0067
                        },
                        {
                          "name": "duelLost",
                          "contribution": -0.0047
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0038
                        }
                      ],
                      "others": -0.0158,
                      "total": 0.0649,
                      "log_link": true,
                      "margin_base": -2.357331,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.470172
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.235786
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.086014
                        },
                        {
                          "name": "duelLost",
                          "margin": -0.059308
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.047731
                        }
                      ],
                      "others_margin": -0.218101
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.23200422525405884,
                    "model_output": 0.232,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1146
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0928
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0753
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0297
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.3177,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1455
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.053
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0186
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0078
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0067
                        }
                      ],
                      "others": -0.0129,
                      "total": 0.232,
                      "log_link": true,
                      "margin_base": -1.146731,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.612675
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.268479
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.079331
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.031457
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.026841
                        }
                      ],
                      "others_margin": -0.05402
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.1394399404525757,
                    "model_output": 1.1394,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1488
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1213
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0446
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0276
                      }
                    ],
                    "decomposition": {
                      "base": 0.9817,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4507
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.4303
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0569
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": 0.0466
                        },
                        {
                          "name": "shotValueNormalized",
                          "contribution": 0.0438
                        }
                      ],
                      "others": 0.0308,
                      "total": 1.1394,
                      "log_link": false,
                      "margin_base": 0.98173,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.450722
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.430261
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.056943
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": 0.046625
                        },
                        {
                          "name": "shotValueNormalized",
                          "margin": 0.04381
                        }
                      ],
                      "others_margin": 0.030793
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.754495620727539,
                    "model_output": 6.7545,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.102
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0743
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0503
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0382
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0983
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0194
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0193
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0105
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0076
                        }
                      ],
                      "others": -0.006,
                      "total": 6.7545,
                      "log_link": false,
                      "margin_base": 6.856008,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.098271
                        },
                        {
                          "name": "rating",
                          "margin": -0.019391
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.019285
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.010459
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.007606
                        }
                      ],
                      "others_margin": -0.005989
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 30,
                  "role_matches": 18,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 1.0006, quality 0.520)",
              "stats": {
                "key_pass": 0.4623,
                "expected_assists": 0.0321,
                "assists": 0.0492,
                "assist_rate": 0.0492,
                "expected_goals": 0.0583,
                "goals": 0.0649,
                "goal_rate": 0.0649,
                "shots_on_target": 0.2321,
                "total_shots": 1.1401,
                "rating": 6.7545,
                "minutes": 20.76,
                "total_pass": 11.1923,
                "accurate_pass": 9.6124,
                "duels_won": 2.2507,
                "total_long_balls": 0.9228,
                "accurate_long_balls": 0.7478,
                "total_own_half_passes": 3.4872,
                "accurate_own_half_passes": 3.2242,
                "total_opp_half_passes": 7.705,
                "accurate_opp_half_passes": 6.388,
                "crosses_total": 0.0724,
                "crosses_accurate": 0.0,
                "touches": 17.0573,
                "possession_lost": 2.9668,
                "dispossessed": 0.3338,
                "duels_lost": 1.5994,
                "aerial_won": 0.8743,
                "aerial_lost": 0.4211,
                "interceptions": 0.0367,
                "tackles_won": 0.239,
                "tackles": 0.239,
                "clearances": 0.211,
                "total_contest": 0.9616,
                "won_contest": 0.5918,
                "challenges_lost": 0.1074,
                "fouls": 0.379,
                "fouls_drawn": 0.5456,
                "blocks": 0.0,
                "big_chances_created": 0.1475,
                "big_chances_missed": 0.1394,
                "xgot": 0.1148,
                "ball_carries": 5.9651,
                "total_progression": 21.802,
                "progressive_carries": 0.5735,
                "shots_off_target": 0.9079
              },
              "params": {
                "market_value_eur": 9800000,
                "quality_factor": 0.5201,
                "boost_factor": 1.0006,
                "reference_quality": 0.505,
                "history_matches": 30,
                "history_shrink": 0.1429,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0087)",
              "stats": {
                "key_pass": 0.4623,
                "expected_assists": 0.0321,
                "assists": 0.0488,
                "assist_rate": 0.0488,
                "expected_goals": 0.0583,
                "goals": 0.0643,
                "goal_rate": 0.0643,
                "shots_on_target": 0.2315,
                "total_shots": 1.1389,
                "rating": 6.7545,
                "minutes": 20.76,
                "total_pass": 11.1923,
                "accurate_pass": 9.6124,
                "duels_won": 2.2507,
                "total_long_balls": 0.9228,
                "accurate_long_balls": 0.7478,
                "total_own_half_passes": 3.4872,
                "accurate_own_half_passes": 3.2242,
                "total_opp_half_passes": 7.705,
                "accurate_opp_half_passes": 6.388,
                "crosses_total": 0.0718,
                "crosses_accurate": 0.0,
                "touches": 17.0573,
                "possession_lost": 2.9668,
                "dispossessed": 0.3338,
                "duels_lost": 1.5994,
                "aerial_won": 0.8743,
                "aerial_lost": 0.4211,
                "interceptions": 0.0378,
                "tackles_won": 0.2398,
                "tackles": 0.239,
                "clearances": 0.211,
                "total_contest": 0.9616,
                "won_contest": 0.5918,
                "challenges_lost": 0.1074,
                "fouls": 0.3786,
                "fouls_drawn": 0.5423,
                "blocks": 0.0,
                "big_chances_created": 0.1475,
                "big_chances_missed": 0.1394,
                "xgot": 0.1148,
                "ball_carries": 5.9651,
                "total_progression": 21.802,
                "progressive_carries": 0.5735,
                "shots_off_target": 0.9079
              },
              "params": {
                "blend_weight": 0.0087,
                "history_matches": 30,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.2307,
                "prior_reliability": 0.0933,
                "competition": "La Liga",
                "squad": "Real Betis"
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 20.8 to 19.9 expected minutes (appearance prob 0.57)",
              "stats": {
                "key_pass": 0.4438,
                "expected_assists": 0.0308,
                "assists": 0.0468,
                "assist_rate": 0.0468,
                "expected_goals": 0.056,
                "goals": 0.0617,
                "goal_rate": 0.0617,
                "shots_on_target": 0.2222,
                "total_shots": 1.0938,
                "rating": 6.7545,
                "minutes": 19.93,
                "total_pass": 10.7448,
                "accurate_pass": 9.2281,
                "duels_won": 2.1607,
                "total_long_balls": 0.8859,
                "accurate_long_balls": 0.7179,
                "total_own_half_passes": 3.3478,
                "accurate_own_half_passes": 3.0953,
                "total_opp_half_passes": 7.3969,
                "accurate_opp_half_passes": 6.1326,
                "crosses_total": 0.0689,
                "crosses_accurate": 0.0,
                "touches": 16.3753,
                "possession_lost": 2.8482,
                "dispossessed": 0.3338,
                "duels_lost": 1.5355,
                "aerial_won": 0.8393,
                "aerial_lost": 0.4211,
                "interceptions": 0.0363,
                "tackles_won": 0.2294,
                "tackles": 0.2294,
                "clearances": 0.2026,
                "total_contest": 0.9232,
                "won_contest": 0.5681,
                "challenges_lost": 0.1074,
                "fouls": 0.3635,
                "fouls_drawn": 0.5206,
                "blocks": 0.0,
                "big_chances_created": 0.1416,
                "big_chances_missed": 0.1338,
                "xgot": 0.1102,
                "ball_carries": 5.7266,
                "total_progression": 20.9303,
                "progressive_carries": 0.5506,
                "shots_off_target": 0.8716,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 19.93
              },
              "params": {
                "expected_minutes": 19.93,
                "projection_minutes": 20.76,
                "minutes_scale": 0.96,
                "appearance_probability": 0.57
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.4438,
                "expected_assists": 0.0308,
                "assists": 0.0468,
                "assist_rate": 0.0468,
                "expected_goals": 0.056,
                "goals": 0.0617,
                "goal_rate": 0.0617,
                "shots_on_target": 0.2222,
                "total_shots": 1.0938,
                "rating": 6.7545,
                "minutes": 19.93,
                "total_pass": 10.7448,
                "accurate_pass": 9.2281,
                "duels_won": 2.1607,
                "total_long_balls": 0.8859,
                "accurate_long_balls": 0.7179,
                "total_own_half_passes": 3.3478,
                "accurate_own_half_passes": 3.0953,
                "total_opp_half_passes": 7.3969,
                "accurate_opp_half_passes": 6.1326,
                "crosses_total": 0.0689,
                "crosses_accurate": 0.0,
                "touches": 16.3753,
                "possession_lost": 2.8482,
                "dispossessed": 0.3338,
                "duels_lost": 1.5355,
                "aerial_won": 0.8393,
                "aerial_lost": 0.4211,
                "interceptions": 0.0363,
                "tackles_won": 0.2294,
                "tackles": 0.2294,
                "clearances": 0.2026,
                "total_contest": 0.9232,
                "won_contest": 0.5681,
                "challenges_lost": 0.1074,
                "fouls": 0.3635,
                "fouls_drawn": 0.5206,
                "blocks": 0.0,
                "big_chances_created": 0.1416,
                "big_chances_missed": 0.1338,
                "xgot": 0.1102,
                "ball_carries": 5.7266,
                "total_progression": 20.9303,
                "progressive_carries": 0.5506,
                "shots_off_target": 0.8716,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 19.93
              },
              "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.4438,
                "expected_assists": 0.0308,
                "assist_rate": 0.0468,
                "assists": 0,
                "expected_goals": 0.056,
                "goal_rate": 0.0617,
                "goals": 0,
                "shots_on_target": 0.2222,
                "total_shots": 1.0938,
                "rating": 6.7545,
                "minutes": 19.93,
                "total_pass": 10.7448,
                "accurate_pass": 9.2281,
                "duels_won": 2.1607,
                "total_long_balls": 0.8859,
                "accurate_long_balls": 0.7179,
                "total_own_half_passes": 3.3478,
                "accurate_own_half_passes": 3.0953,
                "total_opp_half_passes": 7.3969,
                "accurate_opp_half_passes": 6.1326,
                "crosses_total": 0.0689,
                "crosses_accurate": 0.0,
                "touches": 16.3753,
                "possession_lost": 2.8482,
                "dispossessed": 0.3338,
                "duels_lost": 1.5355,
                "aerial_won": 0.8393,
                "aerial_lost": 0.4211,
                "interceptions": 0.0363,
                "tackles_won": 0.2294,
                "tackles": 0.2294,
                "clearances": 0.2026,
                "total_contest": 0.9232,
                "won_contest": 0.5681,
                "challenges_lost": 0.1074,
                "fouls": 0.3635,
                "fouls_drawn": 0.5206,
                "blocks": 0.0,
                "big_chances_created": 0.1416,
                "big_chances_missed": 0.1338,
                "xgot": 0.1102,
                "ball_carries": 5.7266,
                "total_progression": 20.9303,
                "progressive_carries": 0.5506,
                "shots_off_target": 0.8716,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 19.93,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.325,
                "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": 2
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 2.15 (squad xG sum 1.3311, xG scale 1.6175, xA scale 1.6175, team xA 1.53 = 0.71 x lambda)",
              "stats": {
                "key_pass": 0.4438,
                "expected_assists": 0.0284,
                "assist_rate": 0.0468,
                "assists": 0,
                "expected_goals": 0.0516,
                "goal_rate": 0.0617,
                "goals": 0,
                "shots_on_target": 0.2222,
                "total_shots": 1.0938,
                "rating": 6.7545,
                "minutes": 19.93,
                "total_pass": 10.7448,
                "accurate_pass": 9.2281,
                "duels_won": 2.1607,
                "total_long_balls": 0.8859,
                "accurate_long_balls": 0.7179,
                "total_own_half_passes": 3.3478,
                "accurate_own_half_passes": 3.0953,
                "total_opp_half_passes": 7.3969,
                "accurate_opp_half_passes": 6.1326,
                "crosses_total": 0.0689,
                "crosses_accurate": 0.0,
                "touches": 16.3753,
                "possession_lost": 2.8482,
                "dispossessed": 0.3338,
                "duels_lost": 1.5355,
                "aerial_won": 0.8393,
                "aerial_lost": 0.4211,
                "interceptions": 0.0363,
                "tackles_won": 0.2294,
                "tackles": 0.2294,
                "clearances": 0.2026,
                "total_contest": 0.9232,
                "won_contest": 0.5681,
                "challenges_lost": 0.1074,
                "fouls": 0.3635,
                "fouls_drawn": 0.5206,
                "blocks": 0.0,
                "big_chances_created": 0.1416,
                "big_chances_missed": 0.1338,
                "xgot": 0.1016,
                "ball_carries": 5.7266,
                "total_progression": 20.9303,
                "progressive_carries": 0.5506,
                "shots_off_target": 0.8716,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 19.93,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.325,
                "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.0538,
                "creation_factor": 1.198
              },
              "params": {
                "team_lambda": 2.153,
                "squad_xg_sum": 1.3311,
                "squad_xa_sum": 0.9447,
                "team_expected_assists": 1.528,
                "team_xa_to_xg_ratio": 0.7097,
                "bench_appearance_weighted": true,
                "xg_scale": 1.6175,
                "xa_scale": 1.6175,
                "opponent_lambda": 0.831,
                "scoreline_reset": true,
                "appearance_weight": 0.57
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 12 by projected rating, fifa_overall 75.0)",
              "stats": {
                "key_pass": 0.4438,
                "expected_assists": 0.0284,
                "assist_rate": 0.0468,
                "assists": 0,
                "expected_goals": 0.0516,
                "goal_rate": 0.0617,
                "goals": 0,
                "shots_on_target": 0.2222,
                "total_shots": 1.0938,
                "rating": 6.7545,
                "minutes": 19.93,
                "total_pass": 10.7448,
                "accurate_pass": 9.2281,
                "duels_won": 2.1607,
                "total_long_balls": 0.8859,
                "accurate_long_balls": 0.7179,
                "total_own_half_passes": 3.3478,
                "accurate_own_half_passes": 3.0953,
                "total_opp_half_passes": 7.3969,
                "accurate_opp_half_passes": 6.1326,
                "crosses_total": 0.0689,
                "crosses_accurate": 0.0,
                "touches": 16.3753,
                "possession_lost": 2.8482,
                "dispossessed": 0.3338,
                "duels_lost": 1.5355,
                "aerial_won": 0.8393,
                "aerial_lost": 0.4211,
                "interceptions": 0.0363,
                "tackles_won": 0.2294,
                "tackles": 0.2294,
                "clearances": 0.2026,
                "total_contest": 0.9232,
                "won_contest": 0.5681,
                "challenges_lost": 0.1074,
                "fouls": 0.3635,
                "fouls_drawn": 0.5206,
                "blocks": 0.0,
                "big_chances_created": 0.1416,
                "big_chances_missed": 0.1338,
                "xgot": 0.1016,
                "ball_carries": 5.7266,
                "total_progression": 20.9303,
                "progressive_carries": 0.5506,
                "shots_off_target": 0.8716,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 19.93,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.325,
                "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.0538,
                "creation_factor": 1.198,
                "fifa_overall": 75.0
              },
              "params": {
                "match_squad_rank": 12,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 3441,
                "fifa_rank": 2416.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 75.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.4438,
                "expected_assists": 0.0284,
                "assist_rate": 0.0468,
                "assists": 0,
                "expected_goals": 0.0516,
                "goal_rate": 0.0617,
                "goals": 0,
                "shots_on_target": 0.2222,
                "total_shots": 1.0938,
                "rating": 6.7545,
                "minutes": 19.93,
                "total_pass": 10.7448,
                "accurate_pass": 9.2281,
                "duels_won": 2.1607,
                "total_long_balls": 0.8859,
                "accurate_long_balls": 0.7179,
                "total_own_half_passes": 3.3478,
                "accurate_own_half_passes": 3.0953,
                "total_opp_half_passes": 7.3969,
                "accurate_opp_half_passes": 6.1326,
                "crosses_total": 0.0689,
                "crosses_accurate": 0.0,
                "touches": 16.3753,
                "possession_lost": 2.8482,
                "dispossessed": 0.3338,
                "duels_lost": 1.5355,
                "aerial_won": 0.8393,
                "aerial_lost": 0.4211,
                "interceptions": 0.0363,
                "tackles_won": 0.2294,
                "tackles": 0.2294,
                "clearances": 0.2026,
                "total_contest": 0.9232,
                "won_contest": 0.5681,
                "challenges_lost": 0.1074,
                "fouls": 0.3635,
                "fouls_drawn": 0.5206,
                "blocks": 0.0,
                "big_chances_created": 0.1416,
                "big_chances_missed": 0.1338,
                "xgot": 0.1016,
                "ball_carries": 5.7266,
                "total_progression": 20.9303,
                "progressive_carries": 0.5506,
                "shots_off_target": 0.8716,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 19.93,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.325,
                "projected_substitution_game_state_adjustment": -1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0493,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0538,
                "creation_factor": 1.198,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_goals": 2,
                "goals_allocated": 0,
                "goal_probability": 0.0493,
                "goal_rate": 0.0617,
                "scorer_weight": 0.0544,
                "squad_weight_total": 2.2809,
                "weight_share": 0.0238,
                "finishing_factor": 1.0538,
                "appearance_weight": 0.57,
                "weight_rank": 9,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.6492,
                    "already": 0,
                    "effective_weight": 0.6492,
                    "runner_up": "Troy Parrott",
                    "runner_up_effective_weight": 0.4679
                  },
                  {
                    "n": 2,
                    "player": "Troy Parrott",
                    "weight": 0.4679,
                    "already": 0,
                    "effective_weight": 0.4679,
                    "runner_up": "Antony",
                    "runner_up_effective_weight": 0.3665
                  }
                ]
              }
            },
            {
              "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.4438,
                "expected_assists": 0.0284,
                "assist_rate": 0.0468,
                "assists": 0,
                "expected_goals": 0.0516,
                "goal_rate": 0.0617,
                "goals": 0,
                "shots_on_target": 0.2222,
                "total_shots": 1.0938,
                "rating": 6.7545,
                "minutes": 19.93,
                "total_pass": 10.7448,
                "accurate_pass": 9.2281,
                "duels_won": 2.1607,
                "total_long_balls": 0.8859,
                "accurate_long_balls": 0.7179,
                "total_own_half_passes": 3.3478,
                "accurate_own_half_passes": 3.0953,
                "total_opp_half_passes": 7.3969,
                "accurate_opp_half_passes": 6.1326,
                "crosses_total": 0.0689,
                "crosses_accurate": 0.0,
                "touches": 16.3753,
                "possession_lost": 2.8482,
                "dispossessed": 0.3338,
                "duels_lost": 1.5355,
                "aerial_won": 0.8393,
                "aerial_lost": 0.4211,
                "interceptions": 0.0363,
                "tackles_won": 0.2294,
                "tackles": 0.2294,
                "clearances": 0.2026,
                "total_contest": 0.9232,
                "won_contest": 0.5681,
                "challenges_lost": 0.1074,
                "fouls": 0.3635,
                "fouls_drawn": 0.5206,
                "blocks": 0.0,
                "big_chances_created": 0.1416,
                "big_chances_missed": 0.1338,
                "xgot": 0.1016,
                "ball_carries": 5.7266,
                "total_progression": 20.9303,
                "progressive_carries": 0.5506,
                "shots_off_target": 0.8716,
                "bench_appearance_probability": 0.57,
                "bench_expected_minutes": 19.93,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 2,
                "projected_substitution_expected_count": 2.325,
                "projected_substitution_game_state_adjustment": -1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0493,
                "projected_assists": 0,
                "assist_probability": 0.0277,
                "finishing_factor": 1.0538,
                "creation_factor": 1.198,
                "fifa_overall": 75.0
              },
              "params": {
                "allocation_applied": true,
                "team_assists": 1,
                "assists_allocated": 0,
                "assist_probability": 0.0277,
                "assist_rate": 0.0468,
                "provider_weight": 0.034,
                "squad_weight_total": 1.2992,
                "weight_share": 0.0262,
                "creation_factor": 1.198,
                "appearance_weight": 0.57,
                "weight_rank": 9,
                "eligible_players": 12,
                "allocation_rounds": [
                  {
                    "n": 1,
                    "player": "Abdessamad Ezzalzouli",
                    "weight": 0.25,
                    "already": 0,
                    "effective_weight": 0.25,
                    "runner_up": "Pablo Fornals",
                    "runner_up_effective_weight": 0.2333
                  }
                ]
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 2,
        "expected_goals": 2.15,
        "expected_assists": 1.53,
        "total_shots": 15,
        "shots_on_target": 4,
        "total_passes": 458,
        "interceptions": 7,
        "tackles": 12,
        "avg_rating": 6.95,
        "possession_estimated_pct": 50.4,
        "pressing_actions_per_90": 6.1
      }
    },
    "Málaga": {
      "formation": "3-4-2-1",
      "players": {
        "Alfonso Herrero": {
          "player_id": 96371,
          "position": "G",
          "position_depth": "G",
          "is_starter": true,
          "shirt_number": 1,
          "height": 180,
          "market_value": 420000,
          "stats": {
            "saves": 3,
            "goals_prevented": 0.0135,
            "rating": 7.0364,
            "minutes": 90,
            "total_pass": 36,
            "accurate_pass": 24,
            "total_long_balls": 16,
            "accurate_long_balls": 5,
            "touches": 46,
            "clearances": 1,
            "ball_recovery": 8,
            "high_claims": 1,
            "punches": 0.737,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 2,
            "possession_lost": 11.4159,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 25,
            "accurate_own_half_passes": 22,
            "gk_engine_opponent_lambda": 1.8149,
            "shots_faced": 20.5,
            "expected_saves": 5.02,
            "high_pressure_saves": 1.72,
            "opponent_faced": "Abdessamad Ezzalzouli, Troy Parrott",
            "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": 75.0
          },
          "latest_10_games": [
            {
              "match_id": 16421077,
              "match_date": "2026-10-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0004,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "total_pass": 36,
                "accurate_pass": 19,
                "tackles": 0,
                "tackles_won": 0,
                "interceptions": 0,
                "clearances": 0,
                "aerial_won": 0,
                "duels_won": 0,
                "ball_recovery": 9,
                "saves": 3,
                "goals_prevented": 0.2657
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421073,
              "match_date": "2026-10-18",
              "home_team": "Málaga CF",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 5.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 35,
                "accurate_pass": 22,
                "clearances": 2,
                "ball_recovery": 6,
                "saves": 4,
                "goals_prevented": -2.0512
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 21,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 9,
                "saves": 2,
                "goals_prevented": -0.2149
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416303,
              "match_date": "2026-09-20",
              "home_team": "Getafe",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 7.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0018,
                "total_shots": 0,
                "total_pass": 30,
                "accurate_pass": 21,
                "duels_won": 1,
                "ball_recovery": 7,
                "saves": 6,
                "goals_prevented": 0.2423
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0008,
                "total_shots": 0,
                "total_pass": 38,
                "accurate_pass": 24,
                "clearances": 1,
                "ball_recovery": 7,
                "saves": 3,
                "goals_prevented": -0.2258
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416347,
              "match_date": "2026-09-13",
              "home_team": "Celta Vigo",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 8.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0112,
                "total_shots": 0,
                "total_pass": 63,
                "accurate_pass": 45,
                "clearances": 3,
                "duels_won": 1,
                "ball_recovery": 14,
                "saves": 4,
                "goals_prevented": 0.3644
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416320,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 8.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 46,
                "accurate_pass": 34,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 5,
                "saves": 3,
                "goals_prevented": 0.8332
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416312,
              "match_date": "2026-08-30",
              "home_team": "Real Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0001,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 18,
                "clearances": 1,
                "ball_recovery": 7,
                "saves": 4,
                "goals_prevented": -0.7359
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416307,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0023,
                "total_shots": 0,
                "total_pass": 31,
                "accurate_pass": 28,
                "clearances": 1,
                "ball_recovery": 7,
                "saves": 4,
                "goals_prevented": 0.1734
              },
              "has_player_stats": true,
              "league_name": "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": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0027,
                "total_shots": 0,
                "total_pass": 47,
                "accurate_pass": 32,
                "ball_recovery": 9,
                "saves": 4,
                "goals_prevented": 0.6449
              },
              "has_player_stats": true,
              "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": 3276,
            "combined_rank_score": 1220.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 44.0,
            "sofascore_rating": 7.8,
            "sofascore_appearances": 1.0,
            "fifa_rank": 2397.0,
            "fifa_overall": 75.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 1,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 7.0364,
            "source_file": "data/player_rankings.csv",
            "player_name": "Alfonso Herrero",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Federico Viñas",
                  "ranking": 3271
                },
                {
                  "player_name": "Marco Reus",
                  "ranking": 3272
                },
                {
                  "player_name": "Santiago Bueno",
                  "ranking": 3273
                },
                {
                  "player_name": "Hany Mukhtar",
                  "ranking": 3274
                },
                {
                  "player_name": "Aleksey Miranchuk",
                  "ranking": 3275
                }
              ],
              "lower": [
                {
                  "player_name": "Tim Iroegbunam",
                  "ranking": 3277
                },
                {
                  "player_name": "Jaminton Campaz",
                  "ranking": 3278
                },
                {
                  "player_name": "Miguel Merentiel",
                  "ranking": 3279
                },
                {
                  "player_name": "Pep Biel",
                  "ranking": 3280
                },
                {
                  "player_name": "Beñat Prados",
                  "ranking": 3281
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.78,
          "history_matches": 10,
          "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": 10,
            "data_confidence": 0.78,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9932,
            "fbref_prior_metrics": {
              "squad": "Málaga",
              "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 10 historical appearances across 3 target models; FBref 2026-2027 prior blended (La Liga, Málaga, 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.9069,
                "goals_prevented": 0.0136,
                "rating": 7.0364,
                "minutes": 90.0,
                "total_pass": 35.9939,
                "accurate_pass": 24.6348,
                "total_long_balls": 16.6119,
                "accurate_long_balls": 5.3503,
                "touches": 46.4352,
                "clearances": 0.9153,
                "ball_recovery": 8.0104,
                "high_claims": 1.2836,
                "punches": 0.742,
                "aerial_won": 0.2054,
                "sweeper_actions": 0.4909,
                "sweeper_accurate": 0.4909,
                "saves_inside_box": 2.2518,
                "possession_lost": 11.4941,
                "duels_won": 0.403,
                "duels_lost": 0.1484,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0975,
                "fouls_drawn": 0.1976,
                "total_own_half_passes": 24.8625,
                "accurate_own_half_passes": 22.5857
              },
              "trace": {
                "model": {
                  "position_service": "G",
                  "schema_version": 5,
                  "trained_at": "2026-10-31T10:28:35.350989+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 201,
                    "rows": 7385
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-23",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1868,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1588,
                    "rating": 5.1
                  },
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1349,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1147,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0975,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0829,
                    "rating": 8.1
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0704,
                    "rating": 8.1
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0599,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0509,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0433,
                    "rating": 7.8
                  }
                ],
                "feature_row": {
                  "history_matches": 10.0,
                  "is_starting_11": 1.0,
                  "accurateKeeperSweeper": 0.4909,
                  "goalkeeperValueNormalized": 0.1747,
                  "goodHighClaim": 1.2836,
                  "save_contribution": 3.3871,
                  "possessionLostCtrl": 11.4941,
                  "sweeper_actions_p90": 0.3586
                },
                "per_target": [
                  {
                    "target": "saves",
                    "predicted": 2.906893730163574,
                    "model_output": 2.9069,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "save_contribution",
                        "importance": 0.0422
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0362
                      },
                      {
                        "name": "goodHighClaim",
                        "importance": 0.0359
                      },
                      {
                        "name": "defensiveValueNormalized",
                        "importance": 0.0358
                      },
                      {
                        "name": "pass_accuracy",
                        "importance": 0.0358
                      }
                    ],
                    "decomposition": {
                      "base": 2.9271,
                      "items": [
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0221
                        },
                        {
                          "name": "saves",
                          "contribution": 0.0191
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.018
                        },
                        {
                          "name": "save_contribution",
                          "contribution": -0.0154
                        },
                        {
                          "name": "goalsPrevented",
                          "contribution": -0.015
                        }
                      ],
                      "others": -0.013,
                      "total": 2.9069,
                      "log_link": true,
                      "margin_base": 1.074005,
                      "item_margins": [
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.007538
                        },
                        {
                          "name": "saves",
                          "margin": 0.006445
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.006097
                        },
                        {
                          "name": "save_contribution",
                          "margin": -0.005233
                        },
                        {
                          "name": "goalsPrevented",
                          "margin": -0.005138
                        }
                      ],
                      "others_margin": -0.004434
                    }
                  },
                  {
                    "target": "goalsPrevented",
                    "predicted": 0.01362738385796547,
                    "model_output": 0.0136,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "goalkeeperValueNormalized",
                        "importance": 0.0432
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.04
                      },
                      {
                        "name": "goodHighClaim",
                        "importance": 0.0388
                      },
                      {
                        "name": "punches",
                        "importance": 0.0371
                      },
                      {
                        "name": "distribution_accuracy",
                        "importance": 0.0358
                      }
                    ],
                    "decomposition": {
                      "base": -0.0235,
                      "items": [
                        {
                          "name": "accurateKeeperSweeper",
                          "contribution": -0.0236
                        },
                        {
                          "name": "goodHighClaim",
                          "contribution": 0.0197
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0141
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "contribution": -0.0139
                        },
                        {
                          "name": "punches",
                          "contribution": 0.012
                        }
                      ],
                      "others": 0.0288,
                      "total": 0.0136,
                      "log_link": false,
                      "margin_base": -0.023525,
                      "item_margins": [
                        {
                          "name": "accurateKeeperSweeper",
                          "margin": -0.023591
                        },
                        {
                          "name": "goodHighClaim",
                          "margin": 0.019715
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.014053
                        },
                        {
                          "name": "goalkeeperValueNormalized",
                          "margin": -0.013916
                        },
                        {
                          "name": "punches",
                          "margin": 0.011951
                        }
                      ],
                      "others_margin": 0.02894
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.036434173583984,
                    "model_output": 7.0364,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "accurateKeeperSweeper",
                        "importance": 0.0401
                      },
                      {
                        "name": "accurateOwnHalfPasses",
                        "importance": 0.0389
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0374
                      },
                      {
                        "name": "touches",
                        "importance": 0.0351
                      },
                      {
                        "name": "rating",
                        "importance": 0.0339
                      }
                    ],
                    "decomposition": {
                      "base": 6.9898,
                      "items": [
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0185
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0179
                        },
                        {
                          "name": "totalOwnHalfPasses",
                          "contribution": 0.0176
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "contribution": -0.0143
                        },
                        {
                          "name": "totalKeeperSweeper",
                          "contribution": -0.0121
                        }
                      ],
                      "others": 0.019,
                      "total": 7.0364,
                      "log_link": false,
                      "margin_base": 6.989751,
                      "item_margins": [
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.018521
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.017852
                        },
                        {
                          "name": "totalOwnHalfPasses",
                          "margin": 0.017611
                        },
                        {
                          "name": "accurateKeeperSweeper",
                          "margin": -0.014323
                        },
                        {
                          "name": "totalKeeperSweeper",
                          "margin": -0.012113
                        }
                      ],
                      "others_margin": 0.019136
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 10,
                  "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 0.9932, quality 0.437)",
              "stats": {
                "saves": 2.8871,
                "goals_prevented": 0.0135,
                "rating": 7.0364,
                "minutes": 90.0,
                "total_pass": 35.7491,
                "accurate_pass": 24.4673,
                "total_long_balls": 16.4989,
                "accurate_long_balls": 5.3139,
                "touches": 46.1194,
                "clearances": 0.9091,
                "ball_recovery": 7.9559,
                "high_claims": 1.2749,
                "punches": 0.737,
                "aerial_won": 0.204,
                "sweeper_actions": 0.4876,
                "sweeper_accurate": 0.4876,
                "saves_inside_box": 2.2365,
                "possession_lost": 11.4159,
                "duels_won": 0.4003,
                "duels_lost": 0.1474,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0968,
                "fouls_drawn": 0.1963,
                "total_own_half_passes": 24.6934,
                "accurate_own_half_passes": 22.4321
              },
              "params": {
                "market_value_eur": 420000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9932,
                "reference_quality": 0.505,
                "history_matches": 10,
                "history_shrink": 0.3333,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0433)",
              "stats": {
                "saves": 2.9353,
                "goals_prevented": 0.0135,
                "rating": 7.0364,
                "minutes": 90.0,
                "total_pass": 35.7491,
                "accurate_pass": 24.4673,
                "total_long_balls": 16.4989,
                "accurate_long_balls": 5.3139,
                "touches": 46.1194,
                "clearances": 0.9091,
                "ball_recovery": 7.9559,
                "high_claims": 1.2749,
                "punches": 0.737,
                "aerial_won": 0.204,
                "sweeper_actions": 0.4876,
                "sweeper_accurate": 0.4876,
                "saves_inside_box": 2.2365,
                "possession_lost": 11.4159,
                "duels_won": 0.4003,
                "duels_lost": 0.1474,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0926,
                "fouls_drawn": 0.1878,
                "total_own_half_passes": 24.6934,
                "accurate_own_half_passes": 22.4321
              },
              "params": {
                "blend_weight": 0.0433,
                "history_matches": 10,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 1.0,
                "prior_reliability": 0.2,
                "competition": "La Liga",
                "squad": "Málaga"
              },
              "changes": [
                {
                  "stat": "saves",
                  "before": 2.8871,
                  "after": 2.9353
                },
                {
                  "stat": "wasFouled",
                  "before": 0.1963,
                  "after": 0.1878
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 2.9353,
                "goals_prevented": 0.0135,
                "rating": 7.0364,
                "minutes": 90.0,
                "total_pass": 35.7491,
                "accurate_pass": 24.4673,
                "total_long_balls": 16.4989,
                "accurate_long_balls": 5.3139,
                "touches": 46.1194,
                "clearances": 0.9091,
                "ball_recovery": 7.9559,
                "high_claims": 1.2749,
                "punches": 0.737,
                "aerial_won": 0.204,
                "sweeper_actions": 0.4876,
                "sweeper_accurate": 0.4876,
                "saves_inside_box": 2.2365,
                "possession_lost": 11.4159,
                "duels_won": 0.4003,
                "duels_lost": 0.1474,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0926,
                "fouls_drawn": 0.1878,
                "total_own_half_passes": 24.6934,
                "accurate_own_half_passes": 22.4321
              },
              "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.9353,
                "goals_prevented": 0.0135,
                "rating": 7.0364,
                "minutes": 90.0,
                "total_pass": 35.7491,
                "accurate_pass": 24.4673,
                "total_long_balls": 16.4989,
                "accurate_long_balls": 5.3139,
                "touches": 46.1194,
                "clearances": 0.9091,
                "ball_recovery": 7.9559,
                "high_claims": 1.2749,
                "punches": 0.737,
                "aerial_won": 0.204,
                "sweeper_actions": 0.4876,
                "sweeper_accurate": 0.4876,
                "saves_inside_box": 2.2365,
                "possession_lost": 11.4159,
                "duels_won": 0.4003,
                "duels_lost": 0.1474,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0926,
                "fouls_drawn": 0.1878,
                "total_own_half_passes": 24.6934,
                "accurate_own_half_passes": 22.4321,
                "gk_engine_opponent_lambda": 1.8149,
                "shots_faced": 17.2,
                "expected_saves": 4.21,
                "high_pressure_saves": 1.45,
                "opponent_faced": "Abdessamad Ezzalzouli, Troy Parrott",
                "matchup_zone": "Goalkeeper shot-stopping context",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Abdessamad Ezzalzouli, Troy Parrott",
                  "matchup_zone": "Goalkeeper shot-stopping context",
                  "opponent_lambda": 1.8149
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "saves": 2.9353,
                "goals_prevented": 0.0135,
                "rating": 7.0364,
                "minutes": 90.0,
                "total_pass": 35.7491,
                "accurate_pass": 24.4673,
                "total_long_balls": 16.4989,
                "accurate_long_balls": 5.3139,
                "touches": 46.1194,
                "clearances": 0.9091,
                "ball_recovery": 7.9559,
                "high_claims": 1.2749,
                "punches": 0.737,
                "aerial_won": 0.204,
                "sweeper_actions": 0.4876,
                "sweeper_accurate": 0.4876,
                "saves_inside_box": 2.2365,
                "possession_lost": 11.4159,
                "duels_won": 0.4003,
                "duels_lost": 0.1474,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0926,
                "fouls_drawn": 0.1878,
                "total_own_half_passes": 24.6934,
                "accurate_own_half_passes": 22.4321,
                "gk_engine_opponent_lambda": 1.8149,
                "shots_faced": 17.2,
                "expected_saves": 4.21,
                "high_pressure_saves": 1.45,
                "opponent_faced": "Abdessamad Ezzalzouli, Troy Parrott",
                "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": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.83 (squad xG sum 0.7402, xG scale 1.1227, xA scale 1.1227, team xA 0.66 = 0.79 x lambda)",
              "stats": {
                "saves": 2.9353,
                "goals_prevented": 0.0135,
                "rating": 7.0364,
                "minutes": 90.0,
                "total_pass": 35.7491,
                "accurate_pass": 24.4673,
                "total_long_balls": 16.4989,
                "accurate_long_balls": 5.3139,
                "touches": 46.1194,
                "clearances": 0.9091,
                "ball_recovery": 7.9559,
                "high_claims": 1.2749,
                "punches": 0.737,
                "aerial_won": 0.204,
                "sweeper_actions": 0.4876,
                "sweeper_accurate": 0.4876,
                "saves_inside_box": 2.2365,
                "possession_lost": 11.4159,
                "duels_won": 0.4003,
                "duels_lost": 0.1474,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0926,
                "fouls_drawn": 0.1878,
                "total_own_half_passes": 24.6934,
                "accurate_own_half_passes": 22.4321,
                "gk_engine_opponent_lambda": 1.8149,
                "shots_faced": 20.5,
                "expected_saves": 5.02,
                "high_pressure_saves": 1.72,
                "opponent_faced": "Abdessamad Ezzalzouli, Troy Parrott",
                "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": 0.831,
                "squad_xg_sum": 0.7402,
                "squad_xa_sum": 0.5844,
                "team_expected_assists": 0.6561,
                "team_xa_to_xg_ratio": 0.7895,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1227,
                "xa_scale": 1.1227,
                "opponent_lambda": 2.153,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "shots_faced",
                  "before": 17.2,
                  "after": 20.5
                },
                {
                  "stat": "expected_saves",
                  "before": 4.21,
                  "after": 5.02
                },
                {
                  "stat": "high_pressure_saves",
                  "before": 1.45,
                  "after": 1.72
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 1 by projected rating, fifa_overall 75.0)",
              "stats": {
                "saves": 2.9353,
                "goals_prevented": 0.0135,
                "rating": 7.0364,
                "minutes": 90.0,
                "total_pass": 35.7491,
                "accurate_pass": 24.4673,
                "total_long_balls": 16.4989,
                "accurate_long_balls": 5.3139,
                "touches": 46.1194,
                "clearances": 0.9091,
                "ball_recovery": 7.9559,
                "high_claims": 1.2749,
                "punches": 0.737,
                "aerial_won": 0.204,
                "sweeper_actions": 0.4876,
                "sweeper_accurate": 0.4876,
                "saves_inside_box": 2.2365,
                "possession_lost": 11.4159,
                "duels_won": 0.4003,
                "duels_lost": 0.1474,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0926,
                "fouls_drawn": 0.1878,
                "total_own_half_passes": 24.6934,
                "accurate_own_half_passes": 22.4321,
                "gk_engine_opponent_lambda": 1.8149,
                "shots_faced": 20.5,
                "expected_saves": 5.02,
                "high_pressure_saves": 1.72,
                "opponent_faced": "Abdessamad Ezzalzouli, Troy Parrott",
                "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": 75.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": 3276,
                "fifa_rank": 2397.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 75.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "saves": 2.9353,
                "goals_prevented": 0.0135,
                "rating": 7.0364,
                "minutes": 90.0,
                "total_pass": 35.7491,
                "accurate_pass": 24.4673,
                "total_long_balls": 16.4989,
                "accurate_long_balls": 5.3139,
                "touches": 46.1194,
                "clearances": 0.9091,
                "ball_recovery": 7.9559,
                "high_claims": 1.2749,
                "punches": 0.737,
                "aerial_won": 0.204,
                "sweeper_actions": 0.4876,
                "sweeper_accurate": 0.4876,
                "saves_inside_box": 2.2365,
                "possession_lost": 11.4159,
                "duels_won": 0.4003,
                "duels_lost": 0.1474,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0926,
                "fouls_drawn": 0.1878,
                "total_own_half_passes": 24.6934,
                "accurate_own_half_passes": 22.4321,
                "gk_engine_opponent_lambda": 1.8149,
                "shots_faced": 20.5,
                "expected_saves": 5.02,
                "high_pressure_saves": 1.72,
                "opponent_faced": "Abdessamad Ezzalzouli, Troy Parrott",
                "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": 75.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "scorer_weight": 0.0,
                "squad_weight_total": 0.8662,
                "weight_share": 0.0,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "saves": 2.9353,
                "goals_prevented": 0.0135,
                "rating": 7.0364,
                "minutes": 90.0,
                "total_pass": 35.7491,
                "accurate_pass": 24.4673,
                "total_long_balls": 16.4989,
                "accurate_long_balls": 5.3139,
                "touches": 46.1194,
                "clearances": 0.9091,
                "ball_recovery": 7.9559,
                "high_claims": 1.2749,
                "punches": 0.737,
                "aerial_won": 0.204,
                "sweeper_actions": 0.4876,
                "sweeper_accurate": 0.4876,
                "saves_inside_box": 2.2365,
                "possession_lost": 11.4159,
                "duels_won": 0.4003,
                "duels_lost": 0.1474,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "fouls": 0.0926,
                "fouls_drawn": 0.1878,
                "total_own_half_passes": 24.6934,
                "accurate_own_half_passes": 22.4321,
                "gk_engine_opponent_lambda": 1.8149,
                "shots_faced": 20.5,
                "expected_saves": 5.02,
                "high_pressure_saves": 1.72,
                "opponent_faced": "Abdessamad Ezzalzouli, Troy Parrott",
                "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": 75.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0,
                "provider_weight": 0.0,
                "squad_weight_total": 0.5932,
                "weight_share": 0.0,
                "creation_factor": 1.0,
                "appearance_weight": 1.0
              }
            }
          ]
        },
        "Einar Galilea": {
          "player_id": 344797,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 4,
          "height": 182,
          "market_value": 365000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 6,
            "aerial_won": 2,
            "total_shots": 0,
            "rating": 6.9179,
            "minutes": 82,
            "total_pass": 59,
            "accurate_pass": 53,
            "duels_won": 3,
            "total_long_balls": 6,
            "accurate_long_balls": 2,
            "total_own_half_passes": 44,
            "accurate_own_half_passes": 43,
            "total_opp_half_passes": 15,
            "accurate_opp_half_passes": 10,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 70,
            "possession_lost": 5.8587,
            "dispossessed": 0.0,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 2,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0,
            "expected_assists": 0.0063,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 18,
            "total_progression": 64,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.9,
            "tackles_won_in_zone": 1.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.601,
            "opponent_faced": "Isco",
            "pressing_zone": "LW vs CB",
            "matchup_zone": "LW vs CB",
            "antagonist_source": "defensive_duel",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0063,
            "finishing_factor": 1.0,
            "creation_factor": 0.8993,
            "fifa_overall": 69.0
          },
          "latest_10_games": [
            {
              "match_id": 16421077,
              "match_date": "2026-10-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0054,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "total_pass": 55,
                "accurate_pass": 49,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 11,
                "aerial_won": 6,
                "duels_won": 7,
                "ball_recovery": 2,
                "saves": 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": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0038,
                "total_shots": 0,
                "total_pass": 50,
                "accurate_pass": 44,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 2,
                "clearances": 5,
                "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": 16416347,
              "match_date": "2026-09-13",
              "home_team": "Celta Vigo",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 45,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0056,
                "total_shots": 0,
                "total_pass": 64,
                "accurate_pass": 57,
                "interceptions": 1,
                "clearances": 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": 16416320,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0047,
                "total_shots": 0,
                "total_pass": 92,
                "accurate_pass": 85,
                "interceptions": 2,
                "clearances": 6,
                "duels_won": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416312,
              "match_date": "2026-08-30",
              "home_team": "Real Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 74,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0101,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 33,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416307,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0085,
                "total_shots": 0,
                "total_pass": 69,
                "accurate_pass": 66,
                "clearances": 4,
                "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": 16421055,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 80,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0016,
                "total_shots": 0,
                "total_pass": 51,
                "accurate_pass": 42,
                "tackles": 4,
                "tackles_won": 2,
                "clearances": 6,
                "duels_won": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 5568,
            "combined_rank_score": 3771.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 578.0,
            "sofascore_rating": 6.8,
            "sofascore_appearances": 1.0,
            "fifa_rank": 6964.0,
            "fifa_overall": 69.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 4,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9179,
            "source_file": "data/player_rankings.csv",
            "player_name": "Einar Galilea",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Caio Vidal",
                  "ranking": 5563
                },
                {
                  "player_name": "Erick Marcus",
                  "ranking": 5564
                },
                {
                  "player_name": "Kwadwo Duah",
                  "ranking": 5565
                },
                {
                  "player_name": "Mateusz Skrzypczak",
                  "ranking": 5566
                },
                {
                  "player_name": "Bil Nsongo",
                  "ranking": 5567
                }
              ],
              "lower": [
                {
                  "player_name": "Ashley Barnes",
                  "ranking": 5569
                },
                {
                  "player_name": "Deian Sorescu",
                  "ranking": 5570
                },
                {
                  "player_name": "Vasilije Adžić",
                  "ranking": 5571
                },
                {
                  "player_name": "Luca De La Torre",
                  "ranking": 5572
                },
                {
                  "player_name": "Kamal Miller",
                  "ranking": 5573
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.688,
          "history_matches": 7,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "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": 7,
            "data_confidence": 0.688,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9916,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (D_service) evaluated 7 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1.2453,
                "tackles": 1.2736,
                "tackles_won": 0.7581,
                "clearances": 6.0332,
                "aerial_won": 1.6233,
                "total_shots": 0.477,
                "rating": 6.9179,
                "minutes": 82.34,
                "total_pass": 59.1321,
                "accurate_pass": 53.4573,
                "duels_won": 3.3723,
                "total_long_balls": 6.2559,
                "accurate_long_balls": 2.2524,
                "total_own_half_passes": 44.4936,
                "accurate_own_half_passes": 42.9194,
                "total_opp_half_passes": 14.6385,
                "accurate_opp_half_passes": 10.5379,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 70.1857,
                "possession_lost": 5.9083,
                "dispossessed": 0.0,
                "duels_lost": 1.7428,
                "aerial_lost": 0.402,
                "total_contest": 0.3771,
                "won_contest": 0.3771,
                "ball_recovery": 2.3577,
                "challenges_lost": 0.6486,
                "fouls": 0.9129,
                "fouls_drawn": 0.4385,
                "blocks": 0.3341,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0056,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 18.1929,
                "total_progression": 64.2385,
                "progressive_carries": 0.9989,
                "key_pass": 0.0,
                "shots_off_target": 0.477
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:29:25.210665+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 626,
                    "rows": 22004
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-23",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.2208,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1877,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Celta Vigo",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.1595,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1356,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Real Madrid",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.1152,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.098,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Atlético Madrid",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.0833,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 7.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 5.6213,
                  "aerialWon": 1.4399,
                  "totalClearance_p90": 6.0526,
                  "totalTackle": 1.1168,
                  "totalPass": 59.1321
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.245278000831604,
                    "model_output": 1.2453,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2977
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0446
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0318
                      },
                      {
                        "name": "touches",
                        "importance": 0.0281
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8678,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1153
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0906
                        },
                        {
                          "name": "interceptionWon_p90",
                          "contribution": 0.0322
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0252
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0229
                        }
                      ],
                      "others": 0.0913,
                      "total": 1.2453,
                      "log_link": true,
                      "margin_base": -0.141777,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.124784
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.088105
                        },
                        {
                          "name": "interceptionWon_p90",
                          "margin": 0.02952
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.022569
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.02003
                        }
                      ],
                      "others_margin": 0.076128
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.2735536098480225,
                    "model_output": 1.2736,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2493
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0731
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0414
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0245
                      }
                    ],
                    "decomposition": {
                      "base": 1.3878,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1499
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0688
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0533
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0393
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0298
                        }
                      ],
                      "others": -0.0729,
                      "total": 1.2736,
                      "log_link": true,
                      "margin_base": 0.327722,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.102598
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.04577
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.036974
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.028188
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.021922
                        }
                      ],
                      "others_margin": -0.055655
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.7580974698066711,
                    "model_output": 0.7581,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1966
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0678
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0471
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0406
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 0.8471,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0998
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0392
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0352
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0284
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0226
                        }
                      ],
                      "others": -0.0634,
                      "total": 0.7581,
                      "log_link": true,
                      "margin_base": -0.165887,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.111376
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.042285
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.039553
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.033086
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.027142
                        }
                      ],
                      "others_margin": -0.080367
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 6.033201694488525,
                    "model_output": 6.0332,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2929
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1447
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.1031
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0342
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0223
                      }
                    ],
                    "decomposition": {
                      "base": 3.4227,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": 0.7142
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.5591
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.5257
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.396
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.331
                        }
                      ],
                      "others": 0.0845,
                      "total": 6.0332,
                      "log_link": true,
                      "margin_base": 1.230438,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": 0.189521
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.126759
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.106106
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.073104
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.057258
                        }
                      ],
                      "others_margin": 0.014091
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.623278260231018,
                    "model_output": 1.6233,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1591
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1548
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0782
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.3743,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.167
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1143
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.1069
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0914
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.0873
                        }
                      ],
                      "others": 0.0935,
                      "total": 1.6233,
                      "log_link": true,
                      "margin_base": 0.31798,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.114651
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.077046
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.072242
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.061421
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.058778
                        }
                      ],
                      "others_margin": 0.059264
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.47701942920684814,
                    "model_output": 0.477,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1011
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0377
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0308
                      },
                      {
                        "name": "rating",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.4801,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1114
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0508
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0321
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0306
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0188
                        }
                      ],
                      "others": -0.024,
                      "total": 0.477,
                      "log_link": false,
                      "margin_base": 0.48008,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.11135
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.050793
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.032087
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.030563
                        },
                        {
                          "name": "totalProgression",
                          "margin": 0.018772
                        }
                      ],
                      "others_margin": -0.023925
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.91790246963501,
                    "model_output": 6.9179,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0922
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0582
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0462
                      },
                      {
                        "name": "rating",
                        "importance": 0.0313
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 6.7972,
                      "items": [
                        {
                          "name": "totalPass",
                          "contribution": 0.0602
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0342
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0227
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0202
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0143
                        }
                      ],
                      "others": 0.0381,
                      "total": 6.9179,
                      "log_link": false,
                      "margin_base": 6.797222,
                      "item_margins": [
                        {
                          "name": "totalPass",
                          "margin": 0.060182
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.034163
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.022684
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.020228
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.01431
                        }
                      ],
                      "others_margin": 0.038192
                    }
                  }
                ],
                "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 0.9916, quality 0.437)",
              "stats": {
                "interceptions": 1.2348,
                "tackles": 1.2629,
                "tackles_won": 0.7517,
                "clearances": 5.9825,
                "aerial_won": 1.6096,
                "total_shots": 0.473,
                "rating": 6.9179,
                "minutes": 82.34,
                "total_pass": 58.6354,
                "accurate_pass": 53.0083,
                "duels_won": 3.344,
                "total_long_balls": 6.2034,
                "accurate_long_balls": 2.2335,
                "total_own_half_passes": 44.1199,
                "accurate_own_half_passes": 42.5589,
                "total_opp_half_passes": 14.5155,
                "accurate_opp_half_passes": 10.4494,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 69.5961,
                "possession_lost": 5.8587,
                "dispossessed": 0.0,
                "duels_lost": 1.7282,
                "aerial_lost": 0.3986,
                "total_contest": 0.3739,
                "won_contest": 0.3739,
                "ball_recovery": 2.3379,
                "challenges_lost": 0.6432,
                "fouls": 0.9052,
                "fouls_drawn": 0.4348,
                "blocks": 0.3313,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0056,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 18.0401,
                "total_progression": 63.6989,
                "progressive_carries": 0.9905,
                "key_pass": 0.0,
                "shots_off_target": 0.473
              },
              "params": {
                "market_value_eur": 365000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9916,
                "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": {
                "interceptions": 1.2348,
                "tackles": 1.2629,
                "tackles_won": 0.7517,
                "clearances": 5.9825,
                "aerial_won": 1.6096,
                "total_shots": 0.473,
                "rating": 6.9179,
                "minutes": 82.34,
                "total_pass": 58.6354,
                "accurate_pass": 53.0083,
                "duels_won": 3.344,
                "total_long_balls": 6.2034,
                "accurate_long_balls": 2.2335,
                "total_own_half_passes": 44.1199,
                "accurate_own_half_passes": 42.5589,
                "total_opp_half_passes": 14.5155,
                "accurate_opp_half_passes": 10.4494,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 69.5961,
                "possession_lost": 5.8587,
                "dispossessed": 0.0,
                "duels_lost": 1.7282,
                "aerial_lost": 0.3986,
                "total_contest": 0.3739,
                "won_contest": 0.3739,
                "ball_recovery": 2.3379,
                "challenges_lost": 0.6432,
                "fouls": 0.9052,
                "fouls_drawn": 0.4348,
                "blocks": 0.3313,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0056,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 18.0401,
                "total_progression": 63.6989,
                "progressive_carries": 0.9905,
                "key_pass": 0.0,
                "shots_off_target": 0.473
              },
              "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.2348,
                "tackles": 1.2629,
                "tackles_won": 0.7517,
                "clearances": 5.9825,
                "aerial_won": 1.6096,
                "total_shots": 0.473,
                "rating": 6.9179,
                "minutes": 82.34,
                "total_pass": 58.6354,
                "accurate_pass": 53.0083,
                "duels_won": 3.344,
                "total_long_balls": 6.2034,
                "accurate_long_balls": 2.2335,
                "total_own_half_passes": 44.1199,
                "accurate_own_half_passes": 42.5589,
                "total_opp_half_passes": 14.5155,
                "accurate_opp_half_passes": 10.4494,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 69.5961,
                "possession_lost": 5.8587,
                "dispossessed": 0.0,
                "duels_lost": 1.7282,
                "aerial_lost": 0.3986,
                "total_contest": 0.3739,
                "won_contest": 0.3739,
                "ball_recovery": 2.3379,
                "challenges_lost": 0.6432,
                "fouls": 0.9052,
                "fouls_drawn": 0.4348,
                "blocks": 0.3313,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0,
                "expected_assists": 0.0056,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 18.0401,
                "total_progression": 63.6989,
                "progressive_carries": 0.9905,
                "key_pass": 0.0,
                "shots_off_target": 0.473,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.6,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.601,
                "opponent_faced": "Isco",
                "pressing_zone": "LW vs CB",
                "matchup_zone": "LW vs CB",
                "antagonist_source": "defensive_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Isco",
                  "matchup_zone": "LW vs CB"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 1.2348,
                "tackles": 1.2629,
                "tackles_won": 0.7517,
                "clearances": 5.9825,
                "aerial_won": 1.6096,
                "total_shots": 0.473,
                "rating": 6.9179,
                "minutes": 82.34,
                "total_pass": 58.6354,
                "accurate_pass": 53.0083,
                "duels_won": 3.344,
                "total_long_balls": 6.2034,
                "accurate_long_balls": 2.2335,
                "total_own_half_passes": 44.1199,
                "accurate_own_half_passes": 42.5589,
                "total_opp_half_passes": 14.5155,
                "accurate_opp_half_passes": 10.4494,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 69.5961,
                "possession_lost": 5.8587,
                "dispossessed": 0.0,
                "duels_lost": 1.7282,
                "aerial_lost": 0.3986,
                "total_contest": 0.3739,
                "won_contest": 0.3739,
                "ball_recovery": 2.3379,
                "challenges_lost": 0.6432,
                "fouls": 0.9052,
                "fouls_drawn": 0.4348,
                "blocks": 0.3313,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0056,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 18.0401,
                "total_progression": 63.6989,
                "progressive_carries": 0.9905,
                "key_pass": 0.0,
                "shots_off_target": 0.473,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.6,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.601,
                "opponent_faced": "Isco",
                "pressing_zone": "LW vs CB",
                "matchup_zone": "LW vs CB",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.83 (squad xG sum 0.7402, xG scale 1.1227, xA scale 1.1227, team xA 0.66 = 0.79 x lambda)",
              "stats": {
                "interceptions": 1.2348,
                "tackles": 1.2629,
                "tackles_won": 0.7517,
                "clearances": 5.9825,
                "aerial_won": 1.6096,
                "total_shots": 0.473,
                "rating": 6.9179,
                "minutes": 82.34,
                "total_pass": 58.6354,
                "accurate_pass": 53.0083,
                "duels_won": 3.344,
                "total_long_balls": 6.2034,
                "accurate_long_balls": 2.2335,
                "total_own_half_passes": 44.1199,
                "accurate_own_half_passes": 42.5589,
                "total_opp_half_passes": 14.5155,
                "accurate_opp_half_passes": 10.4494,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 69.5961,
                "possession_lost": 5.8587,
                "dispossessed": 0.0,
                "duels_lost": 1.7282,
                "aerial_lost": 0.3986,
                "total_contest": 0.3739,
                "won_contest": 0.3739,
                "ball_recovery": 2.3379,
                "challenges_lost": 0.6432,
                "fouls": 0.9052,
                "fouls_drawn": 0.4348,
                "blocks": 0.3313,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0063,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 18.0401,
                "total_progression": 63.6989,
                "progressive_carries": 0.9905,
                "key_pass": 0.0,
                "shots_off_target": 0.473,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.6,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.601,
                "opponent_faced": "Isco",
                "pressing_zone": "LW vs CB",
                "matchup_zone": "LW vs CB",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 0.8993
              },
              "params": {
                "team_lambda": 0.831,
                "squad_xg_sum": 0.7402,
                "squad_xa_sum": 0.5844,
                "team_expected_assists": 0.6561,
                "team_xa_to_xg_ratio": 0.7895,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1227,
                "xa_scale": 1.1227,
                "opponent_lambda": 2.153,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 4 by projected rating, fifa_overall 69.0)",
              "stats": {
                "interceptions": 1.2348,
                "tackles": 1.2629,
                "tackles_won": 0.7517,
                "clearances": 5.9825,
                "aerial_won": 1.6096,
                "total_shots": 0.473,
                "rating": 6.9179,
                "minutes": 82.34,
                "total_pass": 58.6354,
                "accurate_pass": 53.0083,
                "duels_won": 3.344,
                "total_long_balls": 6.2034,
                "accurate_long_balls": 2.2335,
                "total_own_half_passes": 44.1199,
                "accurate_own_half_passes": 42.5589,
                "total_opp_half_passes": 14.5155,
                "accurate_opp_half_passes": 10.4494,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 69.5961,
                "possession_lost": 5.8587,
                "dispossessed": 0.0,
                "duels_lost": 1.7282,
                "aerial_lost": 0.3986,
                "total_contest": 0.3739,
                "won_contest": 0.3739,
                "ball_recovery": 2.3379,
                "challenges_lost": 0.6432,
                "fouls": 0.9052,
                "fouls_drawn": 0.4348,
                "blocks": 0.3313,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0063,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 18.0401,
                "total_progression": 63.6989,
                "progressive_carries": 0.9905,
                "key_pass": 0.0,
                "shots_off_target": 0.473,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.6,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.601,
                "opponent_faced": "Isco",
                "pressing_zone": "LW vs CB",
                "matchup_zone": "LW vs CB",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 0.8993,
                "fifa_overall": 69.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": 5568,
                "fifa_rank": 6964.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 69.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "interceptions": 1.2348,
                "tackles": 1.2629,
                "tackles_won": 0.7517,
                "clearances": 5.9825,
                "aerial_won": 1.6096,
                "total_shots": 0.473,
                "rating": 6.9179,
                "minutes": 82.34,
                "total_pass": 58.6354,
                "accurate_pass": 53.0083,
                "duels_won": 3.344,
                "total_long_balls": 6.2034,
                "accurate_long_balls": 2.2335,
                "total_own_half_passes": 44.1199,
                "accurate_own_half_passes": 42.5589,
                "total_opp_half_passes": 14.5155,
                "accurate_opp_half_passes": 10.4494,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 69.5961,
                "possession_lost": 5.8587,
                "dispossessed": 0.0,
                "duels_lost": 1.7282,
                "aerial_lost": 0.3986,
                "total_contest": 0.3739,
                "won_contest": 0.3739,
                "ball_recovery": 2.3379,
                "challenges_lost": 0.6432,
                "fouls": 0.9052,
                "fouls_drawn": 0.4348,
                "blocks": 0.3313,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0063,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 18.0401,
                "total_progression": 63.6989,
                "progressive_carries": 0.9905,
                "key_pass": 0.0,
                "shots_off_target": 0.473,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.6,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.601,
                "opponent_faced": "Isco",
                "pressing_zone": "LW vs CB",
                "matchup_zone": "LW vs CB",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0,
                "creation_factor": 0.8993,
                "fifa_overall": 69.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0,
                "goal_rate": 0.0,
                "scorer_weight": 0.001,
                "squad_weight_total": 0.8662,
                "weight_share": 0.0012,
                "finishing_factor": 1.0,
                "appearance_weight": 1.0,
                "weight_rank": 13,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 1.2348,
                "tackles": 1.2629,
                "tackles_won": 0.7517,
                "clearances": 5.9825,
                "aerial_won": 1.6096,
                "total_shots": 0.473,
                "rating": 6.9179,
                "minutes": 82.34,
                "total_pass": 58.6354,
                "accurate_pass": 53.0083,
                "duels_won": 3.344,
                "total_long_balls": 6.2034,
                "accurate_long_balls": 2.2335,
                "total_own_half_passes": 44.1199,
                "accurate_own_half_passes": 42.5589,
                "total_opp_half_passes": 14.5155,
                "accurate_opp_half_passes": 10.4494,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 69.5961,
                "possession_lost": 5.8587,
                "dispossessed": 0.0,
                "duels_lost": 1.7282,
                "aerial_lost": 0.3986,
                "total_contest": 0.3739,
                "won_contest": 0.3739,
                "ball_recovery": 2.3379,
                "challenges_lost": 0.6432,
                "fouls": 0.9052,
                "fouls_drawn": 0.4348,
                "blocks": 0.3313,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0,
                "expected_assists": 0.0063,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 18.0401,
                "total_progression": 63.6989,
                "progressive_carries": 0.9905,
                "key_pass": 0.0,
                "shots_off_target": 0.473,
                "tackles_in_zone": 1.9,
                "tackles_won_in_zone": 1.6,
                "interceptions_in_zone": 0.7,
                "clearances_in_zone": 0.6,
                "aerial_duels_won": 1.1,
                "defensive_success_rate": 0.601,
                "opponent_faced": "Isco",
                "pressing_zone": "LW vs CB",
                "matchup_zone": "LW vs CB",
                "antagonist_source": "defensive_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0063,
                "finishing_factor": 1.0,
                "creation_factor": 0.8993,
                "fifa_overall": 69.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0063,
                "assist_rate": 0.0,
                "provider_weight": 0.0057,
                "squad_weight_total": 0.5932,
                "weight_share": 0.0096,
                "creation_factor": 0.8993,
                "appearance_weight": 1.0,
                "weight_rank": 13,
                "eligible_players": 13
              }
            }
          ]
        },
        "Fernando Calero": {
          "player_id": 857205,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 20,
          "height": 183,
          "market_value": 2100000,
          "stats": {
            "interceptions": 1,
            "tackles": 1,
            "tackles_won": 1,
            "clearances": 5,
            "aerial_won": 2,
            "total_shots": 0,
            "rating": 6.7777,
            "minutes": 85,
            "total_pass": 49,
            "accurate_pass": 44,
            "duels_won": 3,
            "total_long_balls": 5,
            "accurate_long_balls": 2,
            "total_own_half_passes": 33,
            "accurate_own_half_passes": 32,
            "total_opp_half_passes": 15,
            "accurate_opp_half_passes": 12,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 61,
            "possession_lost": 5.6908,
            "dispossessed": 0.129,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 3,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0393,
            "expected_assists": 0.0132,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0002,
            "ball_carries": 14,
            "total_progression": 59,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "tackles_in_zone": 1.0,
            "tackles_won_in_zone": 0.8,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.8,
            "defensive_success_rate": 0.661,
            "opponent_faced": "Abdessamad Ezzalzouli",
            "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.0385,
            "projected_assists": 0,
            "assist_probability": 0.0131,
            "finishing_factor": 0.8,
            "creation_factor": 0.8091,
            "fifa_overall": 81.0
          },
          "latest_10_games": [
            {
              "match_id": 16421073,
              "match_date": "2026-10-18",
              "home_team": "Málaga CF",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0052,
                "total_shots": 0,
                "total_pass": 48,
                "accurate_pass": 45,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 7,
                "aerial_won": 3,
                "duels_won": 6,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 74,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0918,
                "expected_assists": 0.042,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 57,
                "accurate_pass": 56,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0087,
                "total_shots": 0,
                "total_pass": 71,
                "accurate_pass": 66,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 2,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "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": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.001,
                "total_shots": 0,
                "total_pass": 5,
                "accurate_pass": 4,
                "tackles": 1,
                "interceptions": 1,
                "clearances": 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": 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.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0387,
                "expected_assists": 0.0013,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 25,
                "accurate_pass": 17,
                "interceptions": 1,
                "clearances": 6,
                "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"
            },
            {
              "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.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0293,
                "total_shots": 0,
                "total_pass": 39,
                "accurate_pass": 37,
                "interceptions": 2,
                "clearances": 7,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 9
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14083221,
              "match_date": "2026-04-27",
              "home_team": "Espanyol",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Espanyol",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0064,
                "total_shots": 0,
                "total_pass": 68,
                "accurate_pass": 59,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 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": 78,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0052,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 23,
                "interceptions": 1,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 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": 90,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1459,
                "expected_assists": 0.0018,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 26,
                "accurate_pass": 22,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 3,
                "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": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            },
            {
              "match_id": 14081800,
              "match_date": "2026-03-09",
              "home_team": "Espanyol",
              "away_team": "Real Oviedo",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Espanyol",
              "opponent": "Real Oviedo",
              "stats": {
                "minutes": 11,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0003,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 7,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 1185,
            "combined_rank_score": 513.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 522.0,
            "sofascore_rating": 6.8393,
            "sofascore_appearances": 28.0,
            "fifa_rank": 504.0,
            "fifa_overall": 81.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 11,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7777,
            "source_file": "data/player_rankings.csv",
            "player_name": "Fernando Calero",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Sebastián Díaz",
                  "ranking": 1180
                },
                {
                  "player_name": "Jesse Lingard",
                  "ranking": 1181
                },
                {
                  "player_name": "Ilkhomzhon Abduganiev",
                  "ranking": 1182
                },
                {
                  "player_name": "Pijus Širvys",
                  "ranking": 1183
                },
                {
                  "player_name": "Olivier Thill",
                  "ranking": 1184
                }
              ],
              "lower": [
                {
                  "player_name": "Diego Rubio",
                  "ranking": 1186
                },
                {
                  "player_name": "Ismaïla Sarr",
                  "ranking": 1187
                },
                {
                  "player_name": "Kevin Danso",
                  "ranking": 1188
                },
                {
                  "player_name": "Folarin Balogun",
                  "ranking": 1189
                },
                {
                  "player_name": "Jonathan David",
                  "ranking": 1190
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 30,
          "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": 30,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9971,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (D_service) evaluated 30 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1.0113,
                "tackles": 1.2565,
                "tackles_won": 0.7324,
                "clearances": 4.8164,
                "aerial_won": 1.6573,
                "total_shots": 0.4983,
                "rating": 6.7777,
                "minutes": 85.37,
                "total_pass": 48.9607,
                "accurate_pass": 44.3578,
                "duels_won": 3.3016,
                "total_long_balls": 4.6434,
                "accurate_long_balls": 2.1644,
                "total_own_half_passes": 33.5581,
                "accurate_own_half_passes": 32.5131,
                "total_opp_half_passes": 15.4026,
                "accurate_opp_half_passes": 11.8447,
                "crosses_total": 0.2148,
                "crosses_accurate": 0.1294,
                "touches": 61.1146,
                "possession_lost": 5.7074,
                "dispossessed": 0.1294,
                "duels_lost": 3.2711,
                "aerial_lost": 1.4736,
                "total_contest": 0.1459,
                "won_contest": 0.0183,
                "ball_recovery": 3.3809,
                "challenges_lost": 0.6424,
                "fouls": 0.8982,
                "fouls_drawn": 0.7623,
                "blocks": 0.9858,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0351,
                "expected_assists": 0.0118,
                "shots_on_target": 0.0133,
                "big_chances_created": 0.0252,
                "xgot": 0.0002,
                "ball_carries": 13.9513,
                "total_progression": 58.7587,
                "progressive_carries": 0.2998,
                "key_pass": 0.0552,
                "shots_off_target": 0.485
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:29:25.210665+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 626,
                    "rows": 22004
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1512,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Espanyol",
                    "minutes": 74.0,
                    "is_starting": true,
                    "weight": 0.1285,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-05-23",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1092,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-05-17",
                    "opponent": "Osasuna",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.0928,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Sevilla",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0789,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-05-03",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0671,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-04-27",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.057,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-04-23",
                    "opponent": "Rayo Vallecano",
                    "minutes": 78.0,
                    "is_starting": true,
                    "weight": 0.0485,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-04-11",
                    "opponent": "FC Barcelona",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0412,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-03-09",
                    "opponent": "Real Oviedo",
                    "minutes": 11.0,
                    "is_starting": false,
                    "weight": 0.035,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 20.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 3.9889,
                  "aerialWon": 1.309,
                  "totalClearance_p90": 4.6708,
                  "totalTackle": 1.0055,
                  "totalPass": 43.6161
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.0112662315368652,
                    "model_output": 1.0113,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2977
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0446
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0318
                      },
                      {
                        "name": "touches",
                        "importance": 0.0281
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8678,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1088
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0219
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0098
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0091
                        },
                        {
                          "name": "touches",
                          "contribution": 0.0086
                        }
                      ],
                      "others": 0.0035,
                      "total": 1.0113,
                      "log_link": true,
                      "margin_base": -0.141777,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.118091
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.022159
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.00976
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.009061
                        },
                        {
                          "name": "touches",
                          "margin": 0.008571
                        }
                      ],
                      "others_margin": 0.003461
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.256545901298523,
                    "model_output": 1.2565,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2493
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0731
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0414
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0245
                      }
                    ],
                    "decomposition": {
                      "base": 1.3878,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1718
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0813
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0492
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0454
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0362
                        }
                      ],
                      "others": -0.091,
                      "total": 1.2565,
                      "log_link": true,
                      "margin_base": 0.327722,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.11672
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.053509
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.033812
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.032291
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.02651
                        }
                      ],
                      "others_margin": -0.069952
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.7323629260063171,
                    "model_output": 0.7324,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1966
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0678
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0471
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0406
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 0.8471,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1075
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0399
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": -0.0381
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": -0.0332
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0218
                        }
                      ],
                      "others": -0.0892,
                      "total": 0.7324,
                      "log_link": true,
                      "margin_base": -0.165887,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.119502
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.042706
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": -0.042544
                        },
                        {
                          "name": "defensive_actions",
                          "margin": -0.038625
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.026159
                        }
                      ],
                      "others_margin": -0.115061
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 4.8164381980896,
                    "model_output": 4.8164,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2929
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1447
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.1031
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0342
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0223
                      }
                    ],
                    "decomposition": {
                      "base": 3.4227,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4409
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.3662
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.3352
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.2729
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.1404
                        }
                      ],
                      "others": 0.1189,
                      "total": 4.8164,
                      "log_link": true,
                      "margin_base": 1.230438,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.121165
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.090559
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.076256
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.058072
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.029446
                        }
                      ],
                      "others_margin": 0.024992
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 1.657292366027832,
                    "model_output": 1.6573,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1591
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1548
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0782
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.3743,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1624
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1205
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": 0.075
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.073
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0492
                        }
                      ],
                      "others": 0.0439,
                      "total": 1.6573,
                      "log_link": true,
                      "margin_base": 0.31798,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.111703
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.081635
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": 0.051585
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.047765
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.030981
                        }
                      ],
                      "others_margin": 0.026807
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.49826380610466003,
                    "model_output": 0.4983,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1011
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0377
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0308
                      },
                      {
                        "name": "rating",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.4801,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0611
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0163
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0134
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.0103
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": -0.0062
                        }
                      ],
                      "others": -0.0293,
                      "total": 0.4983,
                      "log_link": false,
                      "margin_base": 0.48008,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.061068
                        },
                        {
                          "name": "totalProgression",
                          "margin": 0.016326
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.013412
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.010268
                        },
                        {
                          "name": "duelWon_p90",
                          "margin": -0.006188
                        }
                      ],
                      "others_margin": -0.029342
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.777709007263184,
                    "model_output": 6.7777,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0922
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0582
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0462
                      },
                      {
                        "name": "rating",
                        "importance": 0.0313
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 6.7972,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0105
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0101
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0076
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0068
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": 0.0067
                        }
                      ],
                      "others": 0.0088,
                      "total": 6.7777,
                      "log_link": false,
                      "margin_base": 6.797222,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.01051
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.010097
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.007563
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.006836
                        },
                        {
                          "name": "tackle_success_rate",
                          "margin": 0.006675
                        }
                      ],
                      "others_margin": 0.00882
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 30,
                  "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 0.9971, quality 0.437)",
              "stats": {
                "interceptions": 1.0083,
                "tackles": 1.2529,
                "tackles_won": 0.7302,
                "clearances": 4.8025,
                "aerial_won": 1.6525,
                "total_shots": 0.4969,
                "rating": 6.7777,
                "minutes": 85.37,
                "total_pass": 48.8187,
                "accurate_pass": 44.2292,
                "duels_won": 3.292,
                "total_long_balls": 4.6299,
                "accurate_long_balls": 2.1581,
                "total_own_half_passes": 33.4608,
                "accurate_own_half_passes": 32.4188,
                "total_opp_half_passes": 15.3579,
                "accurate_opp_half_passes": 11.8104,
                "crosses_total": 0.2142,
                "crosses_accurate": 0.129,
                "touches": 60.9374,
                "possession_lost": 5.6908,
                "dispossessed": 0.129,
                "duels_lost": 3.2616,
                "aerial_lost": 1.4693,
                "total_contest": 0.1455,
                "won_contest": 0.0182,
                "ball_recovery": 3.3711,
                "challenges_lost": 0.6405,
                "fouls": 0.8956,
                "fouls_drawn": 0.7601,
                "blocks": 0.9829,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.035,
                "expected_assists": 0.0118,
                "shots_on_target": 0.0133,
                "big_chances_created": 0.0251,
                "xgot": 0.0002,
                "ball_carries": 13.9108,
                "total_progression": 58.5883,
                "progressive_carries": 0.2989,
                "key_pass": 0.055,
                "shots_off_target": 0.4836
              },
              "params": {
                "market_value_eur": 2100000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9971,
                "reference_quality": 0.505,
                "history_matches": 30,
                "history_shrink": 0.1429,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.0083,
                "tackles": 1.2529,
                "tackles_won": 0.7302,
                "clearances": 4.8025,
                "aerial_won": 1.6525,
                "total_shots": 0.4969,
                "rating": 6.7777,
                "minutes": 85.37,
                "total_pass": 48.8187,
                "accurate_pass": 44.2292,
                "duels_won": 3.292,
                "total_long_balls": 4.6299,
                "accurate_long_balls": 2.1581,
                "total_own_half_passes": 33.4608,
                "accurate_own_half_passes": 32.4188,
                "total_opp_half_passes": 15.3579,
                "accurate_opp_half_passes": 11.8104,
                "crosses_total": 0.2142,
                "crosses_accurate": 0.129,
                "touches": 60.9374,
                "possession_lost": 5.6908,
                "dispossessed": 0.129,
                "duels_lost": 3.2616,
                "aerial_lost": 1.4693,
                "total_contest": 0.1455,
                "won_contest": 0.0182,
                "ball_recovery": 3.3711,
                "challenges_lost": 0.6405,
                "fouls": 0.8956,
                "fouls_drawn": 0.7601,
                "blocks": 0.9829,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.035,
                "expected_assists": 0.0118,
                "shots_on_target": 0.0133,
                "big_chances_created": 0.0251,
                "xgot": 0.0002,
                "ball_carries": 13.9108,
                "total_progression": 58.5883,
                "progressive_carries": 0.2989,
                "key_pass": 0.055,
                "shots_off_target": 0.4836
              },
              "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.0083,
                "tackles": 1.2529,
                "tackles_won": 0.7302,
                "clearances": 4.8025,
                "aerial_won": 1.6525,
                "total_shots": 0.4969,
                "rating": 6.7777,
                "minutes": 85.37,
                "total_pass": 48.8187,
                "accurate_pass": 44.2292,
                "duels_won": 3.292,
                "total_long_balls": 4.6299,
                "accurate_long_balls": 2.1581,
                "total_own_half_passes": 33.4608,
                "accurate_own_half_passes": 32.4188,
                "total_opp_half_passes": 15.3579,
                "accurate_opp_half_passes": 11.8104,
                "crosses_total": 0.2142,
                "crosses_accurate": 0.129,
                "touches": 60.9374,
                "possession_lost": 5.6908,
                "dispossessed": 0.129,
                "duels_lost": 3.2616,
                "aerial_lost": 1.4693,
                "total_contest": 0.1455,
                "won_contest": 0.0182,
                "ball_recovery": 3.3711,
                "challenges_lost": 0.6405,
                "fouls": 0.8956,
                "fouls_drawn": 0.7601,
                "blocks": 0.9829,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.035,
                "expected_assists": 0.0118,
                "shots_on_target": 0.0133,
                "big_chances_created": 0.0251,
                "xgot": 0.0002,
                "ball_carries": 13.9108,
                "total_progression": 58.5883,
                "progressive_carries": 0.2989,
                "key_pass": 0.055,
                "shots_off_target": 0.4836,
                "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.8,
                "defensive_success_rate": 0.661,
                "opponent_faced": "Abdessamad Ezzalzouli",
                "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": "Abdessamad Ezzalzouli",
                  "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 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 1.0083,
                "tackles": 1.2529,
                "tackles_won": 0.7302,
                "clearances": 4.8025,
                "aerial_won": 1.6525,
                "total_shots": 0.4969,
                "rating": 6.7777,
                "minutes": 85.37,
                "total_pass": 48.8187,
                "accurate_pass": 44.2292,
                "duels_won": 3.292,
                "total_long_balls": 4.6299,
                "accurate_long_balls": 2.1581,
                "total_own_half_passes": 33.4608,
                "accurate_own_half_passes": 32.4188,
                "total_opp_half_passes": 15.3579,
                "accurate_opp_half_passes": 11.8104,
                "crosses_total": 0.2142,
                "crosses_accurate": 0.129,
                "touches": 60.9374,
                "possession_lost": 5.6908,
                "dispossessed": 0.129,
                "duels_lost": 3.2616,
                "aerial_lost": 1.4693,
                "total_contest": 0.1455,
                "won_contest": 0.0182,
                "ball_recovery": 3.3711,
                "challenges_lost": 0.6405,
                "fouls": 0.8956,
                "fouls_drawn": 0.7601,
                "blocks": 0.9829,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.035,
                "expected_assists": 0.0118,
                "shots_on_target": 0.0133,
                "big_chances_created": 0.0251,
                "xgot": 0.0002,
                "ball_carries": 13.9108,
                "total_progression": 58.5883,
                "progressive_carries": 0.2989,
                "key_pass": 0.055,
                "shots_off_target": 0.4836,
                "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.8,
                "defensive_success_rate": 0.661,
                "opponent_faced": "Abdessamad Ezzalzouli",
                "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": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.83 (squad xG sum 0.7402, xG scale 1.1227, xA scale 1.1227, team xA 0.66 = 0.79 x lambda)",
              "stats": {
                "interceptions": 1.0083,
                "tackles": 1.2529,
                "tackles_won": 0.7302,
                "clearances": 4.8025,
                "aerial_won": 1.6525,
                "total_shots": 0.4969,
                "rating": 6.7777,
                "minutes": 85.37,
                "total_pass": 48.8187,
                "accurate_pass": 44.2292,
                "duels_won": 3.292,
                "total_long_balls": 4.6299,
                "accurate_long_balls": 2.1581,
                "total_own_half_passes": 33.4608,
                "accurate_own_half_passes": 32.4188,
                "total_opp_half_passes": 15.3579,
                "accurate_opp_half_passes": 11.8104,
                "crosses_total": 0.2142,
                "crosses_accurate": 0.129,
                "touches": 60.9374,
                "possession_lost": 5.6908,
                "dispossessed": 0.129,
                "duels_lost": 3.2616,
                "aerial_lost": 1.4693,
                "total_contest": 0.1455,
                "won_contest": 0.0182,
                "ball_recovery": 3.3711,
                "challenges_lost": 0.6405,
                "fouls": 0.8956,
                "fouls_drawn": 0.7601,
                "blocks": 0.9829,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0393,
                "expected_assists": 0.0132,
                "shots_on_target": 0.0133,
                "big_chances_created": 0.0251,
                "xgot": 0.0002,
                "ball_carries": 13.9108,
                "total_progression": 58.5883,
                "progressive_carries": 0.2989,
                "key_pass": 0.055,
                "shots_off_target": 0.4836,
                "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.8,
                "defensive_success_rate": 0.661,
                "opponent_faced": "Abdessamad Ezzalzouli",
                "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.8091
              },
              "params": {
                "team_lambda": 0.831,
                "squad_xg_sum": 0.7402,
                "squad_xa_sum": 0.5844,
                "team_expected_assists": 0.6561,
                "team_xa_to_xg_ratio": 0.7895,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1227,
                "xa_scale": 1.1227,
                "opponent_lambda": 2.153,
                "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 81.0)",
              "stats": {
                "interceptions": 1.0083,
                "tackles": 1.2529,
                "tackles_won": 0.7302,
                "clearances": 4.8025,
                "aerial_won": 1.6525,
                "total_shots": 0.4969,
                "rating": 6.7777,
                "minutes": 85.37,
                "total_pass": 48.8187,
                "accurate_pass": 44.2292,
                "duels_won": 3.292,
                "total_long_balls": 4.6299,
                "accurate_long_balls": 2.1581,
                "total_own_half_passes": 33.4608,
                "accurate_own_half_passes": 32.4188,
                "total_opp_half_passes": 15.3579,
                "accurate_opp_half_passes": 11.8104,
                "crosses_total": 0.2142,
                "crosses_accurate": 0.129,
                "touches": 60.9374,
                "possession_lost": 5.6908,
                "dispossessed": 0.129,
                "duels_lost": 3.2616,
                "aerial_lost": 1.4693,
                "total_contest": 0.1455,
                "won_contest": 0.0182,
                "ball_recovery": 3.3711,
                "challenges_lost": 0.6405,
                "fouls": 0.8956,
                "fouls_drawn": 0.7601,
                "blocks": 0.9829,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0393,
                "expected_assists": 0.0132,
                "shots_on_target": 0.0133,
                "big_chances_created": 0.0251,
                "xgot": 0.0002,
                "ball_carries": 13.9108,
                "total_progression": 58.5883,
                "progressive_carries": 0.2989,
                "key_pass": 0.055,
                "shots_off_target": 0.4836,
                "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.8,
                "defensive_success_rate": 0.661,
                "opponent_faced": "Abdessamad Ezzalzouli",
                "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.8091,
                "fifa_overall": 81.0
              },
              "params": {
                "match_squad_rank": 11,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1185,
                "fifa_rank": 504.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 81.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "interceptions": 1.0083,
                "tackles": 1.2529,
                "tackles_won": 0.7302,
                "clearances": 4.8025,
                "aerial_won": 1.6525,
                "total_shots": 0.4969,
                "rating": 6.7777,
                "minutes": 85.37,
                "total_pass": 48.8187,
                "accurate_pass": 44.2292,
                "duels_won": 3.292,
                "total_long_balls": 4.6299,
                "accurate_long_balls": 2.1581,
                "total_own_half_passes": 33.4608,
                "accurate_own_half_passes": 32.4188,
                "total_opp_half_passes": 15.3579,
                "accurate_opp_half_passes": 11.8104,
                "crosses_total": 0.2142,
                "crosses_accurate": 0.129,
                "touches": 60.9374,
                "possession_lost": 5.6908,
                "dispossessed": 0.129,
                "duels_lost": 3.2616,
                "aerial_lost": 1.4693,
                "total_contest": 0.1455,
                "won_contest": 0.0182,
                "ball_recovery": 3.3711,
                "challenges_lost": 0.6405,
                "fouls": 0.8956,
                "fouls_drawn": 0.7601,
                "blocks": 0.9829,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0393,
                "expected_assists": 0.0132,
                "shots_on_target": 0.0133,
                "big_chances_created": 0.0251,
                "xgot": 0.0002,
                "ball_carries": 13.9108,
                "total_progression": 58.5883,
                "progressive_carries": 0.2989,
                "key_pass": 0.055,
                "shots_off_target": 0.4836,
                "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.8,
                "defensive_success_rate": 0.661,
                "opponent_faced": "Abdessamad Ezzalzouli",
                "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.0385,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8091,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0385,
                "goal_rate": 0.0,
                "scorer_weight": 0.0314,
                "squad_weight_total": 0.8662,
                "weight_share": 0.0363,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 10,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 1.0083,
                "tackles": 1.2529,
                "tackles_won": 0.7302,
                "clearances": 4.8025,
                "aerial_won": 1.6525,
                "total_shots": 0.4969,
                "rating": 6.7777,
                "minutes": 85.37,
                "total_pass": 48.8187,
                "accurate_pass": 44.2292,
                "duels_won": 3.292,
                "total_long_balls": 4.6299,
                "accurate_long_balls": 2.1581,
                "total_own_half_passes": 33.4608,
                "accurate_own_half_passes": 32.4188,
                "total_opp_half_passes": 15.3579,
                "accurate_opp_half_passes": 11.8104,
                "crosses_total": 0.2142,
                "crosses_accurate": 0.129,
                "touches": 60.9374,
                "possession_lost": 5.6908,
                "dispossessed": 0.129,
                "duels_lost": 3.2616,
                "aerial_lost": 1.4693,
                "total_contest": 0.1455,
                "won_contest": 0.0182,
                "ball_recovery": 3.3711,
                "challenges_lost": 0.6405,
                "fouls": 0.8956,
                "fouls_drawn": 0.7601,
                "blocks": 0.9829,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0393,
                "expected_assists": 0.0132,
                "shots_on_target": 0.0133,
                "big_chances_created": 0.0251,
                "xgot": 0.0002,
                "ball_carries": 13.9108,
                "total_progression": 58.5883,
                "progressive_carries": 0.2989,
                "key_pass": 0.055,
                "shots_off_target": 0.4836,
                "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.8,
                "defensive_success_rate": 0.661,
                "opponent_faced": "Abdessamad Ezzalzouli",
                "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.0385,
                "projected_assists": 0,
                "assist_probability": 0.0131,
                "finishing_factor": 0.8,
                "creation_factor": 0.8091,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0131,
                "assist_rate": 0.0,
                "provider_weight": 0.0107,
                "squad_weight_total": 0.5932,
                "weight_share": 0.018,
                "creation_factor": 0.8091,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 13
              }
            }
          ]
        },
        "Carlos Puga": {
          "player_id": 1164708,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 3,
          "height": 175,
          "market_value": 1000000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 2,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.8052,
            "minutes": 77,
            "total_pass": 35,
            "accurate_pass": 29,
            "duels_won": 8,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 14,
            "accurate_own_half_passes": 12,
            "total_opp_half_passes": 21,
            "accurate_opp_half_passes": 17,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 60,
            "possession_lost": 11.0465,
            "dispossessed": 0.7504,
            "duels_lost": 5,
            "aerial_lost": 1,
            "total_contest": 3,
            "won_contest": 2,
            "ball_recovery": 4,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0021,
            "expected_assists": 0.0314,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 11,
            "total_progression": 77,
            "progressive_carries": 2,
            "key_pass": 0,
            "shots_off_target": 0,
            "opponent_faced": "Abdessamad Ezzalzouli",
            "matchup_zone": "Shape fallback",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0021,
            "projected_assists": 0,
            "assist_probability": 0.0309,
            "finishing_factor": 0.9634,
            "creation_factor": 0.8,
            "fifa_overall": 78.0
          },
          "latest_10_games": [
            {
              "match_id": 16421077,
              "match_date": "2026-10-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 77,
                "rating": 7.7,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0106,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "total_pass": 41,
                "accurate_pass": 33,
                "tackles": 8,
                "tackles_won": 6,
                "interceptions": 2,
                "clearances": 1,
                "aerial_won": 0,
                "duels_won": 12,
                "ball_recovery": 6,
                "saves": 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": 16421073,
              "match_date": "2026-10-18",
              "home_team": "Málaga CF",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 8,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0029,
                "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": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 62,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0592,
                "total_shots": 0,
                "total_pass": 34,
                "accurate_pass": 30,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 75,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0031,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 16,
                "key_pass": 1,
                "tackles": 6,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 4,
                "aerial_won": 1,
                "duels_won": 10,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416347,
              "match_date": "2026-09-13",
              "home_team": "Celta Vigo",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 23,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0048,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 11,
                "tackles": 1,
                "clearances": 2,
                "duels_won": 3,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416320,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 23,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0088,
                "total_shots": 0,
                "total_pass": 22,
                "accurate_pass": 14,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416312,
              "match_date": "2026-08-30",
              "home_team": "Real Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 60,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0073,
                "total_shots": 0,
                "total_pass": 29,
                "accurate_pass": 22,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 1,
                "duels_won": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416307,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0155,
                "expected_assists": 0.0737,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 60,
                "accurate_pass": 51,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 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": "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": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 72,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0244,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 23,
                "key_pass": 1,
                "interceptions": 3,
                "clearances": 3,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 2198,
            "combined_rank_score": 1041.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 822.0,
            "sofascore_rating": 6.6,
            "sofascore_appearances": 3.0,
            "fifa_rank": 1260.0,
            "fifa_overall": 78.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 7,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8052,
            "source_file": "data/player_rankings.csv",
            "player_name": "Carlos Puga",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jun-gyu Ahn",
                  "ranking": 2193
                },
                {
                  "player_name": "Khazrat Tursunkulov",
                  "ranking": 2194
                },
                {
                  "player_name": "Ferslev Anders Klynge",
                  "ranking": 2195
                },
                {
                  "player_name": "Kim Do-Yoon",
                  "ranking": 2196
                },
                {
                  "player_name": "Solly March",
                  "ranking": 2197
                }
              ],
              "lower": [
                {
                  "player_name": "Everton Galdino",
                  "ranking": 2199
                },
                {
                  "player_name": "Bektemir Abdumannonov",
                  "ranking": 2200
                },
                {
                  "player_name": "Darwin Machís",
                  "ranking": 2201
                },
                {
                  "player_name": "Freddy Góndola",
                  "ranking": 2202
                },
                {
                  "player_name": "Joseph Mora",
                  "ranking": 2203
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 9,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 9,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9928,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (D_service) evaluated 9 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1.0851,
                "tackles": 2.4327,
                "tackles_won": 1.5189,
                "clearances": 1.7329,
                "aerial_won": 0.6174,
                "total_shots": 0.4449,
                "rating": 6.8052,
                "minutes": 76.63,
                "total_pass": 35.5529,
                "accurate_pass": 28.9953,
                "duels_won": 7.706,
                "total_long_balls": 1.3322,
                "accurate_long_balls": 0.4373,
                "total_own_half_passes": 14.4228,
                "accurate_own_half_passes": 11.9706,
                "total_opp_half_passes": 21.1301,
                "accurate_opp_half_passes": 17.0247,
                "crosses_total": 0.4561,
                "crosses_accurate": 0.0,
                "touches": 60.8089,
                "possession_lost": 11.1266,
                "dispossessed": 0.7558,
                "duels_lost": 5.3751,
                "aerial_lost": 0.7191,
                "total_contest": 3.0586,
                "won_contest": 1.9657,
                "ball_recovery": 4.2819,
                "challenges_lost": 1.3007,
                "fouls": 1.5065,
                "fouls_drawn": 1.133,
                "blocks": 0.8075,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0019,
                "expected_assists": 0.0282,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 11.5704,
                "total_progression": 77.2493,
                "progressive_carries": 2.0013,
                "key_pass": 0.4856,
                "shots_off_target": 0.4449
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:29:25.210665+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 626,
                    "rows": 22004
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-23",
                    "opponent": "Deportivo Alavés",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.1952,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Real Sociedad",
                    "minutes": 8.0,
                    "is_starting": false,
                    "weight": 0.1659,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Espanyol",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.141,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Villarreal",
                    "minutes": 75.0,
                    "is_starting": true,
                    "weight": 0.1199,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Celta Vigo",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.1019,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Levante UD",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.0866,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Real Madrid",
                    "minutes": 60.0,
                    "is_starting": true,
                    "weight": 0.0736,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0626,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Atlético Madrid",
                    "minutes": 72.0,
                    "is_starting": true,
                    "weight": 0.0532,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 9.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 1.378,
                  "aerialWon": 0.1731,
                  "totalClearance_p90": 2.241,
                  "totalTackle": 3.2228,
                  "totalPass": 26.5732
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.0850597620010376,
                    "model_output": 1.0851,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2977
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0446
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0318
                      },
                      {
                        "name": "touches",
                        "importance": 0.0281
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8678,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1058
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0233
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0229
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0234
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0213
                        }
                      ],
                      "others": 0.1098,
                      "total": 1.0851,
                      "log_link": true,
                      "margin_base": -0.141777,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.115056
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.024213
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.023776
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.023761
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.021566
                        }
                      ],
                      "others_margin": 0.106599
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 2.432699680328369,
                    "model_output": 2.4327,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2493
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0731
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0414
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0245
                      }
                    ],
                    "decomposition": {
                      "base": 1.3878,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1901
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.1482
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.111
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.1108
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0491
                        }
                      ],
                      "others": 0.4357,
                      "total": 2.4327,
                      "log_link": true,
                      "margin_base": 0.327722,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.128392
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.089763
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.062323
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.058546
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.024872
                        }
                      ],
                      "others_margin": 0.197383
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.5189419984817505,
                    "model_output": 1.5189,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1966
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0678
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0471
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0406
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 0.8471,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1156
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0881
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0734
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0621
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.038
                        }
                      ],
                      "others": 0.2946,
                      "total": 1.5189,
                      "log_link": true,
                      "margin_base": -0.165887,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.127877
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.087575
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.067534
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.053793
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.031563
                        }
                      ],
                      "others_margin": 0.21556
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 1.7329378128051758,
                    "model_output": 1.7329,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2929
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1447
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.1031
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0342
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0223
                      }
                    ],
                    "decomposition": {
                      "base": 3.4227,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.7976
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.3585
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.3146
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.2803
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.2283
                        }
                      ],
                      "others": -0.4275,
                      "total": 1.7329,
                      "log_link": true,
                      "margin_base": 1.230438,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.265324
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.128016
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.111409
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.110956
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.100443
                        }
                      ],
                      "others_margin": -0.220504
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.6173778176307678,
                    "model_output": 0.6174,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1591
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1548
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0782
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.3743,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.5379
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0983
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0942
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0841
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0407
                        }
                      ],
                      "others": -0.0901,
                      "total": 0.6174,
                      "log_link": true,
                      "margin_base": 0.31798,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.496565
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.125077
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.120102
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.106546
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.055946
                        }
                      ],
                      "others_margin": -0.136222
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.4448668956756592,
                    "model_output": 0.4449,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1011
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0377
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0308
                      },
                      {
                        "name": "rating",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.4801,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1399
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0511
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0228
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.0188
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0143
                        }
                      ],
                      "others": -0.0023,
                      "total": 0.4449,
                      "log_link": false,
                      "margin_base": 0.48008,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.139891
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.051062
                        },
                        {
                          "name": "rating",
                          "margin": 0.022803
                        },
                        {
                          "name": "duelWon",
                          "margin": 0.018806
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.014299
                        }
                      ],
                      "others_margin": -0.002293
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.805213928222656,
                    "model_output": 6.8052,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0922
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0582
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0462
                      },
                      {
                        "name": "rating",
                        "importance": 0.0313
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 6.7972,
                      "items": [
                        {
                          "name": "touches_p90",
                          "contribution": 0.0317
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0289
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0116
                        },
                        {
                          "name": "duelWon",
                          "contribution": 0.0114
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0103
                        }
                      ],
                      "others": -0.0421,
                      "total": 6.8052,
                      "log_link": false,
                      "margin_base": 6.797222,
                      "item_margins": [
                        {
                          "name": "touches_p90",
                          "margin": 0.031718
                        },
                        {
                          "name": "rating",
                          "margin": 0.02892
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.011617
                        },
                        {
                          "name": "duelWon",
                          "margin": 0.011394
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.0103
                        }
                      ],
                      "others_margin": -0.042125
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 9,
                  "role_matches": 6,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9928, quality 0.437)",
              "stats": {
                "interceptions": 1.0772,
                "tackles": 2.4152,
                "tackles_won": 1.508,
                "clearances": 1.7205,
                "aerial_won": 0.6129,
                "total_shots": 0.4417,
                "rating": 6.8052,
                "minutes": 76.63,
                "total_pass": 35.2969,
                "accurate_pass": 28.7865,
                "duels_won": 7.6505,
                "total_long_balls": 1.3226,
                "accurate_long_balls": 0.4342,
                "total_own_half_passes": 14.319,
                "accurate_own_half_passes": 11.8844,
                "total_opp_half_passes": 20.978,
                "accurate_opp_half_passes": 16.9021,
                "crosses_total": 0.4528,
                "crosses_accurate": 0.0,
                "touches": 60.3711,
                "possession_lost": 11.0465,
                "dispossessed": 0.7504,
                "duels_lost": 5.3364,
                "aerial_lost": 0.7139,
                "total_contest": 3.0366,
                "won_contest": 1.9515,
                "ball_recovery": 4.2511,
                "challenges_lost": 1.2913,
                "fouls": 1.4957,
                "fouls_drawn": 1.1248,
                "blocks": 0.8017,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0019,
                "expected_assists": 0.028,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 11.4871,
                "total_progression": 76.6931,
                "progressive_carries": 1.9869,
                "key_pass": 0.4821,
                "shots_off_target": 0.4417
              },
              "params": {
                "market_value_eur": 1000000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9928,
                "reference_quality": 0.505,
                "history_matches": 9,
                "history_shrink": 0.3571,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.0772,
                "tackles": 2.4152,
                "tackles_won": 1.508,
                "clearances": 1.7205,
                "aerial_won": 0.6129,
                "total_shots": 0.4417,
                "rating": 6.8052,
                "minutes": 76.63,
                "total_pass": 35.2969,
                "accurate_pass": 28.7865,
                "duels_won": 7.6505,
                "total_long_balls": 1.3226,
                "accurate_long_balls": 0.4342,
                "total_own_half_passes": 14.319,
                "accurate_own_half_passes": 11.8844,
                "total_opp_half_passes": 20.978,
                "accurate_opp_half_passes": 16.9021,
                "crosses_total": 0.4528,
                "crosses_accurate": 0.0,
                "touches": 60.3711,
                "possession_lost": 11.0465,
                "dispossessed": 0.7504,
                "duels_lost": 5.3364,
                "aerial_lost": 0.7139,
                "total_contest": 3.0366,
                "won_contest": 1.9515,
                "ball_recovery": 4.2511,
                "challenges_lost": 1.2913,
                "fouls": 1.4957,
                "fouls_drawn": 1.1248,
                "blocks": 0.8017,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0019,
                "expected_assists": 0.028,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 11.4871,
                "total_progression": 76.6931,
                "progressive_carries": 1.9869,
                "key_pass": 0.4821,
                "shots_off_target": 0.4417
              },
              "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.0772,
                "tackles": 2.4152,
                "tackles_won": 1.508,
                "clearances": 1.7205,
                "aerial_won": 0.6129,
                "total_shots": 0.4417,
                "rating": 6.8052,
                "minutes": 76.63,
                "total_pass": 35.2969,
                "accurate_pass": 28.7865,
                "duels_won": 7.6505,
                "total_long_balls": 1.3226,
                "accurate_long_balls": 0.4342,
                "total_own_half_passes": 14.319,
                "accurate_own_half_passes": 11.8844,
                "total_opp_half_passes": 20.978,
                "accurate_opp_half_passes": 16.9021,
                "crosses_total": 0.4528,
                "crosses_accurate": 0.0,
                "touches": 60.3711,
                "possession_lost": 11.0465,
                "dispossessed": 0.7504,
                "duels_lost": 5.3364,
                "aerial_lost": 0.7139,
                "total_contest": 3.0366,
                "won_contest": 1.9515,
                "ball_recovery": 4.2511,
                "challenges_lost": 1.2913,
                "fouls": 1.4957,
                "fouls_drawn": 1.1248,
                "blocks": 0.8017,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0019,
                "expected_assists": 0.028,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 11.4871,
                "total_progression": 76.6931,
                "progressive_carries": 1.9869,
                "key_pass": 0.4821,
                "shots_off_target": 0.4417,
                "opponent_faced": "Abdessamad Ezzalzouli",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Abdessamad Ezzalzouli",
                  "matchup_zone": "Shape fallback"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 1.0772,
                "tackles": 2.4152,
                "tackles_won": 1.508,
                "clearances": 1.7205,
                "aerial_won": 0.6129,
                "total_shots": 0.4417,
                "rating": 6.8052,
                "minutes": 76.63,
                "total_pass": 35.2969,
                "accurate_pass": 28.7865,
                "duels_won": 7.6505,
                "total_long_balls": 1.3226,
                "accurate_long_balls": 0.4342,
                "total_own_half_passes": 14.319,
                "accurate_own_half_passes": 11.8844,
                "total_opp_half_passes": 20.978,
                "accurate_opp_half_passes": 16.9021,
                "crosses_total": 0.4528,
                "crosses_accurate": 0.0,
                "touches": 60.3711,
                "possession_lost": 11.0465,
                "dispossessed": 0.7504,
                "duels_lost": 5.3364,
                "aerial_lost": 0.7139,
                "total_contest": 3.0366,
                "won_contest": 1.9515,
                "ball_recovery": 4.2511,
                "challenges_lost": 1.2913,
                "fouls": 1.4957,
                "fouls_drawn": 1.1248,
                "blocks": 0.8017,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0019,
                "expected_assists": 0.028,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 11.4871,
                "total_progression": 76.6931,
                "progressive_carries": 1.9869,
                "key_pass": 0.4821,
                "shots_off_target": 0.4417,
                "opponent_faced": "Abdessamad Ezzalzouli",
                "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": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.83 (squad xG sum 0.7402, xG scale 1.1227, xA scale 1.1227, team xA 0.66 = 0.79 x lambda)",
              "stats": {
                "interceptions": 1.0772,
                "tackles": 2.4152,
                "tackles_won": 1.508,
                "clearances": 1.7205,
                "aerial_won": 0.6129,
                "total_shots": 0.4417,
                "rating": 6.8052,
                "minutes": 76.63,
                "total_pass": 35.2969,
                "accurate_pass": 28.7865,
                "duels_won": 7.6505,
                "total_long_balls": 1.3226,
                "accurate_long_balls": 0.4342,
                "total_own_half_passes": 14.319,
                "accurate_own_half_passes": 11.8844,
                "total_opp_half_passes": 20.978,
                "accurate_opp_half_passes": 16.9021,
                "crosses_total": 0.4528,
                "crosses_accurate": 0.0,
                "touches": 60.3711,
                "possession_lost": 11.0465,
                "dispossessed": 0.7504,
                "duels_lost": 5.3364,
                "aerial_lost": 0.7139,
                "total_contest": 3.0366,
                "won_contest": 1.9515,
                "ball_recovery": 4.2511,
                "challenges_lost": 1.2913,
                "fouls": 1.4957,
                "fouls_drawn": 1.1248,
                "blocks": 0.8017,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0021,
                "expected_assists": 0.0314,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 11.4871,
                "total_progression": 76.6931,
                "progressive_carries": 1.9869,
                "key_pass": 0.4821,
                "shots_off_target": 0.4417,
                "opponent_faced": "Abdessamad Ezzalzouli",
                "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.9634,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 0.831,
                "squad_xg_sum": 0.7402,
                "squad_xa_sum": 0.5844,
                "team_expected_assists": 0.6561,
                "team_xa_to_xg_ratio": 0.7895,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1227,
                "xa_scale": 1.1227,
                "opponent_lambda": 2.153,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 7 by projected rating, fifa_overall 78.0)",
              "stats": {
                "interceptions": 1.0772,
                "tackles": 2.4152,
                "tackles_won": 1.508,
                "clearances": 1.7205,
                "aerial_won": 0.6129,
                "total_shots": 0.4417,
                "rating": 6.8052,
                "minutes": 76.63,
                "total_pass": 35.2969,
                "accurate_pass": 28.7865,
                "duels_won": 7.6505,
                "total_long_balls": 1.3226,
                "accurate_long_balls": 0.4342,
                "total_own_half_passes": 14.319,
                "accurate_own_half_passes": 11.8844,
                "total_opp_half_passes": 20.978,
                "accurate_opp_half_passes": 16.9021,
                "crosses_total": 0.4528,
                "crosses_accurate": 0.0,
                "touches": 60.3711,
                "possession_lost": 11.0465,
                "dispossessed": 0.7504,
                "duels_lost": 5.3364,
                "aerial_lost": 0.7139,
                "total_contest": 3.0366,
                "won_contest": 1.9515,
                "ball_recovery": 4.2511,
                "challenges_lost": 1.2913,
                "fouls": 1.4957,
                "fouls_drawn": 1.1248,
                "blocks": 0.8017,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0021,
                "expected_assists": 0.0314,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 11.4871,
                "total_progression": 76.6931,
                "progressive_carries": 1.9869,
                "key_pass": 0.4821,
                "shots_off_target": 0.4417,
                "opponent_faced": "Abdessamad Ezzalzouli",
                "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.9634,
                "creation_factor": 0.8,
                "fifa_overall": 78.0
              },
              "params": {
                "match_squad_rank": 7,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 2198,
                "fifa_rank": 1260.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 78.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "interceptions": 1.0772,
                "tackles": 2.4152,
                "tackles_won": 1.508,
                "clearances": 1.7205,
                "aerial_won": 0.6129,
                "total_shots": 0.4417,
                "rating": 6.8052,
                "minutes": 76.63,
                "total_pass": 35.2969,
                "accurate_pass": 28.7865,
                "duels_won": 7.6505,
                "total_long_balls": 1.3226,
                "accurate_long_balls": 0.4342,
                "total_own_half_passes": 14.319,
                "accurate_own_half_passes": 11.8844,
                "total_opp_half_passes": 20.978,
                "accurate_opp_half_passes": 16.9021,
                "crosses_total": 0.4528,
                "crosses_accurate": 0.0,
                "touches": 60.3711,
                "possession_lost": 11.0465,
                "dispossessed": 0.7504,
                "duels_lost": 5.3364,
                "aerial_lost": 0.7139,
                "total_contest": 3.0366,
                "won_contest": 1.9515,
                "ball_recovery": 4.2511,
                "challenges_lost": 1.2913,
                "fouls": 1.4957,
                "fouls_drawn": 1.1248,
                "blocks": 0.8017,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0021,
                "expected_assists": 0.0314,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 11.4871,
                "total_progression": 76.6931,
                "progressive_carries": 1.9869,
                "key_pass": 0.4821,
                "shots_off_target": 0.4417,
                "opponent_faced": "Abdessamad Ezzalzouli",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0021,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.9634,
                "creation_factor": 0.8,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0021,
                "goal_rate": 0.0,
                "scorer_weight": 0.002,
                "squad_weight_total": 0.8662,
                "weight_share": 0.0023,
                "finishing_factor": 0.9634,
                "appearance_weight": 1.0,
                "weight_rank": 12,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 1.0772,
                "tackles": 2.4152,
                "tackles_won": 1.508,
                "clearances": 1.7205,
                "aerial_won": 0.6129,
                "total_shots": 0.4417,
                "rating": 6.8052,
                "minutes": 76.63,
                "total_pass": 35.2969,
                "accurate_pass": 28.7865,
                "duels_won": 7.6505,
                "total_long_balls": 1.3226,
                "accurate_long_balls": 0.4342,
                "total_own_half_passes": 14.319,
                "accurate_own_half_passes": 11.8844,
                "total_opp_half_passes": 20.978,
                "accurate_opp_half_passes": 16.9021,
                "crosses_total": 0.4528,
                "crosses_accurate": 0.0,
                "touches": 60.3711,
                "possession_lost": 11.0465,
                "dispossessed": 0.7504,
                "duels_lost": 5.3364,
                "aerial_lost": 0.7139,
                "total_contest": 3.0366,
                "won_contest": 1.9515,
                "ball_recovery": 4.2511,
                "challenges_lost": 1.2913,
                "fouls": 1.4957,
                "fouls_drawn": 1.1248,
                "blocks": 0.8017,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0021,
                "expected_assists": 0.0314,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 11.4871,
                "total_progression": 76.6931,
                "progressive_carries": 1.9869,
                "key_pass": 0.4821,
                "shots_off_target": 0.4417,
                "opponent_faced": "Abdessamad Ezzalzouli",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0021,
                "projected_assists": 0,
                "assist_probability": 0.0309,
                "finishing_factor": 0.9634,
                "creation_factor": 0.8,
                "fifa_overall": 78.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0309,
                "assist_rate": 0.0,
                "provider_weight": 0.0251,
                "squad_weight_total": 0.5932,
                "weight_share": 0.0423,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 9,
                "eligible_players": 13
              }
            }
          ]
        },
        "Carlos Dotor": {
          "player_id": 997221,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 8,
          "height": 180,
          "market_value": 1200000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0699,
            "assist_rate": 0.0594,
            "assists": 0,
            "expected_goals": 0.0694,
            "goal_rate": 0.0702,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.9104,
            "minutes": 80,
            "total_pass": 42,
            "accurate_pass": 36,
            "duels_won": 4,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 20,
            "accurate_own_half_passes": 17,
            "total_opp_half_passes": 23,
            "accurate_opp_half_passes": 19,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 54,
            "possession_lost": 9.7997,
            "dispossessed": 0.6521,
            "duels_lost": 3,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 1,
            "tackles": 2,
            "clearances": 1,
            "total_contest": 1,
            "won_contest": 0,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1663,
            "ball_carries": 15,
            "total_progression": 37,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.9606,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.7,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.423,
            "pressing_faced": "LOW",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Marc Roca",
            "opponent_faced": "Marc Roca",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.067,
            "projected_assists": 0,
            "assist_probability": 0.0675,
            "finishing_factor": 1.0751,
            "creation_factor": 0.9742,
            "fifa_overall": 85.0
          },
          "latest_10_games": [
            {
              "match_id": 16421077,
              "match_date": "2026-10-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 87,
                "rating": 6.7,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.17,
                "expected_assists": 0.0168,
                "total_shots": 2,
                "shots_on_target": 0,
                "shots_off_target": 2,
                "total_pass": 43,
                "accurate_pass": 36,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 0,
                "clearances": 1,
                "aerial_won": 0,
                "duels_won": 3,
                "ball_recovery": 7,
                "saves": 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": 16421073,
              "match_date": "2026-10-18",
              "home_team": "Málaga CF",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 64,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0279,
                "total_shots": 0,
                "total_pass": 46,
                "accurate_pass": 41,
                "key_pass": 1,
                "tackles": 5,
                "tackles_won": 3,
                "interceptions": 2,
                "clearances": 1,
                "duels_won": 6,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 28,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0221,
                "total_shots": 0,
                "total_pass": 25,
                "accurate_pass": 23,
                "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": 16416303,
              "match_date": "2026-09-20",
              "home_team": "Getafe",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0371,
                "expected_assists": 0.0701,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 43,
                "accurate_pass": 35,
                "key_pass": 1,
                "tackles": 2,
                "interceptions": 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": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 61,
                "rating": 7.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2461,
                "expected_assists": 0.0024,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 31,
                "accurate_pass": 27,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 1,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416320,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 86,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0858,
                "expected_assists": 0.1533,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 41,
                "accurate_pass": 34,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 2,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 6,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416312,
              "match_date": "2026-08-30",
              "home_team": "Real Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0289,
                "total_shots": 0,
                "total_pass": 62,
                "accurate_pass": 55,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "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": 16416307,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 73,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0332,
                "expected_assists": 0.0438,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 46,
                "accurate_pass": 37,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421055,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 67,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0133,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 23,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 93,
            "combined_rank_score": 114.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 91.0,
            "sofascore_rating": 7.5,
            "sofascore_appearances": 1.0,
            "fifa_rank": 137.0,
            "fifa_overall": 85.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 6,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9104,
            "source_file": "data/player_rankings.csv",
            "player_name": "Carlos Dotor",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Diogo Costa",
                  "ranking": 88
                },
                {
                  "player_name": "Vinícius Júnior",
                  "ranking": 89
                },
                {
                  "player_name": "Khozhiakbar Alizhonov",
                  "ranking": 90
                },
                {
                  "player_name": "Abduvokhid Nematov",
                  "ranking": 91
                },
                {
                  "player_name": "Ignacio Suárez",
                  "ranking": 92
                }
              ],
              "lower": [
                {
                  "player_name": "Cristhian Martínez",
                  "ranking": 94
                },
                {
                  "player_name": "Luka Stankovski",
                  "ranking": 95
                },
                {
                  "player_name": "Jordan Pickford",
                  "ranking": 96
                },
                {
                  "player_name": "Luke Brattan",
                  "ranking": 97
                },
                {
                  "player_name": "Moisés Caicedo",
                  "ranking": 98
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.775,
          "history_matches": 9,
          "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": 9,
            "data_confidence": 0.775,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9928,
            "fbref_prior_metrics": {
              "squad": "Málaga",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 3.0,
              "minutes": 228.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.39,
              "shots_on_target_pct": 100.0,
              "prior_reliability": 0.1667
            },
            "rationale": "XGBoost regressor (M_service) evaluated 9 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Málaga, rel: 0.17, 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.7034,
                "expected_assists": 0.0628,
                "assists": 0.0622,
                "assist_rate": 0.0622,
                "expected_goals": 0.0648,
                "goals": 0.0765,
                "goal_rate": 0.0765,
                "shots_on_target": 0.2648,
                "total_shots": 0.8326,
                "rating": 6.9104,
                "minutes": 79.5,
                "total_pass": 42.705,
                "accurate_pass": 36.3292,
                "duels_won": 3.8563,
                "total_long_balls": 2.1049,
                "accurate_long_balls": 1.1573,
                "total_own_half_passes": 19.9143,
                "accurate_own_half_passes": 17.5697,
                "total_opp_half_passes": 22.7907,
                "accurate_opp_half_passes": 18.7594,
                "crosses_total": 0.4901,
                "crosses_accurate": 0.0,
                "touches": 54.766,
                "possession_lost": 9.8708,
                "dispossessed": 0.6568,
                "duels_lost": 3.5004,
                "aerial_won": 0.2153,
                "aerial_lost": 0.5585,
                "interceptions": 0.77,
                "tackles_won": 1.4062,
                "tackles": 2.4346,
                "clearances": 0.7423,
                "total_contest": 0.7908,
                "won_contest": 0.4005,
                "challenges_lost": 0.516,
                "fouls": 1.3788,
                "fouls_drawn": 0.806,
                "blocks": 0.2062,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.1553,
                "ball_carries": 14.6711,
                "total_progression": 36.9978,
                "progressive_carries": 0.8471,
                "shots_off_target": 0.5678
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-31T10:30:21.314387+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 902,
                    "rows": 24945
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-23",
                    "opponent": "Deportivo Alavés",
                    "minutes": 87.0,
                    "is_starting": true,
                    "weight": 0.1952,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Real Sociedad",
                    "minutes": 64.0,
                    "is_starting": true,
                    "weight": 0.1659,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Espanyol",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.141,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1199,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Villarreal",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.1019,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Levante UD",
                    "minutes": 86.0,
                    "is_starting": true,
                    "weight": 0.0866,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0736,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.0626,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Atlético Madrid",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.0532,
                    "rating": 7.5
                  }
                ],
                "feature_row": {
                  "history_matches": 9.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.7614,
                  "expectedGoals": 0.0722,
                  "creative_index": 0.2612,
                  "expectedAssists": 0.0385,
                  "keyPass": 0.5953
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.7033841013908386,
                    "model_output": 0.7034,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1583
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1351
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0716
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0542
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.028
                      }
                    ],
                    "decomposition": {
                      "base": 0.8899,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1282
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0912
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0732
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0583
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0391
                        }
                      ],
                      "others": -0.0529,
                      "total": 0.7034,
                      "log_link": true,
                      "margin_base": -0.11669,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.134635
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.09386
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.082212
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.07067
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.050388
                        }
                      ],
                      "others_margin": -0.072667
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.06275364011526108,
                    "model_output": 0.0628,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1213
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1076
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0864
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0618
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0476
                      }
                    ],
                    "decomposition": {
                      "base": 0.085,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.016
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0106
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0066
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0038
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0038
                        }
                      ],
                      "others": -0.0102,
                      "total": 0.0628,
                      "log_link": true,
                      "margin_base": -2.465163,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.208367
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.143414
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.086103
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.050855
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.050769
                        }
                      ],
                      "others_margin": -0.152404
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.06223069131374359,
                    "model_output": 0.0622,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0508
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0336
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0324
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "creative_index",
                          "contribution": -0.009
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.007
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0067
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.004
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.0034
                        }
                      ],
                      "others": -0.0068,
                      "total": 0.0622,
                      "log_link": true,
                      "margin_base": -2.463734,
                      "item_margins": [
                        {
                          "name": "creative_index",
                          "margin": -0.111633
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.087541
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.084526
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.053948
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.04862
                        }
                      ],
                      "others_margin": -0.101987
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.06477215141057968,
                    "model_output": 0.0648,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1242
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0778
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0743
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0437
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0241
                      }
                    ],
                    "decomposition": {
                      "base": 0.0911,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0129
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.011
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0082
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0055
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0026
                        }
                      ],
                      "others": -0.0119,
                      "total": 0.0648,
                      "log_link": true,
                      "margin_base": -2.395469,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.132346
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.111655
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.092001
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.06664
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.032831
                        }
                      ],
                      "others_margin": -0.170629
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.07651513069868088,
                    "model_output": 0.0765,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0846
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0655
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0399
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0358
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.0947,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0135
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.011
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0067
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0065
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0029
                        }
                      ],
                      "others": -0.013,
                      "total": 0.0765,
                      "log_link": true,
                      "margin_base": -2.357331,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.154312
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.126797
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.070713
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.068072
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.031512
                        }
                      ],
                      "others_margin": -0.15655
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.26476141810417175,
                    "model_output": 0.2648,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1146
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0928
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0753
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0297
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.3177,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0533
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0278
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0256
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "contribution": -0.0088
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.006
                        }
                      ],
                      "others": -0.038,
                      "total": 0.2648,
                      "log_link": true,
                      "margin_base": -1.146731,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.155007
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.077766
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.077387
                        },
                        {
                          "name": "defensive_midfield_actions",
                          "margin": -0.028214
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.019491
                        }
                      ],
                      "others_margin": -0.134344
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.8325226306915283,
                    "model_output": 0.8325,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1488
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1213
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0446
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0276
                      }
                    ],
                    "decomposition": {
                      "base": 0.9817,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1254
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0739
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0459
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.023
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0193
                        }
                      ],
                      "others": -0.1125,
                      "total": 0.8325,
                      "log_link": false,
                      "margin_base": 0.98173,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.125371
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.073895
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.045945
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.023041
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.019329
                        }
                      ],
                      "others_margin": -0.112368
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.91041898727417,
                    "model_output": 6.9104,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.102
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0743
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0503
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0382
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.856,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0904
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0332
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0214
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0182
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0137
                        }
                      ],
                      "others": -0.0159,
                      "total": 6.9104,
                      "log_link": false,
                      "margin_base": 6.856008,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.090421
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.033245
                        },
                        {
                          "name": "rating",
                          "margin": -0.02143
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.018249
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.013722
                        }
                      ],
                      "others_margin": -0.015853
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 9,
                  "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.9928, quality 0.437)",
              "stats": {
                "key_pass": 0.6983,
                "expected_assists": 0.0623,
                "assists": 0.0618,
                "assist_rate": 0.0618,
                "expected_goals": 0.0643,
                "goals": 0.076,
                "goal_rate": 0.076,
                "shots_on_target": 0.2629,
                "total_shots": 0.8266,
                "rating": 6.9104,
                "minutes": 79.5,
                "total_pass": 42.3975,
                "accurate_pass": 36.0676,
                "duels_won": 3.8285,
                "total_long_balls": 2.0897,
                "accurate_long_balls": 1.149,
                "total_own_half_passes": 19.7709,
                "accurate_own_half_passes": 17.4432,
                "total_opp_half_passes": 22.6266,
                "accurate_opp_half_passes": 18.6243,
                "crosses_total": 0.4866,
                "crosses_accurate": 0.0,
                "touches": 54.3717,
                "possession_lost": 9.7997,
                "dispossessed": 0.6521,
                "duels_lost": 3.4752,
                "aerial_won": 0.2137,
                "aerial_lost": 0.5545,
                "interceptions": 0.7645,
                "tackles_won": 1.3961,
                "tackles": 2.4171,
                "clearances": 0.737,
                "total_contest": 0.7851,
                "won_contest": 0.3976,
                "challenges_lost": 0.5123,
                "fouls": 1.3689,
                "fouls_drawn": 0.8002,
                "blocks": 0.2047,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.1542,
                "ball_carries": 14.5655,
                "total_progression": 36.7314,
                "progressive_carries": 0.841,
                "shots_off_target": 0.5637
              },
              "params": {
                "market_value_eur": 1200000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9928,
                "reference_quality": 0.505,
                "history_matches": 9,
                "history_shrink": 0.3571,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0387)",
              "stats": {
                "key_pass": 0.6983,
                "expected_assists": 0.0623,
                "assists": 0.0594,
                "assist_rate": 0.0594,
                "expected_goals": 0.0643,
                "goals": 0.0731,
                "goal_rate": 0.0731,
                "shots_on_target": 0.2661,
                "total_shots": 0.8079,
                "rating": 6.9104,
                "minutes": 79.5,
                "total_pass": 42.3975,
                "accurate_pass": 36.0676,
                "duels_won": 3.8285,
                "total_long_balls": 2.0897,
                "accurate_long_balls": 1.149,
                "total_own_half_passes": 19.7709,
                "accurate_own_half_passes": 17.4432,
                "total_opp_half_passes": 22.6266,
                "accurate_opp_half_passes": 18.6243,
                "crosses_total": 0.4951,
                "crosses_accurate": 0.0,
                "touches": 54.3717,
                "possession_lost": 9.7997,
                "dispossessed": 0.6521,
                "duels_lost": 3.4752,
                "aerial_won": 0.2137,
                "aerial_lost": 0.5545,
                "interceptions": 0.7623,
                "tackles_won": 1.4241,
                "tackles": 2.4171,
                "clearances": 0.737,
                "total_contest": 0.7851,
                "won_contest": 0.3976,
                "challenges_lost": 0.5123,
                "fouls": 1.3296,
                "fouls_drawn": 0.7692,
                "blocks": 0.2047,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.1542,
                "ball_carries": 14.5655,
                "total_progression": 36.7314,
                "progressive_carries": 0.841,
                "shots_off_target": 0.5637
              },
              "params": {
                "blend_weight": 0.0387,
                "history_matches": 9,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8833,
                "prior_reliability": 0.1667,
                "competition": "La Liga",
                "squad": "Málaga"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 1.3689,
                  "after": 1.3296
                },
                {
                  "stat": "wasFouled",
                  "before": 0.8002,
                  "after": 0.7692
                },
                {
                  "stat": "wonTackle",
                  "before": 1.3961,
                  "after": 1.4241
                },
                {
                  "stat": "totalShots",
                  "before": 0.8266,
                  "after": 0.8079
                },
                {
                  "stat": "totalCross",
                  "before": 0.4866,
                  "after": 0.4951
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.6983,
                "expected_assists": 0.0623,
                "assists": 0.0594,
                "assist_rate": 0.0594,
                "expected_goals": 0.0643,
                "goals": 0.0731,
                "goal_rate": 0.0731,
                "shots_on_target": 0.2661,
                "total_shots": 0.8298,
                "rating": 6.9104,
                "minutes": 79.5,
                "total_pass": 42.3975,
                "accurate_pass": 36.0676,
                "duels_won": 3.8285,
                "total_long_balls": 2.0897,
                "accurate_long_balls": 1.149,
                "total_own_half_passes": 19.7709,
                "accurate_own_half_passes": 17.4432,
                "total_opp_half_passes": 22.6266,
                "accurate_opp_half_passes": 18.6243,
                "crosses_total": 0.4951,
                "crosses_accurate": 0.0,
                "touches": 54.3717,
                "possession_lost": 9.7997,
                "dispossessed": 0.6521,
                "duels_lost": 3.4752,
                "aerial_won": 0.2137,
                "aerial_lost": 0.5545,
                "interceptions": 0.7623,
                "tackles_won": 1.4241,
                "tackles": 2.4171,
                "clearances": 0.737,
                "total_contest": 0.7851,
                "won_contest": 0.3976,
                "challenges_lost": 0.5123,
                "fouls": 1.3296,
                "fouls_drawn": 0.7692,
                "blocks": 0.2047,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.1542,
                "ball_carries": 14.5655,
                "total_progression": 36.7314,
                "progressive_carries": 0.841,
                "shots_off_target": 0.5637
              },
              "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.6983,
                "expected_assists": 0.0623,
                "assists": 0.0594,
                "assist_rate": 0.0594,
                "expected_goals": 0.0618,
                "goals": 0.0702,
                "goal_rate": 0.0702,
                "shots_on_target": 0.2556,
                "total_shots": 0.7971,
                "rating": 6.9104,
                "minutes": 79.5,
                "total_pass": 42.3975,
                "accurate_pass": 36.0676,
                "duels_won": 3.8285,
                "total_long_balls": 2.0897,
                "accurate_long_balls": 1.149,
                "total_own_half_passes": 19.7709,
                "accurate_own_half_passes": 17.4432,
                "total_opp_half_passes": 22.6266,
                "accurate_opp_half_passes": 18.6243,
                "crosses_total": 0.4951,
                "crosses_accurate": 0.0,
                "touches": 54.3717,
                "possession_lost": 9.7997,
                "dispossessed": 0.6521,
                "duels_lost": 3.4752,
                "aerial_won": 1.1,
                "aerial_lost": 0.5545,
                "interceptions": 0.7623,
                "tackles_won": 1.4241,
                "tackles": 2.4171,
                "clearances": 0.737,
                "total_contest": 0.7851,
                "won_contest": 0.3976,
                "challenges_lost": 0.5123,
                "fouls": 1.3296,
                "fouls_drawn": 0.7692,
                "blocks": 0.2047,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.1481,
                "ball_carries": 14.5655,
                "total_progression": 36.7314,
                "progressive_carries": 0.841,
                "shots_off_target": 0.5415,
                "duel_xg_multiplier": 0.9606,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.423,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Marc Roca",
                "opponent_faced": "Marc Roca",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Marc Roca",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                  "duel_win_rate": 0.423,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.9606,
                  "skill_edge": -0.0108,
                  "height_edge": -0.016,
                  "attacker_skill": 0.4374,
                  "defender_skill": 0.4615,
                  "attacker_role": "CM",
                  "attacker_mv_price_index": 0.9,
                  "defender_adjusted_parts": [
                    {
                      "player": "Marc Roca",
                      "market_value": 4200000,
                      "role": "CDM",
                      "price_index": 0.85,
                      "adjusted_quality": 0.4615
                    }
                  ],
                  "xg_override": 0.0618
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.2137,
                  "after": 1.1
                },
                {
                  "stat": "totalShots",
                  "before": 0.8298,
                  "after": 0.7971
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.5637,
                  "after": 0.5415
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.2661,
                  "after": 0.2556
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.1542,
                  "after": 0.1481
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.6983,
                "expected_assists": 0.0623,
                "assist_rate": 0.0594,
                "assists": 0,
                "expected_goals": 0.0618,
                "goal_rate": 0.0702,
                "goals": 0,
                "shots_on_target": 0.2556,
                "total_shots": 0.7971,
                "rating": 6.9104,
                "minutes": 79.5,
                "total_pass": 42.3975,
                "accurate_pass": 36.0676,
                "duels_won": 3.8285,
                "total_long_balls": 2.0897,
                "accurate_long_balls": 1.149,
                "total_own_half_passes": 19.7709,
                "accurate_own_half_passes": 17.4432,
                "total_opp_half_passes": 22.6266,
                "accurate_opp_half_passes": 18.6243,
                "crosses_total": 0.4951,
                "crosses_accurate": 0.0,
                "touches": 54.3717,
                "possession_lost": 9.7997,
                "dispossessed": 0.6521,
                "duels_lost": 3.4752,
                "aerial_won": 1.1,
                "aerial_lost": 0.5545,
                "interceptions": 0.7623,
                "tackles_won": 1.4241,
                "tackles": 2.4171,
                "clearances": 0.737,
                "total_contest": 0.7851,
                "won_contest": 0.3976,
                "challenges_lost": 0.5123,
                "fouls": 1.3296,
                "fouls_drawn": 0.7692,
                "blocks": 0.2047,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.1481,
                "ball_carries": 14.5655,
                "total_progression": 36.7314,
                "progressive_carries": 0.841,
                "shots_off_target": 0.5415,
                "duel_xg_multiplier": 0.9606,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.423,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Marc Roca",
                "opponent_faced": "Marc Roca",
                "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": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.83 (squad xG sum 0.7402, xG scale 1.1227, xA scale 1.1227, team xA 0.66 = 0.79 x lambda)",
              "stats": {
                "key_pass": 0.6983,
                "expected_assists": 0.0699,
                "assist_rate": 0.0594,
                "assists": 0,
                "expected_goals": 0.0694,
                "goal_rate": 0.0702,
                "goals": 0,
                "shots_on_target": 0.2556,
                "total_shots": 0.7971,
                "rating": 6.9104,
                "minutes": 79.5,
                "total_pass": 42.3975,
                "accurate_pass": 36.0676,
                "duels_won": 3.8285,
                "total_long_balls": 2.0897,
                "accurate_long_balls": 1.149,
                "total_own_half_passes": 19.7709,
                "accurate_own_half_passes": 17.4432,
                "total_opp_half_passes": 22.6266,
                "accurate_opp_half_passes": 18.6243,
                "crosses_total": 0.4951,
                "crosses_accurate": 0.0,
                "touches": 54.3717,
                "possession_lost": 9.7997,
                "dispossessed": 0.6521,
                "duels_lost": 3.4752,
                "aerial_won": 1.1,
                "aerial_lost": 0.5545,
                "interceptions": 0.7623,
                "tackles_won": 1.4241,
                "tackles": 2.4171,
                "clearances": 0.737,
                "total_contest": 0.7851,
                "won_contest": 0.3976,
                "challenges_lost": 0.5123,
                "fouls": 1.3296,
                "fouls_drawn": 0.7692,
                "blocks": 0.2047,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.1663,
                "ball_carries": 14.5655,
                "total_progression": 36.7314,
                "progressive_carries": 0.841,
                "shots_off_target": 0.5415,
                "duel_xg_multiplier": 0.9606,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.423,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Marc Roca",
                "opponent_faced": "Marc Roca",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0751,
                "creation_factor": 0.9742
              },
              "params": {
                "team_lambda": 0.831,
                "squad_xg_sum": 0.7402,
                "squad_xa_sum": 0.5844,
                "team_expected_assists": 0.6561,
                "team_xa_to_xg_ratio": 0.7895,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1227,
                "xa_scale": 1.1227,
                "opponent_lambda": 2.153,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0618,
                  "after": 0.0694
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0623,
                  "after": 0.0699
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 6 by projected rating, fifa_overall 85.0)",
              "stats": {
                "key_pass": 0.6983,
                "expected_assists": 0.0699,
                "assist_rate": 0.0594,
                "assists": 0,
                "expected_goals": 0.0694,
                "goal_rate": 0.0702,
                "goals": 0,
                "shots_on_target": 0.2556,
                "total_shots": 0.7971,
                "rating": 6.9104,
                "minutes": 79.5,
                "total_pass": 42.3975,
                "accurate_pass": 36.0676,
                "duels_won": 3.8285,
                "total_long_balls": 2.0897,
                "accurate_long_balls": 1.149,
                "total_own_half_passes": 19.7709,
                "accurate_own_half_passes": 17.4432,
                "total_opp_half_passes": 22.6266,
                "accurate_opp_half_passes": 18.6243,
                "crosses_total": 0.4951,
                "crosses_accurate": 0.0,
                "touches": 54.3717,
                "possession_lost": 9.7997,
                "dispossessed": 0.6521,
                "duels_lost": 3.4752,
                "aerial_won": 1.1,
                "aerial_lost": 0.5545,
                "interceptions": 0.7623,
                "tackles_won": 1.4241,
                "tackles": 2.4171,
                "clearances": 0.737,
                "total_contest": 0.7851,
                "won_contest": 0.3976,
                "challenges_lost": 0.5123,
                "fouls": 1.3296,
                "fouls_drawn": 0.7692,
                "blocks": 0.2047,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.1663,
                "ball_carries": 14.5655,
                "total_progression": 36.7314,
                "progressive_carries": 0.841,
                "shots_off_target": 0.5415,
                "duel_xg_multiplier": 0.9606,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.423,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Marc Roca",
                "opponent_faced": "Marc Roca",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0751,
                "creation_factor": 0.9742,
                "fifa_overall": 85.0
              },
              "params": {
                "match_squad_rank": 6,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 93,
                "fifa_rank": 137.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 85.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 0.6983,
                "expected_assists": 0.0699,
                "assist_rate": 0.0594,
                "assists": 0,
                "expected_goals": 0.0694,
                "goal_rate": 0.0702,
                "goals": 0,
                "shots_on_target": 0.2556,
                "total_shots": 0.7971,
                "rating": 6.9104,
                "minutes": 79.5,
                "total_pass": 42.3975,
                "accurate_pass": 36.0676,
                "duels_won": 3.8285,
                "total_long_balls": 2.0897,
                "accurate_long_balls": 1.149,
                "total_own_half_passes": 19.7709,
                "accurate_own_half_passes": 17.4432,
                "total_opp_half_passes": 22.6266,
                "accurate_opp_half_passes": 18.6243,
                "crosses_total": 0.4951,
                "crosses_accurate": 0.0,
                "touches": 54.3717,
                "possession_lost": 9.7997,
                "dispossessed": 0.6521,
                "duels_lost": 3.4752,
                "aerial_won": 1.1,
                "aerial_lost": 0.5545,
                "interceptions": 0.7623,
                "tackles_won": 1.4241,
                "tackles": 2.4171,
                "clearances": 0.737,
                "total_contest": 0.7851,
                "won_contest": 0.3976,
                "challenges_lost": 0.5123,
                "fouls": 1.3296,
                "fouls_drawn": 0.7692,
                "blocks": 0.2047,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.1663,
                "ball_carries": 14.5655,
                "total_progression": 36.7314,
                "progressive_carries": 0.841,
                "shots_off_target": 0.5415,
                "duel_xg_multiplier": 0.9606,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.423,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Marc Roca",
                "opponent_faced": "Marc Roca",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.067,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0751,
                "creation_factor": 0.9742,
                "fifa_overall": 85.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.067,
                "goal_rate": 0.0702,
                "scorer_weight": 0.0746,
                "squad_weight_total": 0.8662,
                "weight_share": 0.0861,
                "finishing_factor": 1.0751,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 0.6983,
                "expected_assists": 0.0699,
                "assist_rate": 0.0594,
                "assists": 0,
                "expected_goals": 0.0694,
                "goal_rate": 0.0702,
                "goals": 0,
                "shots_on_target": 0.2556,
                "total_shots": 0.7971,
                "rating": 6.9104,
                "minutes": 79.5,
                "total_pass": 42.3975,
                "accurate_pass": 36.0676,
                "duels_won": 3.8285,
                "total_long_balls": 2.0897,
                "accurate_long_balls": 1.149,
                "total_own_half_passes": 19.7709,
                "accurate_own_half_passes": 17.4432,
                "total_opp_half_passes": 22.6266,
                "accurate_opp_half_passes": 18.6243,
                "crosses_total": 0.4951,
                "crosses_accurate": 0.0,
                "touches": 54.3717,
                "possession_lost": 9.7997,
                "dispossessed": 0.6521,
                "duels_lost": 3.4752,
                "aerial_won": 1.1,
                "aerial_lost": 0.5545,
                "interceptions": 0.7623,
                "tackles_won": 1.4241,
                "tackles": 2.4171,
                "clearances": 0.737,
                "total_contest": 0.7851,
                "won_contest": 0.3976,
                "challenges_lost": 0.5123,
                "fouls": 1.3296,
                "fouls_drawn": 0.7692,
                "blocks": 0.2047,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.1663,
                "ball_carries": 14.5655,
                "total_progression": 36.7314,
                "progressive_carries": 0.841,
                "shots_off_target": 0.5415,
                "duel_xg_multiplier": 0.9606,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.423,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Marc Roca",
                "opponent_faced": "Marc Roca",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.067,
                "projected_assists": 0,
                "assist_probability": 0.0675,
                "finishing_factor": 1.0751,
                "creation_factor": 0.9742,
                "fifa_overall": 85.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0675,
                "assist_rate": 0.0594,
                "provider_weight": 0.0681,
                "squad_weight_total": 0.5932,
                "weight_share": 0.1148,
                "creation_factor": 0.9742,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 13
              }
            }
          ]
        },
        "Ramón Enríquez": {
          "player_id": 990800,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 6,
          "height": 173,
          "market_value": 380000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0484,
            "assist_rate": 0.0679,
            "assists": 0,
            "expected_goals": 0.0392,
            "goal_rate": 0.0595,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.9168,
            "minutes": 80,
            "total_pass": 30,
            "accurate_pass": 27,
            "duels_won": 2,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_own_half_passes": 14,
            "accurate_own_half_passes": 13,
            "total_opp_half_passes": 16,
            "accurate_opp_half_passes": 14,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 34,
            "possession_lost": 3.7628,
            "dispossessed": 0.0,
            "duels_lost": 0,
            "aerial_won": 1,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 1,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 11,
            "total_progression": 21,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "duel_xg_multiplier": 0.9835,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.7,
            "crosses_attempted": 2.2,
            "duel_win_rate": 0.389,
            "pressing_faced": "LOW",
            "matchup_zone": "Left Wingback vs Right Back — Overlapping Run",
            "numerical_situation": "1v1",
            "opponent_defenders": "Angel Ortiz",
            "opponent_faced": "Angel Ortiz",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0384,
            "projected_assists": 0,
            "assist_probability": 0.0472,
            "finishing_factor": 1.25,
            "creation_factor": 1.25,
            "fifa_overall": 65.0
          },
          "latest_10_games": [
            {
              "match_id": 16421077,
              "match_date": "2026-10-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 68,
                "rating": 7.3,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.0249,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "total_pass": 46,
                "accurate_pass": 40,
                "key_pass": 1,
                "tackles": 0,
                "tackles_won": 0,
                "interceptions": 0,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 8,
                "saves": 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": 16421073,
              "match_date": "2026-10-18",
              "home_team": "Málaga CF",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 45,
                "rating": 7.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0502,
                "total_shots": 0,
                "total_pass": 47,
                "accurate_pass": 43,
                "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": 16416303,
              "match_date": "2026-09-20",
              "home_team": "Getafe",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Getafe",
              "stats": {
                "minutes": 16,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0488,
                "total_shots": 0,
                "total_pass": 21,
                "accurate_pass": 19,
                "key_pass": 1,
                "interceptions": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 15,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0043,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 12,
                "key_pass": 1,
                "clearances": 1,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416347,
              "match_date": "2026-09-13",
              "home_team": "Celta Vigo",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 45,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0182,
                "total_shots": 0,
                "total_pass": 43,
                "accurate_pass": 41,
                "clearances": 2,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416320,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 23,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0129,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 22,
                "interceptions": 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": 16416312,
              "match_date": "2026-08-30",
              "home_team": "Real Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0053,
                "total_shots": 0,
                "total_pass": 7,
                "accurate_pass": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416307,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 9,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0022,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 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": 16421055,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 10,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0196,
                "total_shots": 0,
                "total_pass": 24,
                "accurate_pass": 22,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 7855,
            "combined_rank_score": 6288.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 765.0,
            "sofascore_rating": 6.65,
            "sofascore_appearances": 3.0,
            "fifa_rank": 11811.0,
            "fifa_overall": 65.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 5,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.9168,
            "source_file": "data/player_rankings.csv",
            "player_name": "Ramón Enríquez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Bruno Leyes",
                  "ranking": 7850
                },
                {
                  "player_name": "Facundo Bruera",
                  "ranking": 7851
                },
                {
                  "player_name": "Ronaldo Dejesús",
                  "ranking": 7852
                },
                {
                  "player_name": "Ezequiel Cannavó",
                  "ranking": 7853
                },
                {
                  "player_name": "Gonzalo Morales",
                  "ranking": 7854
                }
              ],
              "lower": [
                {
                  "player_name": "Sebastián Valdéz",
                  "ranking": 7856
                },
                {
                  "player_name": "Nicolás Meriano",
                  "ranking": 7857
                },
                {
                  "player_name": "Juan Saborido",
                  "ranking": 7858
                },
                {
                  "player_name": "Allan Wlk",
                  "ranking": 7859
                },
                {
                  "player_name": "Baltasar Rodríguez",
                  "ranking": 7860
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.752,
          "history_matches": 9,
          "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": 9,
            "data_confidence": 0.752,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9928,
            "fbref_prior_metrics": {
              "squad": "Málaga",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 0.0,
              "minutes": 21.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.0133
            },
            "rationale": "XGBoost regressor (M_service) evaluated 9 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Málaga, 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.6832,
                "expected_assists": 0.0434,
                "assists": 0.0686,
                "assist_rate": 0.0686,
                "expected_goals": 0.0358,
                "goals": 0.0612,
                "goal_rate": 0.0612,
                "shots_on_target": 0.1167,
                "total_shots": 0.4112,
                "rating": 6.9168,
                "minutes": 80.0,
                "total_pass": 30.2923,
                "accurate_pass": 27.2069,
                "duels_won": 1.5497,
                "total_long_balls": 1.9286,
                "accurate_long_balls": 1.2591,
                "total_own_half_passes": 13.788,
                "accurate_own_half_passes": 12.9342,
                "total_opp_half_passes": 16.5043,
                "accurate_opp_half_passes": 14.2727,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 34.227,
                "possession_lost": 3.7901,
                "dispossessed": 0.0,
                "duels_lost": 0.4549,
                "aerial_won": 0.1952,
                "aerial_lost": 0.1952,
                "interceptions": 0.3143,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.5189,
                "total_contest": 0.0866,
                "won_contest": 0.0866,
                "challenges_lost": 0.0866,
                "fouls": 0.1731,
                "fouls_drawn": 1.2678,
                "blocks": 0.1019,
                "big_chances_created": 0.1952,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.81,
                "total_progression": 21.3686,
                "progressive_carries": 0.3417,
                "shots_off_target": 0.2945
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-31T10:30:21.314387+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 902,
                    "rows": 24945
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-23",
                    "opponent": "Deportivo Alavés",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.1952,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Real Sociedad",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1659,
                    "rating": 7.1
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Getafe",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.141,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Villarreal",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.1199,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Celta Vigo",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1019,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Levante UD",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.0866,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Real Madrid",
                    "minutes": 3.0,
                    "is_starting": false,
                    "weight": 0.0736,
                    "rating": 0.0
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.0626,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Atlético Madrid",
                    "minutes": 10.0,
                    "is_starting": false,
                    "weight": 0.0532,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 9.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.0,
                  "expectedGoals": 0.0,
                  "creative_index": 0.1975,
                  "expectedAssists": 0.0251,
                  "keyPass": 0.4561
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.6832104921340942,
                    "model_output": 0.6832,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1583
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1351
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0716
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0542
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.028
                      }
                    ],
                    "decomposition": {
                      "base": 0.8899,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.1345
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.1065
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0997
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0688
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0574
                        }
                      ],
                      "others": -0.054,
                      "total": 0.6832,
                      "log_link": true,
                      "margin_base": -0.11669,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.163917
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.151922
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.142957
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.096431
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": 0.081096
                        }
                      ],
                      "others_margin": -0.076046
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.04343027248978615,
                    "model_output": 0.0434,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1213
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1076
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0864
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0618
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0476
                      }
                    ],
                    "decomposition": {
                      "base": 0.085,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0211
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.013
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.006
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0037
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0026
                        }
                      ],
                      "others": -0.0072,
                      "total": 0.0434,
                      "log_link": true,
                      "margin_base": -2.465163,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.285621
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.228355
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.112297
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.066676
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.049596
                        }
                      ],
                      "others_margin": -0.153484
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.06860289722681046,
                    "model_output": 0.0686,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0508
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0336
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0324
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0094
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0093
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0092
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0072
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0064
                        }
                      ],
                      "others": 0.0064,
                      "total": 0.0686,
                      "log_link": true,
                      "margin_base": -2.463734,
                      "item_margins": [
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.116971
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.115523
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.11434
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.099354
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.097539
                        }
                      ],
                      "others_margin": 0.096995
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.03578292950987816,
                    "model_output": 0.0358,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1242
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0778
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0743
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0437
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0241
                      }
                    ],
                    "decomposition": {
                      "base": 0.0911,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0318
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.013
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0073
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0033
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0025
                        }
                      ],
                      "others": -0.012,
                      "total": 0.0358,
                      "log_link": true,
                      "margin_base": -2.395469,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.429314
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.248159
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.145612
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.0639
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.050646
                        }
                      ],
                      "others_margin": -0.288408
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.06115679070353508,
                    "model_output": 0.0612,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0846
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0655
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0399
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0358
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.0947,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0181
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.013
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0088
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0053
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.005
                        }
                      ],
                      "others": -0.0115,
                      "total": 0.0612,
                      "log_link": true,
                      "margin_base": -2.357331,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.212381
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.185346
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.129416
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.070062
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.066625
                        }
                      ],
                      "others_margin": -0.172109
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.11671972274780273,
                    "model_output": 0.1167,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1146
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0928
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0753
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0297
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.3177,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1007
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0355
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": -0.0238
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0207
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": -0.0125
                        }
                      ],
                      "others": -0.0492,
                      "total": 0.1167,
                      "log_link": true,
                      "margin_base": -1.146731,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.38131
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.178636
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": -0.140655
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.123337
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": -0.072804
                        }
                      ],
                      "others_margin": -0.351181
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.41122186183929443,
                    "model_output": 0.4112,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1488
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1213
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0446
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0276
                      }
                    ],
                    "decomposition": {
                      "base": 0.9817,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.3511
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1076
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0623
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0423
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0387
                        }
                      ],
                      "others": -0.1837,
                      "total": 0.4112,
                      "log_link": false,
                      "margin_base": 0.98173,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.351139
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.10758
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.062333
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.042309
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.03875
                        }
                      ],
                      "others_margin": -0.183557
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.9168381690979,
                    "model_output": 6.9168,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.102
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0743
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0503
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0382
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0403
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0263
                        },
                        {
                          "name": "totalPass_p90",
                          "contribution": 0.0225
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0175
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.014
                        }
                      ],
                      "others": -0.0318,
                      "total": 6.9168,
                      "log_link": false,
                      "margin_base": 6.856008,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.04028
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.02625
                        },
                        {
                          "name": "totalPass_p90",
                          "margin": 0.022533
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.017547
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.013993
                        }
                      ],
                      "others_margin": -0.031788
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 9,
                  "role_matches": 1,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9928, quality 0.437)",
              "stats": {
                "key_pass": 0.6783,
                "expected_assists": 0.0431,
                "assists": 0.0681,
                "assist_rate": 0.0681,
                "expected_goals": 0.0355,
                "goals": 0.0607,
                "goal_rate": 0.0607,
                "shots_on_target": 0.1159,
                "total_shots": 0.4083,
                "rating": 6.9168,
                "minutes": 80.0,
                "total_pass": 30.0742,
                "accurate_pass": 27.011,
                "duels_won": 1.5385,
                "total_long_balls": 1.9147,
                "accurate_long_balls": 1.25,
                "total_own_half_passes": 13.6887,
                "accurate_own_half_passes": 12.8411,
                "total_opp_half_passes": 16.3855,
                "accurate_opp_half_passes": 14.1699,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 33.9806,
                "possession_lost": 3.7628,
                "dispossessed": 0.0,
                "duels_lost": 0.4516,
                "aerial_won": 0.1938,
                "aerial_lost": 0.1938,
                "interceptions": 0.312,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.5152,
                "total_contest": 0.086,
                "won_contest": 0.086,
                "challenges_lost": 0.086,
                "fouls": 0.1719,
                "fouls_drawn": 1.2587,
                "blocks": 0.1012,
                "big_chances_created": 0.1938,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.7322,
                "total_progression": 21.2147,
                "progressive_carries": 0.3392,
                "shots_off_target": 0.2924
              },
              "params": {
                "market_value_eur": 380000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9928,
                "reference_quality": 0.505,
                "history_matches": 9,
                "history_shrink": 0.3571,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0031)",
              "stats": {
                "key_pass": 0.6783,
                "expected_assists": 0.0431,
                "assists": 0.0679,
                "assist_rate": 0.0679,
                "expected_goals": 0.0355,
                "goals": 0.0605,
                "goal_rate": 0.0605,
                "shots_on_target": 0.1155,
                "total_shots": 0.407,
                "rating": 6.9168,
                "minutes": 80.0,
                "total_pass": 30.0742,
                "accurate_pass": 27.011,
                "duels_won": 1.5385,
                "total_long_balls": 1.9147,
                "accurate_long_balls": 1.25,
                "total_own_half_passes": 13.6887,
                "accurate_own_half_passes": 12.8411,
                "total_opp_half_passes": 16.3855,
                "accurate_opp_half_passes": 14.1699,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 33.9806,
                "possession_lost": 3.7628,
                "dispossessed": 0.0,
                "duels_lost": 0.4516,
                "aerial_won": 0.1938,
                "aerial_lost": 0.1938,
                "interceptions": 0.311,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.5152,
                "total_contest": 0.086,
                "won_contest": 0.086,
                "challenges_lost": 0.086,
                "fouls": 0.1851,
                "fouls_drawn": 1.2685,
                "blocks": 0.1012,
                "big_chances_created": 0.1938,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.7322,
                "total_progression": 21.2147,
                "progressive_carries": 0.3392,
                "shots_off_target": 0.2924
              },
              "params": {
                "blend_weight": 0.0031,
                "history_matches": 9,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8889,
                "prior_reliability": 0.0133,
                "competition": "La Liga",
                "squad": "Málaga"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 0.1719,
                  "after": 0.1851
                },
                {
                  "stat": "wasFouled",
                  "before": 1.2587,
                  "after": 1.2685
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.6783,
                "expected_assists": 0.0431,
                "assists": 0.0679,
                "assist_rate": 0.0679,
                "expected_goals": 0.0355,
                "goals": 0.0605,
                "goal_rate": 0.0605,
                "shots_on_target": 0.1155,
                "total_shots": 0.4079,
                "rating": 6.9168,
                "minutes": 80.0,
                "total_pass": 30.0742,
                "accurate_pass": 27.011,
                "duels_won": 1.5385,
                "total_long_balls": 1.9147,
                "accurate_long_balls": 1.25,
                "total_own_half_passes": 13.6887,
                "accurate_own_half_passes": 12.8411,
                "total_opp_half_passes": 16.3855,
                "accurate_opp_half_passes": 14.1699,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 33.9806,
                "possession_lost": 3.7628,
                "dispossessed": 0.0,
                "duels_lost": 0.4516,
                "aerial_won": 0.1938,
                "aerial_lost": 0.1938,
                "interceptions": 0.311,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.5152,
                "total_contest": 0.086,
                "won_contest": 0.086,
                "challenges_lost": 0.086,
                "fouls": 0.1851,
                "fouls_drawn": 1.2685,
                "blocks": 0.1012,
                "big_chances_created": 0.1938,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.7322,
                "total_progression": 21.2147,
                "progressive_carries": 0.3392,
                "shots_off_target": 0.2924
              },
              "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.6783,
                "expected_assists": 0.0431,
                "assists": 0.0679,
                "assist_rate": 0.0679,
                "expected_goals": 0.0349,
                "goals": 0.0595,
                "goal_rate": 0.0595,
                "shots_on_target": 0.1136,
                "total_shots": 0.4012,
                "rating": 6.9168,
                "minutes": 80.0,
                "total_pass": 30.0742,
                "accurate_pass": 27.011,
                "duels_won": 1.5385,
                "total_long_balls": 1.9147,
                "accurate_long_balls": 1.25,
                "total_own_half_passes": 13.6887,
                "accurate_own_half_passes": 12.8411,
                "total_opp_half_passes": 16.3855,
                "accurate_opp_half_passes": 14.1699,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 33.9806,
                "possession_lost": 3.7628,
                "dispossessed": 0.0,
                "duels_lost": 0.4516,
                "aerial_won": 0.9,
                "aerial_lost": 0.1938,
                "interceptions": 0.311,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.5152,
                "total_contest": 0.086,
                "won_contest": 0.086,
                "challenges_lost": 0.086,
                "fouls": 0.1851,
                "fouls_drawn": 1.2685,
                "blocks": 0.1012,
                "big_chances_created": 0.1938,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.7322,
                "total_progression": 21.2147,
                "progressive_carries": 0.3392,
                "shots_off_target": 0.2876,
                "duel_xg_multiplier": 0.9835,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.389,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wingback vs Right Back — Overlapping Run",
                "numerical_situation": "1v1",
                "opponent_defenders": "Angel Ortiz",
                "opponent_faced": "Angel Ortiz",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Angel Ortiz",
                  "matchup_zone": "Left Wingback vs Right Back — Overlapping Run",
                  "duel_win_rate": 0.389,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.9835,
                  "skill_edge": -0.0352,
                  "height_edge": 0.024,
                  "attacker_skill": 0.4374,
                  "defender_skill": 0.5157,
                  "attacker_role": "LWB",
                  "attacker_mv_price_index": 0.7,
                  "defender_adjusted_parts": [
                    {
                      "player": "Angel Ortiz",
                      "market_value": 6600000,
                      "role": "RB",
                      "price_index": 0.7,
                      "adjusted_quality": 0.5157
                    }
                  ],
                  "xg_override": 0.0349
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.1938,
                  "after": 0.9
                },
                {
                  "stat": "totalShots",
                  "before": 0.4079,
                  "after": 0.4012
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.6783,
                "expected_assists": 0.0431,
                "assist_rate": 0.0679,
                "assists": 0,
                "expected_goals": 0.0349,
                "goal_rate": 0.0595,
                "goals": 0,
                "shots_on_target": 0.1136,
                "total_shots": 0.4012,
                "rating": 6.9168,
                "minutes": 80.0,
                "total_pass": 30.0742,
                "accurate_pass": 27.011,
                "duels_won": 1.5385,
                "total_long_balls": 1.9147,
                "accurate_long_balls": 1.25,
                "total_own_half_passes": 13.6887,
                "accurate_own_half_passes": 12.8411,
                "total_opp_half_passes": 16.3855,
                "accurate_opp_half_passes": 14.1699,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 33.9806,
                "possession_lost": 3.7628,
                "dispossessed": 0.0,
                "duels_lost": 0.4516,
                "aerial_won": 0.9,
                "aerial_lost": 0.1938,
                "interceptions": 0.311,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.5152,
                "total_contest": 0.086,
                "won_contest": 0.086,
                "challenges_lost": 0.086,
                "fouls": 0.1851,
                "fouls_drawn": 1.2685,
                "blocks": 0.1012,
                "big_chances_created": 0.1938,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.7322,
                "total_progression": 21.2147,
                "progressive_carries": 0.3392,
                "shots_off_target": 0.2876,
                "duel_xg_multiplier": 0.9835,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.389,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wingback vs Right Back — Overlapping Run",
                "numerical_situation": "1v1",
                "opponent_defenders": "Angel Ortiz",
                "opponent_faced": "Angel Ortiz",
                "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": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.83 (squad xG sum 0.7402, xG scale 1.1227, xA scale 1.1227, team xA 0.66 = 0.79 x lambda)",
              "stats": {
                "key_pass": 0.6783,
                "expected_assists": 0.0484,
                "assist_rate": 0.0679,
                "assists": 0,
                "expected_goals": 0.0392,
                "goal_rate": 0.0595,
                "goals": 0,
                "shots_on_target": 0.1136,
                "total_shots": 0.4012,
                "rating": 6.9168,
                "minutes": 80.0,
                "total_pass": 30.0742,
                "accurate_pass": 27.011,
                "duels_won": 1.5385,
                "total_long_balls": 1.9147,
                "accurate_long_balls": 1.25,
                "total_own_half_passes": 13.6887,
                "accurate_own_half_passes": 12.8411,
                "total_opp_half_passes": 16.3855,
                "accurate_opp_half_passes": 14.1699,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 33.9806,
                "possession_lost": 3.7628,
                "dispossessed": 0.0,
                "duels_lost": 0.4516,
                "aerial_won": 0.9,
                "aerial_lost": 0.1938,
                "interceptions": 0.311,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.5152,
                "total_contest": 0.086,
                "won_contest": 0.086,
                "challenges_lost": 0.086,
                "fouls": 0.1851,
                "fouls_drawn": 1.2685,
                "blocks": 0.1012,
                "big_chances_created": 0.1938,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.7322,
                "total_progression": 21.2147,
                "progressive_carries": 0.3392,
                "shots_off_target": 0.2876,
                "duel_xg_multiplier": 0.9835,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.389,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wingback vs Right Back — Overlapping Run",
                "numerical_situation": "1v1",
                "opponent_defenders": "Angel Ortiz",
                "opponent_faced": "Angel Ortiz",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "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": 0.831,
                "squad_xg_sum": 0.7402,
                "squad_xa_sum": 0.5844,
                "team_expected_assists": 0.6561,
                "team_xa_to_xg_ratio": 0.7895,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1227,
                "xa_scale": 1.1227,
                "opponent_lambda": 2.153,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_assists",
                  "before": 0.0431,
                  "after": 0.0484
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 5 by projected rating, fifa_overall 65.0)",
              "stats": {
                "key_pass": 0.6783,
                "expected_assists": 0.0484,
                "assist_rate": 0.0679,
                "assists": 0,
                "expected_goals": 0.0392,
                "goal_rate": 0.0595,
                "goals": 0,
                "shots_on_target": 0.1136,
                "total_shots": 0.4012,
                "rating": 6.9168,
                "minutes": 80.0,
                "total_pass": 30.0742,
                "accurate_pass": 27.011,
                "duels_won": 1.5385,
                "total_long_balls": 1.9147,
                "accurate_long_balls": 1.25,
                "total_own_half_passes": 13.6887,
                "accurate_own_half_passes": 12.8411,
                "total_opp_half_passes": 16.3855,
                "accurate_opp_half_passes": 14.1699,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 33.9806,
                "possession_lost": 3.7628,
                "dispossessed": 0.0,
                "duels_lost": 0.4516,
                "aerial_won": 0.9,
                "aerial_lost": 0.1938,
                "interceptions": 0.311,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.5152,
                "total_contest": 0.086,
                "won_contest": 0.086,
                "challenges_lost": 0.086,
                "fouls": 0.1851,
                "fouls_drawn": 1.2685,
                "blocks": 0.1012,
                "big_chances_created": 0.1938,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.7322,
                "total_progression": 21.2147,
                "progressive_carries": 0.3392,
                "shots_off_target": 0.2876,
                "duel_xg_multiplier": 0.9835,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.389,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wingback vs Right Back — Overlapping Run",
                "numerical_situation": "1v1",
                "opponent_defenders": "Angel Ortiz",
                "opponent_faced": "Angel Ortiz",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 65.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": 7855,
                "fifa_rank": 11811.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 65.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 0.6783,
                "expected_assists": 0.0484,
                "assist_rate": 0.0679,
                "assists": 0,
                "expected_goals": 0.0392,
                "goal_rate": 0.0595,
                "goals": 0,
                "shots_on_target": 0.1136,
                "total_shots": 0.4012,
                "rating": 6.9168,
                "minutes": 80.0,
                "total_pass": 30.0742,
                "accurate_pass": 27.011,
                "duels_won": 1.5385,
                "total_long_balls": 1.9147,
                "accurate_long_balls": 1.25,
                "total_own_half_passes": 13.6887,
                "accurate_own_half_passes": 12.8411,
                "total_opp_half_passes": 16.3855,
                "accurate_opp_half_passes": 14.1699,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 33.9806,
                "possession_lost": 3.7628,
                "dispossessed": 0.0,
                "duels_lost": 0.4516,
                "aerial_won": 0.9,
                "aerial_lost": 0.1938,
                "interceptions": 0.311,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.5152,
                "total_contest": 0.086,
                "won_contest": 0.086,
                "challenges_lost": 0.086,
                "fouls": 0.1851,
                "fouls_drawn": 1.2685,
                "blocks": 0.1012,
                "big_chances_created": 0.1938,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.7322,
                "total_progression": 21.2147,
                "progressive_carries": 0.3392,
                "shots_off_target": 0.2876,
                "duel_xg_multiplier": 0.9835,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.389,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wingback vs Right Back — Overlapping Run",
                "numerical_situation": "1v1",
                "opponent_defenders": "Angel Ortiz",
                "opponent_faced": "Angel Ortiz",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0384,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 65.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0384,
                "goal_rate": 0.0595,
                "scorer_weight": 0.049,
                "squad_weight_total": 0.8662,
                "weight_share": 0.0566,
                "finishing_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 0.6783,
                "expected_assists": 0.0484,
                "assist_rate": 0.0679,
                "assists": 0,
                "expected_goals": 0.0392,
                "goal_rate": 0.0595,
                "goals": 0,
                "shots_on_target": 0.1136,
                "total_shots": 0.4012,
                "rating": 6.9168,
                "minutes": 80.0,
                "total_pass": 30.0742,
                "accurate_pass": 27.011,
                "duels_won": 1.5385,
                "total_long_balls": 1.9147,
                "accurate_long_balls": 1.25,
                "total_own_half_passes": 13.6887,
                "accurate_own_half_passes": 12.8411,
                "total_opp_half_passes": 16.3855,
                "accurate_opp_half_passes": 14.1699,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 33.9806,
                "possession_lost": 3.7628,
                "dispossessed": 0.0,
                "duels_lost": 0.4516,
                "aerial_won": 0.9,
                "aerial_lost": 0.1938,
                "interceptions": 0.311,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.5152,
                "total_contest": 0.086,
                "won_contest": 0.086,
                "challenges_lost": 0.086,
                "fouls": 0.1851,
                "fouls_drawn": 1.2685,
                "blocks": 0.1012,
                "big_chances_created": 0.1938,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 10.7322,
                "total_progression": 21.2147,
                "progressive_carries": 0.3392,
                "shots_off_target": 0.2876,
                "duel_xg_multiplier": 0.9835,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 2.2,
                "duel_win_rate": 0.389,
                "pressing_faced": "LOW",
                "matchup_zone": "Left Wingback vs Right Back — Overlapping Run",
                "numerical_situation": "1v1",
                "opponent_defenders": "Angel Ortiz",
                "opponent_faced": "Angel Ortiz",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0384,
                "projected_assists": 0,
                "assist_probability": 0.0472,
                "finishing_factor": 1.25,
                "creation_factor": 1.25,
                "fifa_overall": 65.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0472,
                "assist_rate": 0.0679,
                "provider_weight": 0.0605,
                "squad_weight_total": 0.5932,
                "weight_share": 0.102,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 4,
                "eligible_players": 13
              }
            }
          ]
        },
        "Adam Aznou": {
          "player_id": 1466124,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 39,
          "height": 178,
          "market_value": 6200000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 2,
            "clearances": 2,
            "aerial_won": 1,
            "total_shots": 1,
            "rating": 6.6768,
            "minutes": 83,
            "total_pass": 13,
            "accurate_pass": 9,
            "duels_won": 5,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 7,
            "accurate_own_half_passes": 4,
            "total_opp_half_passes": 7,
            "accurate_opp_half_passes": 5,
            "crosses_total": 1,
            "crosses_accurate": 1,
            "touches": 34,
            "possession_lost": 13.1969,
            "dispossessed": 3.3147,
            "duels_lost": 8,
            "aerial_lost": 0,
            "total_contest": 3,
            "won_contest": 1,
            "ball_recovery": 2,
            "challenges_lost": 0,
            "fouls": 2,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0714,
            "expected_assists": 0.0698,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 6,
            "total_progression": 32,
            "progressive_carries": 1,
            "key_pass": 0,
            "shots_off_target": 1,
            "opponent_faced": "Troy Parrott",
            "matchup_zone": "Shape fallback",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0689,
            "projected_assists": 0,
            "assist_probability": 0.0674,
            "finishing_factor": 0.8,
            "creation_factor": 0.8,
            "fifa_overall": 67.0
          },
          "latest_10_games": [
            {
              "match_id": 16421077,
              "match_date": "2026-10-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 68,
                "rating": 6.5,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0058,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "total_pass": 13,
                "accurate_pass": 7,
                "tackles": 3,
                "tackles_won": 3,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 2,
                "duels_won": 7,
                "ball_recovery": 3,
                "saves": 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": 16421073,
              "match_date": "2026-10-18",
              "home_team": "Málaga CF",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 45,
                "rating": 5.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.172,
                "expected_assists": 0.1687,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 17,
                "accurate_pass": 13,
                "key_pass": 1,
                "tackles": 2,
                "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": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 28,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0253,
                "expected_assists": 0.0162,
                "total_shots": 1,
                "total_pass": 10,
                "accurate_pass": 9,
                "tackles": 2,
                "tackles_won": 1,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 6312,
            "combined_rank_score": 4601.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 9024.0,
            "fifa_overall": 67.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 15,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6768,
            "source_file": "data/player_rankings.csv",
            "player_name": "Adam Aznou",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Xavier Arreaga",
                  "ranking": 6307
                },
                {
                  "player_name": "Gustavo Nunes",
                  "ranking": 6308
                },
                {
                  "player_name": "Tom Watson",
                  "ranking": 6309
                },
                {
                  "player_name": "Daniel Piña",
                  "ranking": 6310
                },
                {
                  "player_name": "Angus Thurgate",
                  "ranking": 6311
                }
              ],
              "lower": [
                {
                  "player_name": "Fernando Meza",
                  "ranking": 6313
                },
                {
                  "player_name": "David Miculescu",
                  "ranking": 6314
                },
                {
                  "player_name": "Dino Beširović",
                  "ranking": 6315
                },
                {
                  "player_name": "Adama Traoré",
                  "ranking": 6316
                },
                {
                  "player_name": "Enrique Triverio",
                  "ranking": 6317
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.438,
          "history_matches": 3,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "D_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalLongBalls",
              "totalOppositionHalfPasses",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "ballRecovery",
              "touches",
              "totalClearance",
              "wonTackle",
              "interceptionWon",
              "dispossessed",
              "challengeLost",
              "errorLeadToAShot",
              "errorLeadToAGoal",
              "possessionLostCtrl",
              "passValueNormalized",
              "defensiveValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "totalTackle",
              "totalShots",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "long_ball_accuracy",
              "defensive_actions",
              "tackle_success_rate",
              "touches_p90",
              "totalTackle_p90",
              "interceptionWon_p90",
              "totalClearance_p90",
              "duelWon_p90",
              "ballRecovery_p90",
              "press_vulnerability",
              "error_severity",
              "aerial_dominance",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "interceptionWon",
              "totalTackle",
              "wonTackle",
              "totalClearance",
              "aerialWon",
              "totalShots",
              "rating"
            ],
            "history_matches": 3,
            "data_confidence": 0.438,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9947,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (D_service) evaluated 3 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.9842,
                "tackles": 2.4871,
                "tackles_won": 1.6545,
                "clearances": 2.0325,
                "aerial_won": 0.9825,
                "total_shots": 0.5892,
                "rating": 6.6768,
                "minutes": 82.67,
                "total_pass": 13.4791,
                "accurate_pass": 9.5442,
                "duels_won": 4.8358,
                "total_long_balls": 1.0496,
                "accurate_long_balls": 0.3304,
                "total_own_half_passes": 6.6608,
                "accurate_own_half_passes": 4.2225,
                "total_opp_half_passes": 6.8183,
                "accurate_opp_half_passes": 5.3217,
                "crosses_total": 1.38,
                "crosses_accurate": 0.6608,
                "touches": 33.9106,
                "possession_lost": 13.2672,
                "dispossessed": 3.3324,
                "duels_lost": 8.2828,
                "aerial_lost": 0.3887,
                "total_contest": 2.7843,
                "won_contest": 0.6696,
                "ball_recovery": 2.4383,
                "challenges_lost": 0.3887,
                "fouls": 2.0583,
                "fouls_drawn": 0.3887,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0639,
                "expected_assists": 0.0625,
                "shots_on_target": 0.0,
                "big_chances_created": 0.4595,
                "xgot": 0.0,
                "ball_carries": 5.6113,
                "total_progression": 31.8045,
                "progressive_carries": 0.8921,
                "key_pass": 0.3304,
                "shots_off_target": 0.5892
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:29:25.210665+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 626,
                    "rows": 22004
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-23",
                    "opponent": "Deportivo Alavés",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.3887,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Real Sociedad",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.3304,
                    "rating": 5.8
                  },
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Espanyol",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.2809,
                    "rating": 6.4
                  }
                ],
                "feature_row": {
                  "history_matches": 3.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 0.9504,
                  "aerialWon": 1.3887,
                  "totalClearance_p90": 2.32,
                  "totalTackle": 2.3887,
                  "totalPass": 13.4791
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.9841648936271667,
                    "model_output": 0.9842,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2977
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0446
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0318
                      },
                      {
                        "name": "touches",
                        "importance": 0.0281
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8678,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0941
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0416
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0382
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0278
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.025
                        }
                      ],
                      "others": 0.0993,
                      "total": 0.9842,
                      "log_link": true,
                      "margin_base": -0.141777,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.102912
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.044165
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.042364
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.031056
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.027882
                        }
                      ],
                      "others_margin": 0.106259
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 2.4870824813842773,
                    "model_output": 2.4871,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2493
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0731
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0414
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0245
                      }
                    ],
                    "decomposition": {
                      "base": 1.3878,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.198
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.1082
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.1141
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.1075
                        },
                        {
                          "name": "duelLost",
                          "contribution": 0.1067
                        }
                      ],
                      "others": 0.4648,
                      "total": 2.4871,
                      "log_link": true,
                      "margin_base": 0.327722,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.133369
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.066007
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.065186
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.05776
                        },
                        {
                          "name": "duelLost",
                          "margin": 0.054218
                        }
                      ],
                      "others_margin": 0.206847
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 1.6545451879501343,
                    "model_output": 1.6545,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1966
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0678
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0471
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0406
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 0.8471,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1272
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.1254
                        },
                        {
                          "name": "totalTackle",
                          "contribution": 0.0972
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.1013
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0708
                        }
                      ],
                      "others": 0.2855,
                      "total": 1.6545,
                      "log_link": true,
                      "margin_base": -0.165887,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.139856
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.121115
                        },
                        {
                          "name": "totalTackle",
                          "margin": 0.084653
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.081279
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.053124
                        }
                      ],
                      "others_margin": 0.189387
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.0325193405151367,
                    "model_output": 2.0325,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2929
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1447
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.1031
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0342
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0223
                      }
                    ],
                    "decomposition": {
                      "base": 3.4227,
                      "items": [
                        {
                          "name": "totalClearance",
                          "contribution": -0.7702
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.3141
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.313
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.2576
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.1514
                        }
                      ],
                      "others": -0.2099,
                      "total": 2.0325,
                      "log_link": true,
                      "margin_base": 1.230438,
                      "item_margins": [
                        {
                          "name": "totalClearance",
                          "margin": -0.254906
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.126043
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.125613
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.102209
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.065323
                        }
                      ],
                      "others_margin": -0.098295
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.982513427734375,
                    "model_output": 0.9825,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1591
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1548
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0782
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.3743,
                      "items": [
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.1349
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.1159
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1152
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.105
                        },
                        {
                          "name": "rating",
                          "contribution": 0.098
                        }
                      ],
                      "others": -0.2492,
                      "total": 0.9825,
                      "log_link": true,
                      "margin_base": 0.31798,
                      "item_margins": [
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.10335
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.098221
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.097594
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.088554
                        },
                        {
                          "name": "rating",
                          "margin": 0.082925
                        }
                      ],
                      "others_margin": -0.226016
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.5891541242599487,
                    "model_output": 0.5892,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1011
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0377
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0308
                      },
                      {
                        "name": "rating",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.4801,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0467
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0241
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0232
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0214
                        },
                        {
                          "name": "duelWon_p90",
                          "contribution": 0.0119
                        }
                      ],
                      "others": 0.0246,
                      "total": 0.5892,
                      "log_link": false,
                      "margin_base": 0.48008,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.046671
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.02409
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.023185
                        },
                        {
                          "name": "rating",
                          "margin": -0.021443
                        },
                        {
                          "name": "duelWon_p90",
                          "margin": 0.011872
                        }
                      ],
                      "others_margin": 0.024699
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.676828861236572,
                    "model_output": 6.6768,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0922
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0582
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0462
                      },
                      {
                        "name": "rating",
                        "importance": 0.0313
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 6.7972,
                      "items": [
                        {
                          "name": "totalPass",
                          "contribution": -0.037
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0172
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0136
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0116
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0115
                        }
                      ],
                      "others": -0.0527,
                      "total": 6.6768,
                      "log_link": false,
                      "margin_base": 6.797222,
                      "item_margins": [
                        {
                          "name": "totalPass",
                          "margin": -0.036985
                        },
                        {
                          "name": "rating",
                          "margin": -0.017191
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.013631
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.011626
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.011455
                        }
                      ],
                      "others_margin": -0.052758
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 3,
                  "role_matches": 1,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "all_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9947, quality 0.477)",
              "stats": {
                "interceptions": 0.9789,
                "tackles": 2.4739,
                "tackles_won": 1.6458,
                "clearances": 2.0217,
                "aerial_won": 0.9773,
                "total_shots": 0.5861,
                "rating": 6.6768,
                "minutes": 82.67,
                "total_pass": 13.4077,
                "accurate_pass": 9.4936,
                "duels_won": 4.8102,
                "total_long_balls": 1.044,
                "accurate_long_balls": 0.3286,
                "total_own_half_passes": 6.6255,
                "accurate_own_half_passes": 4.2001,
                "total_opp_half_passes": 6.7822,
                "accurate_opp_half_passes": 5.2935,
                "crosses_total": 1.3727,
                "crosses_accurate": 0.6573,
                "touches": 33.7309,
                "possession_lost": 13.1969,
                "dispossessed": 3.3147,
                "duels_lost": 8.2389,
                "aerial_lost": 0.3866,
                "total_contest": 2.7695,
                "won_contest": 0.6661,
                "ball_recovery": 2.4254,
                "challenges_lost": 0.3866,
                "fouls": 2.0474,
                "fouls_drawn": 0.3866,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0636,
                "expected_assists": 0.0622,
                "shots_on_target": 0.0,
                "big_chances_created": 0.4571,
                "xgot": 0.0,
                "ball_carries": 5.5816,
                "total_progression": 31.6359,
                "progressive_carries": 0.8874,
                "key_pass": 0.3286,
                "shots_off_target": 0.5861
              },
              "params": {
                "market_value_eur": 6200000,
                "quality_factor": 0.4769,
                "boost_factor": 0.9947,
                "reference_quality": 0.505,
                "history_matches": 3,
                "history_shrink": 0.625,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.9789,
                "tackles": 2.4739,
                "tackles_won": 1.6458,
                "clearances": 2.0217,
                "aerial_won": 0.9773,
                "total_shots": 0.5861,
                "rating": 6.6768,
                "minutes": 82.67,
                "total_pass": 13.4077,
                "accurate_pass": 9.4936,
                "duels_won": 4.8102,
                "total_long_balls": 1.044,
                "accurate_long_balls": 0.3286,
                "total_own_half_passes": 6.6255,
                "accurate_own_half_passes": 4.2001,
                "total_opp_half_passes": 6.7822,
                "accurate_opp_half_passes": 5.2935,
                "crosses_total": 1.3727,
                "crosses_accurate": 0.6573,
                "touches": 33.7309,
                "possession_lost": 13.1969,
                "dispossessed": 3.3147,
                "duels_lost": 8.2389,
                "aerial_lost": 0.3866,
                "total_contest": 2.7695,
                "won_contest": 0.6661,
                "ball_recovery": 2.4254,
                "challenges_lost": 0.3866,
                "fouls": 2.0474,
                "fouls_drawn": 0.3866,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0636,
                "expected_assists": 0.0622,
                "shots_on_target": 0.0,
                "big_chances_created": 0.4571,
                "xgot": 0.0,
                "ball_carries": 5.5816,
                "total_progression": 31.6359,
                "progressive_carries": 0.8874,
                "key_pass": 0.3286,
                "shots_off_target": 0.5861
              },
              "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.9789,
                "tackles": 2.4739,
                "tackles_won": 1.6458,
                "clearances": 2.0217,
                "aerial_won": 0.9773,
                "total_shots": 0.5861,
                "rating": 6.6768,
                "minutes": 82.67,
                "total_pass": 13.4077,
                "accurate_pass": 9.4936,
                "duels_won": 4.8102,
                "total_long_balls": 1.044,
                "accurate_long_balls": 0.3286,
                "total_own_half_passes": 6.6255,
                "accurate_own_half_passes": 4.2001,
                "total_opp_half_passes": 6.7822,
                "accurate_opp_half_passes": 5.2935,
                "crosses_total": 1.3727,
                "crosses_accurate": 0.6573,
                "touches": 33.7309,
                "possession_lost": 13.1969,
                "dispossessed": 3.3147,
                "duels_lost": 8.2389,
                "aerial_lost": 0.3866,
                "total_contest": 2.7695,
                "won_contest": 0.6661,
                "ball_recovery": 2.4254,
                "challenges_lost": 0.3866,
                "fouls": 2.0474,
                "fouls_drawn": 0.3866,
                "blocks": 0.0,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0636,
                "expected_assists": 0.0622,
                "shots_on_target": 0.0,
                "big_chances_created": 0.4571,
                "xgot": 0.0,
                "ball_carries": 5.5816,
                "total_progression": 31.6359,
                "progressive_carries": 0.8874,
                "key_pass": 0.3286,
                "shots_off_target": 0.5861,
                "opponent_faced": "Troy Parrott",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Troy Parrott",
                  "matchup_zone": "Shape fallback"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 0.9789,
                "tackles": 2.4739,
                "tackles_won": 1.6458,
                "clearances": 2.0217,
                "aerial_won": 0.9773,
                "total_shots": 0.5861,
                "rating": 6.6768,
                "minutes": 82.67,
                "total_pass": 13.4077,
                "accurate_pass": 9.4936,
                "duels_won": 4.8102,
                "total_long_balls": 1.044,
                "accurate_long_balls": 0.3286,
                "total_own_half_passes": 6.6255,
                "accurate_own_half_passes": 4.2001,
                "total_opp_half_passes": 6.7822,
                "accurate_opp_half_passes": 5.2935,
                "crosses_total": 1.3727,
                "crosses_accurate": 0.6573,
                "touches": 33.7309,
                "possession_lost": 13.1969,
                "dispossessed": 3.3147,
                "duels_lost": 8.2389,
                "aerial_lost": 0.3866,
                "total_contest": 2.7695,
                "won_contest": 0.6661,
                "ball_recovery": 2.4254,
                "challenges_lost": 0.3866,
                "fouls": 2.0474,
                "fouls_drawn": 0.3866,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0636,
                "expected_assists": 0.0622,
                "shots_on_target": 0.0,
                "big_chances_created": 0.4571,
                "xgot": 0.0,
                "ball_carries": 5.5816,
                "total_progression": 31.6359,
                "progressive_carries": 0.8874,
                "key_pass": 0.3286,
                "shots_off_target": 0.5861,
                "opponent_faced": "Troy Parrott",
                "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": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.83 (squad xG sum 0.7402, xG scale 1.1227, xA scale 1.1227, team xA 0.66 = 0.79 x lambda)",
              "stats": {
                "interceptions": 0.9789,
                "tackles": 2.4739,
                "tackles_won": 1.6458,
                "clearances": 2.0217,
                "aerial_won": 0.9773,
                "total_shots": 0.5861,
                "rating": 6.6768,
                "minutes": 82.67,
                "total_pass": 13.4077,
                "accurate_pass": 9.4936,
                "duels_won": 4.8102,
                "total_long_balls": 1.044,
                "accurate_long_balls": 0.3286,
                "total_own_half_passes": 6.6255,
                "accurate_own_half_passes": 4.2001,
                "total_opp_half_passes": 6.7822,
                "accurate_opp_half_passes": 5.2935,
                "crosses_total": 1.3727,
                "crosses_accurate": 0.6573,
                "touches": 33.7309,
                "possession_lost": 13.1969,
                "dispossessed": 3.3147,
                "duels_lost": 8.2389,
                "aerial_lost": 0.3866,
                "total_contest": 2.7695,
                "won_contest": 0.6661,
                "ball_recovery": 2.4254,
                "challenges_lost": 0.3866,
                "fouls": 2.0474,
                "fouls_drawn": 0.3866,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0714,
                "expected_assists": 0.0698,
                "shots_on_target": 0.0,
                "big_chances_created": 0.4571,
                "xgot": 0.0,
                "ball_carries": 5.5816,
                "total_progression": 31.6359,
                "progressive_carries": 0.8874,
                "key_pass": 0.3286,
                "shots_off_target": 0.5861,
                "opponent_faced": "Troy Parrott",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 0.831,
                "squad_xg_sum": 0.7402,
                "squad_xa_sum": 0.5844,
                "team_expected_assists": 0.6561,
                "team_xa_to_xg_ratio": 0.7895,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1227,
                "xa_scale": 1.1227,
                "opponent_lambda": 2.153,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0636,
                  "after": 0.0714
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0622,
                  "after": 0.0698
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 15 by projected rating, fifa_overall 67.0)",
              "stats": {
                "interceptions": 0.9789,
                "tackles": 2.4739,
                "tackles_won": 1.6458,
                "clearances": 2.0217,
                "aerial_won": 0.9773,
                "total_shots": 0.5861,
                "rating": 6.6768,
                "minutes": 82.67,
                "total_pass": 13.4077,
                "accurate_pass": 9.4936,
                "duels_won": 4.8102,
                "total_long_balls": 1.044,
                "accurate_long_balls": 0.3286,
                "total_own_half_passes": 6.6255,
                "accurate_own_half_passes": 4.2001,
                "total_opp_half_passes": 6.7822,
                "accurate_opp_half_passes": 5.2935,
                "crosses_total": 1.3727,
                "crosses_accurate": 0.6573,
                "touches": 33.7309,
                "possession_lost": 13.1969,
                "dispossessed": 3.3147,
                "duels_lost": 8.2389,
                "aerial_lost": 0.3866,
                "total_contest": 2.7695,
                "won_contest": 0.6661,
                "ball_recovery": 2.4254,
                "challenges_lost": 0.3866,
                "fouls": 2.0474,
                "fouls_drawn": 0.3866,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0714,
                "expected_assists": 0.0698,
                "shots_on_target": 0.0,
                "big_chances_created": 0.4571,
                "xgot": 0.0,
                "ball_carries": 5.5816,
                "total_progression": 31.6359,
                "progressive_carries": 0.8874,
                "key_pass": 0.3286,
                "shots_off_target": 0.5861,
                "opponent_faced": "Troy Parrott",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 67.0
              },
              "params": {
                "match_squad_rank": 15,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 6312,
                "fifa_rank": 9024.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 67.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "interceptions": 0.9789,
                "tackles": 2.4739,
                "tackles_won": 1.6458,
                "clearances": 2.0217,
                "aerial_won": 0.9773,
                "total_shots": 0.5861,
                "rating": 6.6768,
                "minutes": 82.67,
                "total_pass": 13.4077,
                "accurate_pass": 9.4936,
                "duels_won": 4.8102,
                "total_long_balls": 1.044,
                "accurate_long_balls": 0.3286,
                "total_own_half_passes": 6.6255,
                "accurate_own_half_passes": 4.2001,
                "total_opp_half_passes": 6.7822,
                "accurate_opp_half_passes": 5.2935,
                "crosses_total": 1.3727,
                "crosses_accurate": 0.6573,
                "touches": 33.7309,
                "possession_lost": 13.1969,
                "dispossessed": 3.3147,
                "duels_lost": 8.2389,
                "aerial_lost": 0.3866,
                "total_contest": 2.7695,
                "won_contest": 0.6661,
                "ball_recovery": 2.4254,
                "challenges_lost": 0.3866,
                "fouls": 2.0474,
                "fouls_drawn": 0.3866,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0714,
                "expected_assists": 0.0698,
                "shots_on_target": 0.0,
                "big_chances_created": 0.4571,
                "xgot": 0.0,
                "ball_carries": 5.5816,
                "total_progression": 31.6359,
                "progressive_carries": 0.8874,
                "key_pass": 0.3286,
                "shots_off_target": 0.5861,
                "opponent_faced": "Troy Parrott",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0689,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 67.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0689,
                "goal_rate": 0.0,
                "scorer_weight": 0.0571,
                "squad_weight_total": 0.8662,
                "weight_share": 0.0659,
                "finishing_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 0.9789,
                "tackles": 2.4739,
                "tackles_won": 1.6458,
                "clearances": 2.0217,
                "aerial_won": 0.9773,
                "total_shots": 0.5861,
                "rating": 6.6768,
                "minutes": 82.67,
                "total_pass": 13.4077,
                "accurate_pass": 9.4936,
                "duels_won": 4.8102,
                "total_long_balls": 1.044,
                "accurate_long_balls": 0.3286,
                "total_own_half_passes": 6.6255,
                "accurate_own_half_passes": 4.2001,
                "total_opp_half_passes": 6.7822,
                "accurate_opp_half_passes": 5.2935,
                "crosses_total": 1.3727,
                "crosses_accurate": 0.6573,
                "touches": 33.7309,
                "possession_lost": 13.1969,
                "dispossessed": 3.3147,
                "duels_lost": 8.2389,
                "aerial_lost": 0.3866,
                "total_contest": 2.7695,
                "won_contest": 0.6661,
                "ball_recovery": 2.4254,
                "challenges_lost": 0.3866,
                "fouls": 2.0474,
                "fouls_drawn": 0.3866,
                "blocks": 0.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0714,
                "expected_assists": 0.0698,
                "shots_on_target": 0.0,
                "big_chances_created": 0.4571,
                "xgot": 0.0,
                "ball_carries": 5.5816,
                "total_progression": 31.6359,
                "progressive_carries": 0.8874,
                "key_pass": 0.3286,
                "shots_off_target": 0.5861,
                "opponent_faced": "Troy Parrott",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0689,
                "projected_assists": 0,
                "assist_probability": 0.0674,
                "finishing_factor": 0.8,
                "creation_factor": 0.8,
                "fifa_overall": 67.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0674,
                "assist_rate": 0.0,
                "provider_weight": 0.0558,
                "squad_weight_total": 0.5932,
                "weight_share": 0.0941,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 5,
                "eligible_players": 13
              }
            }
          ]
        },
        "David Larrubia": {
          "player_id": 1002405,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 10,
          "height": 172,
          "market_value": 6300000,
          "stats": {
            "expected_goals": 0.0815,
            "goal_rate": 0.0901,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.2174,
            "key_pass": 2,
            "rating": 7.0015,
            "minutes": 85,
            "total_pass": 32,
            "accurate_pass": 26,
            "duels_won": 6,
            "total_long_balls": 2,
            "accurate_long_balls": 1,
            "total_opp_half_passes": 23,
            "accurate_opp_half_passes": 18,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 57,
            "possession_lost": 17.607,
            "dispossessed": 2.0863,
            "duels_lost": 8,
            "aerial_lost": 0,
            "total_contest": 6,
            "won_contest": 2,
            "ball_recovery": 5,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 1,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 1,
            "tackles_won": 2,
            "tackles": 3,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0391,
            "offsides": 0,
            "ball_carries": 20,
            "total_progression": 115,
            "progressive_carries": 4,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.8187,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 1,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.18,
            "pressing_faced": "LOW",
            "matchup_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Marc Roca, Natan",
            "opponent_faced": "Marc Roca, Natan",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.0783,
            "projected_assists": 0,
            "assist_probability": 0.1954,
            "finishing_factor": 1.1427,
            "creation_factor": 0.8,
            "fifa_overall": 81.0
          },
          "latest_10_games": [
            {
              "match_id": 16421077,
              "match_date": "2026-10-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.2487,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "total_pass": 43,
                "accurate_pass": 34,
                "key_pass": 2,
                "tackles": 3,
                "tackles_won": 2,
                "interceptions": 0,
                "clearances": 1,
                "aerial_won": 0,
                "duels_won": 4,
                "ball_recovery": 10,
                "saves": 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": 16421073,
              "match_date": "2026-10-18",
              "home_team": "Málaga CF",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 68,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0644,
                "expected_assists": 0.2418,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 24,
                "accurate_pass": 21,
                "key_pass": 2,
                "tackles": 5,
                "tackles_won": 4,
                "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": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 7.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1461,
                "expected_assists": 0.17,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 40,
                "accurate_pass": 28,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 10,
                "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": 16416303,
              "match_date": "2026-09-20",
              "home_team": "Getafe",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0453,
                "expected_assists": 0.122,
                "total_shots": 1,
                "total_pass": 38,
                "accurate_pass": 31,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0093,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 17,
                "key_pass": 1,
                "tackles": 3,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 7,
                "ball_recovery": 5
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416347,
              "match_date": "2026-09-13",
              "home_team": "Celta Vigo",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0735,
                "expected_assists": 0.0404,
                "total_shots": 2,
                "shots_off_target": 2,
                "total_pass": 28,
                "accurate_pass": 24,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 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": 16416320,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1965,
                "expected_assists": 0.1804,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 22,
                "accurate_pass": 18,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 5,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416312,
              "match_date": "2026-08-30",
              "home_team": "Real Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1257,
                "expected_assists": 0.1173,
                "total_shots": 4,
                "shots_on_target": 1,
                "total_pass": 31,
                "accurate_pass": 26,
                "key_pass": 4,
                "tackles": 3,
                "tackles_won": 1,
                "duels_won": 9,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416307,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 34,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.028,
                "expected_assists": 0.0527,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 16,
                "accurate_pass": 9,
                "key_pass": 1,
                "tackles": 6,
                "tackles_won": 3,
                "interceptions": 2,
                "duels_won": 10,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421055,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0414,
                "expected_assists": 0.0262,
                "total_shots": 2,
                "shots_on_target": 1,
                "shots_off_target": 1,
                "total_pass": 23,
                "accurate_pass": 21,
                "tackles": 5,
                "tackles_won": 3,
                "duels_won": 6,
                "ball_recovery": 4
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1361,
            "combined_rank_score": 577.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 578.0,
            "sofascore_rating": 6.8,
            "sofascore_appearances": 3.0,
            "fifa_rank": 577.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.0015,
            "source_file": "data/player_rankings.csv",
            "player_name": "David Larrubia",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Marko Bakić",
                  "ranking": 1356
                },
                {
                  "player_name": "Nika Gagnidze",
                  "ranking": 1357
                },
                {
                  "player_name": "Francisco Geraldes",
                  "ranking": 1358
                },
                {
                  "player_name": "Fernando Niño",
                  "ranking": 1359
                },
                {
                  "player_name": "Iñigo Arguibide",
                  "ranking": 1360
                }
              ],
              "lower": [
                {
                  "player_name": "John Edwin Montaño",
                  "ranking": 1362
                },
                {
                  "player_name": "Samuel Xavier",
                  "ranking": 1363
                },
                {
                  "player_name": "Laziz Mirzaev",
                  "ranking": 1364
                },
                {
                  "player_name": "Shamar Nicholson",
                  "ranking": 1365
                },
                {
                  "player_name": "Juan Fernando Quintero",
                  "ranking": 1366
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.774,
          "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.774,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9973,
            "fbref_prior_metrics": {
              "squad": "Málaga",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 3.0,
              "starts": 2.0,
              "minutes": 215.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 2.93,
              "shots_on_target_pct": 28.6,
              "prior_reliability": 0.16
            },
            "rationale": "XGBoost regressor (F_service) evaluated 10 historical appearances across 7 target models; FBref 2026-2027 prior blended (La Liga, Málaga, rel: 0.16, gls/90: 0.0, ast/90: 0.0)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.089,
                "goals": 0.1144,
                "goal_rate": 0.1144,
                "shots_on_target": 0.406,
                "total_shots": 1.2209,
                "expected_assists": 0.1939,
                "key_pass": 1.6323,
                "rating": 7.0015,
                "minutes": 85.2,
                "total_pass": 32.1264,
                "accurate_pass": 25.6683,
                "duels_won": 6.222,
                "total_long_balls": 1.5501,
                "accurate_long_balls": 1.2335,
                "total_opp_half_passes": 22.8523,
                "accurate_opp_half_passes": 18.0212,
                "crosses_total": 1.5735,
                "crosses_accurate": 0.3319,
                "touches": 57.5737,
                "possession_lost": 17.6547,
                "dispossessed": 2.0919,
                "duels_lost": 7.6037,
                "aerial_lost": 0.1602,
                "total_contest": 5.6796,
                "won_contest": 2.3234,
                "ball_recovery": 5.3389,
                "challenges_lost": 1.4107,
                "fouls": 0.7045,
                "fouls_drawn": 1.0418,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.5361,
                "tackles_won": 1.8539,
                "tackles": 2.737,
                "clearances": 0.4561,
                "blocks": 0.0532,
                "big_chances_created": 0.1932,
                "big_chances_missed": 0.0,
                "xgot": 0.0426,
                "offsides": 0.0626,
                "ball_carries": 20.0348,
                "total_progression": 115.7098,
                "progressive_carries": 3.9846,
                "shots_off_target": 0.8149
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:30:56.271646+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 610,
                    "rows": 17075
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-23",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1868,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Real Sociedad",
                    "minutes": 68.0,
                    "is_starting": true,
                    "weight": 0.1588,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1349,
                    "rating": 7.4
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1147,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0975,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0829,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0704,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0599,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 34.0,
                    "is_starting": false,
                    "weight": 0.0509,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0433,
                    "rating": 6.2
                  }
                ],
                "feature_row": {
                  "history_matches": 10.0,
                  "is_starting_11": 1.0,
                  "accurateOppositionHalfPasses": 17.4171,
                  "expectedGoals": 0.0658,
                  "totalOppositionHalfPasses": 22.3294,
                  "accuratePass": 24.8556,
                  "totalShots": 1.2269
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.08897116780281067,
                    "model_output": 0.089,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0898
                      },
                      {
                        "name": "goals",
                        "importance": 0.0323
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0236
                      }
                    ],
                    "decomposition": {
                      "base": 0.1945,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0521
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0517
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0323
                        },
                        {
                          "name": "totalProgression",
                          "contribution": -0.0119
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0103
                        }
                      ],
                      "others": -0.0514,
                      "total": 0.089,
                      "log_link": true,
                      "margin_base": -1.637486,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.237452
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.235204
                        },
                        {
                          "name": "goals",
                          "margin": -0.181132
                        },
                        {
                          "name": "totalProgression",
                          "margin": -0.07615
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.070735
                        }
                      ],
                      "others_margin": -0.456189
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.11442434042692184,
                    "model_output": 0.1144,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.144
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0742
                      },
                      {
                        "name": "goals",
                        "importance": 0.053
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.058
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0538
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0258
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0208
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0133
                        }
                      ],
                      "others": -0.0289,
                      "total": 0.1144,
                      "log_link": true,
                      "margin_base": -1.614663,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.255664
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.235002
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.135875
                        },
                        {
                          "name": "goals",
                          "margin": -0.124984
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.089012
                        }
                      ],
                      "others_margin": -0.22397
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.4059988260269165,
                    "model_output": 0.406,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2115
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.066
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0499
                      },
                      {
                        "name": "goals",
                        "importance": 0.0473
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 0.5305,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1703
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0929
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0706
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0429
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0355
                        }
                      ],
                      "others": -0.0529,
                      "total": 0.406,
                      "log_link": true,
                      "margin_base": -0.633985,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.278459
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.142226
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.123486
                        },
                        {
                          "name": "goals",
                          "margin": -0.083122
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.074562
                        }
                      ],
                      "others_margin": -0.122483
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.2209136486053467,
                    "model_output": 1.2209,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2934
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0662
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.05
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0272
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.027
                      }
                    ],
                    "decomposition": {
                      "base": 1.3805,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.3633
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1147
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.105
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0834
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0768
                        }
                      ],
                      "others": -0.143,
                      "total": 1.2209,
                      "log_link": false,
                      "margin_base": 1.38048,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.363336
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.114714
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.104958
                        },
                        {
                          "name": "goals",
                          "margin": -0.083369
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.07676
                        }
                      ],
                      "others_margin": -0.143102
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.19388456642627716,
                    "model_output": 0.1939,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1135
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0826
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0722
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0587
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0552
                      }
                    ],
                    "decomposition": {
                      "base": 0.0647,
                      "items": [
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.0122
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.014
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0143
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0115
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0108
                        }
                      ],
                      "others": 0.0664,
                      "total": 0.1939,
                      "log_link": true,
                      "margin_base": -2.738275,
                      "item_margins": [
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.17322
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.16758
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.145949
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.103599
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.088744
                        }
                      ],
                      "others_margin": 0.418689
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 1.6323217153549194,
                    "model_output": 1.6323,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1545
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.1071
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0923
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0893
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0298
                      }
                    ],
                    "decomposition": {
                      "base": 0.6939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.2122
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": 0.1064
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.1083
                        },
                        {
                          "name": "accuratePass",
                          "contribution": 0.0958
                        },
                        {
                          "name": "keyPass",
                          "contribution": 0.0894
                        }
                      ],
                      "others": 0.3263,
                      "total": 1.6323,
                      "log_link": true,
                      "margin_base": -0.365451,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.266814
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": 0.111011
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.101615
                        },
                        {
                          "name": "accuratePass",
                          "margin": 0.082059
                        },
                        {
                          "name": "keyPass",
                          "margin": 0.070931
                        }
                      ],
                      "others_margin": 0.223024
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 7.001453876495361,
                    "model_output": 7.0015,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0529
                      },
                      {
                        "name": "rating",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.044
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0417
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0371
                      }
                    ],
                    "decomposition": {
                      "base": 6.7735,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.069
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": 0.0676
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0535
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": -0.0335
                        },
                        {
                          "name": "bigChanceMissed",
                          "contribution": -0.032
                        }
                      ],
                      "others": 0.1034,
                      "total": 7.0015,
                      "log_link": false,
                      "margin_base": 6.773504,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.069039
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": 0.067552
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.053491
                        },
                        {
                          "name": "ballRecovery",
                          "margin": -0.03346
                        },
                        {
                          "name": "bigChanceMissed",
                          "margin": -0.032035
                        }
                      ],
                      "others_margin": 0.103364
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 10,
                  "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 0.9973, quality 0.478)",
              "stats": {
                "expected_goals": 0.0887,
                "goals": 0.1141,
                "goal_rate": 0.1141,
                "shots_on_target": 0.4049,
                "total_shots": 1.2176,
                "expected_assists": 0.1934,
                "key_pass": 1.6279,
                "rating": 7.0015,
                "minutes": 85.2,
                "total_pass": 32.0397,
                "accurate_pass": 25.599,
                "duels_won": 6.2052,
                "total_long_balls": 1.5459,
                "accurate_long_balls": 1.2302,
                "total_opp_half_passes": 22.7906,
                "accurate_opp_half_passes": 17.9725,
                "crosses_total": 1.5693,
                "crosses_accurate": 0.331,
                "touches": 57.4183,
                "possession_lost": 17.607,
                "dispossessed": 2.0863,
                "duels_lost": 7.5832,
                "aerial_lost": 0.1598,
                "total_contest": 5.6643,
                "won_contest": 2.3171,
                "ball_recovery": 5.3245,
                "challenges_lost": 1.4069,
                "fouls": 0.7026,
                "fouls_drawn": 1.039,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.5347,
                "tackles_won": 1.8489,
                "tackles": 2.7296,
                "clearances": 0.4549,
                "blocks": 0.0531,
                "big_chances_created": 0.1927,
                "big_chances_missed": 0.0,
                "xgot": 0.0425,
                "offsides": 0.0624,
                "ball_carries": 19.9807,
                "total_progression": 115.3974,
                "progressive_carries": 3.9738,
                "shots_off_target": 0.8127
              },
              "params": {
                "market_value_eur": 6300000,
                "quality_factor": 0.4781,
                "boost_factor": 0.9973,
                "reference_quality": 0.505,
                "history_matches": 10,
                "history_shrink": 0.3333,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0347)",
              "stats": {
                "expected_goals": 0.0887,
                "goals": 0.1101,
                "goal_rate": 0.1101,
                "shots_on_target": 0.4184,
                "total_shots": 1.2715,
                "expected_assists": 0.1934,
                "key_pass": 1.6279,
                "rating": 7.0015,
                "minutes": 85.2,
                "total_pass": 32.0397,
                "accurate_pass": 25.599,
                "duels_won": 6.2052,
                "total_long_balls": 1.5459,
                "accurate_long_balls": 1.2302,
                "total_opp_half_passes": 22.7906,
                "accurate_opp_half_passes": 17.9725,
                "crosses_total": 1.5149,
                "crosses_accurate": 0.331,
                "touches": 57.4183,
                "possession_lost": 17.607,
                "dispossessed": 2.0863,
                "duels_lost": 7.5832,
                "aerial_lost": 0.1598,
                "total_contest": 5.6643,
                "won_contest": 2.3171,
                "ball_recovery": 5.3245,
                "challenges_lost": 1.4069,
                "fouls": 0.6919,
                "fouls_drawn": 1.0303,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.5435,
                "tackles_won": 1.8805,
                "tackles": 2.7296,
                "clearances": 0.4549,
                "blocks": 0.0531,
                "big_chances_created": 0.1927,
                "big_chances_missed": 0.0,
                "xgot": 0.0425,
                "offsides": 0.0739,
                "ball_carries": 19.9807,
                "total_progression": 115.3974,
                "progressive_carries": 3.9738,
                "shots_off_target": 0.8127
              },
              "params": {
                "blend_weight": 0.0347,
                "history_matches": 10,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.9467,
                "prior_reliability": 0.16,
                "competition": "La Liga",
                "squad": "Málaga"
              },
              "changes": [
                {
                  "stat": "totalCross",
                  "before": 1.5693,
                  "after": 1.5149
                },
                {
                  "stat": "totalShots",
                  "before": 1.2176,
                  "after": 1.2715
                },
                {
                  "stat": "wonTackle",
                  "before": 1.8489,
                  "after": 1.8805
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.4049,
                  "after": 0.4184
                },
                {
                  "stat": "totalOffside",
                  "before": 0.0624,
                  "after": 0.0739
                },
                {
                  "stat": "fouls",
                  "before": 0.7026,
                  "after": 0.6919
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.5347,
                  "after": 0.5435
                },
                {
                  "stat": "wasFouled",
                  "before": 1.039,
                  "after": 1.0303
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0887,
                "goals": 0.1101,
                "goal_rate": 0.1101,
                "shots_on_target": 0.4184,
                "total_shots": 1.2715,
                "expected_assists": 0.1934,
                "key_pass": 1.6279,
                "rating": 7.0015,
                "minutes": 85.2,
                "total_pass": 32.0397,
                "accurate_pass": 25.599,
                "duels_won": 6.2052,
                "total_long_balls": 1.5459,
                "accurate_long_balls": 1.2302,
                "total_opp_half_passes": 22.7906,
                "accurate_opp_half_passes": 17.9725,
                "crosses_total": 1.5149,
                "crosses_accurate": 0.331,
                "touches": 57.4183,
                "possession_lost": 17.607,
                "dispossessed": 2.0863,
                "duels_lost": 7.5832,
                "aerial_lost": 0.1598,
                "total_contest": 5.6643,
                "won_contest": 2.3171,
                "ball_recovery": 5.3245,
                "challenges_lost": 1.4069,
                "fouls": 0.6919,
                "fouls_drawn": 1.0303,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.5435,
                "tackles_won": 1.8805,
                "tackles": 2.7296,
                "clearances": 0.4549,
                "blocks": 0.0531,
                "big_chances_created": 0.1927,
                "big_chances_missed": 0.0,
                "xgot": 0.0425,
                "offsides": 0.0739,
                "ball_carries": 19.9807,
                "total_progression": 115.3974,
                "progressive_carries": 3.9738,
                "shots_off_target": 0.8127
              },
              "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.0726,
                "goals": 0.0901,
                "goal_rate": 0.0901,
                "shots_on_target": 0.3425,
                "total_shots": 1.041,
                "expected_assists": 0.1934,
                "key_pass": 1.6279,
                "rating": 7.0015,
                "minutes": 85.2,
                "total_pass": 32.0397,
                "accurate_pass": 25.599,
                "duels_won": 6.2052,
                "total_long_balls": 1.5459,
                "accurate_long_balls": 1.2302,
                "total_opp_half_passes": 22.7906,
                "accurate_opp_half_passes": 17.9725,
                "crosses_total": 1.5149,
                "crosses_accurate": 0.331,
                "touches": 57.4183,
                "possession_lost": 17.607,
                "dispossessed": 2.0863,
                "duels_lost": 7.5832,
                "aerial_lost": 0.1598,
                "total_contest": 5.6643,
                "won_contest": 2.3171,
                "ball_recovery": 5.3245,
                "challenges_lost": 1.4069,
                "fouls": 0.6919,
                "fouls_drawn": 1.0303,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.5435,
                "tackles_won": 1.8805,
                "tackles": 2.7296,
                "clearances": 0.4549,
                "blocks": 0.0531,
                "big_chances_created": 0.1927,
                "big_chances_missed": 0.0,
                "xgot": 0.0348,
                "offsides": 0.0739,
                "ball_carries": 19.9807,
                "total_progression": 115.3974,
                "progressive_carries": 3.9738,
                "shots_off_target": 0.6654,
                "duel_xg_multiplier": 0.8187,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Marc Roca, Natan",
                "opponent_faced": "Marc Roca, Natan",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Marc Roca, Natan",
                  "matchup_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
                  "duel_win_rate": 0.18,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.8187,
                  "skill_edge": -0.0674,
                  "height_edge": -0.056,
                  "attacker_skill": 0.4781,
                  "defender_skill": 0.6278,
                  "attacker_role": "SS",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Marc Roca",
                      "market_value": 4200000,
                      "role": "CDM",
                      "price_index": 0.85,
                      "adjusted_quality": 0.4615
                    },
                    {
                      "player": "Natan",
                      "market_value": 32000000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.7941
                    }
                  ],
                  "xg_override": 0.0726
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 1.2715,
                  "after": 1.041
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.8127,
                  "after": 0.6654
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.4184,
                  "after": 0.3425
                },
                {
                  "stat": "goals",
                  "before": 0.1101,
                  "after": 0.0901
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.0887,
                  "after": 0.0726
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.0425,
                  "after": 0.0348
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.0726,
                "goal_rate": 0.0901,
                "goals": 0,
                "shots_on_target": 0.3425,
                "total_shots": 1.041,
                "expected_assists": 0.1934,
                "key_pass": 1.6279,
                "rating": 7.0015,
                "minutes": 85.2,
                "total_pass": 32.0397,
                "accurate_pass": 25.599,
                "duels_won": 6.2052,
                "total_long_balls": 1.5459,
                "accurate_long_balls": 1.2302,
                "total_opp_half_passes": 22.7906,
                "accurate_opp_half_passes": 17.9725,
                "crosses_total": 1.5149,
                "crosses_accurate": 0.331,
                "touches": 57.4183,
                "possession_lost": 17.607,
                "dispossessed": 2.0863,
                "duels_lost": 7.5832,
                "aerial_lost": 0.1598,
                "total_contest": 5.6643,
                "won_contest": 2.3171,
                "ball_recovery": 5.3245,
                "challenges_lost": 1.4069,
                "fouls": 0.6919,
                "fouls_drawn": 1.0303,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.5435,
                "tackles_won": 1.8805,
                "tackles": 2.7296,
                "clearances": 0.4549,
                "blocks": 0.0531,
                "big_chances_created": 0.1927,
                "big_chances_missed": 0.0,
                "xgot": 0.0348,
                "offsides": 0.0739,
                "ball_carries": 19.9807,
                "total_progression": 115.3974,
                "progressive_carries": 3.9738,
                "shots_off_target": 0.6654,
                "duel_xg_multiplier": 0.8187,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Marc Roca, Natan",
                "opponent_faced": "Marc Roca, Natan",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.83 (squad xG sum 0.7402, xG scale 1.1227, xA scale 1.1227, team xA 0.66 = 0.79 x lambda)",
              "stats": {
                "expected_goals": 0.0815,
                "goal_rate": 0.0901,
                "goals": 0,
                "shots_on_target": 0.3425,
                "total_shots": 1.041,
                "expected_assists": 0.2174,
                "key_pass": 1.6279,
                "rating": 7.0015,
                "minutes": 85.2,
                "total_pass": 32.0397,
                "accurate_pass": 25.599,
                "duels_won": 6.2052,
                "total_long_balls": 1.5459,
                "accurate_long_balls": 1.2302,
                "total_opp_half_passes": 22.7906,
                "accurate_opp_half_passes": 17.9725,
                "crosses_total": 1.5149,
                "crosses_accurate": 0.331,
                "touches": 57.4183,
                "possession_lost": 17.607,
                "dispossessed": 2.0863,
                "duels_lost": 7.5832,
                "aerial_lost": 0.1598,
                "total_contest": 5.6643,
                "won_contest": 2.3171,
                "ball_recovery": 5.3245,
                "challenges_lost": 1.4069,
                "fouls": 0.6919,
                "fouls_drawn": 1.0303,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.5435,
                "tackles_won": 1.8805,
                "tackles": 2.7296,
                "clearances": 0.4549,
                "blocks": 0.0531,
                "big_chances_created": 0.1927,
                "big_chances_missed": 0.0,
                "xgot": 0.0391,
                "offsides": 0.0739,
                "ball_carries": 19.9807,
                "total_progression": 115.3974,
                "progressive_carries": 3.9738,
                "shots_off_target": 0.6654,
                "duel_xg_multiplier": 0.8187,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Marc Roca, Natan",
                "opponent_faced": "Marc Roca, Natan",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1427,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 0.831,
                "squad_xg_sum": 0.7402,
                "squad_xa_sum": 0.5844,
                "team_expected_assists": 0.6561,
                "team_xa_to_xg_ratio": 0.7895,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1227,
                "xa_scale": 1.1227,
                "opponent_lambda": 2.153,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0726,
                  "after": 0.0815
                },
                {
                  "stat": "expected_assists",
                  "before": 0.1934,
                  "after": 0.2174
                }
              ]
            },
            {
              "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": {
                "expected_goals": 0.0815,
                "goal_rate": 0.0901,
                "goals": 0,
                "shots_on_target": 0.3425,
                "total_shots": 1.041,
                "expected_assists": 0.2174,
                "key_pass": 1.6279,
                "rating": 7.0015,
                "minutes": 85.2,
                "total_pass": 32.0397,
                "accurate_pass": 25.599,
                "duels_won": 6.2052,
                "total_long_balls": 1.5459,
                "accurate_long_balls": 1.2302,
                "total_opp_half_passes": 22.7906,
                "accurate_opp_half_passes": 17.9725,
                "crosses_total": 1.5149,
                "crosses_accurate": 0.331,
                "touches": 57.4183,
                "possession_lost": 17.607,
                "dispossessed": 2.0863,
                "duels_lost": 7.5832,
                "aerial_lost": 0.1598,
                "total_contest": 5.6643,
                "won_contest": 2.3171,
                "ball_recovery": 5.3245,
                "challenges_lost": 1.4069,
                "fouls": 0.6919,
                "fouls_drawn": 1.0303,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.5435,
                "tackles_won": 1.8805,
                "tackles": 2.7296,
                "clearances": 0.4549,
                "blocks": 0.0531,
                "big_chances_created": 0.1927,
                "big_chances_missed": 0.0,
                "xgot": 0.0391,
                "offsides": 0.0739,
                "ball_carries": 19.9807,
                "total_progression": 115.3974,
                "progressive_carries": 3.9738,
                "shots_off_target": 0.6654,
                "duel_xg_multiplier": 0.8187,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Marc Roca, Natan",
                "opponent_faced": "Marc Roca, Natan",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1427,
                "creation_factor": 0.8,
                "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_filled",
                "ranking_status": "combined",
                "global_player_rank": 1361,
                "fifa_rank": 577.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 81.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.0815,
                "goal_rate": 0.0901,
                "goals": 0,
                "shots_on_target": 0.3425,
                "total_shots": 1.041,
                "expected_assists": 0.2174,
                "key_pass": 1.6279,
                "rating": 7.0015,
                "minutes": 85.2,
                "total_pass": 32.0397,
                "accurate_pass": 25.599,
                "duels_won": 6.2052,
                "total_long_balls": 1.5459,
                "accurate_long_balls": 1.2302,
                "total_opp_half_passes": 22.7906,
                "accurate_opp_half_passes": 17.9725,
                "crosses_total": 1.5149,
                "crosses_accurate": 0.331,
                "touches": 57.4183,
                "possession_lost": 17.607,
                "dispossessed": 2.0863,
                "duels_lost": 7.5832,
                "aerial_lost": 0.1598,
                "total_contest": 5.6643,
                "won_contest": 2.3171,
                "ball_recovery": 5.3245,
                "challenges_lost": 1.4069,
                "fouls": 0.6919,
                "fouls_drawn": 1.0303,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.5435,
                "tackles_won": 1.8805,
                "tackles": 2.7296,
                "clearances": 0.4549,
                "blocks": 0.0531,
                "big_chances_created": 0.1927,
                "big_chances_missed": 0.0,
                "xgot": 0.0391,
                "offsides": 0.0739,
                "ball_carries": 19.9807,
                "total_progression": 115.3974,
                "progressive_carries": 3.9738,
                "shots_off_target": 0.6654,
                "duel_xg_multiplier": 0.8187,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Marc Roca, Natan",
                "opponent_faced": "Marc Roca, Natan",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0783,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.1427,
                "creation_factor": 0.8,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0783,
                "goal_rate": 0.0901,
                "scorer_weight": 0.0931,
                "squad_weight_total": 0.8662,
                "weight_share": 0.1075,
                "finishing_factor": 1.1427,
                "appearance_weight": 1.0,
                "weight_rank": 3,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.0815,
                "goal_rate": 0.0901,
                "goals": 0,
                "shots_on_target": 0.3425,
                "total_shots": 1.041,
                "expected_assists": 0.2174,
                "key_pass": 1.6279,
                "rating": 7.0015,
                "minutes": 85.2,
                "total_pass": 32.0397,
                "accurate_pass": 25.599,
                "duels_won": 6.2052,
                "total_long_balls": 1.5459,
                "accurate_long_balls": 1.2302,
                "total_opp_half_passes": 22.7906,
                "accurate_opp_half_passes": 17.9725,
                "crosses_total": 1.5149,
                "crosses_accurate": 0.331,
                "touches": 57.4183,
                "possession_lost": 17.607,
                "dispossessed": 2.0863,
                "duels_lost": 7.5832,
                "aerial_lost": 0.1598,
                "total_contest": 5.6643,
                "won_contest": 2.3171,
                "ball_recovery": 5.3245,
                "challenges_lost": 1.4069,
                "fouls": 0.6919,
                "fouls_drawn": 1.0303,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.5435,
                "tackles_won": 1.8805,
                "tackles": 2.7296,
                "clearances": 0.4549,
                "blocks": 0.0531,
                "big_chances_created": 0.1927,
                "big_chances_missed": 0.0,
                "xgot": 0.0391,
                "offsides": 0.0739,
                "ball_carries": 19.9807,
                "total_progression": 115.3974,
                "progressive_carries": 3.9738,
                "shots_off_target": 0.6654,
                "duel_xg_multiplier": 0.8187,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 0.8,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.18,
                "pressing_faced": "LOW",
                "matchup_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Marc Roca, Natan",
                "opponent_faced": "Marc Roca, Natan",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0783,
                "projected_assists": 0,
                "assist_probability": 0.1954,
                "finishing_factor": 1.1427,
                "creation_factor": 0.8,
                "fifa_overall": 81.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.1954,
                "assist_rate": 0.0,
                "provider_weight": 0.1739,
                "squad_weight_total": 0.5932,
                "weight_share": 0.2932,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 13
              }
            }
          ]
        },
        "Dani Lorenzo": {
          "player_id": 1465424,
          "position": "M",
          "position_depth": "M",
          "is_starter": true,
          "shirt_number": 22,
          "height": 176,
          "market_value": 2300000,
          "stats": {
            "key_pass": 1,
            "expected_assists": 0.0653,
            "assist_rate": 0.0647,
            "assists": 0,
            "expected_goals": 0.0483,
            "goal_rate": 0.0516,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "rating": 6.933,
            "minutes": 81,
            "total_pass": 47,
            "accurate_pass": 43,
            "duels_won": 6,
            "total_long_balls": 3,
            "accurate_long_balls": 2,
            "total_own_half_passes": 20,
            "accurate_own_half_passes": 18,
            "total_opp_half_passes": 28,
            "accurate_opp_half_passes": 25,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 63,
            "possession_lost": 8.9005,
            "dispossessed": 2.0494,
            "duels_lost": 5,
            "aerial_won": 1,
            "aerial_lost": 1,
            "interceptions": 1,
            "tackles_won": 2,
            "tackles": 2,
            "clearances": 1,
            "total_contest": 3,
            "won_contest": 2,
            "challenges_lost": 1,
            "fouls": 1,
            "fouls_drawn": 2,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 20,
            "total_progression": 83,
            "progressive_carries": 2,
            "shots_off_target": 0,
            "duel_xg_multiplier": 0.9371,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.7,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.407,
            "pressing_faced": "LOW",
            "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
            "numerical_situation": "1v1",
            "opponent_defenders": "Marc Roca",
            "opponent_faced": "Marc Roca",
            "antagonist_source": "attacking_duel, midfield_pairing",
            "projected_goals": 0,
            "goal_probability": 0.0472,
            "projected_assists": 0,
            "assist_probability": 0.0632,
            "finishing_factor": 1.0925,
            "creation_factor": 1.0601,
            "fifa_overall": 72.0
          },
          "latest_10_games": [
            {
              "match_id": 16421077,
              "match_date": "2026-10-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0216,
                "total_shots": 0,
                "shots_on_target": 0,
                "shots_off_target": 0,
                "total_pass": 35,
                "accurate_pass": 31,
                "key_pass": 1,
                "tackles": 5,
                "tackles_won": 4,
                "interceptions": 0,
                "clearances": 2,
                "aerial_won": 0,
                "duels_won": 9,
                "ball_recovery": 4,
                "saves": 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": 16421073,
              "match_date": "2026-10-18",
              "home_team": "Málaga CF",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 26,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0382,
                "expected_assists": 0.0633,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 26,
                "accurate_pass": 23,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 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": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 7.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0483,
                "total_shots": 0,
                "total_pass": 70,
                "accurate_pass": 62,
                "key_pass": 1,
                "tackles": 4,
                "tackles_won": 3,
                "interceptions": 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"
            },
            {
              "match_id": 16416303,
              "match_date": "2026-09-20",
              "home_team": "Getafe",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Getafe",
              "stats": {
                "minutes": 67,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0501,
                "expected_assists": 0.0468,
                "total_shots": 1,
                "total_pass": 29,
                "accurate_pass": 27,
                "key_pass": 1,
                "clearances": 3,
                "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": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 45,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0056,
                "total_shots": 0,
                "total_pass": 28,
                "accurate_pass": 25,
                "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": 16416347,
              "match_date": "2026-09-13",
              "home_team": "Celta Vigo",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 67,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.009,
                "total_shots": 0,
                "total_pass": 42,
                "accurate_pass": 35,
                "key_pass": 1,
                "interceptions": 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": 16416320,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 67,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1761,
                "expected_assists": 0.0338,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 45,
                "accurate_pass": 44,
                "key_pass": 1,
                "tackles": 1,
                "tackles_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": 16416307,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 85,
                "rating": 7.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0369,
                "total_shots": 0,
                "total_pass": 71,
                "accurate_pass": 67,
                "tackles": 2,
                "tackles_won": 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": 16421055,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 80,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0761,
                "total_shots": 0,
                "total_pass": 50,
                "accurate_pass": 49,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 4238,
            "combined_rank_score": 2259.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 257.0,
            "sofascore_rating": 7.1,
            "sofascore_appearances": 2.0,
            "fifa_rank": 4261.0,
            "fifa_overall": 72.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 3,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.933,
            "source_file": "data/player_rankings.csv",
            "player_name": "Dani Lorenzo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Raúl de Tomás",
                  "ranking": 4233
                },
                {
                  "player_name": "Romain Faivre",
                  "ranking": 4234
                },
                {
                  "player_name": "Matt Targett",
                  "ranking": 4235
                },
                {
                  "player_name": "Matías Arezo",
                  "ranking": 4236
                },
                {
                  "player_name": "Montassar Talbi",
                  "ranking": 4237
                }
              ],
              "lower": [
                {
                  "player_name": "Himad Abdelli",
                  "ranking": 4239
                },
                {
                  "player_name": "Luciano Boggio",
                  "ranking": 4240
                },
                {
                  "player_name": "José Florentín",
                  "ranking": 4241
                },
                {
                  "player_name": "John Souttar",
                  "ranking": 4242
                },
                {
                  "player_name": "Osame Sahraoui",
                  "ranking": 4243
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value",
            "fbref_season"
          ],
          "data_confidence": 0.768,
          "history_matches": 9,
          "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": 9,
            "data_confidence": 0.768,
            "data_sources": [
              "match_history",
              "market_value",
              "fbref_season"
            ],
            "market_value_adjustment": 0.9928,
            "fbref_prior_metrics": {
              "squad": "Málaga",
              "competition": "La Liga",
              "season": "2026-2027",
              "appearances": 2.0,
              "starts": 2.0,
              "minutes": 163.0,
              "goals_per90": 0.0,
              "assists_per90": 0.0,
              "shots_per90": 0.0,
              "prior_reliability": 0.12
            },
            "rationale": "XGBoost regressor (M_service) evaluated 9 historical appearances across 8 target models; FBref 2026-2027 prior blended (La Liga, Málaga, 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": 0.7834,
                "expected_assists": 0.0586,
                "assists": 0.0671,
                "assist_rate": 0.0671,
                "expected_goals": 0.0463,
                "goals": 0.0571,
                "goal_rate": 0.0571,
                "shots_on_target": 0.2115,
                "total_shots": 0.6221,
                "rating": 6.933,
                "minutes": 80.74,
                "total_pass": 47.4881,
                "accurate_pass": 43.2453,
                "duels_won": 6.191,
                "total_long_balls": 2.9606,
                "accurate_long_balls": 2.0759,
                "total_own_half_passes": 19.6667,
                "accurate_own_half_passes": 18.1253,
                "total_opp_half_passes": 27.8214,
                "accurate_opp_half_passes": 25.12,
                "crosses_total": 0.3803,
                "crosses_accurate": 0.0,
                "touches": 63.2279,
                "possession_lost": 8.965,
                "dispossessed": 2.0643,
                "duels_lost": 5.5074,
                "aerial_won": 0.1877,
                "aerial_lost": 0.6924,
                "interceptions": 0.4898,
                "tackles_won": 1.7425,
                "tackles": 2.3322,
                "clearances": 0.9201,
                "total_contest": 2.9248,
                "won_contest": 2.0777,
                "challenges_lost": 0.5322,
                "fouls": 1.3714,
                "fouls_drawn": 1.5935,
                "blocks": 0.098,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1371,
                "xgot": 0.0,
                "ball_carries": 19.8918,
                "total_progression": 83.5516,
                "progressive_carries": 2.2741,
                "shots_off_target": 0.4106
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-31T10:30:21.314387+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 902,
                    "rows": 24945
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-23",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1952,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Real Sociedad",
                    "minutes": 26.0,
                    "is_starting": false,
                    "weight": 0.1659,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.141,
                    "rating": 7.5
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Getafe",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.1199,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Villarreal",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1019,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Celta Vigo",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.0866,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Levante UD",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.0736,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.0626,
                    "rating": 7.2
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Atlético Madrid",
                    "minutes": 80.0,
                    "is_starting": true,
                    "weight": 0.0532,
                    "rating": 7.0
                  }
                ],
                "feature_row": {
                  "history_matches": 9.0,
                  "is_starting_11": 1.0,
                  "totalShots": 0.3594,
                  "expectedGoals": 0.0253,
                  "creative_index": 0.3566,
                  "expectedAssists": 0.0374,
                  "keyPass": 0.8355
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.7834022641181946,
                    "model_output": 0.7834,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1583
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1351
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0716
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0542
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.028
                      }
                    ],
                    "decomposition": {
                      "base": 0.8899,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1231
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0942
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0752
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0549
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0503
                        }
                      ],
                      "others": -0.0556,
                      "total": 0.7834,
                      "log_link": true,
                      "margin_base": -0.11669,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.12961
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.097555
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.085389
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.067227
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.061804
                        }
                      ],
                      "others_margin": -0.068662
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.058613311499357224,
                    "model_output": 0.0586,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1213
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1076
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0864
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0618
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0476
                      }
                    ],
                    "decomposition": {
                      "base": 0.085,
                      "items": [
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0172
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.01
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0084
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.007
                        },
                        {
                          "name": "wonTackle",
                          "contribution": -0.0039
                        }
                      ],
                      "others": -0.0107,
                      "total": 0.0586,
                      "log_link": true,
                      "margin_base": -2.465163,
                      "item_margins": [
                        {
                          "name": "expectedAssists",
                          "margin": -0.226318
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.159657
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.13518
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.100698
                        },
                        {
                          "name": "wonTackle",
                          "margin": -0.054563
                        }
                      ],
                      "others_margin": -0.16697
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.06705144792795181,
                    "model_output": 0.0671,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0508
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0336
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0324
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "totalCross",
                          "contribution": -0.0087
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0073
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0048
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0046
                        },
                        {
                          "name": "cross_creative_contribution",
                          "contribution": -0.0039
                        }
                      ],
                      "others": -0.0125,
                      "total": 0.0671,
                      "log_link": true,
                      "margin_base": -2.463734,
                      "item_margins": [
                        {
                          "name": "totalCross",
                          "margin": -0.107189
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.091717
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.058567
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.05675
                        },
                        {
                          "name": "cross_creative_contribution",
                          "margin": -0.047632
                        }
                      ],
                      "others_margin": -0.173639
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.046281639486551285,
                    "model_output": 0.0463,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1242
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0778
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0743
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0437
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0241
                      }
                    ],
                    "decomposition": {
                      "base": 0.0911,
                      "items": [
                        {
                          "name": "expectedGoals",
                          "contribution": -0.029
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0091
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0077
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0039
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0025
                        }
                      ],
                      "others": -0.008,
                      "total": 0.0463,
                      "log_link": true,
                      "margin_base": -2.395469,
                      "item_margins": [
                        {
                          "name": "expectedGoals",
                          "margin": -0.382357
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.157854
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.135257
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.066263
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.044995
                        }
                      ],
                      "others_margin": -0.161329
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.057136420160532,
                    "model_output": 0.0571,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0846
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0655
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0399
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0358
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.0947,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0186
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0148
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0074
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.005
                        },
                        {
                          "name": "dispossessed",
                          "contribution": 0.005
                        }
                      ],
                      "others": -0.0116,
                      "total": 0.0571,
                      "log_link": true,
                      "margin_base": -2.357331,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.218148
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.215469
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.113894
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.075789
                        },
                        {
                          "name": "dispossessed",
                          "margin": 0.075487
                        }
                      ],
                      "others_margin": -0.184959
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.21152260899543762,
                    "model_output": 0.2115,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1146
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0928
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0753
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0297
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.3177,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.0787
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.04
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0289
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0162
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0126
                        }
                      ],
                      "others": 0.0124,
                      "total": 0.2115,
                      "log_link": true,
                      "margin_base": -1.146731,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.284833
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.183037
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.135769
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.073873
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.061417
                        }
                      ],
                      "others_margin": 0.060699
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.6220769882202148,
                    "model_output": 0.6221,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1488
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1213
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0446
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0276
                      }
                    ],
                    "decomposition": {
                      "base": 0.9817,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.2555
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1181
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0491
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0476
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0425
                        }
                      ],
                      "others": -0.083,
                      "total": 0.6221,
                      "log_link": false,
                      "margin_base": 0.98173,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.255468
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.11808
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.049107
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.047634
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.042451
                        }
                      ],
                      "others_margin": -0.083074
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.9329962730407715,
                    "model_output": 6.933,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.102
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0743
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0503
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0382
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.856,
                      "items": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0864
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0353
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0279
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0238
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0184
                        }
                      ],
                      "others": -0.059,
                      "total": 6.933,
                      "log_link": false,
                      "margin_base": 6.856008,
                      "item_margins": [
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.086356
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.035257
                        },
                        {
                          "name": "rating",
                          "margin": -0.027881
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.02385
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.018421
                        }
                      ],
                      "others_margin": -0.059013
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 9,
                  "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 0.9928, quality 0.437)",
              "stats": {
                "key_pass": 0.7778,
                "expected_assists": 0.0582,
                "assists": 0.0666,
                "assist_rate": 0.0666,
                "expected_goals": 0.0459,
                "goals": 0.0567,
                "goal_rate": 0.0567,
                "shots_on_target": 0.21,
                "total_shots": 0.6176,
                "rating": 6.933,
                "minutes": 80.74,
                "total_pass": 47.1462,
                "accurate_pass": 42.9339,
                "duels_won": 6.1464,
                "total_long_balls": 2.9393,
                "accurate_long_balls": 2.061,
                "total_own_half_passes": 19.5251,
                "accurate_own_half_passes": 17.9948,
                "total_opp_half_passes": 27.6211,
                "accurate_opp_half_passes": 24.9391,
                "crosses_total": 0.3776,
                "crosses_accurate": 0.0,
                "touches": 62.7727,
                "possession_lost": 8.9005,
                "dispossessed": 2.0494,
                "duels_lost": 5.4677,
                "aerial_won": 0.1863,
                "aerial_lost": 0.6874,
                "interceptions": 0.4863,
                "tackles_won": 1.73,
                "tackles": 2.3154,
                "clearances": 0.9135,
                "total_contest": 2.9037,
                "won_contest": 2.0627,
                "challenges_lost": 0.5284,
                "fouls": 1.3615,
                "fouls_drawn": 1.582,
                "blocks": 0.0973,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1361,
                "xgot": 0.0,
                "ball_carries": 19.7486,
                "total_progression": 82.95,
                "progressive_carries": 2.2577,
                "shots_off_target": 0.4076
              },
              "params": {
                "market_value_eur": 2300000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9928,
                "reference_quality": 0.505,
                "history_matches": 9,
                "history_shrink": 0.3571,
                "market_value_known": true
              }
            },
            {
              "step": "fbref_prior_blend",
              "description": "FBref 2026-27 prior blended (weight 0.0279)",
              "stats": {
                "key_pass": 0.7778,
                "expected_assists": 0.0582,
                "assists": 0.0647,
                "assist_rate": 0.0647,
                "expected_goals": 0.0459,
                "goals": 0.0551,
                "goal_rate": 0.0551,
                "shots_on_target": 0.2041,
                "total_shots": 0.6004,
                "rating": 6.933,
                "minutes": 80.74,
                "total_pass": 47.1462,
                "accurate_pass": 42.9339,
                "duels_won": 6.1464,
                "total_long_balls": 2.9393,
                "accurate_long_balls": 2.061,
                "total_own_half_passes": 19.5251,
                "accurate_own_half_passes": 17.9948,
                "total_opp_half_passes": 27.6211,
                "accurate_opp_half_passes": 24.9391,
                "crosses_total": 0.3671,
                "crosses_accurate": 0.0,
                "touches": 62.7727,
                "possession_lost": 8.9005,
                "dispossessed": 2.0494,
                "duels_lost": 5.4677,
                "aerial_won": 0.1863,
                "aerial_lost": 0.6874,
                "interceptions": 0.5005,
                "tackles_won": 1.6957,
                "tackles": 2.3154,
                "clearances": 0.9135,
                "total_contest": 2.9037,
                "won_contest": 2.0627,
                "challenges_lost": 0.5284,
                "fouls": 1.3236,
                "fouls_drawn": 1.5796,
                "blocks": 0.0973,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1361,
                "xgot": 0.0,
                "ball_carries": 19.7486,
                "total_progression": 82.95,
                "progressive_carries": 2.2577,
                "shots_off_target": 0.4076
              },
              "params": {
                "blend_weight": 0.0279,
                "history_matches": 9,
                "season_overlap_discount": 1.0,
                "per90_to_match_factor": 0.8971,
                "prior_reliability": 0.12,
                "competition": "La Liga",
                "squad": "Málaga"
              },
              "changes": [
                {
                  "stat": "fouls",
                  "before": 1.3615,
                  "after": 1.3236
                },
                {
                  "stat": "wonTackle",
                  "before": 1.73,
                  "after": 1.6957
                },
                {
                  "stat": "totalShots",
                  "before": 0.6176,
                  "after": 0.6004
                },
                {
                  "stat": "interceptionWon",
                  "before": 0.4863,
                  "after": 0.5005
                },
                {
                  "stat": "totalCross",
                  "before": 0.3776,
                  "after": 0.3671
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.21,
                  "after": 0.2041
                }
              ]
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.7778,
                "expected_assists": 0.0582,
                "assists": 0.0647,
                "assist_rate": 0.0647,
                "expected_goals": 0.0459,
                "goals": 0.0551,
                "goal_rate": 0.0551,
                "shots_on_target": 0.2041,
                "total_shots": 0.6117,
                "rating": 6.933,
                "minutes": 80.74,
                "total_pass": 47.1462,
                "accurate_pass": 42.9339,
                "duels_won": 6.1464,
                "total_long_balls": 2.9393,
                "accurate_long_balls": 2.061,
                "total_own_half_passes": 19.5251,
                "accurate_own_half_passes": 17.9948,
                "total_opp_half_passes": 27.6211,
                "accurate_opp_half_passes": 24.9391,
                "crosses_total": 0.3671,
                "crosses_accurate": 0.0,
                "touches": 62.7727,
                "possession_lost": 8.9005,
                "dispossessed": 2.0494,
                "duels_lost": 5.4677,
                "aerial_won": 0.1863,
                "aerial_lost": 0.6874,
                "interceptions": 0.5005,
                "tackles_won": 1.6957,
                "tackles": 2.3154,
                "clearances": 0.9135,
                "total_contest": 2.9037,
                "won_contest": 2.0627,
                "challenges_lost": 0.5284,
                "fouls": 1.3236,
                "fouls_drawn": 1.5796,
                "blocks": 0.0973,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1361,
                "xgot": 0.0,
                "ball_carries": 19.7486,
                "total_progression": 82.95,
                "progressive_carries": 2.2577,
                "shots_off_target": 0.4076
              },
              "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.7778,
                "expected_assists": 0.0582,
                "assists": 0.0647,
                "assist_rate": 0.0647,
                "expected_goals": 0.043,
                "goals": 0.0516,
                "goal_rate": 0.0516,
                "shots_on_target": 0.1913,
                "total_shots": 0.5733,
                "rating": 6.933,
                "minutes": 80.74,
                "total_pass": 47.1462,
                "accurate_pass": 42.9339,
                "duels_won": 6.1464,
                "total_long_balls": 2.9393,
                "accurate_long_balls": 2.061,
                "total_own_half_passes": 19.5251,
                "accurate_own_half_passes": 17.9948,
                "total_opp_half_passes": 27.6211,
                "accurate_opp_half_passes": 24.9391,
                "crosses_total": 0.3671,
                "crosses_accurate": 0.0,
                "touches": 62.7727,
                "possession_lost": 8.9005,
                "dispossessed": 2.0494,
                "duels_lost": 5.4677,
                "aerial_won": 0.9,
                "aerial_lost": 0.6874,
                "interceptions": 0.5005,
                "tackles_won": 1.6957,
                "tackles": 2.3154,
                "clearances": 0.9135,
                "total_contest": 2.9037,
                "won_contest": 2.0627,
                "challenges_lost": 0.5284,
                "fouls": 1.3236,
                "fouls_drawn": 1.5796,
                "blocks": 0.0973,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1275,
                "xgot": 0.0,
                "ball_carries": 19.7486,
                "total_progression": 82.95,
                "progressive_carries": 2.2577,
                "shots_off_target": 0.382,
                "duel_xg_multiplier": 0.9371,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.407,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Marc Roca",
                "opponent_faced": "Marc Roca",
                "antagonist_source": "attacking_duel, midfield_pairing"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Marc Roca",
                  "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                  "duel_win_rate": 0.407,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v1",
                  "xg_multiplier": 0.9371,
                  "skill_edge": -0.0108,
                  "height_edge": -0.032,
                  "attacker_skill": 0.4374,
                  "defender_skill": 0.4615,
                  "attacker_role": "CM",
                  "attacker_mv_price_index": 0.9,
                  "defender_adjusted_parts": [
                    {
                      "player": "Marc Roca",
                      "market_value": 4200000,
                      "role": "CDM",
                      "price_index": 0.85,
                      "adjusted_quality": 0.4615
                    }
                  ],
                  "xg_override": 0.043
                }
              },
              "changes": [
                {
                  "stat": "aerialWon",
                  "before": 0.1863,
                  "after": 0.9
                },
                {
                  "stat": "totalShots",
                  "before": 0.6117,
                  "after": 0.5733
                },
                {
                  "stat": "shotOffTarget",
                  "before": 0.4076,
                  "after": 0.382
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.2041,
                  "after": 0.1913
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.1361,
                  "after": 0.1275
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.7778,
                "expected_assists": 0.0582,
                "assist_rate": 0.0647,
                "assists": 0,
                "expected_goals": 0.043,
                "goal_rate": 0.0516,
                "goals": 0,
                "shots_on_target": 0.1913,
                "total_shots": 0.5733,
                "rating": 6.933,
                "minutes": 80.74,
                "total_pass": 47.1462,
                "accurate_pass": 42.9339,
                "duels_won": 6.1464,
                "total_long_balls": 2.9393,
                "accurate_long_balls": 2.061,
                "total_own_half_passes": 19.5251,
                "accurate_own_half_passes": 17.9948,
                "total_opp_half_passes": 27.6211,
                "accurate_opp_half_passes": 24.9391,
                "crosses_total": 0.3671,
                "crosses_accurate": 0.0,
                "touches": 62.7727,
                "possession_lost": 8.9005,
                "dispossessed": 2.0494,
                "duels_lost": 5.4677,
                "aerial_won": 0.9,
                "aerial_lost": 0.6874,
                "interceptions": 0.5005,
                "tackles_won": 1.6957,
                "tackles": 2.3154,
                "clearances": 0.9135,
                "total_contest": 2.9037,
                "won_contest": 2.0627,
                "challenges_lost": 0.5284,
                "fouls": 1.3236,
                "fouls_drawn": 1.5796,
                "blocks": 0.0973,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1275,
                "xgot": 0.0,
                "ball_carries": 19.7486,
                "total_progression": 82.95,
                "progressive_carries": 2.2577,
                "shots_off_target": 0.382,
                "duel_xg_multiplier": 0.9371,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.407,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Marc Roca",
                "opponent_faced": "Marc Roca",
                "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": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.83 (squad xG sum 0.7402, xG scale 1.1227, xA scale 1.1227, team xA 0.66 = 0.79 x lambda)",
              "stats": {
                "key_pass": 0.7778,
                "expected_assists": 0.0653,
                "assist_rate": 0.0647,
                "assists": 0,
                "expected_goals": 0.0483,
                "goal_rate": 0.0516,
                "goals": 0,
                "shots_on_target": 0.1913,
                "total_shots": 0.5733,
                "rating": 6.933,
                "minutes": 80.74,
                "total_pass": 47.1462,
                "accurate_pass": 42.9339,
                "duels_won": 6.1464,
                "total_long_balls": 2.9393,
                "accurate_long_balls": 2.061,
                "total_own_half_passes": 19.5251,
                "accurate_own_half_passes": 17.9948,
                "total_opp_half_passes": 27.6211,
                "accurate_opp_half_passes": 24.9391,
                "crosses_total": 0.3671,
                "crosses_accurate": 0.0,
                "touches": 62.7727,
                "possession_lost": 8.9005,
                "dispossessed": 2.0494,
                "duels_lost": 5.4677,
                "aerial_won": 0.9,
                "aerial_lost": 0.6874,
                "interceptions": 0.5005,
                "tackles_won": 1.6957,
                "tackles": 2.3154,
                "clearances": 0.9135,
                "total_contest": 2.9037,
                "won_contest": 2.0627,
                "challenges_lost": 0.5284,
                "fouls": 1.3236,
                "fouls_drawn": 1.5796,
                "blocks": 0.0973,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1275,
                "xgot": 0.0,
                "ball_carries": 19.7486,
                "total_progression": 82.95,
                "progressive_carries": 2.2577,
                "shots_off_target": 0.382,
                "duel_xg_multiplier": 0.9371,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.407,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Marc Roca",
                "opponent_faced": "Marc Roca",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0925,
                "creation_factor": 1.0601
              },
              "params": {
                "team_lambda": 0.831,
                "squad_xg_sum": 0.7402,
                "squad_xa_sum": 0.5844,
                "team_expected_assists": 0.6561,
                "team_xa_to_xg_ratio": 0.7895,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1227,
                "xa_scale": 1.1227,
                "opponent_lambda": 2.153,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.043,
                  "after": 0.0483
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0582,
                  "after": 0.0653
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 3 by projected rating, fifa_overall 72.0)",
              "stats": {
                "key_pass": 0.7778,
                "expected_assists": 0.0653,
                "assist_rate": 0.0647,
                "assists": 0,
                "expected_goals": 0.0483,
                "goal_rate": 0.0516,
                "goals": 0,
                "shots_on_target": 0.1913,
                "total_shots": 0.5733,
                "rating": 6.933,
                "minutes": 80.74,
                "total_pass": 47.1462,
                "accurate_pass": 42.9339,
                "duels_won": 6.1464,
                "total_long_balls": 2.9393,
                "accurate_long_balls": 2.061,
                "total_own_half_passes": 19.5251,
                "accurate_own_half_passes": 17.9948,
                "total_opp_half_passes": 27.6211,
                "accurate_opp_half_passes": 24.9391,
                "crosses_total": 0.3671,
                "crosses_accurate": 0.0,
                "touches": 62.7727,
                "possession_lost": 8.9005,
                "dispossessed": 2.0494,
                "duels_lost": 5.4677,
                "aerial_won": 0.9,
                "aerial_lost": 0.6874,
                "interceptions": 0.5005,
                "tackles_won": 1.6957,
                "tackles": 2.3154,
                "clearances": 0.9135,
                "total_contest": 2.9037,
                "won_contest": 2.0627,
                "challenges_lost": 0.5284,
                "fouls": 1.3236,
                "fouls_drawn": 1.5796,
                "blocks": 0.0973,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1275,
                "xgot": 0.0,
                "ball_carries": 19.7486,
                "total_progression": 82.95,
                "progressive_carries": 2.2577,
                "shots_off_target": 0.382,
                "duel_xg_multiplier": 0.9371,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.407,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Marc Roca",
                "opponent_faced": "Marc Roca",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0925,
                "creation_factor": 1.0601,
                "fifa_overall": 72.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": 4238,
                "fifa_rank": 4261.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 72.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 0.7778,
                "expected_assists": 0.0653,
                "assist_rate": 0.0647,
                "assists": 0,
                "expected_goals": 0.0483,
                "goal_rate": 0.0516,
                "goals": 0,
                "shots_on_target": 0.1913,
                "total_shots": 0.5733,
                "rating": 6.933,
                "minutes": 80.74,
                "total_pass": 47.1462,
                "accurate_pass": 42.9339,
                "duels_won": 6.1464,
                "total_long_balls": 2.9393,
                "accurate_long_balls": 2.061,
                "total_own_half_passes": 19.5251,
                "accurate_own_half_passes": 17.9948,
                "total_opp_half_passes": 27.6211,
                "accurate_opp_half_passes": 24.9391,
                "crosses_total": 0.3671,
                "crosses_accurate": 0.0,
                "touches": 62.7727,
                "possession_lost": 8.9005,
                "dispossessed": 2.0494,
                "duels_lost": 5.4677,
                "aerial_won": 0.9,
                "aerial_lost": 0.6874,
                "interceptions": 0.5005,
                "tackles_won": 1.6957,
                "tackles": 2.3154,
                "clearances": 0.9135,
                "total_contest": 2.9037,
                "won_contest": 2.0627,
                "challenges_lost": 0.5284,
                "fouls": 1.3236,
                "fouls_drawn": 1.5796,
                "blocks": 0.0973,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1275,
                "xgot": 0.0,
                "ball_carries": 19.7486,
                "total_progression": 82.95,
                "progressive_carries": 2.2577,
                "shots_off_target": 0.382,
                "duel_xg_multiplier": 0.9371,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.407,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Marc Roca",
                "opponent_faced": "Marc Roca",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0472,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0925,
                "creation_factor": 1.0601,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0472,
                "goal_rate": 0.0516,
                "scorer_weight": 0.0528,
                "squad_weight_total": 0.8662,
                "weight_share": 0.0609,
                "finishing_factor": 1.0925,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 0.7778,
                "expected_assists": 0.0653,
                "assist_rate": 0.0647,
                "assists": 0,
                "expected_goals": 0.0483,
                "goal_rate": 0.0516,
                "goals": 0,
                "shots_on_target": 0.1913,
                "total_shots": 0.5733,
                "rating": 6.933,
                "minutes": 80.74,
                "total_pass": 47.1462,
                "accurate_pass": 42.9339,
                "duels_won": 6.1464,
                "total_long_balls": 2.9393,
                "accurate_long_balls": 2.061,
                "total_own_half_passes": 19.5251,
                "accurate_own_half_passes": 17.9948,
                "total_opp_half_passes": 27.6211,
                "accurate_opp_half_passes": 24.9391,
                "crosses_total": 0.3671,
                "crosses_accurate": 0.0,
                "touches": 62.7727,
                "possession_lost": 8.9005,
                "dispossessed": 2.0494,
                "duels_lost": 5.4677,
                "aerial_won": 0.9,
                "aerial_lost": 0.6874,
                "interceptions": 0.5005,
                "tackles_won": 1.6957,
                "tackles": 2.3154,
                "clearances": 0.9135,
                "total_contest": 2.9037,
                "won_contest": 2.0627,
                "challenges_lost": 0.5284,
                "fouls": 1.3236,
                "fouls_drawn": 1.5796,
                "blocks": 0.0973,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.1275,
                "xgot": 0.0,
                "ball_carries": 19.7486,
                "total_progression": 82.95,
                "progressive_carries": 2.2577,
                "shots_off_target": 0.382,
                "duel_xg_multiplier": 0.9371,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.7,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.407,
                "pressing_faced": "LOW",
                "matchup_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
                "numerical_situation": "1v1",
                "opponent_defenders": "Marc Roca",
                "opponent_faced": "Marc Roca",
                "antagonist_source": "attacking_duel, midfield_pairing",
                "projected_goals": 0,
                "goal_probability": 0.0472,
                "projected_assists": 0,
                "assist_probability": 0.0632,
                "finishing_factor": 1.0925,
                "creation_factor": 1.0601,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0632,
                "assist_rate": 0.0647,
                "provider_weight": 0.0692,
                "squad_weight_total": 0.5932,
                "weight_share": 0.1167,
                "creation_factor": 1.0601,
                "appearance_weight": 1.0,
                "weight_rank": 2,
                "eligible_players": 13
              }
            }
          ]
        },
        "Adrián Niño": {
          "player_id": 1402927,
          "position": "F",
          "position_depth": "F",
          "is_starter": true,
          "shirt_number": 21,
          "height": 186,
          "market_value": 1900000,
          "stats": {
            "expected_goals": 0.3014,
            "goal_rate": 0.2875,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.0433,
            "key_pass": 1,
            "rating": 6.7829,
            "minutes": 80,
            "total_pass": 5,
            "accurate_pass": 4,
            "duels_won": 2,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 4,
            "accurate_opp_half_passes": 3,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 12,
            "possession_lost": 2.8302,
            "dispossessed": 0.2969,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 1,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.4147,
            "offsides": 1,
            "ball_carries": 2,
            "total_progression": 8,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "duel_xg_multiplier": 0.8741,
            "dribbles_attempted": 2,
            "dribbles_successful": 0.3,
            "aerial_won": 1,
            "crosses_attempted": 0.0,
            "duel_win_rate": 0.184,
            "pressing_faced": "LOW",
            "matchup_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
            "numerical_situation": "1v2",
            "opponent_defenders": "Marc Roca, Natan",
            "opponent_faced": "Marc Roca, Natan",
            "antagonist_source": "attacking_duel",
            "projected_goals": 0,
            "goal_probability": 0.2602,
            "projected_assists": 0,
            "assist_probability": 0.0424,
            "finishing_factor": 1.06,
            "creation_factor": 0.8,
            "fifa_overall": 72.0
          },
          "latest_10_games": [
            {
              "match_id": 16421077,
              "match_date": "2026-10-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 77,
                "rating": 8.1,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0815,
                "expected_assists": 0.0723,
                "total_shots": 1,
                "shots_on_target": 1,
                "shots_off_target": 0,
                "total_pass": 7,
                "accurate_pass": 6,
                "key_pass": 1,
                "tackles": 0,
                "tackles_won": 0,
                "interceptions": 1,
                "clearances": 1,
                "aerial_won": 3,
                "duels_won": 5,
                "ball_recovery": 1,
                "saves": 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": 16421073,
              "match_date": "2026-10-18",
              "home_team": "Málaga CF",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 82,
                "rating": 7.7,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2679,
                "expected_assists": 0.0527,
                "total_shots": 3,
                "shots_on_target": 2,
                "total_pass": 6,
                "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"
            },
            {
              "match_id": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 28,
                "rating": 7.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1032,
                "expected_assists": 0.0194,
                "total_shots": 2,
                "shots_on_target": 2,
                "total_pass": 6,
                "accurate_pass": 5,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416303,
              "match_date": "2026-09-20",
              "home_team": "Getafe",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Getafe",
              "stats": {
                "minutes": 45,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0803,
                "expected_assists": 0.0038,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 7,
                "accurate_pass": 5,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 29,
                "rating": 6.1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.289,
                "expected_assists": 0.0002,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 3,
                "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": 16416347,
              "match_date": "2026-09-13",
              "home_team": "Celta Vigo",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 23,
                "rating": 7.6,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1408,
                "expected_assists": 0.0015,
                "total_shots": 3,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 1,
                "accurate_pass": 1,
                "key_pass": 1,
                "aerial_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 4211,
            "combined_rank_score": 2241.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 4265.0,
            "fifa_overall": 72.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 10,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7829,
            "source_file": "data/player_rankings.csv",
            "player_name": "Adrián Niño",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Léo Scienza",
                  "ranking": 4206
                },
                {
                  "player_name": "Iván Villar",
                  "ranking": 4207
                },
                {
                  "player_name": "Arthur Avom Ebong",
                  "ranking": 4208
                },
                {
                  "player_name": "Ángel Pérez",
                  "ranking": 4209
                },
                {
                  "player_name": "Salomón Rondón",
                  "ranking": 4210
                }
              ],
              "lower": [
                {
                  "player_name": "Anthony Lopes",
                  "ranking": 4212
                },
                {
                  "player_name": "Thorgan Hazard",
                  "ranking": 4213
                },
                {
                  "player_name": "Kenny Lala",
                  "ranking": 4214
                },
                {
                  "player_name": "Morgan Sanson",
                  "ranking": 4215
                },
                {
                  "player_name": "Hamari Traoré",
                  "ranking": 4216
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.625,
          "history_matches": 6,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "F_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "onTargetScoringAttempt",
              "shotOffTarget",
              "bigChanceMissed",
              "expectedAssists",
              "keyPass",
              "duelWon",
              "duelLost",
              "aerialWon",
              "aerialLost",
              "touches",
              "dispossessed",
              "wasFouled",
              "ballRecovery",
              "possessionLostCtrl",
              "passValueNormalized",
              "dribbleValueNormalized",
              "defensiveValueNormalized",
              "shotValueNormalized",
              "ballCarriesCount",
              "totalProgression",
              "progressiveBallCarriesCount",
              "expectedGoals",
              "goals",
              "rating",
              "pass_accuracy",
              "duel_win_rate",
              "opp_half_pass_pct",
              "shot_accuracy",
              "xg_per_shot",
              "touches_p90",
              "totalShots_p90",
              "duelWon_p90",
              "ballCarriesCount_p90",
              "big_chance_conversion",
              "shot_waste_rate",
              "aerial_dominance",
              "press_resistance_fwd",
              "progressive_carries_p90",
              "history_matches"
            ],
            "targets_predicted": [
              "expectedGoals",
              "goals",
              "onTargetScoringAttempt",
              "totalShots",
              "expectedAssists",
              "keyPass",
              "rating"
            ],
            "history_matches": 6,
            "data_confidence": 0.625,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9908,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (F_service) evaluated 6 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.31,
                "goals": 0.332,
                "goal_rate": 0.332,
                "shots_on_target": 0.9455,
                "total_shots": 2.4138,
                "expected_assists": 0.0389,
                "key_pass": 0.5749,
                "rating": 6.7829,
                "minutes": 79.65,
                "total_pass": 5.4773,
                "accurate_pass": 4.3573,
                "duels_won": 2.0924,
                "total_long_balls": 0.2047,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 3.691,
                "accurate_opp_half_passes": 2.745,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 12.3297,
                "possession_lost": 2.8565,
                "dispossessed": 0.2997,
                "duels_lost": 2.8737,
                "aerial_lost": 1.2942,
                "total_contest": 0.7981,
                "won_contest": 0.3526,
                "ball_recovery": 0.5934,
                "challenges_lost": 0.1479,
                "fouls": 0.7932,
                "fouls_drawn": 0.5885,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2408,
                "tackles_won": 0.174,
                "tackles": 0.174,
                "clearances": 0.3887,
                "blocks": 0.6864,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.2402,
                "xgot": 0.4265,
                "offsides": 0.8121,
                "ball_carries": 2.039,
                "total_progression": 8.3473,
                "progressive_carries": 0.8343,
                "shots_off_target": 1.4683
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:30:56.271646+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 610,
                    "rows": 17075
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-23",
                    "opponent": "Deportivo Alavés",
                    "minutes": 77.0,
                    "is_starting": true,
                    "weight": 0.2408,
                    "rating": 8.1
                  },
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Real Sociedad",
                    "minutes": 82.0,
                    "is_starting": true,
                    "weight": 0.2047,
                    "rating": 7.7
                  },
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Espanyol",
                    "minutes": 28.0,
                    "is_starting": false,
                    "weight": 0.174,
                    "rating": 7.6
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Getafe",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.1479,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Villarreal",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.1257,
                    "rating": 6.1
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Celta Vigo",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.1069,
                    "rating": 7.6
                  }
                ],
                "feature_row": {
                  "history_matches": 6.0,
                  "is_starting_11": 1.0,
                  "accurateOppositionHalfPasses": 2.745,
                  "expectedGoals": 0.1557,
                  "totalOppositionHalfPasses": 3.691,
                  "accuratePass": 4.3573,
                  "totalShots": 1.7971
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.3099735379219055,
                    "model_output": 0.31,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0898
                      },
                      {
                        "name": "goals",
                        "importance": 0.0323
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0236
                      }
                    ],
                    "decomposition": {
                      "base": 0.1945,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0697
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0257
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0183
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.014
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": 0.0117
                        }
                      ],
                      "others": 0.0275,
                      "total": 0.31,
                      "log_link": true,
                      "margin_base": -1.637486,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.306481
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.102334
                        },
                        {
                          "name": "goals",
                          "margin": 0.073947
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.052992
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": 0.042159
                        }
                      ],
                      "others_margin": 0.092973
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.3319568932056427,
                    "model_output": 0.332,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.144
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0742
                      },
                      {
                        "name": "goals",
                        "importance": 0.053
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0804
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0486
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0267
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.02
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.0207
                        }
                      ],
                      "others": 0.0338,
                      "total": 0.332,
                      "log_link": true,
                      "margin_base": -1.614663,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.339456
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.190906
                        },
                        {
                          "name": "goals",
                          "margin": 0.109389
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.074859
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.07188
                        }
                      ],
                      "others_margin": 0.107235
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.9455474019050598,
                    "model_output": 0.9455,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2115
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.066
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0499
                      },
                      {
                        "name": "goals",
                        "importance": 0.0473
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 0.5305,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1777
                        },
                        {
                          "name": "goals",
                          "contribution": 0.0693
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0708
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.0603
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0518
                        }
                      ],
                      "others": -0.0149,
                      "total": 0.9455,
                      "log_link": true,
                      "margin_base": -0.633985,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.288967
                        },
                        {
                          "name": "goals",
                          "margin": 0.093369
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.087094
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.068621
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.055484
                        }
                      ],
                      "others_margin": -0.015542
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 2.413834571838379,
                    "model_output": 2.4138,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2934
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0662
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.05
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0272
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.027
                      }
                    ],
                    "decomposition": {
                      "base": 1.3805,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4953
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1457
                        },
                        {
                          "name": "goals",
                          "contribution": 0.1206
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.089
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0723
                        }
                      ],
                      "others": 0.1104,
                      "total": 2.4138,
                      "log_link": false,
                      "margin_base": 1.38048,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.495265
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.14571
                        },
                        {
                          "name": "goals",
                          "margin": 0.12055
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.089049
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.072335
                        }
                      ],
                      "others_margin": 0.110447
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.03892993927001953,
                    "model_output": 0.0389,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1135
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0826
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0722
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0587
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0552
                      }
                    ],
                    "decomposition": {
                      "base": 0.0647,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0122
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0081
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.006
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0048
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0038
                        }
                      ],
                      "others": -0.0153,
                      "total": 0.0389,
                      "log_link": true,
                      "margin_base": -2.738275,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.172987
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.110616
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.09176
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.079531
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.066999
                        }
                      ],
                      "others_margin": -0.331797
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.5748804807662964,
                    "model_output": 0.5749,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1545
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.1071
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0923
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0893
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0298
                      }
                    ],
                    "decomposition": {
                      "base": 0.6939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.189
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0638
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0589
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.047
                        },
                        {
                          "name": "rating",
                          "contribution": 0.0347
                        }
                      ],
                      "others": -0.173,
                      "total": 0.5749,
                      "log_link": true,
                      "margin_base": -0.365451,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.240868
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.074963
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.074634
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.063834
                        },
                        {
                          "name": "rating",
                          "margin": 0.047558
                        }
                      ],
                      "others_margin": -0.263138
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.782886505126953,
                    "model_output": 6.7829,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0529
                      },
                      {
                        "name": "rating",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.044
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0417
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0371
                      }
                    ],
                    "decomposition": {
                      "base": 6.7735,
                      "items": [
                        {
                          "name": "rating",
                          "contribution": 0.0782
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0509
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0411
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0239
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": -0.0237
                        }
                      ],
                      "others": -0.031,
                      "total": 6.7829,
                      "log_link": false,
                      "margin_base": 6.773504,
                      "item_margins": [
                        {
                          "name": "rating",
                          "margin": 0.078164
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.050893
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.041082
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.023944
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": -0.023655
                        }
                      ],
                      "others_margin": -0.030994
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 6,
                  "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.9908, quality 0.437)",
              "stats": {
                "expected_goals": 0.3071,
                "goals": 0.3289,
                "goal_rate": 0.3289,
                "shots_on_target": 0.9368,
                "total_shots": 2.3916,
                "expected_assists": 0.0386,
                "key_pass": 0.5696,
                "rating": 6.7829,
                "minutes": 79.65,
                "total_pass": 5.4269,
                "accurate_pass": 4.3172,
                "duels_won": 2.0731,
                "total_long_balls": 0.2028,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 3.657,
                "accurate_opp_half_passes": 2.7197,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 12.2163,
                "possession_lost": 2.8302,
                "dispossessed": 0.2969,
                "duels_lost": 2.8473,
                "aerial_lost": 1.2823,
                "total_contest": 0.7908,
                "won_contest": 0.3494,
                "ball_recovery": 0.5879,
                "challenges_lost": 0.1465,
                "fouls": 0.7859,
                "fouls_drawn": 0.5831,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2386,
                "tackles_won": 0.1724,
                "tackles": 0.1724,
                "clearances": 0.3851,
                "blocks": 0.6801,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.238,
                "xgot": 0.4226,
                "offsides": 0.8046,
                "ball_carries": 2.0202,
                "total_progression": 8.2705,
                "progressive_carries": 0.8266,
                "shots_off_target": 1.4548
              },
              "params": {
                "market_value_eur": 1900000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9908,
                "reference_quality": 0.505,
                "history_matches": 6,
                "history_shrink": 0.4545,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.3071,
                "goals": 0.3289,
                "goal_rate": 0.3289,
                "shots_on_target": 0.9368,
                "total_shots": 2.3916,
                "expected_assists": 0.0386,
                "key_pass": 0.5696,
                "rating": 6.7829,
                "minutes": 79.65,
                "total_pass": 5.4269,
                "accurate_pass": 4.3172,
                "duels_won": 2.0731,
                "total_long_balls": 0.2028,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 3.657,
                "accurate_opp_half_passes": 2.7197,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 12.2163,
                "possession_lost": 2.8302,
                "dispossessed": 0.2969,
                "duels_lost": 2.8473,
                "aerial_lost": 1.2823,
                "total_contest": 0.7908,
                "won_contest": 0.3494,
                "ball_recovery": 0.5879,
                "challenges_lost": 0.1465,
                "fouls": 0.7859,
                "fouls_drawn": 0.5831,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2386,
                "tackles_won": 0.1724,
                "tackles": 0.1724,
                "clearances": 0.3851,
                "blocks": 0.6801,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.238,
                "xgot": 0.4226,
                "offsides": 0.8046,
                "ball_carries": 2.0202,
                "total_progression": 8.2705,
                "progressive_carries": 0.8266,
                "shots_off_target": 1.4548
              },
              "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.2684,
                "goals": 0.2875,
                "goal_rate": 0.2875,
                "shots_on_target": 0.8189,
                "total_shots": 2.0905,
                "expected_assists": 0.0386,
                "key_pass": 0.5696,
                "rating": 6.7829,
                "minutes": 79.65,
                "total_pass": 5.4269,
                "accurate_pass": 4.3172,
                "duels_won": 2.0731,
                "total_long_balls": 0.2028,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 3.657,
                "accurate_opp_half_passes": 2.7197,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 12.2163,
                "possession_lost": 2.8302,
                "dispossessed": 0.2969,
                "duels_lost": 2.8473,
                "aerial_lost": 1.2823,
                "total_contest": 0.7908,
                "won_contest": 0.3494,
                "ball_recovery": 0.5879,
                "challenges_lost": 0.1465,
                "fouls": 0.7859,
                "fouls_drawn": 0.5831,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.2386,
                "tackles_won": 0.1724,
                "tackles": 0.1724,
                "clearances": 0.3851,
                "blocks": 0.6801,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.208,
                "xgot": 0.3694,
                "offsides": 0.8046,
                "ball_carries": 2.0202,
                "total_progression": 8.2705,
                "progressive_carries": 0.8266,
                "shots_off_target": 1.2716,
                "duel_xg_multiplier": 0.8741,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.184,
                "pressing_faced": "LOW",
                "matchup_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Marc Roca, Natan",
                "opponent_faced": "Marc Roca, Natan",
                "antagonist_source": "attacking_duel"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Marc Roca, Natan",
                  "matchup_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
                  "duel_win_rate": 0.184,
                  "pressing_faced": "LOW",
                  "numerical_situation": "1v2",
                  "xg_multiplier": 0.8741,
                  "skill_edge": -0.0857,
                  "height_edge": 0.0,
                  "attacker_skill": 0.4374,
                  "defender_skill": 0.6278,
                  "attacker_role": "SS",
                  "attacker_mv_price_index": 1.0,
                  "defender_adjusted_parts": [
                    {
                      "player": "Marc Roca",
                      "market_value": 4200000,
                      "role": "CDM",
                      "price_index": 0.85,
                      "adjusted_quality": 0.4615
                    },
                    {
                      "player": "Natan",
                      "market_value": 32000000,
                      "role": "CB",
                      "price_index": 0.75,
                      "adjusted_quality": 0.7941
                    }
                  ],
                  "xg_override": 0.2684
                }
              },
              "changes": [
                {
                  "stat": "totalShots",
                  "before": 2.3916,
                  "after": 2.0905
                },
                {
                  "stat": "shotOffTarget",
                  "before": 1.4548,
                  "after": 1.2716
                },
                {
                  "stat": "onTargetScoringAttempt",
                  "before": 0.9368,
                  "after": 0.8189
                },
                {
                  "stat": "expectedGoalsOnTarget",
                  "before": 0.4226,
                  "after": 0.3694
                },
                {
                  "stat": "goals",
                  "before": 0.3289,
                  "after": 0.2875
                },
                {
                  "stat": "expectedGoals",
                  "before": 0.3071,
                  "after": 0.2684
                },
                {
                  "stat": "bigChanceMissed",
                  "before": 0.238,
                  "after": 0.208
                }
              ]
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.2684,
                "goal_rate": 0.2875,
                "goals": 0,
                "shots_on_target": 0.8189,
                "total_shots": 2.0905,
                "expected_assists": 0.0386,
                "key_pass": 0.5696,
                "rating": 6.7829,
                "minutes": 79.65,
                "total_pass": 5.4269,
                "accurate_pass": 4.3172,
                "duels_won": 2.0731,
                "total_long_balls": 0.2028,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 3.657,
                "accurate_opp_half_passes": 2.7197,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 12.2163,
                "possession_lost": 2.8302,
                "dispossessed": 0.2969,
                "duels_lost": 2.8473,
                "aerial_lost": 1.2823,
                "total_contest": 0.7908,
                "won_contest": 0.3494,
                "ball_recovery": 0.5879,
                "challenges_lost": 0.1465,
                "fouls": 0.7859,
                "fouls_drawn": 0.5831,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2386,
                "tackles_won": 0.1724,
                "tackles": 0.1724,
                "clearances": 0.3851,
                "blocks": 0.6801,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.208,
                "xgot": 0.3694,
                "offsides": 0.8046,
                "ball_carries": 2.0202,
                "total_progression": 8.2705,
                "progressive_carries": 0.8266,
                "shots_off_target": 1.2716,
                "duel_xg_multiplier": 0.8741,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.184,
                "pressing_faced": "LOW",
                "matchup_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Marc Roca, Natan",
                "opponent_faced": "Marc Roca, Natan",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0
              },
              "params": {
                "scoreline_reset": true,
                "team_goals": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.83 (squad xG sum 0.7402, xG scale 1.1227, xA scale 1.1227, team xA 0.66 = 0.79 x lambda)",
              "stats": {
                "expected_goals": 0.3014,
                "goal_rate": 0.2875,
                "goals": 0,
                "shots_on_target": 0.8189,
                "total_shots": 2.0905,
                "expected_assists": 0.0433,
                "key_pass": 0.5696,
                "rating": 6.7829,
                "minutes": 79.65,
                "total_pass": 5.4269,
                "accurate_pass": 4.3172,
                "duels_won": 2.0731,
                "total_long_balls": 0.2028,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 3.657,
                "accurate_opp_half_passes": 2.7197,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 12.2163,
                "possession_lost": 2.8302,
                "dispossessed": 0.2969,
                "duels_lost": 2.8473,
                "aerial_lost": 1.2823,
                "total_contest": 0.7908,
                "won_contest": 0.3494,
                "ball_recovery": 0.5879,
                "challenges_lost": 0.1465,
                "fouls": 0.7859,
                "fouls_drawn": 0.5831,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2386,
                "tackles_won": 0.1724,
                "tackles": 0.1724,
                "clearances": 0.3851,
                "blocks": 0.6801,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.208,
                "xgot": 0.4147,
                "offsides": 0.8046,
                "ball_carries": 2.0202,
                "total_progression": 8.2705,
                "progressive_carries": 0.8266,
                "shots_off_target": 1.2716,
                "duel_xg_multiplier": 0.8741,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.184,
                "pressing_faced": "LOW",
                "matchup_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Marc Roca, Natan",
                "opponent_faced": "Marc Roca, Natan",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.06,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 0.831,
                "squad_xg_sum": 0.7402,
                "squad_xa_sum": 0.5844,
                "team_expected_assists": 0.6561,
                "team_xa_to_xg_ratio": 0.7895,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1227,
                "xa_scale": 1.1227,
                "opponent_lambda": 2.153,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.2684,
                  "after": 0.3014
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 10 by projected rating, fifa_overall 72.0)",
              "stats": {
                "expected_goals": 0.3014,
                "goal_rate": 0.2875,
                "goals": 0,
                "shots_on_target": 0.8189,
                "total_shots": 2.0905,
                "expected_assists": 0.0433,
                "key_pass": 0.5696,
                "rating": 6.7829,
                "minutes": 79.65,
                "total_pass": 5.4269,
                "accurate_pass": 4.3172,
                "duels_won": 2.0731,
                "total_long_balls": 0.2028,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 3.657,
                "accurate_opp_half_passes": 2.7197,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 12.2163,
                "possession_lost": 2.8302,
                "dispossessed": 0.2969,
                "duels_lost": 2.8473,
                "aerial_lost": 1.2823,
                "total_contest": 0.7908,
                "won_contest": 0.3494,
                "ball_recovery": 0.5879,
                "challenges_lost": 0.1465,
                "fouls": 0.7859,
                "fouls_drawn": 0.5831,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2386,
                "tackles_won": 0.1724,
                "tackles": 0.1724,
                "clearances": 0.3851,
                "blocks": 0.6801,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.208,
                "xgot": 0.4147,
                "offsides": 0.8046,
                "ball_carries": 2.0202,
                "total_progression": 8.2705,
                "progressive_carries": 0.8266,
                "shots_off_target": 1.2716,
                "duel_xg_multiplier": 0.8741,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.184,
                "pressing_faced": "LOW",
                "matchup_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Marc Roca, Natan",
                "opponent_faced": "Marc Roca, Natan",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.06,
                "creation_factor": 0.8,
                "fifa_overall": 72.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": 4211,
                "fifa_rank": 4265.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 72.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.3014,
                "goal_rate": 0.2875,
                "goals": 0,
                "shots_on_target": 0.8189,
                "total_shots": 2.0905,
                "expected_assists": 0.0433,
                "key_pass": 0.5696,
                "rating": 6.7829,
                "minutes": 79.65,
                "total_pass": 5.4269,
                "accurate_pass": 4.3172,
                "duels_won": 2.0731,
                "total_long_balls": 0.2028,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 3.657,
                "accurate_opp_half_passes": 2.7197,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 12.2163,
                "possession_lost": 2.8302,
                "dispossessed": 0.2969,
                "duels_lost": 2.8473,
                "aerial_lost": 1.2823,
                "total_contest": 0.7908,
                "won_contest": 0.3494,
                "ball_recovery": 0.5879,
                "challenges_lost": 0.1465,
                "fouls": 0.7859,
                "fouls_drawn": 0.5831,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2386,
                "tackles_won": 0.1724,
                "tackles": 0.1724,
                "clearances": 0.3851,
                "blocks": 0.6801,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.208,
                "xgot": 0.4147,
                "offsides": 0.8046,
                "ball_carries": 2.0202,
                "total_progression": 8.2705,
                "progressive_carries": 0.8266,
                "shots_off_target": 1.2716,
                "duel_xg_multiplier": 0.8741,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.184,
                "pressing_faced": "LOW",
                "matchup_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Marc Roca, Natan",
                "opponent_faced": "Marc Roca, Natan",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.2602,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.06,
                "creation_factor": 0.8,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.2602,
                "goal_rate": 0.2875,
                "scorer_weight": 0.3195,
                "squad_weight_total": 0.8662,
                "weight_share": 0.3688,
                "finishing_factor": 1.06,
                "appearance_weight": 1.0,
                "weight_rank": 1,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.3014,
                "goal_rate": 0.2875,
                "goals": 0,
                "shots_on_target": 0.8189,
                "total_shots": 2.0905,
                "expected_assists": 0.0433,
                "key_pass": 0.5696,
                "rating": 6.7829,
                "minutes": 79.65,
                "total_pass": 5.4269,
                "accurate_pass": 4.3172,
                "duels_won": 2.0731,
                "total_long_balls": 0.2028,
                "accurate_long_balls": 0.0,
                "total_opp_half_passes": 3.657,
                "accurate_opp_half_passes": 2.7197,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 12.2163,
                "possession_lost": 2.8302,
                "dispossessed": 0.2969,
                "duels_lost": 2.8473,
                "aerial_lost": 1.2823,
                "total_contest": 0.7908,
                "won_contest": 0.3494,
                "ball_recovery": 0.5879,
                "challenges_lost": 0.1465,
                "fouls": 0.7859,
                "fouls_drawn": 0.5831,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.2386,
                "tackles_won": 0.1724,
                "tackles": 0.1724,
                "clearances": 0.3851,
                "blocks": 0.6801,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.208,
                "xgot": 0.4147,
                "offsides": 0.8046,
                "ball_carries": 2.0202,
                "total_progression": 8.2705,
                "progressive_carries": 0.8266,
                "shots_off_target": 1.2716,
                "duel_xg_multiplier": 0.8741,
                "dribbles_attempted": 2.0,
                "dribbles_successful": 0.3,
                "aerial_won": 1.2,
                "crosses_attempted": 0.0,
                "duel_win_rate": 0.184,
                "pressing_faced": "LOW",
                "matchup_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
                "numerical_situation": "1v2",
                "opponent_defenders": "Marc Roca, Natan",
                "opponent_faced": "Marc Roca, Natan",
                "antagonist_source": "attacking_duel",
                "projected_goals": 0,
                "goal_probability": 0.2602,
                "projected_assists": 0,
                "assist_probability": 0.0424,
                "finishing_factor": 1.06,
                "creation_factor": 0.8,
                "fifa_overall": 72.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0424,
                "assist_rate": 0.0,
                "provider_weight": 0.0346,
                "squad_weight_total": 0.5932,
                "weight_share": 0.0584,
                "creation_factor": 0.8,
                "appearance_weight": 1.0,
                "weight_rank": 6,
                "eligible_players": 13
              }
            }
          ]
        },
        "Rafa Garrido": {
          "player_id": 1595666,
          "position": "D",
          "position_depth": "D",
          "is_starter": true,
          "shirt_number": 31,
          "height": 170,
          "market_value": 1400000,
          "stats": {
            "interceptions": 1,
            "tackles": 2,
            "tackles_won": 1,
            "clearances": 3,
            "aerial_won": 1,
            "total_shots": 0,
            "rating": 6.7602,
            "minutes": 88,
            "total_pass": 51,
            "accurate_pass": 47,
            "duels_won": 4,
            "total_long_balls": 2,
            "accurate_long_balls": 2,
            "total_own_half_passes": 27,
            "accurate_own_half_passes": 25,
            "total_opp_half_passes": 24,
            "accurate_opp_half_passes": 22,
            "crosses_total": 2,
            "crosses_accurate": 0,
            "touches": 73,
            "possession_lost": 7.8763,
            "dispossessed": 0.086,
            "duels_lost": 3,
            "aerial_lost": 1,
            "total_contest": 1,
            "won_contest": 1,
            "ball_recovery": 5,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 2,
            "blocks": 1,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.14,
            "assists": 0,
            "expected_goals": 0.0083,
            "expected_assists": 0.0271,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0,
            "ball_carries": 17,
            "total_progression": 69,
            "progressive_carries": 2,
            "key_pass": 1,
            "shots_off_target": 0,
            "opponent_faced": "Antony",
            "matchup_zone": "Shape fallback",
            "antagonist_source": "formation_fallback",
            "projected_goals": 0,
            "goal_probability": 0.0083,
            "projected_assists": 0,
            "assist_probability": 0.0267,
            "finishing_factor": 0.8711,
            "creation_factor": 1.25,
            "fifa_overall": 79.0
          },
          "latest_10_games": [
            {
              "match_id": 16421077,
              "match_date": "2026-10-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0304,
                "expected_assists": 0.0122,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 1,
                "total_pass": 66,
                "accurate_pass": 62,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "clearances": 3,
                "aerial_won": 0,
                "duels_won": 2,
                "ball_recovery": 3,
                "saves": 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": 16421073,
              "match_date": "2026-10-18",
              "home_team": "Málaga CF",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 5.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0241,
                "total_shots": 0,
                "total_pass": 61,
                "accurate_pass": 57,
                "key_pass": 1,
                "tackles": 1,
                "interceptions": 2,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 5,
                "ball_recovery": 8
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 1.0,
                "assists": 1,
                "expected_assists": 0.0718,
                "total_shots": 0,
                "total_pass": 43,
                "accurate_pass": 42,
                "key_pass": 2,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 1,
                "clearances": 1,
                "duels_won": 4,
                "ball_recovery": 6
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416303,
              "match_date": "2026-09-20",
              "home_team": "Getafe",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0137,
                "total_shots": 0,
                "total_pass": 45,
                "accurate_pass": 37,
                "key_pass": 1,
                "tackles": 2,
                "interceptions": 1,
                "clearances": 2,
                "duels_won": 6,
                "ball_recovery": 7
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 45,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0046,
                "total_shots": 0,
                "total_pass": 19,
                "accurate_pass": 17,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 2,
                "clearances": 2,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416347,
              "match_date": "2026-09-13",
              "home_team": "Celta Vigo",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.018,
                "total_shots": 0,
                "total_pass": 54,
                "accurate_pass": 51,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "duels_won": 3,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416320,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 67,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0179,
                "total_shots": 0,
                "total_pass": 27,
                "accurate_pass": 26,
                "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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416312,
              "match_date": "2026-08-30",
              "home_team": "Real Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0174,
                "total_shots": 0,
                "total_pass": 56,
                "accurate_pass": 52,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 2,
                "clearances": 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": 16416307,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0121,
                "total_shots": 0,
                "total_pass": 43,
                "accurate_pass": 38,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 2,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421055,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0301,
                "expected_assists": 0.0137,
                "total_shots": 1,
                "total_pass": 39,
                "accurate_pass": 34,
                "interceptions": 3,
                "clearances": 7,
                "aerial_won": 3,
                "duels_won": 8,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 1375,
            "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": 12,
            "squad_role": "starter",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7602,
            "source_file": "data/player_rankings.csv",
            "player_name": "Rafa Garrido",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Vitão",
                  "ranking": 1370
                },
                {
                  "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
                }
              ],
              "lower": [
                {
                  "player_name": "Rodrigo Mendoza",
                  "ranking": 1376
                },
                {
                  "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
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 10,
          "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": 10,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "market_value_adjustment": 0.9932,
            "fbref_prior_metrics": null,
            "rationale": "XGBoost regressor (D_service) evaluated 10 historical appearances across 7 target models."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 1.1018,
                "tackles": 1.587,
                "tackles_won": 0.9905,
                "clearances": 2.5817,
                "aerial_won": 0.6539,
                "total_shots": 0.3772,
                "rating": 6.7602,
                "minutes": 88.37,
                "total_pass": 51.1959,
                "accurate_pass": 47.3855,
                "duels_won": 4.0395,
                "total_long_balls": 2.4742,
                "accurate_long_balls": 1.547,
                "total_own_half_passes": 27.0404,
                "accurate_own_half_passes": 25.4828,
                "total_opp_half_passes": 24.1555,
                "accurate_opp_half_passes": 21.9027,
                "crosses_total": 1.7724,
                "crosses_accurate": 0.141,
                "touches": 73.389,
                "possession_lost": 7.9302,
                "dispossessed": 0.0866,
                "duels_lost": 2.7243,
                "aerial_lost": 0.5885,
                "total_contest": 1.4385,
                "won_contest": 0.7557,
                "ball_recovery": 5.0249,
                "challenges_lost": 0.8648,
                "fouls": 0.5017,
                "fouls_drawn": 1.6087,
                "blocks": 0.8252,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.141,
                "assist_rate": 0.141,
                "expected_goals": 0.0075,
                "expected_assists": 0.0243,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 17.4578,
                "total_progression": 69.6592,
                "progressive_carries": 2.1446,
                "key_pass": 0.5679,
                "shots_off_target": 0.3772
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:29:25.210665+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 626,
                    "rows": 22004
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-23",
                    "opponent": "Deportivo Alavés",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1868,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1588,
                    "rating": 5.8
                  },
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1349,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1147,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Villarreal",
                    "minutes": 45.0,
                    "is_starting": false,
                    "weight": 0.0975,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0829,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Levante UD",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.0704,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0599,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0509,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0433,
                    "rating": 6.8
                  }
                ],
                "feature_row": {
                  "history_matches": 10.0,
                  "is_starting_11": 1.0,
                  "totalClearance": 2.1254,
                  "aerialWon": 0.4473,
                  "totalClearance_p90": 2.3687,
                  "totalTackle": 1.2843,
                  "totalPass": 48.4327
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 1.101812720298767,
                    "model_output": 1.1018,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2977
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0446
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0318
                      },
                      {
                        "name": "touches",
                        "importance": 0.0281
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8678,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1208
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0864
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0296
                        },
                        {
                          "name": "defensive_actions",
                          "contribution": 0.0159
                        },
                        {
                          "name": "tackle_success_rate",
                          "contribution": 0.0133
                        }
                      ],
                      "others": 0.0272,
                      "total": 1.1018,
                      "log_link": true,
                      "margin_base": -0.141777,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.130278
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.08379
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.027957
                        },
                        {
                          "name": "defensive_actions",
                          "margin": 0.015052
                        },
                        {
                          "name": "tackle_success_rate",
                          "margin": 0.012432
                        }
                      ],
                      "others_margin": 0.025139
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 1.586983561515808,
                    "model_output": 1.587,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2493
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0731
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0414
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0245
                      }
                    ],
                    "decomposition": {
                      "base": 1.3878,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1701
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0525
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.0392
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.028
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.026
                        }
                      ],
                      "others": -0.0086,
                      "total": 1.587,
                      "log_link": true,
                      "margin_base": 0.327722,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.115609
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.033115
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.024068
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.017126
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.016161
                        }
                      ],
                      "others_margin": -0.005392
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.9904628396034241,
                    "model_output": 0.9905,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1966
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0678
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0471
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0406
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 0.8471,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0969
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0341
                        },
                        {
                          "name": "challengeLost",
                          "contribution": 0.034
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": 0.0329
                        },
                        {
                          "name": "totalTackle",
                          "contribution": -0.0322
                        }
                      ],
                      "others": -0.0223,
                      "total": 0.9905,
                      "log_link": true,
                      "margin_base": -0.165887,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.108281
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.035511
                        },
                        {
                          "name": "challengeLost",
                          "margin": 0.034205
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": 0.032025
                        },
                        {
                          "name": "totalTackle",
                          "margin": -0.031301
                        }
                      ],
                      "others_margin": -0.022417
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 2.5817172527313232,
                    "model_output": 2.5817,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2929
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1447
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.1031
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0342
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0223
                      }
                    ],
                    "decomposition": {
                      "base": 3.4227,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": 0.4801
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.4656
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.3267
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.1913
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": -0.1151
                        }
                      ],
                      "others": -0.2224,
                      "total": 2.5817,
                      "log_link": true,
                      "margin_base": 1.230438,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": 0.131262
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.127047
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.099862
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.063488
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": -0.040215
                        }
                      ],
                      "others_margin": -0.082634
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.6539307832717896,
                    "model_output": 0.6539,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1591
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1548
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0782
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.3743,
                      "items": [
                        {
                          "name": "aerialWon",
                          "contribution": -0.4742
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.1159
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.1095
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.0565
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0472
                        }
                      ],
                      "others": -0.1489,
                      "total": 0.6539,
                      "log_link": true,
                      "margin_base": 0.31798,
                      "item_margins": [
                        {
                          "name": "aerialWon",
                          "margin": -0.423143
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.121117
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.114022
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.064304
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.057115
                        }
                      ],
                      "others_margin": -0.205267
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.37720978260040283,
                    "model_output": 0.3772,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1011
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0377
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0308
                      },
                      {
                        "name": "rating",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.4801,
                      "items": [
                        {
                          "name": "totalShots",
                          "contribution": -0.1166
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": 0.0501
                        },
                        {
                          "name": "rating",
                          "contribution": -0.02
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": 0.0115
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0105
                        }
                      ],
                      "others": -0.0384,
                      "total": 0.3772,
                      "log_link": false,
                      "margin_base": 0.48008,
                      "item_margins": [
                        {
                          "name": "totalShots",
                          "margin": -0.116575
                        },
                        {
                          "name": "is_starting_11",
                          "margin": 0.050102
                        },
                        {
                          "name": "rating",
                          "margin": -0.019996
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": 0.01145
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.01054
                        }
                      ],
                      "others_margin": -0.038392
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.7602105140686035,
                    "model_output": 6.7602,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0922
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0582
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0462
                      },
                      {
                        "name": "rating",
                        "importance": 0.0313
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 6.7972,
                      "items": [
                        {
                          "name": "accuratePass",
                          "contribution": 0.0193
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0182
                        },
                        {
                          "name": "touches_p90",
                          "contribution": 0.013
                        },
                        {
                          "name": "progressive_carries_p90",
                          "contribution": -0.0126
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0094
                        }
                      ],
                      "others": -0.0655,
                      "total": 6.7602,
                      "log_link": false,
                      "margin_base": 6.797222,
                      "item_margins": [
                        {
                          "name": "accuratePass",
                          "margin": 0.019303
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.018221
                        },
                        {
                          "name": "touches_p90",
                          "margin": 0.012973
                        },
                        {
                          "name": "progressive_carries_p90",
                          "margin": -0.012582
                        },
                        {
                          "name": "rating",
                          "margin": -0.009391
                        }
                      ],
                      "others_margin": -0.065535
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "starter",
                  "history_matches": 10,
                  "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 0.9932, quality 0.437)",
              "stats": {
                "interceptions": 1.0943,
                "tackles": 1.5762,
                "tackles_won": 0.9837,
                "clearances": 2.5642,
                "aerial_won": 0.6495,
                "total_shots": 0.3746,
                "rating": 6.7602,
                "minutes": 88.37,
                "total_pass": 50.8478,
                "accurate_pass": 47.0633,
                "duels_won": 4.012,
                "total_long_balls": 2.4574,
                "accurate_long_balls": 1.5365,
                "total_own_half_passes": 26.8565,
                "accurate_own_half_passes": 25.3095,
                "total_opp_half_passes": 23.9912,
                "accurate_opp_half_passes": 21.7538,
                "crosses_total": 1.7603,
                "crosses_accurate": 0.14,
                "touches": 72.89,
                "possession_lost": 7.8763,
                "dispossessed": 0.086,
                "duels_lost": 2.7058,
                "aerial_lost": 0.5845,
                "total_contest": 1.4287,
                "won_contest": 0.7506,
                "ball_recovery": 4.9907,
                "challenges_lost": 0.8589,
                "fouls": 0.4983,
                "fouls_drawn": 1.5978,
                "blocks": 0.8196,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.14,
                "assist_rate": 0.14,
                "expected_goals": 0.0074,
                "expected_assists": 0.0241,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 17.3391,
                "total_progression": 69.1855,
                "progressive_carries": 2.13,
                "key_pass": 0.564,
                "shots_off_target": 0.3746
              },
              "params": {
                "market_value_eur": 1400000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9932,
                "reference_quality": 0.505,
                "history_matches": 10,
                "history_shrink": 0.3333,
                "market_value_known": true
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 1.0943,
                "tackles": 1.5762,
                "tackles_won": 0.9837,
                "clearances": 2.5642,
                "aerial_won": 0.6495,
                "total_shots": 0.3746,
                "rating": 6.7602,
                "minutes": 88.37,
                "total_pass": 50.8478,
                "accurate_pass": 47.0633,
                "duels_won": 4.012,
                "total_long_balls": 2.4574,
                "accurate_long_balls": 1.5365,
                "total_own_half_passes": 26.8565,
                "accurate_own_half_passes": 25.3095,
                "total_opp_half_passes": 23.9912,
                "accurate_opp_half_passes": 21.7538,
                "crosses_total": 1.7603,
                "crosses_accurate": 0.14,
                "touches": 72.89,
                "possession_lost": 7.8763,
                "dispossessed": 0.086,
                "duels_lost": 2.7058,
                "aerial_lost": 0.5845,
                "total_contest": 1.4287,
                "won_contest": 0.7506,
                "ball_recovery": 4.9907,
                "challenges_lost": 0.8589,
                "fouls": 0.4983,
                "fouls_drawn": 1.5978,
                "blocks": 0.8196,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.14,
                "assist_rate": 0.14,
                "expected_goals": 0.0074,
                "expected_assists": 0.0241,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 17.3391,
                "total_progression": 69.1855,
                "progressive_carries": 2.13,
                "key_pass": 0.564,
                "shots_off_target": 0.3746
              },
              "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.0943,
                "tackles": 1.5762,
                "tackles_won": 0.9837,
                "clearances": 2.5642,
                "aerial_won": 0.6495,
                "total_shots": 0.3746,
                "rating": 6.7602,
                "minutes": 88.37,
                "total_pass": 50.8478,
                "accurate_pass": 47.0633,
                "duels_won": 4.012,
                "total_long_balls": 2.4574,
                "accurate_long_balls": 1.5365,
                "total_own_half_passes": 26.8565,
                "accurate_own_half_passes": 25.3095,
                "total_opp_half_passes": 23.9912,
                "accurate_opp_half_passes": 21.7538,
                "crosses_total": 1.7603,
                "crosses_accurate": 0.14,
                "touches": 72.89,
                "possession_lost": 7.8763,
                "dispossessed": 0.086,
                "duels_lost": 2.7058,
                "aerial_lost": 0.5845,
                "total_contest": 1.4287,
                "won_contest": 0.7506,
                "ball_recovery": 4.9907,
                "challenges_lost": 0.8589,
                "fouls": 0.4983,
                "fouls_drawn": 1.5978,
                "blocks": 0.8196,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.14,
                "assist_rate": 0.14,
                "expected_goals": 0.0074,
                "expected_assists": 0.0241,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 17.3391,
                "total_progression": 69.1855,
                "progressive_carries": 2.13,
                "key_pass": 0.564,
                "shots_off_target": 0.3746,
                "opponent_faced": "Antony",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback"
              },
              "params": {
                "duel_context_applied": true,
                "duel_context": {
                  "opponent_faced": "Antony",
                  "matchup_zone": "Shape fallback"
                }
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "interceptions": 1.0943,
                "tackles": 1.5762,
                "tackles_won": 0.9837,
                "clearances": 2.5642,
                "aerial_won": 0.6495,
                "total_shots": 0.3746,
                "rating": 6.7602,
                "minutes": 88.37,
                "total_pass": 50.8478,
                "accurate_pass": 47.0633,
                "duels_won": 4.012,
                "total_long_balls": 2.4574,
                "accurate_long_balls": 1.5365,
                "total_own_half_passes": 26.8565,
                "accurate_own_half_passes": 25.3095,
                "total_opp_half_passes": 23.9912,
                "accurate_opp_half_passes": 21.7538,
                "crosses_total": 1.7603,
                "crosses_accurate": 0.14,
                "touches": 72.89,
                "possession_lost": 7.8763,
                "dispossessed": 0.086,
                "duels_lost": 2.7058,
                "aerial_lost": 0.5845,
                "total_contest": 1.4287,
                "won_contest": 0.7506,
                "ball_recovery": 4.9907,
                "challenges_lost": 0.8589,
                "fouls": 0.4983,
                "fouls_drawn": 1.5978,
                "blocks": 0.8196,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.14,
                "assists": 0,
                "expected_goals": 0.0074,
                "expected_assists": 0.0241,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 17.3391,
                "total_progression": 69.1855,
                "progressive_carries": 2.13,
                "key_pass": 0.564,
                "shots_off_target": 0.3746,
                "opponent_faced": "Antony",
                "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": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.83 (squad xG sum 0.7402, xG scale 1.1227, xA scale 1.1227, team xA 0.66 = 0.79 x lambda)",
              "stats": {
                "interceptions": 1.0943,
                "tackles": 1.5762,
                "tackles_won": 0.9837,
                "clearances": 2.5642,
                "aerial_won": 0.6495,
                "total_shots": 0.3746,
                "rating": 6.7602,
                "minutes": 88.37,
                "total_pass": 50.8478,
                "accurate_pass": 47.0633,
                "duels_won": 4.012,
                "total_long_balls": 2.4574,
                "accurate_long_balls": 1.5365,
                "total_own_half_passes": 26.8565,
                "accurate_own_half_passes": 25.3095,
                "total_opp_half_passes": 23.9912,
                "accurate_opp_half_passes": 21.7538,
                "crosses_total": 1.7603,
                "crosses_accurate": 0.14,
                "touches": 72.89,
                "possession_lost": 7.8763,
                "dispossessed": 0.086,
                "duels_lost": 2.7058,
                "aerial_lost": 0.5845,
                "total_contest": 1.4287,
                "won_contest": 0.7506,
                "ball_recovery": 4.9907,
                "challenges_lost": 0.8589,
                "fouls": 0.4983,
                "fouls_drawn": 1.5978,
                "blocks": 0.8196,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.14,
                "assists": 0,
                "expected_goals": 0.0083,
                "expected_assists": 0.0271,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 17.3391,
                "total_progression": 69.1855,
                "progressive_carries": 2.13,
                "key_pass": 0.564,
                "shots_off_target": 0.3746,
                "opponent_faced": "Antony",
                "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.8711,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 0.831,
                "squad_xg_sum": 0.7402,
                "squad_xa_sum": 0.5844,
                "team_expected_assists": 0.6561,
                "team_xa_to_xg_ratio": 0.7895,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1227,
                "xa_scale": 1.1227,
                "opponent_lambda": 2.153,
                "scoreline_reset": true,
                "appearance_weight": 1.0
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 12 by projected rating, fifa_overall 79.0)",
              "stats": {
                "interceptions": 1.0943,
                "tackles": 1.5762,
                "tackles_won": 0.9837,
                "clearances": 2.5642,
                "aerial_won": 0.6495,
                "total_shots": 0.3746,
                "rating": 6.7602,
                "minutes": 88.37,
                "total_pass": 50.8478,
                "accurate_pass": 47.0633,
                "duels_won": 4.012,
                "total_long_balls": 2.4574,
                "accurate_long_balls": 1.5365,
                "total_own_half_passes": 26.8565,
                "accurate_own_half_passes": 25.3095,
                "total_opp_half_passes": 23.9912,
                "accurate_opp_half_passes": 21.7538,
                "crosses_total": 1.7603,
                "crosses_accurate": 0.14,
                "touches": 72.89,
                "possession_lost": 7.8763,
                "dispossessed": 0.086,
                "duels_lost": 2.7058,
                "aerial_lost": 0.5845,
                "total_contest": 1.4287,
                "won_contest": 0.7506,
                "ball_recovery": 4.9907,
                "challenges_lost": 0.8589,
                "fouls": 0.4983,
                "fouls_drawn": 1.5978,
                "blocks": 0.8196,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.14,
                "assists": 0,
                "expected_goals": 0.0083,
                "expected_assists": 0.0271,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 17.3391,
                "total_progression": 69.1855,
                "progressive_carries": 2.13,
                "key_pass": 0.564,
                "shots_off_target": 0.3746,
                "opponent_faced": "Antony",
                "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.8711,
                "creation_factor": 1.25,
                "fifa_overall": 79.0
              },
              "params": {
                "match_squad_rank": 12,
                "squad_role": "starter",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 1375,
                "fifa_rank": 848.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 79.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "interceptions": 1.0943,
                "tackles": 1.5762,
                "tackles_won": 0.9837,
                "clearances": 2.5642,
                "aerial_won": 0.6495,
                "total_shots": 0.3746,
                "rating": 6.7602,
                "minutes": 88.37,
                "total_pass": 50.8478,
                "accurate_pass": 47.0633,
                "duels_won": 4.012,
                "total_long_balls": 2.4574,
                "accurate_long_balls": 1.5365,
                "total_own_half_passes": 26.8565,
                "accurate_own_half_passes": 25.3095,
                "total_opp_half_passes": 23.9912,
                "accurate_opp_half_passes": 21.7538,
                "crosses_total": 1.7603,
                "crosses_accurate": 0.14,
                "touches": 72.89,
                "possession_lost": 7.8763,
                "dispossessed": 0.086,
                "duels_lost": 2.7058,
                "aerial_lost": 0.5845,
                "total_contest": 1.4287,
                "won_contest": 0.7506,
                "ball_recovery": 4.9907,
                "challenges_lost": 0.8589,
                "fouls": 0.4983,
                "fouls_drawn": 1.5978,
                "blocks": 0.8196,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.14,
                "assists": 0,
                "expected_goals": 0.0083,
                "expected_assists": 0.0271,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 17.3391,
                "total_progression": 69.1855,
                "progressive_carries": 2.13,
                "key_pass": 0.564,
                "shots_off_target": 0.3746,
                "opponent_faced": "Antony",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0083,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8711,
                "creation_factor": 1.25,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0083,
                "goal_rate": 0.0,
                "scorer_weight": 0.0072,
                "squad_weight_total": 0.8662,
                "weight_share": 0.0083,
                "finishing_factor": 0.8711,
                "appearance_weight": 1.0,
                "weight_rank": 11,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "interceptions": 1.0943,
                "tackles": 1.5762,
                "tackles_won": 0.9837,
                "clearances": 2.5642,
                "aerial_won": 0.6495,
                "total_shots": 0.3746,
                "rating": 6.7602,
                "minutes": 88.37,
                "total_pass": 50.8478,
                "accurate_pass": 47.0633,
                "duels_won": 4.012,
                "total_long_balls": 2.4574,
                "accurate_long_balls": 1.5365,
                "total_own_half_passes": 26.8565,
                "accurate_own_half_passes": 25.3095,
                "total_opp_half_passes": 23.9912,
                "accurate_opp_half_passes": 21.7538,
                "crosses_total": 1.7603,
                "crosses_accurate": 0.14,
                "touches": 72.89,
                "possession_lost": 7.8763,
                "dispossessed": 0.086,
                "duels_lost": 2.7058,
                "aerial_lost": 0.5845,
                "total_contest": 1.4287,
                "won_contest": 0.7506,
                "ball_recovery": 4.9907,
                "challenges_lost": 0.8589,
                "fouls": 0.4983,
                "fouls_drawn": 1.5978,
                "blocks": 0.8196,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.14,
                "assists": 0,
                "expected_goals": 0.0083,
                "expected_assists": 0.0271,
                "shots_on_target": 0.0,
                "big_chances_created": 0.0,
                "xgot": 0.0,
                "ball_carries": 17.3391,
                "total_progression": 69.1855,
                "progressive_carries": 2.13,
                "key_pass": 0.564,
                "shots_off_target": 0.3746,
                "opponent_faced": "Antony",
                "matchup_zone": "Shape fallback",
                "antagonist_source": "formation_fallback",
                "projected_goals": 0,
                "goal_probability": 0.0083,
                "projected_assists": 0,
                "assist_probability": 0.0267,
                "finishing_factor": 0.8711,
                "creation_factor": 1.25,
                "fifa_overall": 79.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0267,
                "assist_rate": 0.14,
                "provider_weight": 0.0339,
                "squad_weight_total": 0.5932,
                "weight_share": 0.0571,
                "creation_factor": 1.25,
                "appearance_weight": 1.0,
                "weight_rank": 7,
                "eligible_players": 13
              }
            }
          ]
        }
      },
      "bench_players": {
        "Carlos Lopez": {
          "player_id": 1442178,
          "position": "G",
          "position_depth": "G_BENCH",
          "is_starter": false,
          "shirt_number": 13,
          "height": 184,
          "market_value": 95000,
          "stats": {
            "saves": 0,
            "goals_prevented": 0.022,
            "rating": 6.8,
            "minutes": 4,
            "total_pass": 1,
            "accurate_pass": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "touches": 2,
            "clearances": 0,
            "ball_recovery": 0,
            "high_claims": 0,
            "punches": 0.0146,
            "aerial_won": 0,
            "sweeper_actions": 0,
            "sweeper_accurate": 0,
            "saves_inside_box": 0,
            "possession_lost": 0.1171,
            "duels_won": 0,
            "duels_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "total_own_half_passes": 1,
            "accurate_own_half_passes": 1,
            "bench_appearance_probability": 0.109,
            "bench_expected_minutes": 4.39,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.444,
            "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": 62.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 9083,
            "combined_rank_score": 7736.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 15175.0,
            "fifa_overall": 62.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 9,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8,
            "source_file": "data/player_rankings.csv",
            "player_name": "Carlos Lopez",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Lars-Jørgen Salvesen",
                  "ranking": 9078
                },
                {
                  "player_name": "Greg Docherty",
                  "ranking": 9079
                },
                {
                  "player_name": "Scott Wright",
                  "ranking": 9080
                },
                {
                  "player_name": "Stiven Muhlethaler",
                  "ranking": 9081
                },
                {
                  "player_name": "Jordan Thompson",
                  "ranking": 9082
                }
              ],
              "lower": [
                {
                  "player_name": "Gabriel Osho",
                  "ranking": 9084
                },
                {
                  "player_name": "Sam Sutton",
                  "ranking": 9085
                },
                {
                  "player_name": "Scott Wharton",
                  "ranking": 9086
                },
                {
                  "player_name": "David Turnbull",
                  "ranking": 9087
                },
                {
                  "player_name": "Sam Smith",
                  "ranking": 9088
                }
              ]
            }
          },
          "data_sources": [
            "market_value"
          ],
          "data_confidence": 0.25,
          "history_matches": 0,
          "xgboost_reasoning": {
            "model_source": "market_value_prior",
            "position_service": "G_service",
            "features_evaluated": [],
            "targets_predicted": [],
            "history_matches": 0,
            "data_confidence": 0.25,
            "data_sources": [
              "market_value"
            ],
            "bench_expected_minutes": 4.392222187561249,
            "bench_appearance_prob": 0.10873737216187492,
            "market_value_adjustment": 0.4374,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection from market-value prior (€95,000) scaled to 4.4 expected mins."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position G (quality 0.44)",
              "stats": {
                "saves": 2.9,
                "goals_prevented": 0.45,
                "rating": 6.8,
                "minutes": 90.0,
                "total_pass": 27.0,
                "accurate_pass": 20.0,
                "total_long_balls": 8.0,
                "accurate_long_balls": 4.0,
                "touches": 32.0,
                "clearances": 0.9,
                "ball_recovery": 1.2,
                "high_claims": 0.5,
                "punches": 0.3,
                "aerial_won": 0.6,
                "sweeper_actions": 1.2,
                "sweeper_accurate": 0.7,
                "saves_inside_box": 1.2,
                "possession_lost": 2.4,
                "duels_won": 0.4,
                "duels_lost": 0.2,
                "total_contest": 0.4,
                "won_contest": 0.2,
                "fouls": 0.2,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 21.0,
                "accurate_own_half_passes": 16.0
              },
              "params": {
                "market_value_eur": 95000,
                "quality_factor": 0.4374
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 90.0 to 4.4 expected minutes (appearance prob 0.11)",
              "stats": {
                "saves": 0.1415,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4.39,
                "total_pass": 1.3177,
                "accurate_pass": 0.976,
                "total_long_balls": 0.3904,
                "accurate_long_balls": 0.1952,
                "touches": 1.5617,
                "clearances": 0.0439,
                "ball_recovery": 0.0586,
                "high_claims": 0.0244,
                "punches": 0.0146,
                "aerial_won": 0.0293,
                "sweeper_actions": 0.0586,
                "sweeper_accurate": 0.0342,
                "saves_inside_box": 0.0586,
                "possession_lost": 0.1171,
                "duels_won": 0.0195,
                "duels_lost": 0.0098,
                "total_contest": 0.0195,
                "won_contest": 0.0098,
                "fouls": 0.0098,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 1.0249,
                "accurate_own_half_passes": 0.7808,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39
              },
              "params": {
                "expected_minutes": 4.39,
                "projection_minutes": 90.0,
                "minutes_scale": 0.0488,
                "appearance_probability": 0.109
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "saves": 0.1415,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4.39,
                "total_pass": 1.3177,
                "accurate_pass": 0.976,
                "total_long_balls": 0.3904,
                "accurate_long_balls": 0.1952,
                "touches": 1.5617,
                "clearances": 0.0439,
                "ball_recovery": 0.0586,
                "high_claims": 0.0244,
                "punches": 0.0146,
                "aerial_won": 0.0293,
                "sweeper_actions": 0.0586,
                "sweeper_accurate": 0.0342,
                "saves_inside_box": 0.0586,
                "possession_lost": 0.1171,
                "duels_won": 0.0195,
                "duels_lost": 0.0098,
                "total_contest": 0.0195,
                "won_contest": 0.0098,
                "fouls": 0.0098,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 1.0249,
                "accurate_own_half_passes": 0.7808,
                "bench_appearance_probability": 0.109,
                "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.1415,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4.39,
                "total_pass": 1.3177,
                "accurate_pass": 0.976,
                "total_long_balls": 0.3904,
                "accurate_long_balls": 0.1952,
                "touches": 1.5617,
                "clearances": 0.0439,
                "ball_recovery": 0.0586,
                "high_claims": 0.0244,
                "punches": 0.0146,
                "aerial_won": 0.0293,
                "sweeper_actions": 0.0586,
                "sweeper_accurate": 0.0342,
                "saves_inside_box": 0.0586,
                "possession_lost": 0.1171,
                "duels_won": 0.0195,
                "duels_lost": 0.0098,
                "total_contest": 0.0195,
                "won_contest": 0.0098,
                "fouls": 0.0098,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 1.0249,
                "accurate_own_half_passes": 0.7808,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.444,
                "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.109,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 9 by projected rating, fifa_overall 62.0)",
              "stats": {
                "saves": 0.1415,
                "goals_prevented": 0.022,
                "rating": 6.8,
                "minutes": 4.39,
                "total_pass": 1.3177,
                "accurate_pass": 0.976,
                "total_long_balls": 0.3904,
                "accurate_long_balls": 0.1952,
                "touches": 1.5617,
                "clearances": 0.0439,
                "ball_recovery": 0.0586,
                "high_claims": 0.0244,
                "punches": 0.0146,
                "aerial_won": 0.0293,
                "sweeper_actions": 0.0586,
                "sweeper_accurate": 0.0342,
                "saves_inside_box": 0.0586,
                "possession_lost": 0.1171,
                "duels_won": 0.0195,
                "duels_lost": 0.0098,
                "total_contest": 0.0195,
                "won_contest": 0.0098,
                "fouls": 0.0098,
                "fouls_drawn": 0.0,
                "total_own_half_passes": 1.0249,
                "accurate_own_half_passes": 0.7808,
                "bench_appearance_probability": 0.109,
                "bench_expected_minutes": 4.39,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.444,
                "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": 62.0
              },
              "params": {
                "match_squad_rank": 9,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 9083,
                "fifa_rank": 15175.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 62.0
              }
            }
          ]
        },
        "Jose Salinas": {
          "player_id": 1068891,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 12,
          "height": 178,
          "market_value": 1800000,
          "stats": {
            "interceptions": 0,
            "tackles": 1,
            "tackles_won": 0,
            "clearances": 1,
            "aerial_won": 0,
            "total_shots": 0,
            "rating": 6.6426,
            "minutes": 14,
            "total_pass": 4,
            "accurate_pass": 3,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 2,
            "accurate_own_half_passes": 1,
            "total_opp_half_passes": 3,
            "accurate_opp_half_passes": 2,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 8,
            "possession_lost": 2.2032,
            "dispossessed": 0.1742,
            "duels_lost": 1,
            "aerial_lost": 0,
            "total_contest": 0,
            "won_contest": 0,
            "ball_recovery": 0,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "expected_goals": 0.0218,
            "expected_assists": 0.0021,
            "shots_on_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0136,
            "ball_carries": 2,
            "total_progression": 4,
            "progressive_carries": 0,
            "key_pass": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.299,
            "bench_expected_minutes": 13.57,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.444,
            "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": 77.0
          },
          "latest_10_games": [
            {
              "match_id": 16421077,
              "match_date": "2026-10-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 22,
                "rating": 6.4,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0553,
                "expected_assists": 0.0024,
                "total_shots": 1,
                "shots_on_target": 1,
                "shots_off_target": 0,
                "total_pass": 8,
                "accurate_pass": 8,
                "tackles": 2,
                "tackles_won": 2,
                "interceptions": 0,
                "clearances": 2,
                "aerial_won": 0,
                "duels_won": 2,
                "ball_recovery": 1,
                "saves": 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": 16421073,
              "match_date": "2026-10-18",
              "home_team": "Málaga CF",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 45,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0912,
                "total_shots": 0,
                "total_pass": 15,
                "accurate_pass": 13,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 2,
                "clearances": 2,
                "aerial_won": 1,
                "duels_won": 5,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416303,
              "match_date": "2026-09-20",
              "home_team": "Getafe",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Getafe",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0155,
                "expected_assists": 0.0063,
                "total_shots": 1,
                "total_pass": 24,
                "accurate_pass": 22,
                "tackles": 2,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 4,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 45,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0007,
                "total_shots": 0,
                "total_pass": 8,
                "accurate_pass": 7,
                "tackles": 4,
                "tackles_won": 4,
                "clearances": 1,
                "duels_won": 5,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416347,
              "match_date": "2026-09-13",
              "home_team": "Celta Vigo",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 87,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0127,
                "total_shots": 0,
                "total_pass": 50,
                "accurate_pass": 47,
                "key_pass": 1,
                "tackles": 2,
                "tackles_won": 1,
                "interceptions": 2,
                "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": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416320,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0111,
                "total_shots": 0,
                "total_pass": 45,
                "accurate_pass": 41,
                "interceptions": 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": 16416312,
              "match_date": "2026-08-30",
              "home_team": "Real Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 30,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0022,
                "total_shots": 0,
                "total_pass": 12,
                "accurate_pass": 11,
                "interceptions": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421055,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 18,
                "rating": 6.3,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0028,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 6,
                "aerial_won": 2,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "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": 5.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1573,
                "expected_assists": 0.0033,
                "total_shots": 1,
                "total_pass": 4,
                "accurate_pass": 2,
                "key_pass": 1,
                "interceptions": 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": 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.2,
                "assist_rate": 0.0,
                "assists": 0,
                "total_shots": 0,
                "total_pass": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "77559",
              "season_name": "LaLiga 25/26",
              "season_year": "25/26"
            }
          ],
          "ranking": {
            "global_player_rank": 2864,
            "combined_rank_score": 1199.0,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 969.0,
            "sofascore_rating": 6.35,
            "sofascore_appearances": 11.0,
            "fifa_rank": 1429.0,
            "fifa_overall": 77.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 17,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6426,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jose Salinas",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jérémy Corinus",
                  "ranking": 2859
                },
                {
                  "player_name": "Livio Meier",
                  "ranking": 2860
                },
                {
                  "player_name": "Park Chae-Joon",
                  "ranking": 2861
                },
                {
                  "player_name": "Martin Andersen",
                  "ranking": 2862
                },
                {
                  "player_name": "Jorge Cabello",
                  "ranking": 2863
                }
              ],
              "lower": [
                {
                  "player_name": "Ryan Camenzuli",
                  "ranking": 2865
                },
                {
                  "player_name": "Miguel Loureiro",
                  "ranking": 2866
                },
                {
                  "player_name": "Saba Sazonov",
                  "ranking": 2867
                },
                {
                  "player_name": "Juan Pablo Nieto",
                  "ranking": 2868
                },
                {
                  "player_name": "Adalid Terrazas",
                  "ranking": 2869
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 19,
          "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": 19,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 13.572222187561248,
            "bench_appearance_prob": 0.2987373721618749,
            "market_value_adjustment": 0.9958,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost D_service (19 historical appearances) to 13.6 expected mins (appearance prob 0.30)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost D_service raw output over 7 target models",
              "stats": {
                "interceptions": 0.2949,
                "tackles": 0.7479,
                "tackles_won": 0.3999,
                "clearances": 0.822,
                "aerial_won": 0.3037,
                "total_shots": 0.1876,
                "rating": 6.6426,
                "minutes": 16.48,
                "total_pass": 5.4753,
                "accurate_pass": 4.1588,
                "duels_won": 0.6585,
                "total_long_balls": 0.1961,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 2.0838,
                "accurate_own_half_passes": 1.6247,
                "total_opp_half_passes": 3.3914,
                "accurate_opp_half_passes": 2.534,
                "crosses_total": 0.0405,
                "crosses_accurate": 0.0,
                "touches": 9.7946,
                "possession_lost": 2.6865,
                "dispossessed": 0.1749,
                "duels_lost": 1.2577,
                "aerial_lost": 0.3627,
                "total_contest": 0.2823,
                "won_contest": 0.0,
                "ball_recovery": 0.541,
                "challenges_lost": 0.256,
                "fouls": 0.1818,
                "fouls_drawn": 0.0,
                "blocks": 0.1486,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0266,
                "expected_assists": 0.0026,
                "shots_on_target": 0.1749,
                "big_chances_created": 0.0,
                "xgot": 0.0166,
                "ball_carries": 2.2599,
                "total_progression": 5.239,
                "progressive_carries": 0.0,
                "key_pass": 0.1074,
                "shots_off_target": 0.0127
              },
              "trace": {
                "model": {
                  "position_service": "D",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:29:25.210665+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 626,
                    "rows": 22004
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-23",
                    "opponent": "Deportivo Alavés",
                    "minutes": 22.0,
                    "is_starting": false,
                    "weight": 0.1572,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Real Sociedad",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.1336,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Getafe",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1136,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Villarreal",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.0965,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Celta Vigo",
                    "minutes": 87.0,
                    "is_starting": true,
                    "weight": 0.082,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0697,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Real Madrid",
                    "minutes": 30.0,
                    "is_starting": false,
                    "weight": 0.0593,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Atlético Madrid",
                    "minutes": 18.0,
                    "is_starting": false,
                    "weight": 0.0504,
                    "rating": 6.3
                  },
                  {
                    "match_date": "2026-05-09",
                    "opponent": "Sevilla",
                    "minutes": 15.0,
                    "is_starting": false,
                    "weight": 0.0428,
                    "rating": 5.6
                  },
                  {
                    "match_date": "2026-03-15",
                    "opponent": "Mallorca",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.0364,
                    "rating": 6.2
                  }
                ],
                "feature_row": {
                  "history_matches": 19.0,
                  "is_starting_11": 0.0,
                  "totalClearance": 1.3077,
                  "aerialWon": 0.4957,
                  "totalClearance_p90": 2.6486,
                  "totalTackle": 1.3968,
                  "totalPass": 17.9626
                },
                "per_target": [
                  {
                    "target": "interceptionWon",
                    "predicted": 0.294931024312973,
                    "model_output": 0.2949,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2977
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0446
                      },
                      {
                        "name": "totalPass",
                        "importance": 0.0318
                      },
                      {
                        "name": "touches",
                        "importance": 0.0281
                      },
                      {
                        "name": "interceptionWon_p90",
                        "importance": 0.0208
                      }
                    ],
                    "decomposition": {
                      "base": 0.8678,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4679
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": -0.046
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0214
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0106
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.0087
                        }
                      ],
                      "others": -0.0357,
                      "total": 0.2949,
                      "log_link": true,
                      "margin_base": -0.141777,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.774707
                        },
                        {
                          "name": "interceptionWon",
                          "margin": -0.122142
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.062366
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.032448
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.026707
                        }
                      ],
                      "others_margin": -0.114281
                    }
                  },
                  {
                    "target": "totalTackle",
                    "predicted": 0.7478892207145691,
                    "model_output": 0.7479,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2493
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0731
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0475
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0414
                      },
                      {
                        "name": "challengeLost",
                        "importance": 0.0245
                      }
                    ],
                    "decomposition": {
                      "base": 1.3878,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7443
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": 0.027
                        },
                        {
                          "name": "wonTackle",
                          "contribution": 0.0239
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0195
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0197
                        }
                      ],
                      "others": 0.0143,
                      "total": 0.7479,
                      "log_link": true,
                      "margin_base": 0.327722,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.768476
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": 0.041169
                        },
                        {
                          "name": "wonTackle",
                          "margin": 0.03501
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.027666
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.027265
                        }
                      ],
                      "others_margin": 0.019143
                    }
                  },
                  {
                    "target": "wonTackle",
                    "predicted": 0.3999346196651459,
                    "model_output": 0.3999,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1966
                      },
                      {
                        "name": "totalTackle",
                        "importance": 0.0678
                      },
                      {
                        "name": "totalTackle_p90",
                        "importance": 0.0471
                      },
                      {
                        "name": "defensive_actions",
                        "importance": 0.0406
                      },
                      {
                        "name": "press_vulnerability",
                        "importance": 0.0252
                      }
                    ],
                    "decomposition": {
                      "base": 0.8471,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4743
                        },
                        {
                          "name": "minutesPlayed",
                          "contribution": 0.0149
                        },
                        {
                          "name": "totalClearance",
                          "contribution": 0.0139
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0129
                        },
                        {
                          "name": "totalTackle_p90",
                          "contribution": 0.0118
                        }
                      ],
                      "others": -0.0006,
                      "total": 0.3999,
                      "log_link": true,
                      "margin_base": -0.165887,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.820749
                        },
                        {
                          "name": "minutesPlayed",
                          "margin": 0.039282
                        },
                        {
                          "name": "totalClearance",
                          "margin": 0.035209
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.032572
                        },
                        {
                          "name": "totalTackle_p90",
                          "margin": 0.029986
                        }
                      ],
                      "others_margin": -0.001724
                    }
                  },
                  {
                    "target": "totalClearance",
                    "predicted": 0.8220143914222717,
                    "model_output": 0.822,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2929
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.1447
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.1031
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0342
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.0223
                      }
                    ],
                    "decomposition": {
                      "base": 3.4227,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -2.0986
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.2933
                        },
                        {
                          "name": "totalLongBalls",
                          "contribution": -0.1119
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0597
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0492
                        }
                      ],
                      "others": 0.012,
                      "total": 0.822,
                      "log_link": true,
                      "margin_base": 1.230438,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.94972
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.250444
                        },
                        {
                          "name": "totalLongBalls",
                          "margin": -0.114946
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.06722
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.058935
                        }
                      ],
                      "others_margin": 0.01483
                    }
                  },
                  {
                    "target": "aerialWon",
                    "predicted": 0.303749680519104,
                    "model_output": 0.3037,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1591
                      },
                      {
                        "name": "aerialWon",
                        "importance": 0.1548
                      },
                      {
                        "name": "totalClearance",
                        "importance": 0.0782
                      },
                      {
                        "name": "totalClearance_p90",
                        "importance": 0.0406
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0288
                      }
                    ],
                    "decomposition": {
                      "base": 1.3743,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.7781
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.189
                        },
                        {
                          "name": "totalClearance",
                          "contribution": -0.031
                        },
                        {
                          "name": "totalClearance_p90",
                          "contribution": -0.0171
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.01
                        }
                      ],
                      "others": -0.0453,
                      "total": 0.3038,
                      "log_link": true,
                      "margin_base": 0.31798,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.835143
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.381198
                        },
                        {
                          "name": "totalClearance",
                          "margin": -0.079124
                        },
                        {
                          "name": "totalClearance_p90",
                          "margin": -0.046413
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.028357
                        }
                      ],
                      "others_margin": -0.139295
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.18755123019218445,
                    "model_output": 0.1876,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1011
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0687
                      },
                      {
                        "name": "history_matches",
                        "importance": 0.0377
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0308
                      },
                      {
                        "name": "rating",
                        "importance": 0.0275
                      }
                    ],
                    "decomposition": {
                      "base": 0.4801,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1991
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0492
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0252
                        },
                        {
                          "name": "long_ball_accuracy",
                          "contribution": 0.0127
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0127
                        }
                      ],
                      "others": -0.019,
                      "total": 0.1876,
                      "log_link": false,
                      "margin_base": 0.48008,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.199069
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.049243
                        },
                        {
                          "name": "rating",
                          "margin": -0.025218
                        },
                        {
                          "name": "long_ball_accuracy",
                          "margin": 0.012723
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.012664
                        }
                      ],
                      "others_margin": -0.019058
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.642594337463379,
                    "model_output": 6.6426,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalPass",
                        "importance": 0.0922
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0582
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0462
                      },
                      {
                        "name": "rating",
                        "importance": 0.0313
                      },
                      {
                        "name": "ballCarriesCount",
                        "importance": 0.0279
                      }
                    ],
                    "decomposition": {
                      "base": 6.7972,
                      "items": [
                        {
                          "name": "totalPass",
                          "contribution": -0.0448
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0225
                        },
                        {
                          "name": "accuratePass",
                          "contribution": -0.0211
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0137
                        },
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0127
                        }
                      ],
                      "others": -0.0398,
                      "total": 6.6426,
                      "log_link": false,
                      "margin_base": 6.797222,
                      "item_margins": [
                        {
                          "name": "totalPass",
                          "margin": -0.044818
                        },
                        {
                          "name": "rating",
                          "margin": -0.022528
                        },
                        {
                          "name": "accuratePass",
                          "margin": -0.021097
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.013728
                        },
                        {
                          "name": "is_starting_11",
                          "margin": -0.012688
                        }
                      ],
                      "others_margin": -0.03977
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 19,
                  "role_matches": 12,
                  "minutes_source": "role_history_shrunk",
                  "volume_basis": "role_history"
                },
                "caveat": "Raw XGBoost output: no per-90 normalization; minutesPlayed is the recency-weighted average of his appearances in this role (starter / substitute). Missing provider values count as 0 only when the provider recorded that stat for the match."
              }
            },
            {
              "step": "market_value_boost",
              "description": "Market-value quality scaling (boost 0.9958, quality 0.437)",
              "stats": {
                "interceptions": 0.2937,
                "tackles": 0.7447,
                "tackles_won": 0.3983,
                "clearances": 0.8186,
                "aerial_won": 0.3025,
                "total_shots": 0.1868,
                "rating": 6.6426,
                "minutes": 16.48,
                "total_pass": 5.4523,
                "accurate_pass": 4.1413,
                "duels_won": 0.6557,
                "total_long_balls": 0.1953,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 2.075,
                "accurate_own_half_passes": 1.6179,
                "total_opp_half_passes": 3.3772,
                "accurate_opp_half_passes": 2.5234,
                "crosses_total": 0.0403,
                "crosses_accurate": 0.0,
                "touches": 9.7535,
                "possession_lost": 2.6752,
                "dispossessed": 0.1742,
                "duels_lost": 1.2524,
                "aerial_lost": 0.3612,
                "total_contest": 0.2811,
                "won_contest": 0.0,
                "ball_recovery": 0.5387,
                "challenges_lost": 0.2549,
                "fouls": 0.181,
                "fouls_drawn": 0.0,
                "blocks": 0.148,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0265,
                "expected_assists": 0.0026,
                "shots_on_target": 0.1742,
                "big_chances_created": 0.0,
                "xgot": 0.0165,
                "ball_carries": 2.2504,
                "total_progression": 5.217,
                "progressive_carries": 0.0,
                "key_pass": 0.1069,
                "shots_off_target": 0.0126
              },
              "params": {
                "market_value_eur": 1800000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9958,
                "reference_quality": 0.505,
                "history_matches": 19,
                "history_shrink": 0.2083,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 16.5 to 13.6 expected minutes (appearance prob 0.30)",
              "stats": {
                "interceptions": 0.2419,
                "tackles": 0.6133,
                "tackles_won": 0.328,
                "clearances": 0.6742,
                "aerial_won": 0.2491,
                "total_shots": 0.1539,
                "rating": 6.6426,
                "minutes": 13.57,
                "total_pass": 4.4903,
                "accurate_pass": 3.4106,
                "duels_won": 0.54,
                "total_long_balls": 0.1608,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 1.7089,
                "accurate_own_half_passes": 1.3324,
                "total_opp_half_passes": 2.7813,
                "accurate_opp_half_passes": 2.0782,
                "crosses_total": 0.0332,
                "crosses_accurate": 0.0,
                "touches": 8.0326,
                "possession_lost": 2.2032,
                "dispossessed": 0.1742,
                "duels_lost": 1.0314,
                "aerial_lost": 0.3612,
                "total_contest": 0.2315,
                "won_contest": 0.0,
                "ball_recovery": 0.4437,
                "challenges_lost": 0.2549,
                "fouls": 0.1491,
                "fouls_drawn": 0.0,
                "blocks": 0.1219,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0218,
                "expected_assists": 0.0021,
                "shots_on_target": 0.1435,
                "big_chances_created": 0.0,
                "xgot": 0.0136,
                "ball_carries": 1.8533,
                "total_progression": 4.2965,
                "progressive_carries": 0.0,
                "key_pass": 0.088,
                "shots_off_target": 0.0104,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57
              },
              "params": {
                "expected_minutes": 13.57,
                "projection_minutes": 16.48,
                "minutes_scale": 0.8236,
                "appearance_probability": 0.299
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.2419,
                "tackles": 0.6133,
                "tackles_won": 0.328,
                "clearances": 0.6742,
                "aerial_won": 0.2491,
                "total_shots": 0.1539,
                "rating": 6.6426,
                "minutes": 13.57,
                "total_pass": 4.4903,
                "accurate_pass": 3.4106,
                "duels_won": 0.54,
                "total_long_balls": 0.1608,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 1.7089,
                "accurate_own_half_passes": 1.3324,
                "total_opp_half_passes": 2.7813,
                "accurate_opp_half_passes": 2.0782,
                "crosses_total": 0.0332,
                "crosses_accurate": 0.0,
                "touches": 8.0326,
                "possession_lost": 2.2032,
                "dispossessed": 0.1742,
                "duels_lost": 1.0314,
                "aerial_lost": 0.3612,
                "total_contest": 0.2315,
                "won_contest": 0.0,
                "ball_recovery": 0.4437,
                "challenges_lost": 0.2549,
                "fouls": 0.1491,
                "fouls_drawn": 0.0,
                "blocks": 0.1219,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.0,
                "assist_rate": 0.0,
                "expected_goals": 0.0218,
                "expected_assists": 0.0021,
                "shots_on_target": 0.1435,
                "big_chances_created": 0.0,
                "xgot": 0.0136,
                "ball_carries": 1.8533,
                "total_progression": 4.2965,
                "progressive_carries": 0.0,
                "key_pass": 0.088,
                "shots_off_target": 0.0104,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57
              },
              "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.2419,
                "tackles": 0.6133,
                "tackles_won": 0.328,
                "clearances": 0.6742,
                "aerial_won": 0.2491,
                "total_shots": 0.1539,
                "rating": 6.6426,
                "minutes": 13.57,
                "total_pass": 4.4903,
                "accurate_pass": 3.4106,
                "duels_won": 0.54,
                "total_long_balls": 0.1608,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 1.7089,
                "accurate_own_half_passes": 1.3324,
                "total_opp_half_passes": 2.7813,
                "accurate_opp_half_passes": 2.0782,
                "crosses_total": 0.0332,
                "crosses_accurate": 0.0,
                "touches": 8.0326,
                "possession_lost": 2.2032,
                "dispossessed": 0.1742,
                "duels_lost": 1.0314,
                "aerial_lost": 0.3612,
                "total_contest": 0.2315,
                "won_contest": 0.0,
                "ball_recovery": 0.4437,
                "challenges_lost": 0.2549,
                "fouls": 0.1491,
                "fouls_drawn": 0.0,
                "blocks": 0.1219,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0218,
                "expected_assists": 0.0021,
                "shots_on_target": 0.1435,
                "big_chances_created": 0.0,
                "xgot": 0.0136,
                "ball_carries": 1.8533,
                "total_progression": 4.2965,
                "progressive_carries": 0.0,
                "key_pass": 0.088,
                "shots_off_target": 0.0104,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.444,
                "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.299,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 17 by projected rating, fifa_overall 77.0)",
              "stats": {
                "interceptions": 0.2419,
                "tackles": 0.6133,
                "tackles_won": 0.328,
                "clearances": 0.6742,
                "aerial_won": 0.2491,
                "total_shots": 0.1539,
                "rating": 6.6426,
                "minutes": 13.57,
                "total_pass": 4.4903,
                "accurate_pass": 3.4106,
                "duels_won": 0.54,
                "total_long_balls": 0.1608,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 1.7089,
                "accurate_own_half_passes": 1.3324,
                "total_opp_half_passes": 2.7813,
                "accurate_opp_half_passes": 2.0782,
                "crosses_total": 0.0332,
                "crosses_accurate": 0.0,
                "touches": 8.0326,
                "possession_lost": 2.2032,
                "dispossessed": 0.1742,
                "duels_lost": 1.0314,
                "aerial_lost": 0.3612,
                "total_contest": 0.2315,
                "won_contest": 0.0,
                "ball_recovery": 0.4437,
                "challenges_lost": 0.2549,
                "fouls": 0.1491,
                "fouls_drawn": 0.0,
                "blocks": 0.1219,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0218,
                "expected_assists": 0.0021,
                "shots_on_target": 0.1435,
                "big_chances_created": 0.0,
                "xgot": 0.0136,
                "ball_carries": 1.8533,
                "total_progression": 4.2965,
                "progressive_carries": 0.0,
                "key_pass": 0.088,
                "shots_off_target": 0.0104,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.444,
                "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": 77.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": 2864,
                "fifa_rank": 1429.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 77.0
              }
            }
          ]
        },
        "Diego Murillo": {
          "player_id": 1410734,
          "position": "D",
          "position_depth": "D_BENCH",
          "is_starter": false,
          "shirt_number": 16,
          "height": 182,
          "market_value": 1600000,
          "stats": {
            "interceptions": 0,
            "tackles": 0,
            "tackles_won": 0,
            "clearances": 0,
            "aerial_won": 0,
            "duels_won": 1,
            "total_pass": 6,
            "accurate_pass": 5,
            "expected_goals": 0.0024,
            "rating": 6.8,
            "minutes": 14,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_own_half_passes": 4,
            "accurate_own_half_passes": 3,
            "total_opp_half_passes": 1,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 9,
            "possession_lost": 0.935,
            "dispossessed": 0.4,
            "duels_lost": 0,
            "aerial_lost": 2,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 1,
            "fouls": 0,
            "fouls_drawn": 0,
            "blocks": 0,
            "goal_rate": 0.0,
            "goals": 0,
            "assist_rate": 0.006,
            "assists": 0,
            "expected_assists": 0.0068,
            "total_shots": 0,
            "shots_on_target": 0,
            "shots_off_target": 0,
            "big_chances_created": 0,
            "xgot": 0.0018,
            "key_pass": 0,
            "ball_carries": 3,
            "total_progression": 8,
            "progressive_carries": 1,
            "bench_appearance_probability": 0.299,
            "bench_expected_minutes": 13.57,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.444,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "available_bench_not_projected_used",
            "projected_goals": 0,
            "goal_probability": 0.0,
            "projected_assists": 0,
            "assist_probability": 0.0,
            "fifa_overall": 84.0
          },
          "latest_10_games": [],
          "ranking": {
            "global_player_rank": 327,
            "combined_rank_score": 208.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 197.0,
            "fifa_overall": 84.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 8,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.8,
            "source_file": "data/player_rankings.csv",
            "player_name": "Diego Murillo",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Nico Paz",
                  "ranking": 322
                },
                {
                  "player_name": "Unai Simón",
                  "ranking": 323
                },
                {
                  "player_name": "Aleksandre Andronikashvili",
                  "ranking": 324
                },
                {
                  "player_name": "Javier Correa",
                  "ranking": 325
                },
                {
                  "player_name": "Alejandro Santander",
                  "ranking": 326
                }
              ],
              "lower": [
                {
                  "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
                },
                {
                  "player_name": "Cristian Romero",
                  "ranking": 332
                }
              ]
            }
          },
          "data_sources": [
            "market_value"
          ],
          "data_confidence": 0.25,
          "history_matches": 0,
          "xgboost_reasoning": {
            "model_source": "market_value_prior",
            "position_service": "D_service",
            "features_evaluated": [],
            "targets_predicted": [],
            "history_matches": 0,
            "data_confidence": 0.25,
            "data_sources": [
              "market_value"
            ],
            "bench_expected_minutes": 13.572222187561248,
            "bench_appearance_prob": 0.2987373721618749,
            "market_value_adjustment": 0.4374,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection from market-value prior (€1,600,000) scaled to 13.6 expected mins."
          },
          "stat_evolution": [
            {
              "step": "market_value_prior",
              "description": "Market-value baseline for position D (quality 0.44)",
              "stats": {
                "interceptions": 1.4,
                "tackles": 2.2,
                "tackles_won": 1.3,
                "clearances": 2.5,
                "aerial_won": 2.1,
                "duels_won": 5.2,
                "total_pass": 42.0,
                "accurate_pass": 33.0,
                "expected_goals": 0.016,
                "rating": 6.8,
                "minutes": 90.0,
                "total_long_balls": 5.0,
                "accurate_long_balls": 2.8,
                "total_own_half_passes": 27.0,
                "accurate_own_half_passes": 21.0,
                "total_opp_half_passes": 9.0,
                "accurate_opp_half_passes": 6.0,
                "crosses_total": 0.8,
                "crosses_accurate": 0.4,
                "touches": 58.0,
                "possession_lost": 6.2,
                "dispossessed": 0.4,
                "duels_lost": 3.3,
                "aerial_lost": 1.9,
                "total_contest": 3.7,
                "won_contest": 2.1,
                "ball_recovery": 4.7,
                "challenges_lost": 0.9,
                "fouls": 0.9,
                "fouls_drawn": 0.6,
                "blocks": 0.6,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.04,
                "assist_rate": 0.04,
                "expected_assists": 0.045,
                "total_shots": 0.32,
                "shots_on_target": 0.14,
                "shots_off_target": 0.18,
                "big_chances_created": 0.04,
                "xgot": 0.012,
                "key_pass": 0.5,
                "ball_carries": 19.0,
                "total_progression": 56.0,
                "progressive_carries": 4.0
              },
              "params": {
                "market_value_eur": 1600000,
                "quality_factor": 0.4374
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 90.0 to 13.6 expected minutes (appearance prob 0.30)",
              "stats": {
                "interceptions": 0.2111,
                "tackles": 0.3318,
                "tackles_won": 0.196,
                "clearances": 0.377,
                "aerial_won": 0.3167,
                "duels_won": 0.7842,
                "total_pass": 6.3337,
                "accurate_pass": 4.9765,
                "expected_goals": 0.0024,
                "rating": 6.8,
                "minutes": 13.57,
                "total_long_balls": 0.754,
                "accurate_long_balls": 0.4222,
                "total_own_half_passes": 4.0717,
                "accurate_own_half_passes": 3.1669,
                "total_opp_half_passes": 1.3572,
                "accurate_opp_half_passes": 0.9048,
                "crosses_total": 0.1206,
                "crosses_accurate": 0.0603,
                "touches": 8.7465,
                "possession_lost": 0.935,
                "dispossessed": 0.4,
                "duels_lost": 0.4976,
                "aerial_lost": 1.9,
                "total_contest": 0.558,
                "won_contest": 0.3167,
                "ball_recovery": 0.7088,
                "challenges_lost": 0.9,
                "fouls": 0.1357,
                "fouls_drawn": 0.0905,
                "blocks": 0.0905,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.006,
                "assist_rate": 0.006,
                "expected_assists": 0.0068,
                "total_shots": 0.0483,
                "shots_on_target": 0.0211,
                "shots_off_target": 0.0271,
                "big_chances_created": 0.006,
                "xgot": 0.0018,
                "key_pass": 0.0754,
                "ball_carries": 2.8652,
                "total_progression": 8.4449,
                "progressive_carries": 0.6032,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57
              },
              "params": {
                "expected_minutes": 13.57,
                "projection_minutes": 90.0,
                "minutes_scale": 0.1508,
                "appearance_probability": 0.299
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "interceptions": 0.2111,
                "tackles": 0.3318,
                "tackles_won": 0.196,
                "clearances": 0.377,
                "aerial_won": 0.3167,
                "duels_won": 0.7842,
                "total_pass": 6.3337,
                "accurate_pass": 4.9765,
                "expected_goals": 0.0024,
                "rating": 6.8,
                "minutes": 13.57,
                "total_long_balls": 0.754,
                "accurate_long_balls": 0.4222,
                "total_own_half_passes": 4.0717,
                "accurate_own_half_passes": 3.1669,
                "total_opp_half_passes": 1.3572,
                "accurate_opp_half_passes": 0.9048,
                "crosses_total": 0.1206,
                "crosses_accurate": 0.0603,
                "touches": 8.7465,
                "possession_lost": 0.935,
                "dispossessed": 0.4,
                "duels_lost": 0.4976,
                "aerial_lost": 1.9,
                "total_contest": 0.558,
                "won_contest": 0.3167,
                "ball_recovery": 0.7088,
                "challenges_lost": 0.9,
                "fouls": 0.1357,
                "fouls_drawn": 0.0905,
                "blocks": 0.0905,
                "goals": 0.0,
                "goal_rate": 0.0,
                "assists": 0.006,
                "assist_rate": 0.006,
                "expected_assists": 0.0068,
                "total_shots": 0.0483,
                "shots_on_target": 0.0211,
                "shots_off_target": 0.0271,
                "big_chances_created": 0.006,
                "xgot": 0.0018,
                "key_pass": 0.0754,
                "ball_carries": 2.8652,
                "total_progression": 8.4449,
                "progressive_carries": 0.6032,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57
              },
              "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.2111,
                "tackles": 0.3318,
                "tackles_won": 0.196,
                "clearances": 0.377,
                "aerial_won": 0.3167,
                "duels_won": 0.7842,
                "total_pass": 6.3337,
                "accurate_pass": 4.9765,
                "expected_goals": 0.0024,
                "rating": 6.8,
                "minutes": 13.57,
                "total_long_balls": 0.754,
                "accurate_long_balls": 0.4222,
                "total_own_half_passes": 4.0717,
                "accurate_own_half_passes": 3.1669,
                "total_opp_half_passes": 1.3572,
                "accurate_opp_half_passes": 0.9048,
                "crosses_total": 0.1206,
                "crosses_accurate": 0.0603,
                "touches": 8.7465,
                "possession_lost": 0.935,
                "dispossessed": 0.4,
                "duels_lost": 0.4976,
                "aerial_lost": 1.9,
                "total_contest": 0.558,
                "won_contest": 0.3167,
                "ball_recovery": 0.7088,
                "challenges_lost": 0.9,
                "fouls": 0.1357,
                "fouls_drawn": 0.0905,
                "blocks": 0.0905,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.006,
                "assists": 0,
                "expected_assists": 0.0068,
                "total_shots": 0.0483,
                "shots_on_target": 0.0211,
                "shots_off_target": 0.0271,
                "big_chances_created": 0.006,
                "xgot": 0.0018,
                "key_pass": 0.0754,
                "ball_carries": 2.8652,
                "total_progression": 8.4449,
                "progressive_carries": 0.6032,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.444,
                "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.299,
                "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 84.0)",
              "stats": {
                "interceptions": 0.2111,
                "tackles": 0.3318,
                "tackles_won": 0.196,
                "clearances": 0.377,
                "aerial_won": 0.3167,
                "duels_won": 0.7842,
                "total_pass": 6.3337,
                "accurate_pass": 4.9765,
                "expected_goals": 0.0024,
                "rating": 6.8,
                "minutes": 13.57,
                "total_long_balls": 0.754,
                "accurate_long_balls": 0.4222,
                "total_own_half_passes": 4.0717,
                "accurate_own_half_passes": 3.1669,
                "total_opp_half_passes": 1.3572,
                "accurate_opp_half_passes": 0.9048,
                "crosses_total": 0.1206,
                "crosses_accurate": 0.0603,
                "touches": 8.7465,
                "possession_lost": 0.935,
                "dispossessed": 0.4,
                "duels_lost": 0.4976,
                "aerial_lost": 1.9,
                "total_contest": 0.558,
                "won_contest": 0.3167,
                "ball_recovery": 0.7088,
                "challenges_lost": 0.9,
                "fouls": 0.1357,
                "fouls_drawn": 0.0905,
                "blocks": 0.0905,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.006,
                "assists": 0,
                "expected_assists": 0.0068,
                "total_shots": 0.0483,
                "shots_on_target": 0.0211,
                "shots_off_target": 0.0271,
                "big_chances_created": 0.006,
                "xgot": 0.0018,
                "key_pass": 0.0754,
                "ball_carries": 2.8652,
                "total_progression": 8.4449,
                "progressive_carries": 0.6032,
                "bench_appearance_probability": 0.299,
                "bench_expected_minutes": 13.57,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.444,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "available_bench_not_projected_used",
                "projected_goals": 0,
                "goal_probability": 0.0,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "fifa_overall": 84.0
              },
              "params": {
                "match_squad_rank": 8,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv_filled",
                "ranking_status": "combined",
                "global_player_rank": 327,
                "fifa_rank": 197.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 84.0
              }
            }
          ]
        },
        "Jens-Lys Cajuste": {
          "player_id": 857671,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 2,
          "height": 188,
          "market_value": 6600000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0099,
            "assist_rate": 0.0375,
            "assists": 0,
            "expected_goals": 0.0321,
            "goal_rate": 0.0828,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.6581,
            "minutes": 22,
            "total_pass": 6,
            "accurate_pass": 5,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 4,
            "accurate_own_half_passes": 4,
            "total_opp_half_passes": 2,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 10,
            "possession_lost": 1.4925,
            "dispossessed": 0.0,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "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": 1,
            "total_progression": 3,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.507,
            "bench_expected_minutes": 22.15,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.444,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0311,
            "projected_assists": 0,
            "assist_probability": 0.0098,
            "finishing_factor": 1.2481,
            "creation_factor": 1.25,
            "fifa_overall": 73.0
          },
          "latest_10_games": [
            {
              "match_id": 16421077,
              "match_date": "2026-10-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 9,
                "rating": 6.4,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1015,
                "expected_assists": 0.0,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 1,
                "total_pass": 2,
                "accurate_pass": 2,
                "tackles": 0,
                "tackles_won": 0,
                "interceptions": 0,
                "clearances": 1,
                "aerial_won": 0,
                "duels_won": 1,
                "ball_recovery": 0,
                "saves": 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": 16416320,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 9,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 5,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3806,
            "combined_rank_score": 1806.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 3437.0,
            "fifa_overall": 73.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6581,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jens-Lys Cajuste",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Bartłomiej Drągowski",
                  "ranking": 3801
                },
                {
                  "player_name": "Eliesse Ben Seghir",
                  "ranking": 3802
                },
                {
                  "player_name": "Roony Bardghji",
                  "ranking": 3803
                },
                {
                  "player_name": "Nilson Angulo",
                  "ranking": 3804
                },
                {
                  "player_name": "James McAtee",
                  "ranking": 3805
                }
              ],
              "lower": [
                {
                  "player_name": "Yáser Asprilla",
                  "ranking": 3807
                },
                {
                  "player_name": "Stephen Eustaquio",
                  "ranking": 3808
                },
                {
                  "player_name": "Darío Osorio",
                  "ranking": 3809
                },
                {
                  "player_name": "Josh Sargent",
                  "ranking": 3810
                },
                {
                  "player_name": "Haris Hajradinović",
                  "ranking": 3811
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.375,
          "history_matches": 2,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "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": 2,
            "data_confidence": 0.375,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 22.147767132293673,
            "bench_appearance_prob": 0.5067166878315306,
            "market_value_adjustment": 0.995,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (2 historical appearances) to 22.1 expected mins (appearance prob 0.51)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.2294,
                "expected_assists": 0.0117,
                "assists": 0.0251,
                "assist_rate": 0.0251,
                "expected_goals": 0.0378,
                "goals": 0.0555,
                "goal_rate": 0.0555,
                "shots_on_target": 0.1072,
                "total_shots": 0.2878,
                "rating": 6.6581,
                "minutes": 14.0,
                "total_pass": 3.8378,
                "accurate_pass": 3.3783,
                "duels_won": 1.0,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 2.4595,
                "accurate_own_half_passes": 2.4595,
                "total_opp_half_passes": 1.3784,
                "accurate_opp_half_passes": 0.9189,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 6.4595,
                "possession_lost": 1.0,
                "dispossessed": 0.0,
                "duels_lost": 0.5405,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.4595,
                "tackles": 0.4595,
                "clearances": 0.5405,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5405,
                "fouls": 0.0,
                "fouls_drawn": 0.5405,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 0.9189,
                "total_progression": 1.9352,
                "progressive_carries": 0.0,
                "shots_off_target": 0.1806
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-31T10:30:21.314387+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 902,
                    "rows": 24945
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-23",
                    "opponent": "Deportivo Alavés",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.5405,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Levante UD",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.4595,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.5405,
                  "expectedGoals": 0.0549,
                  "creative_index": 0.0001,
                  "expectedAssists": 0.0002,
                  "keyPass": 0.0
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.2293758988380432,
                    "model_output": 0.2294,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1583
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1351
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0716
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0542
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.028
                      }
                    ],
                    "decomposition": {
                      "base": 0.8899,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4333
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0544
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0463
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0325
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0265
                        }
                      ],
                      "others": -0.0675,
                      "total": 0.2294,
                      "log_link": true,
                      "margin_base": -0.11669,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.667247
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.126771
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.122277
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.095661
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.085309
                        }
                      ],
                      "others_margin": -0.258438
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.011693207547068596,
                    "model_output": 0.0117,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1213
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1076
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0864
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0618
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0476
                      }
                    ],
                    "decomposition": {
                      "base": 0.085,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0419
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0119
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0073
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0044
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.002
                        }
                      ],
                      "others": -0.0058,
                      "total": 0.0117,
                      "log_link": true,
                      "margin_base": -2.465163,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.679331
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.32285
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.264481
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.201233
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.106667
                        }
                      ],
                      "others_margin": -0.409021
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.025096368044614792,
                    "model_output": 0.0251,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0508
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0336
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0324
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0241
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.011
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0084
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0064
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0031
                        }
                      ],
                      "others": -0.007,
                      "total": 0.0251,
                      "log_link": true,
                      "margin_base": -2.463734,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.332777
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.19965
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.183461
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.168388
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.091948
                        }
                      ],
                      "others_margin": -0.245074
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.037802234292030334,
                    "model_output": 0.0378,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1242
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0778
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0743
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0437
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0241
                      }
                    ],
                    "decomposition": {
                      "base": 0.0911,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0369
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0064
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0062
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.006
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0037
                        }
                      ],
                      "others": -0.0065,
                      "total": 0.0378,
                      "log_link": true,
                      "margin_base": -2.395469,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.518186
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.125039
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.121106
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.117122
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.080687
                        }
                      ],
                      "others_margin": -0.159989
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.055493440479040146,
                    "model_output": 0.0555,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0846
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0655
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0399
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0358
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.0947,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0296
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0093
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.005
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0047
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0044
                        }
                      ],
                      "others": -0.0144,
                      "total": 0.0555,
                      "log_link": true,
                      "margin_base": -2.357331,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.374238
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.153559
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.085626
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.074776
                        },
                        {
                          "name": "totalProgression",
                          "margin": 0.065441
                        }
                      ],
                      "others_margin": -0.232205
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.10715046525001526,
                    "model_output": 0.1072,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1146
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0928
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0753
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0297
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.3177,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1213
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0432
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0284
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0131
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0087
                        }
                      ],
                      "others": -0.0394,
                      "total": 0.1072,
                      "log_link": true,
                      "margin_base": -1.146731,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.480859
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.248433
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.204697
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.099999
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.061291
                        }
                      ],
                      "others_margin": -0.31409
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.28777652978897095,
                    "model_output": 0.2878,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1488
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1213
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0446
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0276
                      }
                    ],
                    "decomposition": {
                      "base": 0.9817,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3601
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.2003
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0504
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0269
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0257
                        }
                      ],
                      "others": -0.0305,
                      "total": 0.2878,
                      "log_link": false,
                      "margin_base": 0.98173,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.360071
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.200295
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.050366
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.02689
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.025734
                        }
                      ],
                      "others_margin": -0.030599
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.658108711242676,
                    "model_output": 6.6581,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.102
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0743
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0503
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0382
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.06
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0574
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0311
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0109
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0093
                        }
                      ],
                      "others": -0.0292,
                      "total": 6.6581,
                      "log_link": false,
                      "margin_base": 6.856008,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.060011
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.05741
                        },
                        {
                          "name": "rating",
                          "margin": -0.031129
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.010946
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.009336
                        }
                      ],
                      "others_margin": -0.029068
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "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.9950, quality 0.482)",
              "stats": {
                "key_pass": 0.2282,
                "expected_assists": 0.0116,
                "assists": 0.025,
                "assist_rate": 0.025,
                "expected_goals": 0.0376,
                "goals": 0.0552,
                "goal_rate": 0.0552,
                "shots_on_target": 0.1066,
                "total_shots": 0.2863,
                "rating": 6.6581,
                "minutes": 14.0,
                "total_pass": 3.8186,
                "accurate_pass": 3.3614,
                "duels_won": 0.995,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 2.4472,
                "accurate_own_half_passes": 2.4472,
                "total_opp_half_passes": 1.3715,
                "accurate_opp_half_passes": 0.9143,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 6.4272,
                "possession_lost": 0.995,
                "dispossessed": 0.0,
                "duels_lost": 0.5378,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.4572,
                "tackles": 0.4572,
                "clearances": 0.5378,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5378,
                "fouls": 0.0,
                "fouls_drawn": 0.5378,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 0.9143,
                "total_progression": 1.9255,
                "progressive_carries": 0.0,
                "shots_off_target": 0.1797
              },
              "params": {
                "market_value_eur": 6600000,
                "quality_factor": 0.4818,
                "boost_factor": 0.995,
                "reference_quality": 0.505,
                "history_matches": 2,
                "history_shrink": 0.7143,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 14.0 to 22.1 expected minutes (appearance prob 0.51)",
              "stats": {
                "key_pass": 0.3423,
                "expected_assists": 0.0174,
                "assists": 0.0375,
                "assist_rate": 0.0375,
                "expected_goals": 0.0564,
                "goals": 0.0828,
                "goal_rate": 0.0828,
                "shots_on_target": 0.1599,
                "total_shots": 0.4295,
                "rating": 6.6581,
                "minutes": 22.15,
                "total_pass": 5.7279,
                "accurate_pass": 5.0421,
                "duels_won": 1.4925,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 3.6708,
                "accurate_own_half_passes": 3.6708,
                "total_opp_half_passes": 2.0572,
                "accurate_opp_half_passes": 1.3715,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 9.6408,
                "possession_lost": 1.4925,
                "dispossessed": 0.0,
                "duels_lost": 0.8067,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.6858,
                "tackles": 0.6858,
                "clearances": 0.8067,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5378,
                "fouls": 0.0,
                "fouls_drawn": 0.8067,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.3715,
                "total_progression": 2.8883,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2696,
                "bench_appearance_probability": 0.507,
                "bench_expected_minutes": 22.15
              },
              "params": {
                "expected_minutes": 22.15,
                "projection_minutes": 14.0,
                "minutes_scale": 1.5,
                "appearance_probability": 0.507
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.3423,
                "expected_assists": 0.0174,
                "assists": 0.0375,
                "assist_rate": 0.0375,
                "expected_goals": 0.0564,
                "goals": 0.0828,
                "goal_rate": 0.0828,
                "shots_on_target": 0.1599,
                "total_shots": 0.4295,
                "rating": 6.6581,
                "minutes": 22.15,
                "total_pass": 5.7279,
                "accurate_pass": 5.0421,
                "duels_won": 1.4925,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 3.6708,
                "accurate_own_half_passes": 3.6708,
                "total_opp_half_passes": 2.0572,
                "accurate_opp_half_passes": 1.3715,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 9.6408,
                "possession_lost": 1.4925,
                "dispossessed": 0.0,
                "duels_lost": 0.8067,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.6858,
                "tackles": 0.6858,
                "clearances": 0.8067,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5378,
                "fouls": 0.0,
                "fouls_drawn": 0.8067,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.3715,
                "total_progression": 2.8883,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2696,
                "bench_appearance_probability": 0.507,
                "bench_expected_minutes": 22.15
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.3423,
                "expected_assists": 0.0174,
                "assist_rate": 0.0375,
                "assists": 0,
                "expected_goals": 0.0564,
                "goal_rate": 0.0828,
                "goals": 0,
                "shots_on_target": 0.1599,
                "total_shots": 0.4295,
                "rating": 6.6581,
                "minutes": 22.15,
                "total_pass": 5.7279,
                "accurate_pass": 5.0421,
                "duels_won": 1.4925,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 3.6708,
                "accurate_own_half_passes": 3.6708,
                "total_opp_half_passes": 2.0572,
                "accurate_opp_half_passes": 1.3715,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 9.6408,
                "possession_lost": 1.4925,
                "dispossessed": 0.0,
                "duels_lost": 0.8067,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.6858,
                "tackles": 0.6858,
                "clearances": 0.8067,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5378,
                "fouls": 0.0,
                "fouls_drawn": 0.8067,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.3715,
                "total_progression": 2.8883,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2696,
                "bench_appearance_probability": 0.507,
                "bench_expected_minutes": 22.15,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.444,
                "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": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.83 (squad xG sum 0.7402, xG scale 1.1227, xA scale 1.1227, team xA 0.66 = 0.79 x lambda)",
              "stats": {
                "key_pass": 0.3423,
                "expected_assists": 0.0099,
                "assist_rate": 0.0375,
                "assists": 0,
                "expected_goals": 0.0321,
                "goal_rate": 0.0828,
                "goals": 0,
                "shots_on_target": 0.1599,
                "total_shots": 0.4295,
                "rating": 6.6581,
                "minutes": 22.15,
                "total_pass": 5.7279,
                "accurate_pass": 5.0421,
                "duels_won": 1.4925,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 3.6708,
                "accurate_own_half_passes": 3.6708,
                "total_opp_half_passes": 2.0572,
                "accurate_opp_half_passes": 1.3715,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 9.6408,
                "possession_lost": 1.4925,
                "dispossessed": 0.0,
                "duels_lost": 0.8067,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.6858,
                "tackles": 0.6858,
                "clearances": 0.8067,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5378,
                "fouls": 0.0,
                "fouls_drawn": 0.8067,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.3715,
                "total_progression": 2.8883,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2696,
                "bench_appearance_probability": 0.507,
                "bench_expected_minutes": 22.15,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.444,
                "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.2481,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 0.831,
                "squad_xg_sum": 0.7402,
                "squad_xa_sum": 0.5844,
                "team_expected_assists": 0.6561,
                "team_xa_to_xg_ratio": 0.7895,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1227,
                "xa_scale": 1.1227,
                "opponent_lambda": 2.153,
                "scoreline_reset": true,
                "appearance_weight": 0.507
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0564,
                  "after": 0.0321
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0174,
                  "after": 0.0099
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 16 by projected rating, fifa_overall 73.0)",
              "stats": {
                "key_pass": 0.3423,
                "expected_assists": 0.0099,
                "assist_rate": 0.0375,
                "assists": 0,
                "expected_goals": 0.0321,
                "goal_rate": 0.0828,
                "goals": 0,
                "shots_on_target": 0.1599,
                "total_shots": 0.4295,
                "rating": 6.6581,
                "minutes": 22.15,
                "total_pass": 5.7279,
                "accurate_pass": 5.0421,
                "duels_won": 1.4925,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 3.6708,
                "accurate_own_half_passes": 3.6708,
                "total_opp_half_passes": 2.0572,
                "accurate_opp_half_passes": 1.3715,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 9.6408,
                "possession_lost": 1.4925,
                "dispossessed": 0.0,
                "duels_lost": 0.8067,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.6858,
                "tackles": 0.6858,
                "clearances": 0.8067,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5378,
                "fouls": 0.0,
                "fouls_drawn": 0.8067,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.3715,
                "total_progression": 2.8883,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2696,
                "bench_appearance_probability": 0.507,
                "bench_expected_minutes": 22.15,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.444,
                "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.2481,
                "creation_factor": 1.25,
                "fifa_overall": 73.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": 3806,
                "fifa_rank": 3437.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 73.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 0.3423,
                "expected_assists": 0.0099,
                "assist_rate": 0.0375,
                "assists": 0,
                "expected_goals": 0.0321,
                "goal_rate": 0.0828,
                "goals": 0,
                "shots_on_target": 0.1599,
                "total_shots": 0.4295,
                "rating": 6.6581,
                "minutes": 22.15,
                "total_pass": 5.7279,
                "accurate_pass": 5.0421,
                "duels_won": 1.4925,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 3.6708,
                "accurate_own_half_passes": 3.6708,
                "total_opp_half_passes": 2.0572,
                "accurate_opp_half_passes": 1.3715,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 9.6408,
                "possession_lost": 1.4925,
                "dispossessed": 0.0,
                "duels_lost": 0.8067,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.6858,
                "tackles": 0.6858,
                "clearances": 0.8067,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5378,
                "fouls": 0.0,
                "fouls_drawn": 0.8067,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.3715,
                "total_progression": 2.8883,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2696,
                "bench_appearance_probability": 0.507,
                "bench_expected_minutes": 22.15,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.444,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0311,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2481,
                "creation_factor": 1.25,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0311,
                "goal_rate": 0.0828,
                "scorer_weight": 0.0401,
                "squad_weight_total": 0.8662,
                "weight_share": 0.0463,
                "finishing_factor": 1.2481,
                "appearance_weight": 0.507,
                "weight_rank": 8,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 0.3423,
                "expected_assists": 0.0099,
                "assist_rate": 0.0375,
                "assists": 0,
                "expected_goals": 0.0321,
                "goal_rate": 0.0828,
                "goals": 0,
                "shots_on_target": 0.1599,
                "total_shots": 0.4295,
                "rating": 6.6581,
                "minutes": 22.15,
                "total_pass": 5.7279,
                "accurate_pass": 5.0421,
                "duels_won": 1.4925,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 3.6708,
                "accurate_own_half_passes": 3.6708,
                "total_opp_half_passes": 2.0572,
                "accurate_opp_half_passes": 1.3715,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 9.6408,
                "possession_lost": 1.4925,
                "dispossessed": 0.0,
                "duels_lost": 0.8067,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.6858,
                "tackles": 0.6858,
                "clearances": 0.8067,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5378,
                "fouls": 0.0,
                "fouls_drawn": 0.8067,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.3715,
                "total_progression": 2.8883,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2696,
                "bench_appearance_probability": 0.507,
                "bench_expected_minutes": 22.15,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.444,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0311,
                "projected_assists": 0,
                "assist_probability": 0.0098,
                "finishing_factor": 1.2481,
                "creation_factor": 1.25,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0098,
                "assist_rate": 0.0375,
                "provider_weight": 0.0124,
                "squad_weight_total": 0.5932,
                "weight_share": 0.0209,
                "creation_factor": 1.25,
                "appearance_weight": 0.507,
                "weight_rank": 11,
                "eligible_players": 13
              }
            }
          ]
        },
        "Izan Merino": {
          "player_id": 1493488,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 23,
          "height": 186,
          "market_value": 4800000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0188,
            "assist_rate": 0.0319,
            "assists": 0,
            "expected_goals": 0.0167,
            "goal_rate": 0.0322,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.7051,
            "minutes": 22,
            "total_pass": 36,
            "accurate_pass": 33,
            "duels_won": 0,
            "total_long_balls": 4,
            "accurate_long_balls": 2,
            "total_own_half_passes": 21,
            "accurate_own_half_passes": 20,
            "total_opp_half_passes": 15,
            "accurate_opp_half_passes": 13,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 40,
            "possession_lost": 3.547,
            "dispossessed": 0.0,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 1,
            "total_contest": 0,
            "won_contest": 0,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0,
            "ball_carries": 10,
            "total_progression": 29,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.503,
            "bench_expected_minutes": 22.06,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.444,
            "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": 70.0
          },
          "latest_10_games": [
            {
              "match_id": 16421073,
              "match_date": "2026-10-18",
              "home_team": "Málaga CF",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 45,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0051,
                "total_shots": 0,
                "total_pass": 31,
                "accurate_pass": 27,
                "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": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 16,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.007,
                "total_shots": 0,
                "total_pass": 14,
                "accurate_pass": 14,
                "clearances": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 61,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 18,
                "clearances": 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": 16416347,
              "match_date": "2026-09-13",
              "home_team": "Celta Vigo",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 67,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0197,
                "total_shots": 0,
                "total_pass": 54,
                "accurate_pass": 52,
                "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": 16416320,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 31,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0122,
                "total_shots": 0,
                "total_pass": 20,
                "accurate_pass": 20,
                "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": 16416312,
              "match_date": "2026-08-30",
              "home_team": "Real Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 87,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0277,
                "total_shots": 0,
                "total_pass": 54,
                "accurate_pass": 48,
                "key_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "interceptions": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416307,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 85,
                "rating": 6.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0472,
                "expected_assists": 0.0427,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 71,
                "accurate_pass": 68,
                "key_pass": 1,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421055,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0109,
                "total_shots": 0,
                "total_pass": 47,
                "accurate_pass": 43,
                "tackles": 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"
            }
          ],
          "ranking": {
            "global_player_rank": 5154,
            "combined_rank_score": 3350.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 784.0,
            "sofascore_rating": 6.6333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 5916.0,
            "fifa_overall": 70.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 13,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.7051,
            "source_file": "data/player_rankings.csv",
            "player_name": "Izan Merino",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jean-Philippe Krasso",
                  "ranking": 5149
                },
                {
                  "player_name": "Abdallah Sima",
                  "ranking": 5150
                },
                {
                  "player_name": "Bryan Okoh",
                  "ranking": 5151
                },
                {
                  "player_name": "Lamine Sy",
                  "ranking": 5152
                },
                {
                  "player_name": "Santiago Hidalgo",
                  "ranking": 5153
                }
              ],
              "lower": [
                {
                  "player_name": "Louis Mouton",
                  "ranking": 5155
                },
                {
                  "player_name": "Yassin Belkhdim",
                  "ranking": 5156
                },
                {
                  "player_name": "Erik Janža",
                  "ranking": 5157
                },
                {
                  "player_name": "Fernando Cornejo",
                  "ranking": 5158
                },
                {
                  "player_name": "Jacques Ekomié",
                  "ranking": 5159
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "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.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 22.060466051098082,
            "bench_appearance_prob": 0.5027484568680947,
            "market_value_adjustment": 0.9948,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (8 historical appearances) to 22.1 expected mins (appearance prob 0.50)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.3008,
                "expected_assists": 0.018,
                "assists": 0.0305,
                "assist_rate": 0.0305,
                "expected_goals": 0.016,
                "goals": 0.0307,
                "goal_rate": 0.0307,
                "shots_on_target": 0.062,
                "total_shots": 0.1922,
                "rating": 6.7051,
                "minutes": 20.95,
                "total_pass": 34.3826,
                "accurate_pass": 31.9601,
                "duels_won": 0.4696,
                "total_long_balls": 3.3841,
                "accurate_long_balls": 2.1748,
                "total_own_half_passes": 20.0511,
                "accurate_own_half_passes": 19.3742,
                "total_opp_half_passes": 14.3315,
                "accurate_opp_half_passes": 12.5859,
                "crosses_total": 0.1753,
                "crosses_accurate": 0.0,
                "touches": 38.0192,
                "possession_lost": 3.3861,
                "dispossessed": 0.0,
                "duels_lost": 1.2868,
                "aerial_won": 0.0,
                "aerial_lost": 0.0778,
                "interceptions": 0.2237,
                "tackles_won": 0.2769,
                "tackles": 0.343,
                "clearances": 1.3453,
                "total_contest": 0.149,
                "won_contest": 0.0,
                "challenges_lost": 0.4576,
                "fouls": 0.6024,
                "fouls_drawn": 0.1266,
                "blocks": 0.0661,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 9.1314,
                "total_progression": 27.3452,
                "progressive_carries": 0.2667,
                "shots_off_target": 0.1302
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-31T10:30:21.314387+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 902,
                    "rows": 24945
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Real Sociedad",
                    "minutes": 45.0,
                    "is_starting": true,
                    "weight": 0.2062,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Espanyol",
                    "minutes": 16.0,
                    "is_starting": false,
                    "weight": 0.1753,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Villarreal",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.149,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Celta Vigo",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.1266,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Levante UD",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.1076,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Real Madrid",
                    "minutes": 87.0,
                    "is_starting": true,
                    "weight": 0.0915,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 85.0,
                    "is_starting": true,
                    "weight": 0.0778,
                    "rating": 6.9
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0661,
                    "rating": 6.6
                  }
                ],
                "feature_row": {
                  "history_matches": 8.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.0778,
                  "expectedGoals": 0.0037,
                  "creative_index": 0.1119,
                  "expectedAssists": 0.0128,
                  "keyPass": 0.2607
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.30083614587783813,
                    "model_output": 0.3008,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1583
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1351
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0716
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0542
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.028
                      }
                    ],
                    "decomposition": {
                      "base": 0.8899,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3913
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0632
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.055
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0347
                        },
                        {
                          "name": "keyPass_p90",
                          "contribution": -0.017
                        }
                      ],
                      "others": -0.0279,
                      "total": 0.3008,
                      "log_link": true,
                      "margin_base": -0.11669,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.579248
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.135487
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.13514
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.095525
                        },
                        {
                          "name": "keyPass_p90",
                          "margin": -0.050433
                        }
                      ],
                      "others_margin": -0.088667
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.018014466390013695,
                    "model_output": 0.018,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1213
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1076
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0864
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0618
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0476
                      }
                    ],
                    "decomposition": {
                      "base": 0.085,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0355
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0102
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.007
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0053
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.002
                        }
                      ],
                      "others": -0.007,
                      "total": 0.018,
                      "log_link": true,
                      "margin_base": -2.465163,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.540759
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.231964
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.195626
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.181085
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.07755
                        }
                      ],
                      "others_margin": -0.324433
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.030502770096063614,
                    "model_output": 0.0305,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0508
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0336
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0324
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0222
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0105
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0074
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0044
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0037
                        }
                      ],
                      "others": -0.0064,
                      "total": 0.0305,
                      "log_link": true,
                      "margin_base": -2.463734,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.302536
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.182092
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.151981
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.103685
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.094377
                        }
                      ],
                      "others_margin": -0.191533
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.015991967171430588,
                    "model_output": 0.016,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1242
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0778
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0743
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0437
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0241
                      }
                    ],
                    "decomposition": {
                      "base": 0.0911,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0401
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0176
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0076
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0025
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0014
                        }
                      ],
                      "others": -0.0059,
                      "total": 0.016,
                      "log_link": true,
                      "margin_base": -2.395469,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.579178
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.421567
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.258896
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.10331
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.061901
                        }
                      ],
                      "others_margin": -0.315349
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.03071080520749092,
                    "model_output": 0.0307,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0846
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0655
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0399
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0358
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.0947,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0358
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.011
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0076
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.003
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0025
                        }
                      ],
                      "others": -0.0041,
                      "total": 0.0307,
                      "log_link": true,
                      "margin_base": -2.357331,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.47546
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.20765
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.174239
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.076752
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.07055
                        }
                      ],
                      "others_margin": -0.121158
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.06197462975978851,
                    "model_output": 0.062,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1146
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0928
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0753
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0297
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.3177,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1404
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0518
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0217
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.017
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0048
                        }
                      ],
                      "others": -0.0296,
                      "total": 0.062,
                      "log_link": true,
                      "margin_base": -1.146731,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.583398
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.345316
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.190025
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.178449
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.053286
                        }
                      ],
                      "others_margin": -0.390396
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.19216471910476685,
                    "model_output": 0.1922,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1488
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1213
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0446
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0276
                      }
                    ],
                    "decomposition": {
                      "base": 0.9817,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3072
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.2349
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0435
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0374
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0322
                        }
                      ],
                      "others": -0.1343,
                      "total": 0.1922,
                      "log_link": false,
                      "margin_base": 0.98173,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.307177
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.234904
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.043524
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.037416
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.032216
                        }
                      ],
                      "others_margin": -0.134329
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.705125331878662,
                    "model_output": 6.7051,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.102
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0743
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0503
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0382
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0847
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0345
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": 0.0196
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0186
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0124
                        }
                      ],
                      "others": -0.0203,
                      "total": 6.7051,
                      "log_link": false,
                      "margin_base": 6.856008,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.084684
                        },
                        {
                          "name": "rating",
                          "margin": -0.034456
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": 0.019558
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.018596
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.012369
                        }
                      ],
                      "others_margin": -0.020338
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 8,
                  "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.9948, quality 0.460)",
              "stats": {
                "key_pass": 0.2993,
                "expected_assists": 0.0179,
                "assists": 0.0303,
                "assist_rate": 0.0303,
                "expected_goals": 0.0159,
                "goals": 0.0306,
                "goal_rate": 0.0306,
                "shots_on_target": 0.0617,
                "total_shots": 0.1912,
                "rating": 6.7051,
                "minutes": 20.95,
                "total_pass": 34.2038,
                "accurate_pass": 31.7939,
                "duels_won": 0.4672,
                "total_long_balls": 3.3665,
                "accurate_long_balls": 2.1635,
                "total_own_half_passes": 19.9468,
                "accurate_own_half_passes": 19.2735,
                "total_opp_half_passes": 14.257,
                "accurate_opp_half_passes": 12.5205,
                "crosses_total": 0.1744,
                "crosses_accurate": 0.0,
                "touches": 37.8215,
                "possession_lost": 3.3685,
                "dispossessed": 0.0,
                "duels_lost": 1.2801,
                "aerial_won": 0.0,
                "aerial_lost": 0.0774,
                "interceptions": 0.2225,
                "tackles_won": 0.2755,
                "tackles": 0.3412,
                "clearances": 1.3383,
                "total_contest": 0.1482,
                "won_contest": 0.0,
                "challenges_lost": 0.4552,
                "fouls": 0.5993,
                "fouls_drawn": 0.1259,
                "blocks": 0.0658,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 9.0839,
                "total_progression": 27.203,
                "progressive_carries": 0.2653,
                "shots_off_target": 0.1295
              },
              "params": {
                "market_value_eur": 4800000,
                "quality_factor": 0.4597,
                "boost_factor": 0.9948,
                "reference_quality": 0.505,
                "history_matches": 8,
                "history_shrink": 0.3846,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 20.9 to 22.1 expected minutes (appearance prob 0.50)",
              "stats": {
                "key_pass": 0.3152,
                "expected_assists": 0.0188,
                "assists": 0.0319,
                "assist_rate": 0.0319,
                "expected_goals": 0.0167,
                "goals": 0.0322,
                "goal_rate": 0.0322,
                "shots_on_target": 0.065,
                "total_shots": 0.2014,
                "rating": 6.7051,
                "minutes": 22.06,
                "total_pass": 36.0168,
                "accurate_pass": 33.4792,
                "duels_won": 0.492,
                "total_long_balls": 3.5449,
                "accurate_long_balls": 2.2782,
                "total_own_half_passes": 21.0041,
                "accurate_own_half_passes": 20.2951,
                "total_opp_half_passes": 15.0127,
                "accurate_opp_half_passes": 13.1842,
                "crosses_total": 0.1836,
                "crosses_accurate": 0.0,
                "touches": 39.8262,
                "possession_lost": 3.547,
                "dispossessed": 0.0,
                "duels_lost": 1.348,
                "aerial_won": 0.0,
                "aerial_lost": 0.0774,
                "interceptions": 0.2343,
                "tackles_won": 0.2901,
                "tackles": 0.3593,
                "clearances": 1.4092,
                "total_contest": 0.1561,
                "won_contest": 0.0,
                "challenges_lost": 0.4552,
                "fouls": 0.6311,
                "fouls_drawn": 0.1326,
                "blocks": 0.0693,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 9.5654,
                "total_progression": 28.6449,
                "progressive_carries": 0.2794,
                "shots_off_target": 0.1364,
                "bench_appearance_probability": 0.503,
                "bench_expected_minutes": 22.06
              },
              "params": {
                "expected_minutes": 22.06,
                "projection_minutes": 20.95,
                "minutes_scale": 1.053,
                "appearance_probability": 0.503
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.3152,
                "expected_assists": 0.0188,
                "assists": 0.0319,
                "assist_rate": 0.0319,
                "expected_goals": 0.0167,
                "goals": 0.0322,
                "goal_rate": 0.0322,
                "shots_on_target": 0.065,
                "total_shots": 0.2014,
                "rating": 6.7051,
                "minutes": 22.06,
                "total_pass": 36.0168,
                "accurate_pass": 33.4792,
                "duels_won": 0.492,
                "total_long_balls": 3.5449,
                "accurate_long_balls": 2.2782,
                "total_own_half_passes": 21.0041,
                "accurate_own_half_passes": 20.2951,
                "total_opp_half_passes": 15.0127,
                "accurate_opp_half_passes": 13.1842,
                "crosses_total": 0.1836,
                "crosses_accurate": 0.0,
                "touches": 39.8262,
                "possession_lost": 3.547,
                "dispossessed": 0.0,
                "duels_lost": 1.348,
                "aerial_won": 0.0,
                "aerial_lost": 0.0774,
                "interceptions": 0.2343,
                "tackles_won": 0.2901,
                "tackles": 0.3593,
                "clearances": 1.4092,
                "total_contest": 0.1561,
                "won_contest": 0.0,
                "challenges_lost": 0.4552,
                "fouls": 0.6311,
                "fouls_drawn": 0.1326,
                "blocks": 0.0693,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 9.5654,
                "total_progression": 28.6449,
                "progressive_carries": 0.2794,
                "shots_off_target": 0.1364,
                "bench_appearance_probability": 0.503,
                "bench_expected_minutes": 22.06
              },
              "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.3152,
                "expected_assists": 0.0188,
                "assist_rate": 0.0319,
                "assists": 0,
                "expected_goals": 0.0167,
                "goal_rate": 0.0322,
                "goals": 0,
                "shots_on_target": 0.065,
                "total_shots": 0.2014,
                "rating": 6.7051,
                "minutes": 22.06,
                "total_pass": 36.0168,
                "accurate_pass": 33.4792,
                "duels_won": 0.492,
                "total_long_balls": 3.5449,
                "accurate_long_balls": 2.2782,
                "total_own_half_passes": 21.0041,
                "accurate_own_half_passes": 20.2951,
                "total_opp_half_passes": 15.0127,
                "accurate_opp_half_passes": 13.1842,
                "crosses_total": 0.1836,
                "crosses_accurate": 0.0,
                "touches": 39.8262,
                "possession_lost": 3.547,
                "dispossessed": 0.0,
                "duels_lost": 1.348,
                "aerial_won": 0.0,
                "aerial_lost": 0.0774,
                "interceptions": 0.2343,
                "tackles_won": 0.2901,
                "tackles": 0.3593,
                "clearances": 1.4092,
                "total_contest": 0.1561,
                "won_contest": 0.0,
                "challenges_lost": 0.4552,
                "fouls": 0.6311,
                "fouls_drawn": 0.1326,
                "blocks": 0.0693,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 9.5654,
                "total_progression": 28.6449,
                "progressive_carries": 0.2794,
                "shots_off_target": 0.1364,
                "bench_appearance_probability": 0.503,
                "bench_expected_minutes": 22.06,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.444,
                "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.503,
                "projected_substitutes": 3,
                "scoreline_reset": true
              }
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 13 by projected rating, fifa_overall 70.0)",
              "stats": {
                "key_pass": 0.3152,
                "expected_assists": 0.0188,
                "assist_rate": 0.0319,
                "assists": 0,
                "expected_goals": 0.0167,
                "goal_rate": 0.0322,
                "goals": 0,
                "shots_on_target": 0.065,
                "total_shots": 0.2014,
                "rating": 6.7051,
                "minutes": 22.06,
                "total_pass": 36.0168,
                "accurate_pass": 33.4792,
                "duels_won": 0.492,
                "total_long_balls": 3.5449,
                "accurate_long_balls": 2.2782,
                "total_own_half_passes": 21.0041,
                "accurate_own_half_passes": 20.2951,
                "total_opp_half_passes": 15.0127,
                "accurate_opp_half_passes": 13.1842,
                "crosses_total": 0.1836,
                "crosses_accurate": 0.0,
                "touches": 39.8262,
                "possession_lost": 3.547,
                "dispossessed": 0.0,
                "duels_lost": 1.348,
                "aerial_won": 0.0,
                "aerial_lost": 0.0774,
                "interceptions": 0.2343,
                "tackles_won": 0.2901,
                "tackles": 0.3593,
                "clearances": 1.4092,
                "total_contest": 0.1561,
                "won_contest": 0.0,
                "challenges_lost": 0.4552,
                "fouls": 0.6311,
                "fouls_drawn": 0.1326,
                "blocks": 0.0693,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 9.5654,
                "total_progression": 28.6449,
                "progressive_carries": 0.2794,
                "shots_off_target": 0.1364,
                "bench_appearance_probability": 0.503,
                "bench_expected_minutes": 22.06,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.444,
                "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": 70.0
              },
              "params": {
                "match_squad_rank": 13,
                "squad_role": "substitute",
                "squad_rank_basis": "projected_rating",
                "affects_projection": false,
                "ranking_source": "sofascore_plus_fifa_csv",
                "ranking_status": "combined",
                "global_player_rank": 5154,
                "fifa_rank": 5916.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 70.0
              }
            }
          ]
        },
        "Chupete": {
          "player_id": 1913386,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 9,
          "height": 185,
          "market_value": 10700000,
          "stats": {
            "expected_goals": 0.0998,
            "goal_rate": 0.1635,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.0188,
            "key_pass": 0,
            "rating": 6.6404,
            "minutes": 26,
            "total_pass": 17,
            "accurate_pass": 11,
            "duels_won": 4,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 12,
            "accurate_opp_half_passes": 7,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 30,
            "possession_lost": 10.3362,
            "dispossessed": 0.2101,
            "duels_lost": 5,
            "aerial_lost": 2,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1855,
            "offsides": 0,
            "ball_carries": 6,
            "total_progression": 12,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.576,
            "bench_expected_minutes": 25.66,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.444,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0916,
            "projected_assists": 0,
            "assist_probability": 0.0185,
            "finishing_factor": 1.0445,
            "creation_factor": 0.8,
            "fifa_overall": 80.0
          },
          "latest_10_games": [
            {
              "match_id": 16421077,
              "match_date": "2026-10-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 13,
                "rating": 6.8,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0333,
                "expected_assists": 0.1085,
                "total_shots": 1,
                "shots_on_target": 1,
                "shots_off_target": 0,
                "total_pass": 4,
                "accurate_pass": 4,
                "key_pass": 1,
                "tackles": 0,
                "tackles_won": 0,
                "interceptions": 0,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 0,
                "saves": 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": 16421073,
              "match_date": "2026-10-18",
              "home_team": "Málaga CF",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4529,
                "expected_assists": 0.0196,
                "total_shots": 5,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 20,
                "accurate_pass": 14,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0277,
                "expected_assists": 0.0099,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 15,
                "accurate_pass": 7,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416303,
              "match_date": "2026-09-20",
              "home_team": "Getafe",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Getafe",
              "stats": {
                "minutes": 23,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0231,
                "expected_assists": 0.0087,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 14,
                "accurate_pass": 9,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "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": 16416347,
              "match_date": "2026-09-13",
              "home_team": "Celta Vigo",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0838,
                "expected_assists": 0.0107,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 16,
                "accurate_pass": 7,
                "key_pass": 1,
                "interceptions": 1,
                "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": 16416320,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 5.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.9766,
                "expected_assists": 0.0189,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 14,
                "accurate_pass": 8,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416312,
              "match_date": "2026-08-30",
              "home_team": "Real Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2089,
                "expected_assists": 0.0182,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 20,
                "accurate_pass": 16,
                "key_pass": 2,
                "clearances": 2,
                "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": 16416307,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.6769,
                "expected_assists": 0.0102,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 14,
                "accurate_pass": 10,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 4,
                "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": 16421055,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 5.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0603,
                "expected_assists": 0.0553,
                "total_shots": 1,
                "total_pass": 18,
                "accurate_pass": 11,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 2054,
            "combined_rank_score": 783.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 784.0,
            "sofascore_rating": 6.6333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 783.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6404,
            "source_file": "data/player_rankings.csv",
            "player_name": "Chupete",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Liam Jessop",
                  "ranking": 2049
                },
                {
                  "player_name": "Tohirjon Ashuboyev",
                  "ranking": 2050
                },
                {
                  "player_name": "Javier Méndez",
                  "ranking": 2051
                },
                {
                  "player_name": "Facundo Marín",
                  "ranking": 2052
                },
                {
                  "player_name": "Lee Rim",
                  "ranking": 2053
                }
              ],
              "lower": [
                {
                  "player_name": "Miguelito",
                  "ranking": 2055
                },
                {
                  "player_name": "Francisco Herrera",
                  "ranking": 2056
                },
                {
                  "player_name": "Joon-mo Kang",
                  "ranking": 2057
                },
                {
                  "player_name": "Maks Juraj Čelić",
                  "ranking": 2058
                },
                {
                  "player_name": "Eligijus Jankauskas",
                  "ranking": 2059
                }
              ]
            }
          },
          "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.661368161578256,
            "bench_appearance_prob": 0.5755167346171934,
            "market_value_adjustment": 1.0026,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (10 historical appearances) to 25.7 expected mins (appearance prob 0.58)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1128,
                "goals": 0.1195,
                "goal_rate": 0.1195,
                "shots_on_target": 0.4894,
                "total_shots": 1.0706,
                "expected_assists": 0.0212,
                "key_pass": 0.3032,
                "rating": 6.6404,
                "minutes": 18.8,
                "total_pass": 12.6561,
                "accurate_pass": 8.1075,
                "duels_won": 2.8359,
                "total_long_balls": 0.5722,
                "accurate_long_balls": 0.3175,
                "total_opp_half_passes": 8.6314,
                "accurate_opp_half_passes": 5.0982,
                "crosses_total": 0.773,
                "crosses_accurate": 0.1868,
                "touches": 21.5633,
                "possession_lost": 7.5529,
                "dispossessed": 0.2096,
                "duels_lost": 3.7804,
                "aerial_lost": 1.5087,
                "total_contest": 0.8546,
                "won_contest": 0.195,
                "ball_recovery": 0.8836,
                "challenges_lost": 0.4945,
                "fouls": 0.9079,
                "fouls_drawn": 0.6895,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0829,
                "tackles_won": 0.4651,
                "tackles": 0.4651,
                "clearances": 0.9954,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3164,
                "xgot": 0.2096,
                "offsides": 0.415,
                "ball_carries": 4.2817,
                "total_progression": 9.0317,
                "progressive_carries": 0.5516,
                "shots_off_target": 0.5812
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:30:56.271646+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 610,
                    "rows": 17075
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-23",
                    "opponent": "Deportivo Alavés",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.1868,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1588,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1349,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Getafe",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.1147,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0975,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0829,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0704,
                    "rating": 5.7
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0599,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0509,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0433,
                    "rating": 5.9
                  }
                ],
                "feature_row": {
                  "history_matches": 10.0,
                  "is_starting_11": 0.0,
                  "accurateOppositionHalfPasses": 5.0982,
                  "expectedGoals": 0.2603,
                  "totalOppositionHalfPasses": 8.6314,
                  "accuratePass": 8.1075,
                  "totalShots": 2.0869
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1128055676817894,
                    "model_output": 0.1128,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0898
                      },
                      {
                        "name": "goals",
                        "importance": 0.0323
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0236
                      }
                    ],
                    "decomposition": {
                      "base": 0.1945,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0902
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0164
                        },
                        {
                          "name": "goals",
                          "contribution": -0.009
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0072
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0062
                        }
                      ],
                      "others": 0.0145,
                      "total": 0.1128,
                      "log_link": true,
                      "margin_base": -1.637486,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.623388
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.146261
                        },
                        {
                          "name": "goals",
                          "margin": -0.077093
                        },
                        {
                          "name": "rating",
                          "margin": -0.066976
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.061213
                        }
                      ],
                      "others_margin": 0.137806
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.11952386796474457,
                    "model_output": 0.1195,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.144
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0742
                      },
                      {
                        "name": "goals",
                        "importance": 0.053
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0896
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0169
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0168
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0071
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0064
                        }
                      ],
                      "others": 0.0107,
                      "total": 0.1195,
                      "log_link": true,
                      "margin_base": -1.614663,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.598881
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.143629
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.143042
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.066634
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.060404
                        }
                      ],
                      "others_margin": 0.094948
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.48937925696372986,
                    "model_output": 0.4894,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2115
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.066
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0499
                      },
                      {
                        "name": "goals",
                        "importance": 0.0473
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 0.5305,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1946
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0481
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0289
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0254
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.018
                        }
                      ],
                      "others": 0.0331,
                      "total": 0.4894,
                      "log_link": true,
                      "margin_base": -0.633985,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.457121
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.133965
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.072496
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.059761
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.040205
                        }
                      ],
                      "others_margin": 0.070061
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0705451965332031,
                    "model_output": 1.0705,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2934
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0662
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.05
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0272
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.027
                      }
                    ],
                    "decomposition": {
                      "base": 1.3805,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5844
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1787
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.066
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0441
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0421
                        }
                      ],
                      "others": 0.0277,
                      "total": 1.0705,
                      "log_link": false,
                      "margin_base": 1.38048,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.584374
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.178735
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.06597
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.044135
                        },
                        {
                          "name": "goals",
                          "margin": -0.04211
                        }
                      ],
                      "others_margin": 0.027711
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.02121216617524624,
                    "model_output": 0.0212,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1135
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0826
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0722
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0587
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0552
                      }
                    ],
                    "decomposition": {
                      "base": 0.0647,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0207
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0041
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0035
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0027
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0024
                        }
                      ],
                      "others": -0.0101,
                      "total": 0.0212,
                      "log_link": true,
                      "margin_base": -2.738275,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.385427
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.096582
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.090457
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.076967
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.072852
                        }
                      ],
                      "others_margin": -0.392621
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.3031921684741974,
                    "model_output": 0.3032,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1545
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.1071
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0923
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0893
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0298
                      }
                    ],
                    "decomposition": {
                      "base": 0.6939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.251
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0316
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0193
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0176
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0165
                        }
                      ],
                      "others": -0.0547,
                      "total": 0.3032,
                      "log_link": true,
                      "margin_base": -0.365451,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.448977
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.074054
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.048073
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.045871
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.045099
                        }
                      ],
                      "others_margin": -0.165863
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.640441417694092,
                    "model_output": 6.6404,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0529
                      },
                      {
                        "name": "rating",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.044
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0417
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0371
                      }
                    ],
                    "decomposition": {
                      "base": 6.7735,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0563
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0313
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0185
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0128
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0111
                        }
                      ],
                      "others": -0.0401,
                      "total": 6.6404,
                      "log_link": false,
                      "margin_base": 6.773504,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.05626
                        },
                        {
                          "name": "rating",
                          "margin": -0.031275
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.018457
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.012774
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.011148
                        }
                      ],
                      "others_margin": -0.040063
                    }
                  }
                ],
                "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 1.0026, quality 0.531)",
              "stats": {
                "expected_goals": 0.1131,
                "goals": 0.1198,
                "goal_rate": 0.1198,
                "shots_on_target": 0.4907,
                "total_shots": 1.0734,
                "expected_assists": 0.0213,
                "key_pass": 0.304,
                "rating": 6.6404,
                "minutes": 18.8,
                "total_pass": 12.689,
                "accurate_pass": 8.1286,
                "duels_won": 2.8433,
                "total_long_balls": 0.5737,
                "accurate_long_balls": 0.3183,
                "total_opp_half_passes": 8.6538,
                "accurate_opp_half_passes": 5.1115,
                "crosses_total": 0.775,
                "crosses_accurate": 0.1873,
                "touches": 21.6194,
                "possession_lost": 7.5725,
                "dispossessed": 0.2101,
                "duels_lost": 3.7902,
                "aerial_lost": 1.5126,
                "total_contest": 0.8568,
                "won_contest": 0.1955,
                "ball_recovery": 0.8859,
                "challenges_lost": 0.4958,
                "fouls": 0.9103,
                "fouls_drawn": 0.6913,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0831,
                "tackles_won": 0.4663,
                "tackles": 0.4663,
                "clearances": 0.998,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3172,
                "xgot": 0.2101,
                "offsides": 0.4161,
                "ball_carries": 4.2928,
                "total_progression": 9.0552,
                "progressive_carries": 0.553,
                "shots_off_target": 0.5827
              },
              "params": {
                "market_value_eur": 10700000,
                "quality_factor": 0.5306,
                "boost_factor": 1.0026,
                "reference_quality": 0.505,
                "history_matches": 10,
                "history_shrink": 0.3333,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 18.8 to 25.7 expected minutes (appearance prob 0.58)",
              "stats": {
                "expected_goals": 0.1544,
                "goals": 0.1635,
                "goal_rate": 0.1635,
                "shots_on_target": 0.6698,
                "total_shots": 1.4652,
                "expected_assists": 0.0291,
                "key_pass": 0.4149,
                "rating": 6.6404,
                "minutes": 25.66,
                "total_pass": 17.3201,
                "accurate_pass": 11.0953,
                "duels_won": 3.881,
                "total_long_balls": 0.7831,
                "accurate_long_balls": 0.4345,
                "total_opp_half_passes": 11.8121,
                "accurate_opp_half_passes": 6.977,
                "crosses_total": 1.0578,
                "crosses_accurate": 0.2557,
                "touches": 29.5098,
                "possession_lost": 10.3362,
                "dispossessed": 0.2101,
                "duels_lost": 5.1735,
                "aerial_lost": 1.5126,
                "total_contest": 1.1695,
                "won_contest": 0.2669,
                "ball_recovery": 1.2092,
                "challenges_lost": 0.4958,
                "fouls": 1.2425,
                "fouls_drawn": 0.9436,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1134,
                "tackles_won": 0.6365,
                "tackles": 0.6365,
                "clearances": 1.3622,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.433,
                "xgot": 0.2868,
                "offsides": 0.4161,
                "ball_carries": 5.8595,
                "total_progression": 12.36,
                "progressive_carries": 0.7548,
                "shots_off_target": 0.7954,
                "bench_appearance_probability": 0.576,
                "bench_expected_minutes": 25.66
              },
              "params": {
                "expected_minutes": 25.66,
                "projection_minutes": 18.8,
                "minutes_scale": 1.365,
                "appearance_probability": 0.576
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1544,
                "goals": 0.1635,
                "goal_rate": 0.1635,
                "shots_on_target": 0.6698,
                "total_shots": 1.4652,
                "expected_assists": 0.0291,
                "key_pass": 0.4149,
                "rating": 6.6404,
                "minutes": 25.66,
                "total_pass": 17.3201,
                "accurate_pass": 11.0953,
                "duels_won": 3.881,
                "total_long_balls": 0.7831,
                "accurate_long_balls": 0.4345,
                "total_opp_half_passes": 11.8121,
                "accurate_opp_half_passes": 6.977,
                "crosses_total": 1.0578,
                "crosses_accurate": 0.2557,
                "touches": 29.5098,
                "possession_lost": 10.3362,
                "dispossessed": 0.2101,
                "duels_lost": 5.1735,
                "aerial_lost": 1.5126,
                "total_contest": 1.1695,
                "won_contest": 0.2669,
                "ball_recovery": 1.2092,
                "challenges_lost": 0.4958,
                "fouls": 1.2425,
                "fouls_drawn": 0.9436,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1134,
                "tackles_won": 0.6365,
                "tackles": 0.6365,
                "clearances": 1.3622,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.433,
                "xgot": 0.2868,
                "offsides": 0.4161,
                "ball_carries": 5.8595,
                "total_progression": 12.36,
                "progressive_carries": 0.7548,
                "shots_off_target": 0.7954,
                "bench_appearance_probability": 0.576,
                "bench_expected_minutes": 25.66
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.1544,
                "goal_rate": 0.1635,
                "goals": 0,
                "shots_on_target": 0.6698,
                "total_shots": 1.4652,
                "expected_assists": 0.0291,
                "key_pass": 0.4149,
                "rating": 6.6404,
                "minutes": 25.66,
                "total_pass": 17.3201,
                "accurate_pass": 11.0953,
                "duels_won": 3.881,
                "total_long_balls": 0.7831,
                "accurate_long_balls": 0.4345,
                "total_opp_half_passes": 11.8121,
                "accurate_opp_half_passes": 6.977,
                "crosses_total": 1.0578,
                "crosses_accurate": 0.2557,
                "touches": 29.5098,
                "possession_lost": 10.3362,
                "dispossessed": 0.2101,
                "duels_lost": 5.1735,
                "aerial_lost": 1.5126,
                "total_contest": 1.1695,
                "won_contest": 0.2669,
                "ball_recovery": 1.2092,
                "challenges_lost": 0.4958,
                "fouls": 1.2425,
                "fouls_drawn": 0.9436,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1134,
                "tackles_won": 0.6365,
                "tackles": 0.6365,
                "clearances": 1.3622,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.433,
                "xgot": 0.2868,
                "offsides": 0.4161,
                "ball_carries": 5.8595,
                "total_progression": 12.36,
                "progressive_carries": 0.7548,
                "shots_off_target": 0.7954,
                "bench_appearance_probability": 0.576,
                "bench_expected_minutes": 25.66,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.444,
                "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": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.83 (squad xG sum 0.7402, xG scale 1.1227, xA scale 1.1227, team xA 0.66 = 0.79 x lambda)",
              "stats": {
                "expected_goals": 0.0998,
                "goal_rate": 0.1635,
                "goals": 0,
                "shots_on_target": 0.6698,
                "total_shots": 1.4652,
                "expected_assists": 0.0188,
                "key_pass": 0.4149,
                "rating": 6.6404,
                "minutes": 25.66,
                "total_pass": 17.3201,
                "accurate_pass": 11.0953,
                "duels_won": 3.881,
                "total_long_balls": 0.7831,
                "accurate_long_balls": 0.4345,
                "total_opp_half_passes": 11.8121,
                "accurate_opp_half_passes": 6.977,
                "crosses_total": 1.0578,
                "crosses_accurate": 0.2557,
                "touches": 29.5098,
                "possession_lost": 10.3362,
                "dispossessed": 0.2101,
                "duels_lost": 5.1735,
                "aerial_lost": 1.5126,
                "total_contest": 1.1695,
                "won_contest": 0.2669,
                "ball_recovery": 1.2092,
                "challenges_lost": 0.4958,
                "fouls": 1.2425,
                "fouls_drawn": 0.9436,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1134,
                "tackles_won": 0.6365,
                "tackles": 0.6365,
                "clearances": 1.3622,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.433,
                "xgot": 0.1855,
                "offsides": 0.4161,
                "ball_carries": 5.8595,
                "total_progression": 12.36,
                "progressive_carries": 0.7548,
                "shots_off_target": 0.7954,
                "bench_appearance_probability": 0.576,
                "bench_expected_minutes": 25.66,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.444,
                "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.0445,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 0.831,
                "squad_xg_sum": 0.7402,
                "squad_xa_sum": 0.5844,
                "team_expected_assists": 0.6561,
                "team_xa_to_xg_ratio": 0.7895,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1227,
                "xa_scale": 1.1227,
                "opponent_lambda": 2.153,
                "scoreline_reset": true,
                "appearance_weight": 0.576
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1544,
                  "after": 0.0998
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0291,
                  "after": 0.0188
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 18 by projected rating, fifa_overall 80.0)",
              "stats": {
                "expected_goals": 0.0998,
                "goal_rate": 0.1635,
                "goals": 0,
                "shots_on_target": 0.6698,
                "total_shots": 1.4652,
                "expected_assists": 0.0188,
                "key_pass": 0.4149,
                "rating": 6.6404,
                "minutes": 25.66,
                "total_pass": 17.3201,
                "accurate_pass": 11.0953,
                "duels_won": 3.881,
                "total_long_balls": 0.7831,
                "accurate_long_balls": 0.4345,
                "total_opp_half_passes": 11.8121,
                "accurate_opp_half_passes": 6.977,
                "crosses_total": 1.0578,
                "crosses_accurate": 0.2557,
                "touches": 29.5098,
                "possession_lost": 10.3362,
                "dispossessed": 0.2101,
                "duels_lost": 5.1735,
                "aerial_lost": 1.5126,
                "total_contest": 1.1695,
                "won_contest": 0.2669,
                "ball_recovery": 1.2092,
                "challenges_lost": 0.4958,
                "fouls": 1.2425,
                "fouls_drawn": 0.9436,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1134,
                "tackles_won": 0.6365,
                "tackles": 0.6365,
                "clearances": 1.3622,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.433,
                "xgot": 0.1855,
                "offsides": 0.4161,
                "ball_carries": 5.8595,
                "total_progression": 12.36,
                "progressive_carries": 0.7548,
                "shots_off_target": 0.7954,
                "bench_appearance_probability": 0.576,
                "bench_expected_minutes": 25.66,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.444,
                "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.0445,
                "creation_factor": 0.8,
                "fifa_overall": 80.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": 2054,
                "fifa_rank": 783.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 80.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.0998,
                "goal_rate": 0.1635,
                "goals": 0,
                "shots_on_target": 0.6698,
                "total_shots": 1.4652,
                "expected_assists": 0.0188,
                "key_pass": 0.4149,
                "rating": 6.6404,
                "minutes": 25.66,
                "total_pass": 17.3201,
                "accurate_pass": 11.0953,
                "duels_won": 3.881,
                "total_long_balls": 0.7831,
                "accurate_long_balls": 0.4345,
                "total_opp_half_passes": 11.8121,
                "accurate_opp_half_passes": 6.977,
                "crosses_total": 1.0578,
                "crosses_accurate": 0.2557,
                "touches": 29.5098,
                "possession_lost": 10.3362,
                "dispossessed": 0.2101,
                "duels_lost": 5.1735,
                "aerial_lost": 1.5126,
                "total_contest": 1.1695,
                "won_contest": 0.2669,
                "ball_recovery": 1.2092,
                "challenges_lost": 0.4958,
                "fouls": 1.2425,
                "fouls_drawn": 0.9436,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1134,
                "tackles_won": 0.6365,
                "tackles": 0.6365,
                "clearances": 1.3622,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.433,
                "xgot": 0.1855,
                "offsides": 0.4161,
                "ball_carries": 5.8595,
                "total_progression": 12.36,
                "progressive_carries": 0.7548,
                "shots_off_target": 0.7954,
                "bench_appearance_probability": 0.576,
                "bench_expected_minutes": 25.66,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.444,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0916,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0445,
                "creation_factor": 0.8,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0916,
                "goal_rate": 0.1635,
                "scorer_weight": 0.1042,
                "squad_weight_total": 0.8662,
                "weight_share": 0.1203,
                "finishing_factor": 1.0445,
                "appearance_weight": 0.576,
                "weight_rank": 2,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.0998,
                "goal_rate": 0.1635,
                "goals": 0,
                "shots_on_target": 0.6698,
                "total_shots": 1.4652,
                "expected_assists": 0.0188,
                "key_pass": 0.4149,
                "rating": 6.6404,
                "minutes": 25.66,
                "total_pass": 17.3201,
                "accurate_pass": 11.0953,
                "duels_won": 3.881,
                "total_long_balls": 0.7831,
                "accurate_long_balls": 0.4345,
                "total_opp_half_passes": 11.8121,
                "accurate_opp_half_passes": 6.977,
                "crosses_total": 1.0578,
                "crosses_accurate": 0.2557,
                "touches": 29.5098,
                "possession_lost": 10.3362,
                "dispossessed": 0.2101,
                "duels_lost": 5.1735,
                "aerial_lost": 1.5126,
                "total_contest": 1.1695,
                "won_contest": 0.2669,
                "ball_recovery": 1.2092,
                "challenges_lost": 0.4958,
                "fouls": 1.2425,
                "fouls_drawn": 0.9436,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1134,
                "tackles_won": 0.6365,
                "tackles": 0.6365,
                "clearances": 1.3622,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.433,
                "xgot": 0.1855,
                "offsides": 0.4161,
                "ball_carries": 5.8595,
                "total_progression": 12.36,
                "progressive_carries": 0.7548,
                "shots_off_target": 0.7954,
                "bench_appearance_probability": 0.576,
                "bench_expected_minutes": 25.66,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.444,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0916,
                "projected_assists": 0,
                "assist_probability": 0.0185,
                "finishing_factor": 1.0445,
                "creation_factor": 0.8,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0185,
                "assist_rate": 0.0,
                "provider_weight": 0.015,
                "squad_weight_total": 0.5932,
                "weight_share": 0.0254,
                "creation_factor": 0.8,
                "appearance_weight": 0.576,
                "weight_rank": 10,
                "eligible_players": 13
              }
            }
          ]
        },
        "Joaquín Muñoz": {
          "player_id": 904964,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 11,
          "height": 172,
          "market_value": 1900000,
          "stats": {
            "expected_goals": 0.0382,
            "goal_rate": 0.049,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0353,
            "key_pass": 0,
            "rating": 6.6771,
            "minutes": 25,
            "total_pass": 9,
            "accurate_pass": 6,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 5,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 16,
            "possession_lost": 5.8465,
            "dispossessed": 0.2789,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0122,
            "offsides": 0,
            "ball_carries": 6,
            "total_progression": 39,
            "progressive_carries": 2,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.559,
            "bench_expected_minutes": 25.29,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.444,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0369,
            "projected_assists": 0,
            "assist_probability": 0.0342,
            "finishing_factor": 0.8927,
            "creation_factor": 0.8,
            "fifa_overall": 71.0
          },
          "latest_10_games": [
            {
              "match_id": 16421073,
              "match_date": "2026-10-18",
              "home_team": "Málaga CF",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 22,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0963,
                "expected_assists": 0.3045,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 8,
                "accurate_pass": 5,
                "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": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 62,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0888,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 10,
                "key_pass": 1,
                "interceptions": 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": 16416303,
              "match_date": "2026-09-20",
              "home_team": "Getafe",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Getafe",
              "stats": {
                "minutes": 67,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0607,
                "expected_assists": 0.0834,
                "total_shots": 1,
                "total_pass": 12,
                "accurate_pass": 6,
                "key_pass": 1,
                "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": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 29,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0174,
                "expected_assists": 0.0067,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 8,
                "accurate_pass": 5,
                "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": 16416347,
              "match_date": "2026-09-13",
              "home_team": "Celta Vigo",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 61,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0269,
                "expected_assists": 0.0167,
                "total_shots": 1,
                "total_pass": 11,
                "accurate_pass": 11,
                "tackles": 1,
                "interceptions": 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": 16416320,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 31,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0598,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 9,
                "key_pass": 2,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416312,
              "match_date": "2026-08-30",
              "home_team": "Real Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 61,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0216,
                "expected_assists": 0.0675,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 17,
                "accurate_pass": 16,
                "key_pass": 1,
                "clearances": 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": 16416307,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 73,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.029,
                "expected_assists": 0.0199,
                "total_shots": 1,
                "total_pass": 19,
                "accurate_pass": 17,
                "tackles": 2,
                "tackles_won": 2,
                "duels_won": 6,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421055,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 67,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0255,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 18,
                "tackles": 1,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 4788,
            "combined_rank_score": 2863.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 698.0,
            "sofascore_rating": 6.7,
            "sofascore_appearances": 1.0,
            "fifa_rank": 5029.0,
            "fifa_overall": 71.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6771,
            "source_file": "data/player_rankings.csv",
            "player_name": "Joaquín Muñoz",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jorge Ruvalcaba",
                  "ranking": 4783
                },
                {
                  "player_name": "Luca Langoni",
                  "ranking": 4784
                },
                {
                  "player_name": "John Victor",
                  "ranking": 4785
                },
                {
                  "player_name": "Diego Luna",
                  "ranking": 4786
                },
                {
                  "player_name": "Rafael Navarro",
                  "ranking": 4787
                }
              ],
              "lower": [
                {
                  "player_name": "Odin Luraas Bjørtuft",
                  "ranking": 4789
                },
                {
                  "player_name": "Harry Milne",
                  "ranking": 4790
                },
                {
                  "player_name": "Auston Trusty",
                  "ranking": 4791
                },
                {
                  "player_name": "Cameron Devlin",
                  "ranking": 4792
                },
                {
                  "player_name": "Reo Hatate",
                  "ranking": 4793
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 9,
          "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": 9,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.292222187561247,
            "bench_appearance_prob": 0.5587373721618749,
            "market_value_adjustment": 0.9928,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (9 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.0585,
                "goals": 0.0471,
                "goal_rate": 0.0471,
                "shots_on_target": 0.2161,
                "total_shots": 0.6287,
                "expected_assists": 0.054,
                "key_pass": 0.4784,
                "rating": 6.6771,
                "minutes": 24.1,
                "total_pass": 8.8426,
                "accurate_pass": 6.1234,
                "duels_won": 1.2809,
                "total_long_balls": 0.6113,
                "accurate_long_balls": 0.2809,
                "total_opp_half_passes": 7.3392,
                "accurate_opp_half_passes": 4.9505,
                "crosses_total": 0.6113,
                "crosses_accurate": 0.0,
                "touches": 15.6783,
                "possession_lost": 5.6113,
                "dispossessed": 0.2809,
                "duels_lost": 2.2225,
                "aerial_lost": 0.0,
                "total_contest": 2.3304,
                "won_contest": 1.0,
                "ball_recovery": 1.2313,
                "challenges_lost": 0.3304,
                "fouls": 0.2809,
                "fouls_drawn": 0.2809,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0186,
                "offsides": 0.0,
                "ball_carries": 6.0,
                "total_progression": 37.8812,
                "progressive_carries": 2.1079,
                "shots_off_target": 0.4125
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:30:56.271646+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 610,
                    "rows": 17075
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Real Sociedad",
                    "minutes": 22.0,
                    "is_starting": false,
                    "weight": 0.1952,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Espanyol",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.1659,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Getafe",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.141,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Villarreal",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.1199,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Celta Vigo",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.1019,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Levante UD",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.0866,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Real Madrid",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.0736,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.0626,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Atlético Madrid",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.0532,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 9.0,
                  "is_starting_11": 0.0,
                  "accurateOppositionHalfPasses": 7.7254,
                  "expectedGoals": 0.0356,
                  "totalOppositionHalfPasses": 10.135,
                  "accuratePass": 9.181,
                  "totalShots": 0.8895
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.05845794081687927,
                    "model_output": 0.0585,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0898
                      },
                      {
                        "name": "goals",
                        "importance": 0.0323
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0236
                      }
                    ],
                    "decomposition": {
                      "base": 0.1945,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0841
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0181
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0095
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0059
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0048
                        }
                      ],
                      "others": -0.0136,
                      "total": 0.0585,
                      "log_link": true,
                      "margin_base": -1.637486,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.566025
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.179426
                        },
                        {
                          "name": "goals",
                          "margin": -0.109104
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.07401
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.06493
                        }
                      ],
                      "others_margin": -0.208468
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.047085992991924286,
                    "model_output": 0.0471,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.144
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0742
                      },
                      {
                        "name": "goals",
                        "importance": 0.053
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0894
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0151
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.012
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0066
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0055
                        }
                      ],
                      "others": -0.0233,
                      "total": 0.0471,
                      "log_link": true,
                      "margin_base": -1.614663,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.59626
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.148162
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.135806
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.0837
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.074789
                        }
                      ],
                      "others_margin": -0.402398
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2161334902048111,
                    "model_output": 0.2161,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2115
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.066
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0499
                      },
                      {
                        "name": "goals",
                        "importance": 0.0473
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 0.5305,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2175
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0318
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0135
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.0125
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0118
                        }
                      ],
                      "others": -0.0273,
                      "total": 0.2161,
                      "log_link": true,
                      "margin_base": -0.633985,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.527712
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.107219
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.049363
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": -0.047846
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.047434
                        }
                      ],
                      "others_margin": -0.118301
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.6286646723747253,
                    "model_output": 0.6287,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2934
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0662
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.05
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0272
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.027
                      }
                    ],
                    "decomposition": {
                      "base": 1.3805,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.499
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1309
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0513
                        },
                        {
                          "name": "goals",
                          "contribution": -0.042
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.0292
                        }
                      ],
                      "others": -0.102,
                      "total": 0.6287,
                      "log_link": false,
                      "margin_base": 1.38048,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.498987
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.13089
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.051349
                        },
                        {
                          "name": "goals",
                          "margin": -0.041959
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": -0.029222
                        }
                      ],
                      "others_margin": -0.102105
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.053952667862176895,
                    "model_output": 0.054,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1135
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0826
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0722
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0587
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0552
                      }
                    ],
                    "decomposition": {
                      "base": 0.0647,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0185
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0061
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0031
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0028
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0023
                        }
                      ],
                      "others": 0.0053,
                      "total": 0.054,
                      "log_link": true,
                      "margin_base": -2.738275,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.336822
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.124708
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.061356
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.058121
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.047642
                        }
                      ],
                      "others_margin": 0.102576
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.47838684916496277,
                    "model_output": 0.4784,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1545
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.1071
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0923
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0893
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0298
                      }
                    ],
                    "decomposition": {
                      "base": 0.6939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2485
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0333
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0252
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0182
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0175
                        }
                      ],
                      "others": 0.0242,
                      "total": 0.4784,
                      "log_link": true,
                      "margin_base": -0.365451,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.443398
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.072104
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.053988
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.039286
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.037706
                        }
                      ],
                      "others_margin": 0.051818
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.677105903625488,
                    "model_output": 6.6771,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0529
                      },
                      {
                        "name": "rating",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.044
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0417
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0371
                      }
                    ],
                    "decomposition": {
                      "base": 6.7735,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0734
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0323
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0315
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0154
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0144
                        }
                      ],
                      "others": -0.0228,
                      "total": 6.6771,
                      "log_link": false,
                      "margin_base": 6.773504,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.073435
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.032296
                        },
                        {
                          "name": "rating",
                          "margin": -0.031512
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.015429
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.014405
                        }
                      ],
                      "others_margin": -0.022721
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 9,
                  "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.9928, quality 0.437)",
              "stats": {
                "expected_goals": 0.058,
                "goals": 0.0467,
                "goal_rate": 0.0467,
                "shots_on_target": 0.2146,
                "total_shots": 0.6241,
                "expected_assists": 0.0536,
                "key_pass": 0.4749,
                "rating": 6.6771,
                "minutes": 24.1,
                "total_pass": 8.7789,
                "accurate_pass": 6.0793,
                "duels_won": 1.2717,
                "total_long_balls": 0.6069,
                "accurate_long_balls": 0.2789,
                "total_opp_half_passes": 7.2864,
                "accurate_opp_half_passes": 4.9149,
                "crosses_total": 0.6069,
                "crosses_accurate": 0.0,
                "touches": 15.5654,
                "possession_lost": 5.5709,
                "dispossessed": 0.2789,
                "duels_lost": 2.2065,
                "aerial_lost": 0.0,
                "total_contest": 2.3136,
                "won_contest": 0.9928,
                "ball_recovery": 1.2224,
                "challenges_lost": 0.328,
                "fouls": 0.2789,
                "fouls_drawn": 0.2789,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0185,
                "offsides": 0.0,
                "ball_carries": 5.9568,
                "total_progression": 37.6085,
                "progressive_carries": 2.0927,
                "shots_off_target": 0.4095
              },
              "params": {
                "market_value_eur": 1900000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9928,
                "reference_quality": 0.505,
                "history_matches": 9,
                "history_shrink": 0.3571,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 24.1 to 25.3 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.0609,
                "goals": 0.049,
                "goal_rate": 0.049,
                "shots_on_target": 0.2252,
                "total_shots": 0.655,
                "expected_assists": 0.0563,
                "key_pass": 0.4984,
                "rating": 6.6771,
                "minutes": 25.29,
                "total_pass": 9.2132,
                "accurate_pass": 6.38,
                "duels_won": 1.3346,
                "total_long_balls": 0.6369,
                "accurate_long_balls": 0.2927,
                "total_opp_half_passes": 7.6469,
                "accurate_opp_half_passes": 5.158,
                "crosses_total": 0.6369,
                "crosses_accurate": 0.0,
                "touches": 16.3354,
                "possession_lost": 5.8465,
                "dispossessed": 0.2789,
                "duels_lost": 2.3157,
                "aerial_lost": 0.0,
                "total_contest": 2.4281,
                "won_contest": 1.0419,
                "ball_recovery": 1.2829,
                "challenges_lost": 0.328,
                "fouls": 0.2927,
                "fouls_drawn": 0.2927,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0194,
                "offsides": 0.0,
                "ball_carries": 6.2515,
                "total_progression": 39.469,
                "progressive_carries": 2.1962,
                "shots_off_target": 0.4298,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "params": {
                "expected_minutes": 25.29,
                "projection_minutes": 24.1,
                "minutes_scale": 1.0495,
                "appearance_probability": 0.559
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0609,
                "goals": 0.049,
                "goal_rate": 0.049,
                "shots_on_target": 0.2252,
                "total_shots": 0.655,
                "expected_assists": 0.0563,
                "key_pass": 0.4984,
                "rating": 6.6771,
                "minutes": 25.29,
                "total_pass": 9.2132,
                "accurate_pass": 6.38,
                "duels_won": 1.3346,
                "total_long_balls": 0.6369,
                "accurate_long_balls": 0.2927,
                "total_opp_half_passes": 7.6469,
                "accurate_opp_half_passes": 5.158,
                "crosses_total": 0.6369,
                "crosses_accurate": 0.0,
                "touches": 16.3354,
                "possession_lost": 5.8465,
                "dispossessed": 0.2789,
                "duels_lost": 2.3157,
                "aerial_lost": 0.0,
                "total_contest": 2.4281,
                "won_contest": 1.0419,
                "ball_recovery": 1.2829,
                "challenges_lost": 0.328,
                "fouls": 0.2927,
                "fouls_drawn": 0.2927,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0194,
                "offsides": 0.0,
                "ball_carries": 6.2515,
                "total_progression": 39.469,
                "progressive_carries": 2.1962,
                "shots_off_target": 0.4298,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.0609,
                "goal_rate": 0.049,
                "goals": 0,
                "shots_on_target": 0.2252,
                "total_shots": 0.655,
                "expected_assists": 0.0563,
                "key_pass": 0.4984,
                "rating": 6.6771,
                "minutes": 25.29,
                "total_pass": 9.2132,
                "accurate_pass": 6.38,
                "duels_won": 1.3346,
                "total_long_balls": 0.6369,
                "accurate_long_balls": 0.2927,
                "total_opp_half_passes": 7.6469,
                "accurate_opp_half_passes": 5.158,
                "crosses_total": 0.6369,
                "crosses_accurate": 0.0,
                "touches": 16.3354,
                "possession_lost": 5.8465,
                "dispossessed": 0.2789,
                "duels_lost": 2.3157,
                "aerial_lost": 0.0,
                "total_contest": 2.4281,
                "won_contest": 1.0419,
                "ball_recovery": 1.2829,
                "challenges_lost": 0.328,
                "fouls": 0.2927,
                "fouls_drawn": 0.2927,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0194,
                "offsides": 0.0,
                "ball_carries": 6.2515,
                "total_progression": 39.469,
                "progressive_carries": 2.1962,
                "shots_off_target": 0.4298,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.444,
                "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": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.83 (squad xG sum 0.7402, xG scale 1.1227, xA scale 1.1227, team xA 0.66 = 0.79 x lambda)",
              "stats": {
                "expected_goals": 0.0382,
                "goal_rate": 0.049,
                "goals": 0,
                "shots_on_target": 0.2252,
                "total_shots": 0.655,
                "expected_assists": 0.0353,
                "key_pass": 0.4984,
                "rating": 6.6771,
                "minutes": 25.29,
                "total_pass": 9.2132,
                "accurate_pass": 6.38,
                "duels_won": 1.3346,
                "total_long_balls": 0.6369,
                "accurate_long_balls": 0.2927,
                "total_opp_half_passes": 7.6469,
                "accurate_opp_half_passes": 5.158,
                "crosses_total": 0.6369,
                "crosses_accurate": 0.0,
                "touches": 16.3354,
                "possession_lost": 5.8465,
                "dispossessed": 0.2789,
                "duels_lost": 2.3157,
                "aerial_lost": 0.0,
                "total_contest": 2.4281,
                "won_contest": 1.0419,
                "ball_recovery": 1.2829,
                "challenges_lost": 0.328,
                "fouls": 0.2927,
                "fouls_drawn": 0.2927,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0122,
                "offsides": 0.0,
                "ball_carries": 6.2515,
                "total_progression": 39.469,
                "progressive_carries": 2.1962,
                "shots_off_target": 0.4298,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.444,
                "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.8927,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 0.831,
                "squad_xg_sum": 0.7402,
                "squad_xa_sum": 0.5844,
                "team_expected_assists": 0.6561,
                "team_xa_to_xg_ratio": 0.7895,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1227,
                "xa_scale": 1.1227,
                "opponent_lambda": 2.153,
                "scoreline_reset": true,
                "appearance_weight": 0.559
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0609,
                  "after": 0.0382
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0563,
                  "after": 0.0353
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 14 by projected rating, fifa_overall 71.0)",
              "stats": {
                "expected_goals": 0.0382,
                "goal_rate": 0.049,
                "goals": 0,
                "shots_on_target": 0.2252,
                "total_shots": 0.655,
                "expected_assists": 0.0353,
                "key_pass": 0.4984,
                "rating": 6.6771,
                "minutes": 25.29,
                "total_pass": 9.2132,
                "accurate_pass": 6.38,
                "duels_won": 1.3346,
                "total_long_balls": 0.6369,
                "accurate_long_balls": 0.2927,
                "total_opp_half_passes": 7.6469,
                "accurate_opp_half_passes": 5.158,
                "crosses_total": 0.6369,
                "crosses_accurate": 0.0,
                "touches": 16.3354,
                "possession_lost": 5.8465,
                "dispossessed": 0.2789,
                "duels_lost": 2.3157,
                "aerial_lost": 0.0,
                "total_contest": 2.4281,
                "won_contest": 1.0419,
                "ball_recovery": 1.2829,
                "challenges_lost": 0.328,
                "fouls": 0.2927,
                "fouls_drawn": 0.2927,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0122,
                "offsides": 0.0,
                "ball_carries": 6.2515,
                "total_progression": 39.469,
                "progressive_carries": 2.1962,
                "shots_off_target": 0.4298,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.444,
                "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.8927,
                "creation_factor": 0.8,
                "fifa_overall": 71.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": 4788,
                "fifa_rank": 5029.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 71.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.0382,
                "goal_rate": 0.049,
                "goals": 0,
                "shots_on_target": 0.2252,
                "total_shots": 0.655,
                "expected_assists": 0.0353,
                "key_pass": 0.4984,
                "rating": 6.6771,
                "minutes": 25.29,
                "total_pass": 9.2132,
                "accurate_pass": 6.38,
                "duels_won": 1.3346,
                "total_long_balls": 0.6369,
                "accurate_long_balls": 0.2927,
                "total_opp_half_passes": 7.6469,
                "accurate_opp_half_passes": 5.158,
                "crosses_total": 0.6369,
                "crosses_accurate": 0.0,
                "touches": 16.3354,
                "possession_lost": 5.8465,
                "dispossessed": 0.2789,
                "duels_lost": 2.3157,
                "aerial_lost": 0.0,
                "total_contest": 2.4281,
                "won_contest": 1.0419,
                "ball_recovery": 1.2829,
                "challenges_lost": 0.328,
                "fouls": 0.2927,
                "fouls_drawn": 0.2927,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0122,
                "offsides": 0.0,
                "ball_carries": 6.2515,
                "total_progression": 39.469,
                "progressive_carries": 2.1962,
                "shots_off_target": 0.4298,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.444,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0369,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8927,
                "creation_factor": 0.8,
                "fifa_overall": 71.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0369,
                "goal_rate": 0.049,
                "scorer_weight": 0.0341,
                "squad_weight_total": 0.8662,
                "weight_share": 0.0394,
                "finishing_factor": 0.8927,
                "appearance_weight": 0.559,
                "weight_rank": 9,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.0382,
                "goal_rate": 0.049,
                "goals": 0,
                "shots_on_target": 0.2252,
                "total_shots": 0.655,
                "expected_assists": 0.0353,
                "key_pass": 0.4984,
                "rating": 6.6771,
                "minutes": 25.29,
                "total_pass": 9.2132,
                "accurate_pass": 6.38,
                "duels_won": 1.3346,
                "total_long_balls": 0.6369,
                "accurate_long_balls": 0.2927,
                "total_opp_half_passes": 7.6469,
                "accurate_opp_half_passes": 5.158,
                "crosses_total": 0.6369,
                "crosses_accurate": 0.0,
                "touches": 16.3354,
                "possession_lost": 5.8465,
                "dispossessed": 0.2789,
                "duels_lost": 2.3157,
                "aerial_lost": 0.0,
                "total_contest": 2.4281,
                "won_contest": 1.0419,
                "ball_recovery": 1.2829,
                "challenges_lost": 0.328,
                "fouls": 0.2927,
                "fouls_drawn": 0.2927,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0122,
                "offsides": 0.0,
                "ball_carries": 6.2515,
                "total_progression": 39.469,
                "progressive_carries": 2.1962,
                "shots_off_target": 0.4298,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.444,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0369,
                "projected_assists": 0,
                "assist_probability": 0.0342,
                "finishing_factor": 0.8927,
                "creation_factor": 0.8,
                "fifa_overall": 71.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0342,
                "assist_rate": 0.0,
                "provider_weight": 0.0282,
                "squad_weight_total": 0.5932,
                "weight_share": 0.0476,
                "creation_factor": 0.8,
                "appearance_weight": 0.559,
                "weight_rank": 8,
                "eligible_players": 13
              }
            }
          ]
        }
      },
      "substitutes": {
        "Chupete": {
          "player_id": 1913386,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 9,
          "height": 185,
          "market_value": 10700000,
          "stats": {
            "expected_goals": 0.0998,
            "goal_rate": 0.1635,
            "goals": 0,
            "shots_on_target": 1,
            "total_shots": 2,
            "expected_assists": 0.0188,
            "key_pass": 0,
            "rating": 6.6404,
            "minutes": 26,
            "total_pass": 17,
            "accurate_pass": 11,
            "duels_won": 4,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 12,
            "accurate_opp_half_passes": 7,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 30,
            "possession_lost": 10.3362,
            "dispossessed": 0.2101,
            "duels_lost": 5,
            "aerial_lost": 2,
            "total_contest": 1,
            "won_contest": 0,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 1,
            "fouls_drawn": 1,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 1,
            "tackles": 1,
            "clearances": 1,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.1855,
            "offsides": 0,
            "ball_carries": 6,
            "total_progression": 12,
            "progressive_carries": 1,
            "shots_off_target": 1,
            "bench_appearance_probability": 0.576,
            "bench_expected_minutes": 25.66,
            "projected_substitution_order": 1,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.444,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0916,
            "projected_assists": 0,
            "assist_probability": 0.0185,
            "finishing_factor": 1.0445,
            "creation_factor": 0.8,
            "fifa_overall": 80.0
          },
          "latest_10_games": [
            {
              "match_id": 16421077,
              "match_date": "2026-10-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 13,
                "rating": 6.8,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0333,
                "expected_assists": 0.1085,
                "total_shots": 1,
                "shots_on_target": 1,
                "shots_off_target": 0,
                "total_pass": 4,
                "accurate_pass": 4,
                "key_pass": 1,
                "tackles": 0,
                "tackles_won": 0,
                "interceptions": 0,
                "clearances": 1,
                "aerial_won": 1,
                "duels_won": 1,
                "ball_recovery": 0,
                "saves": 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": 16421073,
              "match_date": "2026-10-18",
              "home_team": "Málaga CF",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 90,
                "rating": 6.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.4529,
                "expected_assists": 0.0196,
                "total_shots": 5,
                "shots_on_target": 2,
                "shots_off_target": 1,
                "total_pass": 20,
                "accurate_pass": 14,
                "tackles": 1,
                "tackles_won": 1,
                "aerial_won": 1,
                "duels_won": 2,
                "ball_recovery": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0277,
                "expected_assists": 0.0099,
                "total_shots": 1,
                "shots_on_target": 1,
                "total_pass": 15,
                "accurate_pass": 7,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 2,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416303,
              "match_date": "2026-09-20",
              "home_team": "Getafe",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Getafe",
              "stats": {
                "minutes": 23,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0006,
                "total_shots": 0,
                "total_pass": 3,
                "accurate_pass": 2,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 90,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0231,
                "expected_assists": 0.0087,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 14,
                "accurate_pass": 9,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "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": 16416347,
              "match_date": "2026-09-13",
              "home_team": "Celta Vigo",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 90,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0838,
                "expected_assists": 0.0107,
                "total_shots": 2,
                "shots_off_target": 1,
                "total_pass": 16,
                "accurate_pass": 7,
                "key_pass": 1,
                "interceptions": 1,
                "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": 16416320,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 90,
                "rating": 5.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.9766,
                "expected_assists": 0.0189,
                "total_shots": 4,
                "shots_on_target": 2,
                "shots_off_target": 2,
                "total_pass": 14,
                "accurate_pass": 8,
                "clearances": 2,
                "aerial_won": 2,
                "duels_won": 4,
                "ball_recovery": 2
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416312,
              "match_date": "2026-08-30",
              "home_team": "Real Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 90,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.2089,
                "expected_assists": 0.0182,
                "total_shots": 3,
                "shots_off_target": 2,
                "total_pass": 20,
                "accurate_pass": 16,
                "key_pass": 2,
                "clearances": 2,
                "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": 16416307,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 90,
                "rating": 7.3,
                "goal_rate": 1.0,
                "goals": 1,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 1.6769,
                "expected_assists": 0.0102,
                "total_shots": 4,
                "shots_on_target": 1,
                "shots_off_target": 2,
                "total_pass": 14,
                "accurate_pass": 10,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 1,
                "aerial_won": 4,
                "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": 16421055,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 90,
                "rating": 5.9,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0603,
                "expected_assists": 0.0553,
                "total_shots": 1,
                "total_pass": 18,
                "accurate_pass": 11,
                "tackles": 1,
                "tackles_won": 1,
                "clearances": 3,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 2054,
            "combined_rank_score": 783.5,
            "ranking_source": "sofascore_plus_fifa_csv_filled",
            "ranking_status": "combined",
            "sofascore_rank": 784.0,
            "sofascore_rating": 6.6333,
            "sofascore_appearances": 3.0,
            "fifa_rank": 783.0,
            "fifa_overall": 80.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 18,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6404,
            "source_file": "data/player_rankings.csv",
            "player_name": "Chupete",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Liam Jessop",
                  "ranking": 2049
                },
                {
                  "player_name": "Tohirjon Ashuboyev",
                  "ranking": 2050
                },
                {
                  "player_name": "Javier Méndez",
                  "ranking": 2051
                },
                {
                  "player_name": "Facundo Marín",
                  "ranking": 2052
                },
                {
                  "player_name": "Lee Rim",
                  "ranking": 2053
                }
              ],
              "lower": [
                {
                  "player_name": "Miguelito",
                  "ranking": 2055
                },
                {
                  "player_name": "Francisco Herrera",
                  "ranking": 2056
                },
                {
                  "player_name": "Joon-mo Kang",
                  "ranking": 2057
                },
                {
                  "player_name": "Maks Juraj Čelić",
                  "ranking": 2058
                },
                {
                  "player_name": "Eligijus Jankauskas",
                  "ranking": 2059
                }
              ]
            }
          },
          "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.661368161578256,
            "bench_appearance_prob": 0.5755167346171934,
            "market_value_adjustment": 1.0026,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (10 historical appearances) to 25.7 expected mins (appearance prob 0.58)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost F_service raw output over 7 target models",
              "stats": {
                "expected_goals": 0.1128,
                "goals": 0.1195,
                "goal_rate": 0.1195,
                "shots_on_target": 0.4894,
                "total_shots": 1.0706,
                "expected_assists": 0.0212,
                "key_pass": 0.3032,
                "rating": 6.6404,
                "minutes": 18.8,
                "total_pass": 12.6561,
                "accurate_pass": 8.1075,
                "duels_won": 2.8359,
                "total_long_balls": 0.5722,
                "accurate_long_balls": 0.3175,
                "total_opp_half_passes": 8.6314,
                "accurate_opp_half_passes": 5.0982,
                "crosses_total": 0.773,
                "crosses_accurate": 0.1868,
                "touches": 21.5633,
                "possession_lost": 7.5529,
                "dispossessed": 0.2096,
                "duels_lost": 3.7804,
                "aerial_lost": 1.5087,
                "total_contest": 0.8546,
                "won_contest": 0.195,
                "ball_recovery": 0.8836,
                "challenges_lost": 0.4945,
                "fouls": 0.9079,
                "fouls_drawn": 0.6895,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0829,
                "tackles_won": 0.4651,
                "tackles": 0.4651,
                "clearances": 0.9954,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3164,
                "xgot": 0.2096,
                "offsides": 0.415,
                "ball_carries": 4.2817,
                "total_progression": 9.0317,
                "progressive_carries": 0.5516,
                "shots_off_target": 0.5812
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:30:56.271646+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 610,
                    "rows": 17075
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-23",
                    "opponent": "Deportivo Alavés",
                    "minutes": 13.0,
                    "is_starting": false,
                    "weight": 0.1868,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Real Sociedad",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1588,
                    "rating": 6.0
                  },
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Espanyol",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.1349,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Getafe",
                    "minutes": 23.0,
                    "is_starting": false,
                    "weight": 0.1147,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Villarreal",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0975,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Celta Vigo",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0829,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Levante UD",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0704,
                    "rating": 5.7
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Real Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0599,
                    "rating": 6.7
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0509,
                    "rating": 7.3
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Atlético Madrid",
                    "minutes": 90.0,
                    "is_starting": true,
                    "weight": 0.0433,
                    "rating": 5.9
                  }
                ],
                "feature_row": {
                  "history_matches": 10.0,
                  "is_starting_11": 0.0,
                  "accurateOppositionHalfPasses": 5.0982,
                  "expectedGoals": 0.2603,
                  "totalOppositionHalfPasses": 8.6314,
                  "accuratePass": 8.1075,
                  "totalShots": 2.0869
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.1128055676817894,
                    "model_output": 0.1128,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0898
                      },
                      {
                        "name": "goals",
                        "importance": 0.0323
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0236
                      }
                    ],
                    "decomposition": {
                      "base": 0.1945,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0902
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0164
                        },
                        {
                          "name": "goals",
                          "contribution": -0.009
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0072
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0062
                        }
                      ],
                      "others": 0.0145,
                      "total": 0.1128,
                      "log_link": true,
                      "margin_base": -1.637486,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.623388
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.146261
                        },
                        {
                          "name": "goals",
                          "margin": -0.077093
                        },
                        {
                          "name": "rating",
                          "margin": -0.066976
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.061213
                        }
                      ],
                      "others_margin": 0.137806
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.11952386796474457,
                    "model_output": 0.1195,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.144
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0742
                      },
                      {
                        "name": "goals",
                        "importance": 0.053
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0896
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": 0.0169
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0168
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0071
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "contribution": 0.0064
                        }
                      ],
                      "others": 0.0107,
                      "total": 0.1195,
                      "log_link": true,
                      "margin_base": -1.614663,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.598881
                        },
                        {
                          "name": "expectedGoals",
                          "margin": 0.143629
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.143042
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.066634
                        },
                        {
                          "name": "ballCarriesCount_p90",
                          "margin": 0.060404
                        }
                      ],
                      "others_margin": 0.094948
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.48937925696372986,
                    "model_output": 0.4894,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2115
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.066
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0499
                      },
                      {
                        "name": "goals",
                        "importance": 0.0473
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 0.5305,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1946
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.0481
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0289
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.0254
                        },
                        {
                          "name": "ballRecovery",
                          "contribution": 0.018
                        }
                      ],
                      "others": 0.0331,
                      "total": 0.4894,
                      "log_link": true,
                      "margin_base": -0.633985,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.457121
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.133965
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.072496
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.059761
                        },
                        {
                          "name": "ballRecovery",
                          "margin": 0.040205
                        }
                      ],
                      "others_margin": 0.070061
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 1.0705451965332031,
                    "model_output": 1.0705,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2934
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0662
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.05
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0272
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.027
                      }
                    ],
                    "decomposition": {
                      "base": 1.3805,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.5844
                        },
                        {
                          "name": "totalShots",
                          "contribution": 0.1787
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": 0.066
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0441
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0421
                        }
                      ],
                      "others": 0.0277,
                      "total": 1.0705,
                      "log_link": false,
                      "margin_base": 1.38048,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.584374
                        },
                        {
                          "name": "totalShots",
                          "margin": 0.178735
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": 0.06597
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.044135
                        },
                        {
                          "name": "goals",
                          "margin": -0.04211
                        }
                      ],
                      "others_margin": 0.027711
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.02121216617524624,
                    "model_output": 0.0212,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1135
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0826
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0722
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0587
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0552
                      }
                    ],
                    "decomposition": {
                      "base": 0.0647,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0207
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0041
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": -0.0035
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0027
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0024
                        }
                      ],
                      "others": -0.0101,
                      "total": 0.0212,
                      "log_link": true,
                      "margin_base": -2.738275,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.385427
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.096582
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": -0.090457
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.076967
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.072852
                        }
                      ],
                      "others_margin": -0.392621
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.3031921684741974,
                    "model_output": 0.3032,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1545
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.1071
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0923
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0893
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0298
                      }
                    ],
                    "decomposition": {
                      "base": 0.6939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.251
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0316
                        },
                        {
                          "name": "touches_p90",
                          "contribution": -0.0193
                        },
                        {
                          "name": "aerialLost",
                          "contribution": -0.0176
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0165
                        }
                      ],
                      "others": -0.0547,
                      "total": 0.3032,
                      "log_link": true,
                      "margin_base": -0.365451,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.448977
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.074054
                        },
                        {
                          "name": "touches_p90",
                          "margin": -0.048073
                        },
                        {
                          "name": "aerialLost",
                          "margin": -0.045871
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.045099
                        }
                      ],
                      "others_margin": -0.165863
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.640441417694092,
                    "model_output": 6.6404,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0529
                      },
                      {
                        "name": "rating",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.044
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0417
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0371
                      }
                    ],
                    "decomposition": {
                      "base": 6.7735,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0563
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0313
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": 0.0185
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": -0.0128
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0111
                        }
                      ],
                      "others": -0.0401,
                      "total": 6.6404,
                      "log_link": false,
                      "margin_base": 6.773504,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.05626
                        },
                        {
                          "name": "rating",
                          "margin": -0.031275
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": 0.018457
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": -0.012774
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.011148
                        }
                      ],
                      "others_margin": -0.040063
                    }
                  }
                ],
                "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 1.0026, quality 0.531)",
              "stats": {
                "expected_goals": 0.1131,
                "goals": 0.1198,
                "goal_rate": 0.1198,
                "shots_on_target": 0.4907,
                "total_shots": 1.0734,
                "expected_assists": 0.0213,
                "key_pass": 0.304,
                "rating": 6.6404,
                "minutes": 18.8,
                "total_pass": 12.689,
                "accurate_pass": 8.1286,
                "duels_won": 2.8433,
                "total_long_balls": 0.5737,
                "accurate_long_balls": 0.3183,
                "total_opp_half_passes": 8.6538,
                "accurate_opp_half_passes": 5.1115,
                "crosses_total": 0.775,
                "crosses_accurate": 0.1873,
                "touches": 21.6194,
                "possession_lost": 7.5725,
                "dispossessed": 0.2101,
                "duels_lost": 3.7902,
                "aerial_lost": 1.5126,
                "total_contest": 0.8568,
                "won_contest": 0.1955,
                "ball_recovery": 0.8859,
                "challenges_lost": 0.4958,
                "fouls": 0.9103,
                "fouls_drawn": 0.6913,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0831,
                "tackles_won": 0.4663,
                "tackles": 0.4663,
                "clearances": 0.998,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.3172,
                "xgot": 0.2101,
                "offsides": 0.4161,
                "ball_carries": 4.2928,
                "total_progression": 9.0552,
                "progressive_carries": 0.553,
                "shots_off_target": 0.5827
              },
              "params": {
                "market_value_eur": 10700000,
                "quality_factor": 0.5306,
                "boost_factor": 1.0026,
                "reference_quality": 0.505,
                "history_matches": 10,
                "history_shrink": 0.3333,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 18.8 to 25.7 expected minutes (appearance prob 0.58)",
              "stats": {
                "expected_goals": 0.1544,
                "goals": 0.1635,
                "goal_rate": 0.1635,
                "shots_on_target": 0.6698,
                "total_shots": 1.4652,
                "expected_assists": 0.0291,
                "key_pass": 0.4149,
                "rating": 6.6404,
                "minutes": 25.66,
                "total_pass": 17.3201,
                "accurate_pass": 11.0953,
                "duels_won": 3.881,
                "total_long_balls": 0.7831,
                "accurate_long_balls": 0.4345,
                "total_opp_half_passes": 11.8121,
                "accurate_opp_half_passes": 6.977,
                "crosses_total": 1.0578,
                "crosses_accurate": 0.2557,
                "touches": 29.5098,
                "possession_lost": 10.3362,
                "dispossessed": 0.2101,
                "duels_lost": 5.1735,
                "aerial_lost": 1.5126,
                "total_contest": 1.1695,
                "won_contest": 0.2669,
                "ball_recovery": 1.2092,
                "challenges_lost": 0.4958,
                "fouls": 1.2425,
                "fouls_drawn": 0.9436,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1134,
                "tackles_won": 0.6365,
                "tackles": 0.6365,
                "clearances": 1.3622,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.433,
                "xgot": 0.2868,
                "offsides": 0.4161,
                "ball_carries": 5.8595,
                "total_progression": 12.36,
                "progressive_carries": 0.7548,
                "shots_off_target": 0.7954,
                "bench_appearance_probability": 0.576,
                "bench_expected_minutes": 25.66
              },
              "params": {
                "expected_minutes": 25.66,
                "projection_minutes": 18.8,
                "minutes_scale": 1.365,
                "appearance_probability": 0.576
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.1544,
                "goals": 0.1635,
                "goal_rate": 0.1635,
                "shots_on_target": 0.6698,
                "total_shots": 1.4652,
                "expected_assists": 0.0291,
                "key_pass": 0.4149,
                "rating": 6.6404,
                "minutes": 25.66,
                "total_pass": 17.3201,
                "accurate_pass": 11.0953,
                "duels_won": 3.881,
                "total_long_balls": 0.7831,
                "accurate_long_balls": 0.4345,
                "total_opp_half_passes": 11.8121,
                "accurate_opp_half_passes": 6.977,
                "crosses_total": 1.0578,
                "crosses_accurate": 0.2557,
                "touches": 29.5098,
                "possession_lost": 10.3362,
                "dispossessed": 0.2101,
                "duels_lost": 5.1735,
                "aerial_lost": 1.5126,
                "total_contest": 1.1695,
                "won_contest": 0.2669,
                "ball_recovery": 1.2092,
                "challenges_lost": 0.4958,
                "fouls": 1.2425,
                "fouls_drawn": 0.9436,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.1134,
                "tackles_won": 0.6365,
                "tackles": 0.6365,
                "clearances": 1.3622,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.433,
                "xgot": 0.2868,
                "offsides": 0.4161,
                "ball_carries": 5.8595,
                "total_progression": 12.36,
                "progressive_carries": 0.7548,
                "shots_off_target": 0.7954,
                "bench_appearance_probability": 0.576,
                "bench_expected_minutes": 25.66
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.1544,
                "goal_rate": 0.1635,
                "goals": 0,
                "shots_on_target": 0.6698,
                "total_shots": 1.4652,
                "expected_assists": 0.0291,
                "key_pass": 0.4149,
                "rating": 6.6404,
                "minutes": 25.66,
                "total_pass": 17.3201,
                "accurate_pass": 11.0953,
                "duels_won": 3.881,
                "total_long_balls": 0.7831,
                "accurate_long_balls": 0.4345,
                "total_opp_half_passes": 11.8121,
                "accurate_opp_half_passes": 6.977,
                "crosses_total": 1.0578,
                "crosses_accurate": 0.2557,
                "touches": 29.5098,
                "possession_lost": 10.3362,
                "dispossessed": 0.2101,
                "duels_lost": 5.1735,
                "aerial_lost": 1.5126,
                "total_contest": 1.1695,
                "won_contest": 0.2669,
                "ball_recovery": 1.2092,
                "challenges_lost": 0.4958,
                "fouls": 1.2425,
                "fouls_drawn": 0.9436,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1134,
                "tackles_won": 0.6365,
                "tackles": 0.6365,
                "clearances": 1.3622,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.433,
                "xgot": 0.2868,
                "offsides": 0.4161,
                "ball_carries": 5.8595,
                "total_progression": 12.36,
                "progressive_carries": 0.7548,
                "shots_off_target": 0.7954,
                "bench_appearance_probability": 0.576,
                "bench_expected_minutes": 25.66,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.444,
                "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": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.83 (squad xG sum 0.7402, xG scale 1.1227, xA scale 1.1227, team xA 0.66 = 0.79 x lambda)",
              "stats": {
                "expected_goals": 0.0998,
                "goal_rate": 0.1635,
                "goals": 0,
                "shots_on_target": 0.6698,
                "total_shots": 1.4652,
                "expected_assists": 0.0188,
                "key_pass": 0.4149,
                "rating": 6.6404,
                "minutes": 25.66,
                "total_pass": 17.3201,
                "accurate_pass": 11.0953,
                "duels_won": 3.881,
                "total_long_balls": 0.7831,
                "accurate_long_balls": 0.4345,
                "total_opp_half_passes": 11.8121,
                "accurate_opp_half_passes": 6.977,
                "crosses_total": 1.0578,
                "crosses_accurate": 0.2557,
                "touches": 29.5098,
                "possession_lost": 10.3362,
                "dispossessed": 0.2101,
                "duels_lost": 5.1735,
                "aerial_lost": 1.5126,
                "total_contest": 1.1695,
                "won_contest": 0.2669,
                "ball_recovery": 1.2092,
                "challenges_lost": 0.4958,
                "fouls": 1.2425,
                "fouls_drawn": 0.9436,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1134,
                "tackles_won": 0.6365,
                "tackles": 0.6365,
                "clearances": 1.3622,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.433,
                "xgot": 0.1855,
                "offsides": 0.4161,
                "ball_carries": 5.8595,
                "total_progression": 12.36,
                "progressive_carries": 0.7548,
                "shots_off_target": 0.7954,
                "bench_appearance_probability": 0.576,
                "bench_expected_minutes": 25.66,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.444,
                "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.0445,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 0.831,
                "squad_xg_sum": 0.7402,
                "squad_xa_sum": 0.5844,
                "team_expected_assists": 0.6561,
                "team_xa_to_xg_ratio": 0.7895,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1227,
                "xa_scale": 1.1227,
                "opponent_lambda": 2.153,
                "scoreline_reset": true,
                "appearance_weight": 0.576
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.1544,
                  "after": 0.0998
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0291,
                  "after": 0.0188
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 18 by projected rating, fifa_overall 80.0)",
              "stats": {
                "expected_goals": 0.0998,
                "goal_rate": 0.1635,
                "goals": 0,
                "shots_on_target": 0.6698,
                "total_shots": 1.4652,
                "expected_assists": 0.0188,
                "key_pass": 0.4149,
                "rating": 6.6404,
                "minutes": 25.66,
                "total_pass": 17.3201,
                "accurate_pass": 11.0953,
                "duels_won": 3.881,
                "total_long_balls": 0.7831,
                "accurate_long_balls": 0.4345,
                "total_opp_half_passes": 11.8121,
                "accurate_opp_half_passes": 6.977,
                "crosses_total": 1.0578,
                "crosses_accurate": 0.2557,
                "touches": 29.5098,
                "possession_lost": 10.3362,
                "dispossessed": 0.2101,
                "duels_lost": 5.1735,
                "aerial_lost": 1.5126,
                "total_contest": 1.1695,
                "won_contest": 0.2669,
                "ball_recovery": 1.2092,
                "challenges_lost": 0.4958,
                "fouls": 1.2425,
                "fouls_drawn": 0.9436,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1134,
                "tackles_won": 0.6365,
                "tackles": 0.6365,
                "clearances": 1.3622,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.433,
                "xgot": 0.1855,
                "offsides": 0.4161,
                "ball_carries": 5.8595,
                "total_progression": 12.36,
                "progressive_carries": 0.7548,
                "shots_off_target": 0.7954,
                "bench_appearance_probability": 0.576,
                "bench_expected_minutes": 25.66,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.444,
                "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.0445,
                "creation_factor": 0.8,
                "fifa_overall": 80.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": 2054,
                "fifa_rank": 783.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 80.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.0998,
                "goal_rate": 0.1635,
                "goals": 0,
                "shots_on_target": 0.6698,
                "total_shots": 1.4652,
                "expected_assists": 0.0188,
                "key_pass": 0.4149,
                "rating": 6.6404,
                "minutes": 25.66,
                "total_pass": 17.3201,
                "accurate_pass": 11.0953,
                "duels_won": 3.881,
                "total_long_balls": 0.7831,
                "accurate_long_balls": 0.4345,
                "total_opp_half_passes": 11.8121,
                "accurate_opp_half_passes": 6.977,
                "crosses_total": 1.0578,
                "crosses_accurate": 0.2557,
                "touches": 29.5098,
                "possession_lost": 10.3362,
                "dispossessed": 0.2101,
                "duels_lost": 5.1735,
                "aerial_lost": 1.5126,
                "total_contest": 1.1695,
                "won_contest": 0.2669,
                "ball_recovery": 1.2092,
                "challenges_lost": 0.4958,
                "fouls": 1.2425,
                "fouls_drawn": 0.9436,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1134,
                "tackles_won": 0.6365,
                "tackles": 0.6365,
                "clearances": 1.3622,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.433,
                "xgot": 0.1855,
                "offsides": 0.4161,
                "ball_carries": 5.8595,
                "total_progression": 12.36,
                "progressive_carries": 0.7548,
                "shots_off_target": 0.7954,
                "bench_appearance_probability": 0.576,
                "bench_expected_minutes": 25.66,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.444,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0916,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.0445,
                "creation_factor": 0.8,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0916,
                "goal_rate": 0.1635,
                "scorer_weight": 0.1042,
                "squad_weight_total": 0.8662,
                "weight_share": 0.1203,
                "finishing_factor": 1.0445,
                "appearance_weight": 0.576,
                "weight_rank": 2,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.0998,
                "goal_rate": 0.1635,
                "goals": 0,
                "shots_on_target": 0.6698,
                "total_shots": 1.4652,
                "expected_assists": 0.0188,
                "key_pass": 0.4149,
                "rating": 6.6404,
                "minutes": 25.66,
                "total_pass": 17.3201,
                "accurate_pass": 11.0953,
                "duels_won": 3.881,
                "total_long_balls": 0.7831,
                "accurate_long_balls": 0.4345,
                "total_opp_half_passes": 11.8121,
                "accurate_opp_half_passes": 6.977,
                "crosses_total": 1.0578,
                "crosses_accurate": 0.2557,
                "touches": 29.5098,
                "possession_lost": 10.3362,
                "dispossessed": 0.2101,
                "duels_lost": 5.1735,
                "aerial_lost": 1.5126,
                "total_contest": 1.1695,
                "won_contest": 0.2669,
                "ball_recovery": 1.2092,
                "challenges_lost": 0.4958,
                "fouls": 1.2425,
                "fouls_drawn": 0.9436,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.1134,
                "tackles_won": 0.6365,
                "tackles": 0.6365,
                "clearances": 1.3622,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.433,
                "xgot": 0.1855,
                "offsides": 0.4161,
                "ball_carries": 5.8595,
                "total_progression": 12.36,
                "progressive_carries": 0.7548,
                "shots_off_target": 0.7954,
                "bench_appearance_probability": 0.576,
                "bench_expected_minutes": 25.66,
                "projected_substitution_order": 1,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.444,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0916,
                "projected_assists": 0,
                "assist_probability": 0.0185,
                "finishing_factor": 1.0445,
                "creation_factor": 0.8,
                "fifa_overall": 80.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0185,
                "assist_rate": 0.0,
                "provider_weight": 0.015,
                "squad_weight_total": 0.5932,
                "weight_share": 0.0254,
                "creation_factor": 0.8,
                "appearance_weight": 0.576,
                "weight_rank": 10,
                "eligible_players": 13
              }
            }
          ]
        },
        "Joaquín Muñoz": {
          "player_id": 904964,
          "position": "F",
          "position_depth": "F_BENCH",
          "is_starter": false,
          "shirt_number": 11,
          "height": 172,
          "market_value": 1900000,
          "stats": {
            "expected_goals": 0.0382,
            "goal_rate": 0.049,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 1,
            "expected_assists": 0.0353,
            "key_pass": 0,
            "rating": 6.6771,
            "minutes": 25,
            "total_pass": 9,
            "accurate_pass": 6,
            "duels_won": 1,
            "total_long_balls": 1,
            "accurate_long_balls": 0,
            "total_opp_half_passes": 8,
            "accurate_opp_half_passes": 5,
            "crosses_total": 1,
            "crosses_accurate": 0,
            "touches": 16,
            "possession_lost": 5.8465,
            "dispossessed": 0.2789,
            "duels_lost": 2,
            "aerial_lost": 0,
            "total_contest": 2,
            "won_contest": 1,
            "ball_recovery": 1,
            "challenges_lost": 0,
            "fouls": 0,
            "fouls_drawn": 0,
            "assist_rate": 0.0,
            "assists": 0,
            "interceptions": 0,
            "tackles_won": 0,
            "tackles": 0,
            "clearances": 0,
            "blocks": 0,
            "big_chances_created": 0,
            "big_chances_missed": 0,
            "xgot": 0.0122,
            "offsides": 0,
            "ball_carries": 6,
            "total_progression": 39,
            "progressive_carries": 2,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.559,
            "bench_expected_minutes": 25.29,
            "projected_substitution_order": 2,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.444,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0369,
            "projected_assists": 0,
            "assist_probability": 0.0342,
            "finishing_factor": 0.8927,
            "creation_factor": 0.8,
            "fifa_overall": 71.0
          },
          "latest_10_games": [
            {
              "match_id": 16421073,
              "match_date": "2026-10-18",
              "home_team": "Málaga CF",
              "away_team": "Real Sociedad",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Real Sociedad",
              "stats": {
                "minutes": 22,
                "rating": 7.0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0963,
                "expected_assists": 0.3045,
                "total_shots": 2,
                "shots_on_target": 1,
                "total_pass": 8,
                "accurate_pass": 5,
                "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": 16421062,
              "match_date": "2026-10-09",
              "home_team": "Málaga CF",
              "away_team": "Espanyol",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Espanyol",
              "stats": {
                "minutes": 62,
                "rating": 6.6,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0888,
                "total_shots": 0,
                "total_pass": 13,
                "accurate_pass": 10,
                "key_pass": 1,
                "interceptions": 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": 16416303,
              "match_date": "2026-09-20",
              "home_team": "Getafe",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Getafe",
              "stats": {
                "minutes": 67,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0607,
                "expected_assists": 0.0834,
                "total_shots": 1,
                "total_pass": 12,
                "accurate_pass": 6,
                "key_pass": 1,
                "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": 16416338,
              "match_date": "2026-09-17",
              "home_team": "Málaga CF",
              "away_team": "Villarreal",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Villarreal",
              "stats": {
                "minutes": 29,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0174,
                "expected_assists": 0.0067,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 8,
                "accurate_pass": 5,
                "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": 16416347,
              "match_date": "2026-09-13",
              "home_team": "Celta Vigo",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Celta Vigo",
              "stats": {
                "minutes": 61,
                "rating": 6.2,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0269,
                "expected_assists": 0.0167,
                "total_shots": 1,
                "total_pass": 11,
                "accurate_pass": 11,
                "tackles": 1,
                "interceptions": 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": 16416320,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 31,
                "rating": 6.8,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0598,
                "total_shots": 0,
                "total_pass": 11,
                "accurate_pass": 9,
                "key_pass": 2,
                "duels_won": 2,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16416312,
              "match_date": "2026-08-30",
              "home_team": "Real Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Real Madrid",
              "stats": {
                "minutes": 61,
                "rating": 6.4,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.0216,
                "expected_assists": 0.0675,
                "total_shots": 1,
                "shots_off_target": 1,
                "total_pass": 17,
                "accurate_pass": 16,
                "key_pass": 1,
                "clearances": 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": 16416307,
              "match_date": "2026-08-24",
              "home_team": "Málaga CF",
              "away_team": "Deportivo de A Coruña",
              "team_side": "home",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Deportivo de A Coruña",
              "stats": {
                "minutes": 73,
                "rating": 6.5,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.029,
                "expected_assists": 0.0199,
                "total_shots": 1,
                "total_pass": 19,
                "accurate_pass": 17,
                "tackles": 2,
                "tackles_won": 2,
                "duels_won": 6,
                "ball_recovery": 3
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            },
            {
              "match_id": 16421055,
              "match_date": "2026-08-19",
              "home_team": "Atlético Madrid",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 1,
              "team": "Málaga CF",
              "opponent": "Atlético Madrid",
              "stats": {
                "minutes": 67,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0255,
                "total_shots": 0,
                "total_pass": 23,
                "accurate_pass": 18,
                "tackles": 1,
                "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"
            }
          ],
          "ranking": {
            "global_player_rank": 4788,
            "combined_rank_score": 2863.5,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": 698.0,
            "sofascore_rating": 6.7,
            "sofascore_appearances": 1.0,
            "fifa_rank": 5029.0,
            "fifa_overall": 71.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 14,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6771,
            "source_file": "data/player_rankings.csv",
            "player_name": "Joaquín Muñoz",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Jorge Ruvalcaba",
                  "ranking": 4783
                },
                {
                  "player_name": "Luca Langoni",
                  "ranking": 4784
                },
                {
                  "player_name": "John Victor",
                  "ranking": 4785
                },
                {
                  "player_name": "Diego Luna",
                  "ranking": 4786
                },
                {
                  "player_name": "Rafael Navarro",
                  "ranking": 4787
                }
              ],
              "lower": [
                {
                  "player_name": "Odin Luraas Bjørtuft",
                  "ranking": 4789
                },
                {
                  "player_name": "Harry Milne",
                  "ranking": 4790
                },
                {
                  "player_name": "Auston Trusty",
                  "ranking": 4791
                },
                {
                  "player_name": "Cameron Devlin",
                  "ranking": 4792
                },
                {
                  "player_name": "Reo Hatate",
                  "ranking": 4793
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.75,
          "history_matches": 9,
          "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": 9,
            "data_confidence": 0.75,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 25.292222187561247,
            "bench_appearance_prob": 0.5587373721618749,
            "market_value_adjustment": 0.9928,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost F_service (9 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.0585,
                "goals": 0.0471,
                "goal_rate": 0.0471,
                "shots_on_target": 0.2161,
                "total_shots": 0.6287,
                "expected_assists": 0.054,
                "key_pass": 0.4784,
                "rating": 6.6771,
                "minutes": 24.1,
                "total_pass": 8.8426,
                "accurate_pass": 6.1234,
                "duels_won": 1.2809,
                "total_long_balls": 0.6113,
                "accurate_long_balls": 0.2809,
                "total_opp_half_passes": 7.3392,
                "accurate_opp_half_passes": 4.9505,
                "crosses_total": 0.6113,
                "crosses_accurate": 0.0,
                "touches": 15.6783,
                "possession_lost": 5.6113,
                "dispossessed": 0.2809,
                "duels_lost": 2.2225,
                "aerial_lost": 0.0,
                "total_contest": 2.3304,
                "won_contest": 1.0,
                "ball_recovery": 1.2313,
                "challenges_lost": 0.3304,
                "fouls": 0.2809,
                "fouls_drawn": 0.2809,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0186,
                "offsides": 0.0,
                "ball_carries": 6.0,
                "total_progression": 37.8812,
                "progressive_carries": 2.1079,
                "shots_off_target": 0.4125
              },
              "trace": {
                "model": {
                  "position_service": "F",
                  "schema_version": 6,
                  "trained_at": "2026-10-31T10:30:56.271646+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 610,
                    "rows": 17075
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-18",
                    "opponent": "Real Sociedad",
                    "minutes": 22.0,
                    "is_starting": false,
                    "weight": 0.1952,
                    "rating": 7.0
                  },
                  {
                    "match_date": "2026-10-09",
                    "opponent": "Espanyol",
                    "minutes": 62.0,
                    "is_starting": true,
                    "weight": 0.1659,
                    "rating": 6.6
                  },
                  {
                    "match_date": "2026-09-20",
                    "opponent": "Getafe",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.141,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-17",
                    "opponent": "Villarreal",
                    "minutes": 29.0,
                    "is_starting": false,
                    "weight": 0.1199,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-13",
                    "opponent": "Celta Vigo",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.1019,
                    "rating": 6.2
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Levante UD",
                    "minutes": 31.0,
                    "is_starting": false,
                    "weight": 0.0866,
                    "rating": 6.8
                  },
                  {
                    "match_date": "2026-08-30",
                    "opponent": "Real Madrid",
                    "minutes": 61.0,
                    "is_starting": true,
                    "weight": 0.0736,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-08-24",
                    "opponent": "Deportivo de A Coruña",
                    "minutes": 73.0,
                    "is_starting": true,
                    "weight": 0.0626,
                    "rating": 6.5
                  },
                  {
                    "match_date": "2026-08-19",
                    "opponent": "Atlético Madrid",
                    "minutes": 67.0,
                    "is_starting": true,
                    "weight": 0.0532,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 9.0,
                  "is_starting_11": 0.0,
                  "accurateOppositionHalfPasses": 7.7254,
                  "expectedGoals": 0.0356,
                  "totalOppositionHalfPasses": 10.135,
                  "accuratePass": 9.181,
                  "totalShots": 0.8895
                },
                "per_target": [
                  {
                    "target": "expectedGoals",
                    "predicted": 0.05845794081687927,
                    "model_output": 0.0585,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.282
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0898
                      },
                      {
                        "name": "goals",
                        "importance": 0.0323
                      },
                      {
                        "name": "xg_per_shot",
                        "importance": 0.0316
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0236
                      }
                    ],
                    "decomposition": {
                      "base": 0.1945,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0841
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0181
                        },
                        {
                          "name": "goals",
                          "contribution": -0.0095
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0059
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0048
                        }
                      ],
                      "others": -0.0136,
                      "total": 0.0585,
                      "log_link": true,
                      "margin_base": -1.637486,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.566025
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.179426
                        },
                        {
                          "name": "goals",
                          "margin": -0.109104
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.07401
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.06493
                        }
                      ],
                      "others_margin": -0.208468
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.047085992991924286,
                    "model_output": 0.0471,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.144
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0742
                      },
                      {
                        "name": "goals",
                        "importance": 0.053
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0321
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0311
                      }
                    ],
                    "decomposition": {
                      "base": 0.199,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0894
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "contribution": -0.0151
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.012
                        },
                        {
                          "name": "xg_per_shot",
                          "contribution": -0.0066
                        },
                        {
                          "name": "aerialWon",
                          "contribution": -0.0055
                        }
                      ],
                      "others": -0.0233,
                      "total": 0.0471,
                      "log_link": true,
                      "margin_base": -1.614663,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.59626
                        },
                        {
                          "name": "defensiveValueNormalized",
                          "margin": -0.148162
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.135806
                        },
                        {
                          "name": "xg_per_shot",
                          "margin": -0.0837
                        },
                        {
                          "name": "aerialWon",
                          "margin": -0.074789
                        }
                      ],
                      "others_margin": -0.402398
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.2161334902048111,
                    "model_output": 0.2161,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2115
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.066
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0499
                      },
                      {
                        "name": "goals",
                        "importance": 0.0473
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0333
                      }
                    ],
                    "decomposition": {
                      "base": 0.5305,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2175
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0318
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0135
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.0125
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0118
                        }
                      ],
                      "others": -0.0273,
                      "total": 0.2161,
                      "log_link": true,
                      "margin_base": -0.633985,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.527712
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.107219
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.049363
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": -0.047846
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.047434
                        }
                      ],
                      "others_margin": -0.118301
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.6286646723747253,
                    "model_output": 0.6287,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.2934
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0662
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.05
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0272
                      },
                      {
                        "name": "aerialLost",
                        "importance": 0.027
                      }
                    ],
                    "decomposition": {
                      "base": 1.3805,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.499
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.1309
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0513
                        },
                        {
                          "name": "goals",
                          "contribution": -0.042
                        },
                        {
                          "name": "shot_accuracy",
                          "contribution": -0.0292
                        }
                      ],
                      "others": -0.102,
                      "total": 0.6287,
                      "log_link": false,
                      "margin_base": 1.38048,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.498987
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.13089
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.051349
                        },
                        {
                          "name": "goals",
                          "margin": -0.041959
                        },
                        {
                          "name": "shot_accuracy",
                          "margin": -0.029222
                        }
                      ],
                      "others_margin": -0.102105
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.053952667862176895,
                    "model_output": 0.054,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.1135
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.0826
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0722
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0587
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0552
                      }
                    ],
                    "decomposition": {
                      "base": 0.0647,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0185
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0061
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0031
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0028
                        },
                        {
                          "name": "passValueNormalized",
                          "contribution": 0.0023
                        }
                      ],
                      "others": 0.0053,
                      "total": 0.054,
                      "log_link": true,
                      "margin_base": -2.738275,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.336822
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.124708
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.061356
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.058121
                        },
                        {
                          "name": "passValueNormalized",
                          "margin": 0.047642
                        }
                      ],
                      "others_margin": 0.102576
                    }
                  },
                  {
                    "target": "keyPass",
                    "predicted": 0.47838684916496277,
                    "model_output": 0.4784,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "is_starting_11",
                        "importance": 0.1545
                      },
                      {
                        "name": "accuratePass",
                        "importance": 0.1071
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0923
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0893
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0298
                      }
                    ],
                    "decomposition": {
                      "base": 0.6939,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.2485
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": 0.0333
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "contribution": -0.0252
                        },
                        {
                          "name": "aerialWon",
                          "contribution": 0.0182
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0175
                        }
                      ],
                      "others": 0.0242,
                      "total": 0.4784,
                      "log_link": true,
                      "margin_base": -0.365451,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.443398
                        },
                        {
                          "name": "expectedAssists",
                          "margin": 0.072104
                        },
                        {
                          "name": "accurateOppositionHalfPasses",
                          "margin": -0.053988
                        },
                        {
                          "name": "aerialWon",
                          "margin": 0.039286
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.037706
                        }
                      ],
                      "others_margin": 0.051818
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.677105903625488,
                    "model_output": 6.6771,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0529
                      },
                      {
                        "name": "rating",
                        "importance": 0.0463
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.044
                      },
                      {
                        "name": "dribbleValueNormalized",
                        "importance": 0.0417
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0371
                      }
                    ],
                    "decomposition": {
                      "base": 6.7735,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0734
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "contribution": 0.0323
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0315
                        },
                        {
                          "name": "dispossessed",
                          "contribution": -0.0154
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "contribution": 0.0144
                        }
                      ],
                      "others": -0.0228,
                      "total": 6.6771,
                      "log_link": false,
                      "margin_base": 6.773504,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.073435
                        },
                        {
                          "name": "dribbleValueNormalized",
                          "margin": 0.032296
                        },
                        {
                          "name": "rating",
                          "margin": -0.031512
                        },
                        {
                          "name": "dispossessed",
                          "margin": -0.015429
                        },
                        {
                          "name": "progressiveBallCarriesCount",
                          "margin": 0.014405
                        }
                      ],
                      "others_margin": -0.022721
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "history_matches": 9,
                  "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.9928, quality 0.437)",
              "stats": {
                "expected_goals": 0.058,
                "goals": 0.0467,
                "goal_rate": 0.0467,
                "shots_on_target": 0.2146,
                "total_shots": 0.6241,
                "expected_assists": 0.0536,
                "key_pass": 0.4749,
                "rating": 6.6771,
                "minutes": 24.1,
                "total_pass": 8.7789,
                "accurate_pass": 6.0793,
                "duels_won": 1.2717,
                "total_long_balls": 0.6069,
                "accurate_long_balls": 0.2789,
                "total_opp_half_passes": 7.2864,
                "accurate_opp_half_passes": 4.9149,
                "crosses_total": 0.6069,
                "crosses_accurate": 0.0,
                "touches": 15.5654,
                "possession_lost": 5.5709,
                "dispossessed": 0.2789,
                "duels_lost": 2.2065,
                "aerial_lost": 0.0,
                "total_contest": 2.3136,
                "won_contest": 0.9928,
                "ball_recovery": 1.2224,
                "challenges_lost": 0.328,
                "fouls": 0.2789,
                "fouls_drawn": 0.2789,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0185,
                "offsides": 0.0,
                "ball_carries": 5.9568,
                "total_progression": 37.6085,
                "progressive_carries": 2.0927,
                "shots_off_target": 0.4095
              },
              "params": {
                "market_value_eur": 1900000,
                "quality_factor": 0.4374,
                "boost_factor": 0.9928,
                "reference_quality": 0.505,
                "history_matches": 9,
                "history_shrink": 0.3571,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 24.1 to 25.3 expected minutes (appearance prob 0.56)",
              "stats": {
                "expected_goals": 0.0609,
                "goals": 0.049,
                "goal_rate": 0.049,
                "shots_on_target": 0.2252,
                "total_shots": 0.655,
                "expected_assists": 0.0563,
                "key_pass": 0.4984,
                "rating": 6.6771,
                "minutes": 25.29,
                "total_pass": 9.2132,
                "accurate_pass": 6.38,
                "duels_won": 1.3346,
                "total_long_balls": 0.6369,
                "accurate_long_balls": 0.2927,
                "total_opp_half_passes": 7.6469,
                "accurate_opp_half_passes": 5.158,
                "crosses_total": 0.6369,
                "crosses_accurate": 0.0,
                "touches": 16.3354,
                "possession_lost": 5.8465,
                "dispossessed": 0.2789,
                "duels_lost": 2.3157,
                "aerial_lost": 0.0,
                "total_contest": 2.4281,
                "won_contest": 1.0419,
                "ball_recovery": 1.2829,
                "challenges_lost": 0.328,
                "fouls": 0.2927,
                "fouls_drawn": 0.2927,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0194,
                "offsides": 0.0,
                "ball_carries": 6.2515,
                "total_progression": 39.469,
                "progressive_carries": 2.1962,
                "shots_off_target": 0.4298,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "params": {
                "expected_minutes": 25.29,
                "projection_minutes": 24.1,
                "minutes_scale": 1.0495,
                "appearance_probability": 0.559
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "expected_goals": 0.0609,
                "goals": 0.049,
                "goal_rate": 0.049,
                "shots_on_target": 0.2252,
                "total_shots": 0.655,
                "expected_assists": 0.0563,
                "key_pass": 0.4984,
                "rating": 6.6771,
                "minutes": 25.29,
                "total_pass": 9.2132,
                "accurate_pass": 6.38,
                "duels_won": 1.3346,
                "total_long_balls": 0.6369,
                "accurate_long_balls": 0.2927,
                "total_opp_half_passes": 7.6469,
                "accurate_opp_half_passes": 5.158,
                "crosses_total": 0.6369,
                "crosses_accurate": 0.0,
                "touches": 16.3354,
                "possession_lost": 5.8465,
                "dispossessed": 0.2789,
                "duels_lost": 2.3157,
                "aerial_lost": 0.0,
                "total_contest": 2.4281,
                "won_contest": 1.0419,
                "ball_recovery": 1.2829,
                "challenges_lost": 0.328,
                "fouls": 0.2927,
                "fouls_drawn": 0.2927,
                "assists": 0.0,
                "assist_rate": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0194,
                "offsides": 0.0,
                "ball_carries": 6.2515,
                "total_progression": 39.469,
                "progressive_carries": 2.1962,
                "shots_off_target": 0.4298,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "expected_goals": 0.0609,
                "goal_rate": 0.049,
                "goals": 0,
                "shots_on_target": 0.2252,
                "total_shots": 0.655,
                "expected_assists": 0.0563,
                "key_pass": 0.4984,
                "rating": 6.6771,
                "minutes": 25.29,
                "total_pass": 9.2132,
                "accurate_pass": 6.38,
                "duels_won": 1.3346,
                "total_long_balls": 0.6369,
                "accurate_long_balls": 0.2927,
                "total_opp_half_passes": 7.6469,
                "accurate_opp_half_passes": 5.158,
                "crosses_total": 0.6369,
                "crosses_accurate": 0.0,
                "touches": 16.3354,
                "possession_lost": 5.8465,
                "dispossessed": 0.2789,
                "duels_lost": 2.3157,
                "aerial_lost": 0.0,
                "total_contest": 2.4281,
                "won_contest": 1.0419,
                "ball_recovery": 1.2829,
                "challenges_lost": 0.328,
                "fouls": 0.2927,
                "fouls_drawn": 0.2927,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0194,
                "offsides": 0.0,
                "ball_carries": 6.2515,
                "total_progression": 39.469,
                "progressive_carries": 2.1962,
                "shots_off_target": 0.4298,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.444,
                "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": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.83 (squad xG sum 0.7402, xG scale 1.1227, xA scale 1.1227, team xA 0.66 = 0.79 x lambda)",
              "stats": {
                "expected_goals": 0.0382,
                "goal_rate": 0.049,
                "goals": 0,
                "shots_on_target": 0.2252,
                "total_shots": 0.655,
                "expected_assists": 0.0353,
                "key_pass": 0.4984,
                "rating": 6.6771,
                "minutes": 25.29,
                "total_pass": 9.2132,
                "accurate_pass": 6.38,
                "duels_won": 1.3346,
                "total_long_balls": 0.6369,
                "accurate_long_balls": 0.2927,
                "total_opp_half_passes": 7.6469,
                "accurate_opp_half_passes": 5.158,
                "crosses_total": 0.6369,
                "crosses_accurate": 0.0,
                "touches": 16.3354,
                "possession_lost": 5.8465,
                "dispossessed": 0.2789,
                "duels_lost": 2.3157,
                "aerial_lost": 0.0,
                "total_contest": 2.4281,
                "won_contest": 1.0419,
                "ball_recovery": 1.2829,
                "challenges_lost": 0.328,
                "fouls": 0.2927,
                "fouls_drawn": 0.2927,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0122,
                "offsides": 0.0,
                "ball_carries": 6.2515,
                "total_progression": 39.469,
                "progressive_carries": 2.1962,
                "shots_off_target": 0.4298,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.444,
                "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.8927,
                "creation_factor": 0.8
              },
              "params": {
                "team_lambda": 0.831,
                "squad_xg_sum": 0.7402,
                "squad_xa_sum": 0.5844,
                "team_expected_assists": 0.6561,
                "team_xa_to_xg_ratio": 0.7895,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1227,
                "xa_scale": 1.1227,
                "opponent_lambda": 2.153,
                "scoreline_reset": true,
                "appearance_weight": 0.559
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0609,
                  "after": 0.0382
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0563,
                  "after": 0.0353
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 14 by projected rating, fifa_overall 71.0)",
              "stats": {
                "expected_goals": 0.0382,
                "goal_rate": 0.049,
                "goals": 0,
                "shots_on_target": 0.2252,
                "total_shots": 0.655,
                "expected_assists": 0.0353,
                "key_pass": 0.4984,
                "rating": 6.6771,
                "minutes": 25.29,
                "total_pass": 9.2132,
                "accurate_pass": 6.38,
                "duels_won": 1.3346,
                "total_long_balls": 0.6369,
                "accurate_long_balls": 0.2927,
                "total_opp_half_passes": 7.6469,
                "accurate_opp_half_passes": 5.158,
                "crosses_total": 0.6369,
                "crosses_accurate": 0.0,
                "touches": 16.3354,
                "possession_lost": 5.8465,
                "dispossessed": 0.2789,
                "duels_lost": 2.3157,
                "aerial_lost": 0.0,
                "total_contest": 2.4281,
                "won_contest": 1.0419,
                "ball_recovery": 1.2829,
                "challenges_lost": 0.328,
                "fouls": 0.2927,
                "fouls_drawn": 0.2927,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0122,
                "offsides": 0.0,
                "ball_carries": 6.2515,
                "total_progression": 39.469,
                "progressive_carries": 2.1962,
                "shots_off_target": 0.4298,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.444,
                "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.8927,
                "creation_factor": 0.8,
                "fifa_overall": 71.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": 4788,
                "fifa_rank": 5029.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 71.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "expected_goals": 0.0382,
                "goal_rate": 0.049,
                "goals": 0,
                "shots_on_target": 0.2252,
                "total_shots": 0.655,
                "expected_assists": 0.0353,
                "key_pass": 0.4984,
                "rating": 6.6771,
                "minutes": 25.29,
                "total_pass": 9.2132,
                "accurate_pass": 6.38,
                "duels_won": 1.3346,
                "total_long_balls": 0.6369,
                "accurate_long_balls": 0.2927,
                "total_opp_half_passes": 7.6469,
                "accurate_opp_half_passes": 5.158,
                "crosses_total": 0.6369,
                "crosses_accurate": 0.0,
                "touches": 16.3354,
                "possession_lost": 5.8465,
                "dispossessed": 0.2789,
                "duels_lost": 2.3157,
                "aerial_lost": 0.0,
                "total_contest": 2.4281,
                "won_contest": 1.0419,
                "ball_recovery": 1.2829,
                "challenges_lost": 0.328,
                "fouls": 0.2927,
                "fouls_drawn": 0.2927,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0122,
                "offsides": 0.0,
                "ball_carries": 6.2515,
                "total_progression": 39.469,
                "progressive_carries": 2.1962,
                "shots_off_target": 0.4298,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.444,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0369,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 0.8927,
                "creation_factor": 0.8,
                "fifa_overall": 71.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0369,
                "goal_rate": 0.049,
                "scorer_weight": 0.0341,
                "squad_weight_total": 0.8662,
                "weight_share": 0.0394,
                "finishing_factor": 0.8927,
                "appearance_weight": 0.559,
                "weight_rank": 9,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "expected_goals": 0.0382,
                "goal_rate": 0.049,
                "goals": 0,
                "shots_on_target": 0.2252,
                "total_shots": 0.655,
                "expected_assists": 0.0353,
                "key_pass": 0.4984,
                "rating": 6.6771,
                "minutes": 25.29,
                "total_pass": 9.2132,
                "accurate_pass": 6.38,
                "duels_won": 1.3346,
                "total_long_balls": 0.6369,
                "accurate_long_balls": 0.2927,
                "total_opp_half_passes": 7.6469,
                "accurate_opp_half_passes": 5.158,
                "crosses_total": 0.6369,
                "crosses_accurate": 0.0,
                "touches": 16.3354,
                "possession_lost": 5.8465,
                "dispossessed": 0.2789,
                "duels_lost": 2.3157,
                "aerial_lost": 0.0,
                "total_contest": 2.4281,
                "won_contest": 1.0419,
                "ball_recovery": 1.2829,
                "challenges_lost": 0.328,
                "fouls": 0.2927,
                "fouls_drawn": 0.2927,
                "assist_rate": 0.0,
                "assists": 0,
                "interceptions": 0.0,
                "tackles_won": 0.0,
                "tackles": 0.0,
                "clearances": 0.0,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0122,
                "offsides": 0.0,
                "ball_carries": 6.2515,
                "total_progression": 39.469,
                "progressive_carries": 2.1962,
                "shots_off_target": 0.4298,
                "bench_appearance_probability": 0.559,
                "bench_expected_minutes": 25.29,
                "projected_substitution_order": 2,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.444,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0369,
                "projected_assists": 0,
                "assist_probability": 0.0342,
                "finishing_factor": 0.8927,
                "creation_factor": 0.8,
                "fifa_overall": 71.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0342,
                "assist_rate": 0.0,
                "provider_weight": 0.0282,
                "squad_weight_total": 0.5932,
                "weight_share": 0.0476,
                "creation_factor": 0.8,
                "appearance_weight": 0.559,
                "weight_rank": 8,
                "eligible_players": 13
              }
            }
          ]
        },
        "Jens-Lys Cajuste": {
          "player_id": 857671,
          "position": "M",
          "position_depth": "M_BENCH",
          "is_starter": false,
          "shirt_number": 2,
          "height": 188,
          "market_value": 6600000,
          "stats": {
            "key_pass": 0,
            "expected_assists": 0.0099,
            "assist_rate": 0.0375,
            "assists": 0,
            "expected_goals": 0.0321,
            "goal_rate": 0.0828,
            "goals": 0,
            "shots_on_target": 0,
            "total_shots": 0,
            "rating": 6.6581,
            "minutes": 22,
            "total_pass": 6,
            "accurate_pass": 5,
            "duels_won": 1,
            "total_long_balls": 0,
            "accurate_long_balls": 0,
            "total_own_half_passes": 4,
            "accurate_own_half_passes": 4,
            "total_opp_half_passes": 2,
            "accurate_opp_half_passes": 1,
            "crosses_total": 0,
            "crosses_accurate": 0,
            "touches": 10,
            "possession_lost": 1.4925,
            "dispossessed": 0.0,
            "duels_lost": 1,
            "aerial_won": 0,
            "aerial_lost": 0,
            "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": 1,
            "total_progression": 3,
            "progressive_carries": 0,
            "shots_off_target": 0,
            "bench_appearance_probability": 0.507,
            "bench_expected_minutes": 22.15,
            "projected_substitution_order": 3,
            "substitution_rule_cap": 5,
            "projected_team_substitution_count": 3,
            "projected_substitution_expected_count": 2.444,
            "projected_substitution_game_state_adjustment": 1,
            "substitution_usage": "projected_used_substitute",
            "projected_goals": 0,
            "goal_probability": 0.0311,
            "projected_assists": 0,
            "assist_probability": 0.0098,
            "finishing_factor": 1.2481,
            "creation_factor": 1.25,
            "fifa_overall": 73.0
          },
          "latest_10_games": [
            {
              "match_id": 16421077,
              "match_date": "2026-10-23",
              "home_team": "Deportivo Alavés",
              "away_team": "Málaga CF",
              "team_side": "away",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Deportivo Alavés",
              "stats": {
                "minutes": 9,
                "rating": 6.4,
                "goal_rate": 0.0,
                "goals": 0,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_goals": 0.1015,
                "expected_assists": 0.0,
                "total_shots": 1,
                "shots_on_target": 0,
                "shots_off_target": 1,
                "total_pass": 2,
                "accurate_pass": 2,
                "tackles": 0,
                "tackles_won": 0,
                "interceptions": 0,
                "clearances": 1,
                "aerial_won": 0,
                "duels_won": 1,
                "ball_recovery": 0,
                "saves": 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": 16416320,
              "match_date": "2026-09-06",
              "home_team": "Málaga CF",
              "away_team": "Levante UD",
              "team_side": "home",
              "is_starting_11": 0,
              "team": "Málaga CF",
              "opponent": "Levante UD",
              "stats": {
                "minutes": 9,
                "rating": 6.7,
                "assist_rate": 0.0,
                "assists": 0,
                "expected_assists": 0.0005,
                "total_shots": 0,
                "total_pass": 6,
                "accurate_pass": 5,
                "tackles": 1,
                "tackles_won": 1,
                "duels_won": 1
              },
              "has_player_stats": true,
              "league_name": "LaLiga",
              "league_id": "8",
              "league_slug": "laliga",
              "league_country": "Spain",
              "season_id": "97268",
              "season_name": "LaLiga 26/27",
              "season_year": "26/27"
            }
          ],
          "ranking": {
            "global_player_rank": 3806,
            "combined_rank_score": 1806.0,
            "ranking_source": "sofascore_plus_fifa_csv",
            "ranking_status": "combined",
            "sofascore_rank": null,
            "sofascore_rating": null,
            "sofascore_appearances": 0.0,
            "fifa_rank": 3437.0,
            "fifa_overall": 73.0,
            "fifa_source": "EA SPORTS FC official ratings",
            "match_squad_rank": 16,
            "squad_role": "substitute",
            "ranking_match": "player_id",
            "projected_match_rating": 6.6581,
            "source_file": "data/player_rankings.csv",
            "player_name": "Jens-Lys Cajuste",
            "ranking_neighbors": {
              "upper": [
                {
                  "player_name": "Bartłomiej Drągowski",
                  "ranking": 3801
                },
                {
                  "player_name": "Eliesse Ben Seghir",
                  "ranking": 3802
                },
                {
                  "player_name": "Roony Bardghji",
                  "ranking": 3803
                },
                {
                  "player_name": "Nilson Angulo",
                  "ranking": 3804
                },
                {
                  "player_name": "James McAtee",
                  "ranking": 3805
                }
              ],
              "lower": [
                {
                  "player_name": "Yáser Asprilla",
                  "ranking": 3807
                },
                {
                  "player_name": "Stephen Eustaquio",
                  "ranking": 3808
                },
                {
                  "player_name": "Darío Osorio",
                  "ranking": 3809
                },
                {
                  "player_name": "Josh Sargent",
                  "ranking": 3810
                },
                {
                  "player_name": "Haris Hajradinović",
                  "ranking": 3811
                }
              ]
            }
          },
          "data_sources": [
            "match_history",
            "market_value"
          ],
          "data_confidence": 0.375,
          "history_matches": 2,
          "xgboost_reasoning": {
            "model_source": "xgboost_regressor",
            "position_service": "M_service",
            "features_evaluated": [
              "minutesPlayed",
              "is_starting_11",
              "totalPass",
              "accuratePass",
              "totalOppositionHalfPasses",
              "accurateOppositionHalfPasses",
              "totalShots",
              "keyPass",
              "expectedAssists",
              "totalCross",
              "accurateCross",
              "duelWon",
              "duelLost",
              "aerialWon",
              "ballRecovery",
              "touches",
              "interceptionWon",
              "wonTackle",
              "possessionLostCtrl",
              "dispossessed",
              "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": 2,
            "data_confidence": 0.375,
            "data_sources": [
              "match_history",
              "market_value"
            ],
            "bench_expected_minutes": 22.147767132293673,
            "bench_appearance_prob": 0.5067166878315306,
            "market_value_adjustment": 0.995,
            "fbref_prior_metrics": null,
            "rationale": "Bench projection scaled from XGBoost M_service (2 historical appearances) to 22.1 expected mins (appearance prob 0.51)."
          },
          "stat_evolution": [
            {
              "step": "xgboost_raw",
              "description": "XGBoost M_service raw output over 8 target models",
              "stats": {
                "key_pass": 0.2294,
                "expected_assists": 0.0117,
                "assists": 0.0251,
                "assist_rate": 0.0251,
                "expected_goals": 0.0378,
                "goals": 0.0555,
                "goal_rate": 0.0555,
                "shots_on_target": 0.1072,
                "total_shots": 0.2878,
                "rating": 6.6581,
                "minutes": 14.0,
                "total_pass": 3.8378,
                "accurate_pass": 3.3783,
                "duels_won": 1.0,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 2.4595,
                "accurate_own_half_passes": 2.4595,
                "total_opp_half_passes": 1.3784,
                "accurate_opp_half_passes": 0.9189,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 6.4595,
                "possession_lost": 1.0,
                "dispossessed": 0.0,
                "duels_lost": 0.5405,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.4595,
                "tackles": 0.4595,
                "clearances": 0.5405,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5405,
                "fouls": 0.0,
                "fouls_drawn": 0.5405,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 0.9189,
                "total_progression": 1.9352,
                "progressive_carries": 0.0,
                "shots_off_target": 0.1806
              },
              "trace": {
                "model": {
                  "position_service": "M",
                  "schema_version": 7,
                  "trained_at": "2026-10-31T10:30:21.314387+00:00",
                  "trained_on": {
                    "matches": 1439,
                    "players": 902,
                    "rows": 24945
                  }
                },
                "player_history": [
                  {
                    "match_date": "2026-10-23",
                    "opponent": "Deportivo Alavés",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.5405,
                    "rating": 6.4
                  },
                  {
                    "match_date": "2026-09-06",
                    "opponent": "Levante UD",
                    "minutes": 9.0,
                    "is_starting": false,
                    "weight": 0.4595,
                    "rating": 6.7
                  }
                ],
                "feature_row": {
                  "history_matches": 2.0,
                  "is_starting_11": 0.0,
                  "totalShots": 0.5405,
                  "expectedGoals": 0.0549,
                  "creative_index": 0.0001,
                  "expectedAssists": 0.0002,
                  "keyPass": 0.0
                },
                "per_target": [
                  {
                    "target": "keyPass",
                    "predicted": 0.2293758988380432,
                    "model_output": 0.2294,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.1583
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1351
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0716
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0542
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.028
                      }
                    ],
                    "decomposition": {
                      "base": 0.8899,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.4333
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0544
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0463
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.0325
                        },
                        {
                          "name": "ballCarriesCount",
                          "contribution": -0.0265
                        }
                      ],
                      "others": -0.0675,
                      "total": 0.2294,
                      "log_link": true,
                      "margin_base": -0.11669,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.667247
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.126771
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.122277
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.095661
                        },
                        {
                          "name": "ballCarriesCount",
                          "margin": -0.085309
                        }
                      ],
                      "others_margin": -0.258438
                    }
                  },
                  {
                    "target": "expectedAssists",
                    "predicted": 0.011693207547068596,
                    "model_output": 0.0117,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedAssists",
                        "importance": 0.1213
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1076
                      },
                      {
                        "name": "creative_index",
                        "importance": 0.0864
                      },
                      {
                        "name": "keyPass",
                        "importance": 0.0618
                      },
                      {
                        "name": "totalCross",
                        "importance": 0.0476
                      }
                    ],
                    "decomposition": {
                      "base": 0.085,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0419
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0119
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0073
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0044
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.002
                        }
                      ],
                      "others": -0.0058,
                      "total": 0.0117,
                      "log_link": true,
                      "margin_base": -2.465163,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.679331
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.32285
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.264481
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.201233
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.106667
                        }
                      ],
                      "others_margin": -0.409021
                    }
                  },
                  {
                    "target": "goalAssist",
                    "predicted": 0.025096368044614792,
                    "model_output": 0.0251,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "creative_index",
                        "importance": 0.0508
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0447
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0336
                      },
                      {
                        "name": "possessionLostCtrl",
                        "importance": 0.0324
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0322
                      }
                    ],
                    "decomposition": {
                      "base": 0.0851,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0241
                        },
                        {
                          "name": "creative_index",
                          "contribution": -0.011
                        },
                        {
                          "name": "possessionLostCtrl",
                          "contribution": -0.0084
                        },
                        {
                          "name": "totalCross",
                          "contribution": -0.0064
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0031
                        }
                      ],
                      "others": -0.007,
                      "total": 0.0251,
                      "log_link": true,
                      "margin_base": -2.463734,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.332777
                        },
                        {
                          "name": "creative_index",
                          "margin": -0.19965
                        },
                        {
                          "name": "possessionLostCtrl",
                          "margin": -0.183461
                        },
                        {
                          "name": "totalCross",
                          "margin": -0.168388
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.091948
                        }
                      ],
                      "others_margin": -0.245074
                    }
                  },
                  {
                    "target": "expectedGoals",
                    "predicted": 0.037802234292030334,
                    "model_output": 0.0378,
                    "scale": "per match (raw)",
                    "top_features": [
                      {
                        "name": "expectedGoals",
                        "importance": 0.1242
                      },
                      {
                        "name": "totalShots",
                        "importance": 0.0778
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0743
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0437
                      },
                      {
                        "name": "interceptionWon",
                        "importance": 0.0241
                      }
                    ],
                    "decomposition": {
                      "base": 0.0911,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0369
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0064
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0062
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.006
                        },
                        {
                          "name": "expectedGoals",
                          "contribution": -0.0037
                        }
                      ],
                      "others": -0.0065,
                      "total": 0.0378,
                      "log_link": true,
                      "margin_base": -2.395469,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.518186
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.125039
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.121106
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.117122
                        },
                        {
                          "name": "expectedGoals",
                          "margin": -0.080687
                        }
                      ],
                      "others_margin": -0.159989
                    }
                  },
                  {
                    "target": "goals",
                    "predicted": 0.055493440479040146,
                    "model_output": 0.0555,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.0846
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0655
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0399
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0358
                      },
                      {
                        "name": "creative_efficiency",
                        "importance": 0.0268
                      }
                    ],
                    "decomposition": {
                      "base": 0.0947,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.0296
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0093
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.005
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0047
                        },
                        {
                          "name": "totalProgression",
                          "contribution": 0.0044
                        }
                      ],
                      "others": -0.0144,
                      "total": 0.0555,
                      "log_link": true,
                      "margin_base": -2.357331,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.374238
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.153559
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.085626
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.074776
                        },
                        {
                          "name": "totalProgression",
                          "margin": 0.065441
                        }
                      ],
                      "others_margin": -0.232205
                    }
                  },
                  {
                    "target": "onTargetScoringAttempt",
                    "predicted": 0.10715046525001526,
                    "model_output": 0.1072,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1146
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0928
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0753
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0297
                      },
                      {
                        "name": "opp_half_pass_pct",
                        "importance": 0.0259
                      }
                    ],
                    "decomposition": {
                      "base": 0.3177,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.1213
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.0432
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0284
                        },
                        {
                          "name": "ballRecovery_p90",
                          "contribution": 0.0131
                        },
                        {
                          "name": "interceptionWon",
                          "contribution": 0.0087
                        }
                      ],
                      "others": -0.0394,
                      "total": 0.1072,
                      "log_link": true,
                      "margin_base": -1.146731,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.480859
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.248433
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.204697
                        },
                        {
                          "name": "ballRecovery_p90",
                          "margin": 0.099999
                        },
                        {
                          "name": "interceptionWon",
                          "margin": 0.061291
                        }
                      ],
                      "others_margin": -0.31409
                    }
                  },
                  {
                    "target": "totalShots",
                    "predicted": 0.28777652978897095,
                    "model_output": 0.2878,
                    "scale": "count per match",
                    "top_features": [
                      {
                        "name": "totalShots",
                        "importance": 0.1488
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.1213
                      },
                      {
                        "name": "expectedGoals",
                        "importance": 0.0474
                      },
                      {
                        "name": "onTargetScoringAttempt",
                        "importance": 0.0446
                      },
                      {
                        "name": "progressiveBallCarriesCount",
                        "importance": 0.0276
                      }
                    ],
                    "decomposition": {
                      "base": 0.9817,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.3601
                        },
                        {
                          "name": "totalShots",
                          "contribution": -0.2003
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "contribution": -0.0504
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "contribution": -0.0269
                        },
                        {
                          "name": "press_vulnerability",
                          "contribution": -0.0257
                        }
                      ],
                      "others": -0.0305,
                      "total": 0.2878,
                      "log_link": false,
                      "margin_base": 0.98173,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.360071
                        },
                        {
                          "name": "totalShots",
                          "margin": -0.200295
                        },
                        {
                          "name": "opp_half_pass_pct",
                          "margin": -0.050366
                        },
                        {
                          "name": "onTargetScoringAttempt",
                          "margin": -0.02689
                        },
                        {
                          "name": "press_vulnerability",
                          "margin": -0.025734
                        }
                      ],
                      "others_margin": -0.030599
                    }
                  },
                  {
                    "target": "rating",
                    "predicted": 6.658108711242676,
                    "model_output": 6.6581,
                    "scale": "0-10",
                    "top_features": [
                      {
                        "name": "rating",
                        "importance": 0.102
                      },
                      {
                        "name": "totalOppositionHalfPasses",
                        "importance": 0.0743
                      },
                      {
                        "name": "is_starting_11",
                        "importance": 0.0503
                      },
                      {
                        "name": "accurateOppositionHalfPasses",
                        "importance": 0.0382
                      },
                      {
                        "name": "expectedAssists",
                        "importance": 0.0296
                      }
                    ],
                    "decomposition": {
                      "base": 6.856,
                      "items": [
                        {
                          "name": "is_starting_11",
                          "contribution": -0.06
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "contribution": -0.0574
                        },
                        {
                          "name": "rating",
                          "contribution": -0.0311
                        },
                        {
                          "name": "expectedAssists",
                          "contribution": -0.0109
                        },
                        {
                          "name": "totalPass",
                          "contribution": -0.0093
                        }
                      ],
                      "others": -0.0292,
                      "total": 6.6581,
                      "log_link": false,
                      "margin_base": 6.856008,
                      "item_margins": [
                        {
                          "name": "is_starting_11",
                          "margin": -0.060011
                        },
                        {
                          "name": "totalOppositionHalfPasses",
                          "margin": -0.05741
                        },
                        {
                          "name": "rating",
                          "margin": -0.031129
                        },
                        {
                          "name": "expectedAssists",
                          "margin": -0.010946
                        },
                        {
                          "name": "totalPass",
                          "margin": -0.009336
                        }
                      ],
                      "others_margin": -0.029068
                    }
                  }
                ],
                "prediction_basis": {
                  "source": "xgboost_regressor",
                  "role": "substitute",
                  "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.9950, quality 0.482)",
              "stats": {
                "key_pass": 0.2282,
                "expected_assists": 0.0116,
                "assists": 0.025,
                "assist_rate": 0.025,
                "expected_goals": 0.0376,
                "goals": 0.0552,
                "goal_rate": 0.0552,
                "shots_on_target": 0.1066,
                "total_shots": 0.2863,
                "rating": 6.6581,
                "minutes": 14.0,
                "total_pass": 3.8186,
                "accurate_pass": 3.3614,
                "duels_won": 0.995,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 2.4472,
                "accurate_own_half_passes": 2.4472,
                "total_opp_half_passes": 1.3715,
                "accurate_opp_half_passes": 0.9143,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 6.4272,
                "possession_lost": 0.995,
                "dispossessed": 0.0,
                "duels_lost": 0.5378,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.4572,
                "tackles": 0.4572,
                "clearances": 0.5378,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5378,
                "fouls": 0.0,
                "fouls_drawn": 0.5378,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 0.9143,
                "total_progression": 1.9255,
                "progressive_carries": 0.0,
                "shots_off_target": 0.1797
              },
              "params": {
                "market_value_eur": 6600000,
                "quality_factor": 0.4818,
                "boost_factor": 0.995,
                "reference_quality": 0.505,
                "history_matches": 2,
                "history_shrink": 0.7143,
                "market_value_known": true
              }
            },
            {
              "step": "minutes_scale",
              "description": "Bench projection scaled from 14.0 to 22.1 expected minutes (appearance prob 0.51)",
              "stats": {
                "key_pass": 0.3423,
                "expected_assists": 0.0174,
                "assists": 0.0375,
                "assist_rate": 0.0375,
                "expected_goals": 0.0564,
                "goals": 0.0828,
                "goal_rate": 0.0828,
                "shots_on_target": 0.1599,
                "total_shots": 0.4295,
                "rating": 6.6581,
                "minutes": 22.15,
                "total_pass": 5.7279,
                "accurate_pass": 5.0421,
                "duels_won": 1.4925,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 3.6708,
                "accurate_own_half_passes": 3.6708,
                "total_opp_half_passes": 2.0572,
                "accurate_opp_half_passes": 1.3715,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 9.6408,
                "possession_lost": 1.4925,
                "dispossessed": 0.0,
                "duels_lost": 0.8067,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.6858,
                "tackles": 0.6858,
                "clearances": 0.8067,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5378,
                "fouls": 0.0,
                "fouls_drawn": 0.8067,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.3715,
                "total_progression": 2.8883,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2696,
                "bench_appearance_probability": 0.507,
                "bench_expected_minutes": 22.15
              },
              "params": {
                "expected_minutes": 22.15,
                "projection_minutes": 14.0,
                "minutes_scale": 1.5,
                "appearance_probability": 0.507
              }
            },
            {
              "step": "final_cap",
              "description": "Stats clamped to historical constraints and shot-component identity",
              "stats": {
                "key_pass": 0.3423,
                "expected_assists": 0.0174,
                "assists": 0.0375,
                "assist_rate": 0.0375,
                "expected_goals": 0.0564,
                "goals": 0.0828,
                "goal_rate": 0.0828,
                "shots_on_target": 0.1599,
                "total_shots": 0.4295,
                "rating": 6.6581,
                "minutes": 22.15,
                "total_pass": 5.7279,
                "accurate_pass": 5.0421,
                "duels_won": 1.4925,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 3.6708,
                "accurate_own_half_passes": 3.6708,
                "total_opp_half_passes": 2.0572,
                "accurate_opp_half_passes": 1.3715,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 9.6408,
                "possession_lost": 1.4925,
                "dispossessed": 0.0,
                "duels_lost": 0.8067,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.6858,
                "tackles": 0.6858,
                "clearances": 0.8067,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5378,
                "fouls": 0.0,
                "fouls_drawn": 0.8067,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.3715,
                "total_progression": 2.8883,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2696,
                "bench_appearance_probability": 0.507,
                "bench_expected_minutes": 22.15
              },
              "params": {
                "stats_clamped": 0,
                "shot_identity_applied": false
              }
            },
            {
              "step": "scoreline_reset",
              "description": "Team scoreline allocation: goal/assist counters reset to 0; the team's 0 goals are handed out as whole numbers by integer_goal_projection / integer_assist_projection",
              "stats": {
                "key_pass": 0.3423,
                "expected_assists": 0.0174,
                "assist_rate": 0.0375,
                "assists": 0,
                "expected_goals": 0.0564,
                "goal_rate": 0.0828,
                "goals": 0,
                "shots_on_target": 0.1599,
                "total_shots": 0.4295,
                "rating": 6.6581,
                "minutes": 22.15,
                "total_pass": 5.7279,
                "accurate_pass": 5.0421,
                "duels_won": 1.4925,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 3.6708,
                "accurate_own_half_passes": 3.6708,
                "total_opp_half_passes": 2.0572,
                "accurate_opp_half_passes": 1.3715,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 9.6408,
                "possession_lost": 1.4925,
                "dispossessed": 0.0,
                "duels_lost": 0.8067,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.6858,
                "tackles": 0.6858,
                "clearances": 0.8067,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5378,
                "fouls": 0.0,
                "fouls_drawn": 0.8067,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.3715,
                "total_progression": 2.8883,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2696,
                "bench_appearance_probability": 0.507,
                "bench_expected_minutes": 22.15,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.444,
                "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": 0
              }
            },
            {
              "step": "team_lambda_rescale",
              "description": "Player expected_goals/expected_assists rescaled to unconditional contributions so squad sum equals team lambda 0.83 (squad xG sum 0.7402, xG scale 1.1227, xA scale 1.1227, team xA 0.66 = 0.79 x lambda)",
              "stats": {
                "key_pass": 0.3423,
                "expected_assists": 0.0099,
                "assist_rate": 0.0375,
                "assists": 0,
                "expected_goals": 0.0321,
                "goal_rate": 0.0828,
                "goals": 0,
                "shots_on_target": 0.1599,
                "total_shots": 0.4295,
                "rating": 6.6581,
                "minutes": 22.15,
                "total_pass": 5.7279,
                "accurate_pass": 5.0421,
                "duels_won": 1.4925,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 3.6708,
                "accurate_own_half_passes": 3.6708,
                "total_opp_half_passes": 2.0572,
                "accurate_opp_half_passes": 1.3715,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 9.6408,
                "possession_lost": 1.4925,
                "dispossessed": 0.0,
                "duels_lost": 0.8067,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.6858,
                "tackles": 0.6858,
                "clearances": 0.8067,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5378,
                "fouls": 0.0,
                "fouls_drawn": 0.8067,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.3715,
                "total_progression": 2.8883,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2696,
                "bench_appearance_probability": 0.507,
                "bench_expected_minutes": 22.15,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.444,
                "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.2481,
                "creation_factor": 1.25
              },
              "params": {
                "team_lambda": 0.831,
                "squad_xg_sum": 0.7402,
                "squad_xa_sum": 0.5844,
                "team_expected_assists": 0.6561,
                "team_xa_to_xg_ratio": 0.7895,
                "bench_appearance_weighted": true,
                "xg_scale": 1.1227,
                "xa_scale": 1.1227,
                "opponent_lambda": 2.153,
                "scoreline_reset": true,
                "appearance_weight": 0.507
              },
              "changes": [
                {
                  "stat": "expected_goals",
                  "before": 0.0564,
                  "after": 0.0321
                },
                {
                  "stat": "expected_assists",
                  "before": 0.0174,
                  "after": 0.0099
                }
              ]
            },
            {
              "step": "rankings_attached",
              "description": "Display-only provenance: no published number changes. Global ranking attached (match squad rank 16 by projected rating, fifa_overall 73.0)",
              "stats": {
                "key_pass": 0.3423,
                "expected_assists": 0.0099,
                "assist_rate": 0.0375,
                "assists": 0,
                "expected_goals": 0.0321,
                "goal_rate": 0.0828,
                "goals": 0,
                "shots_on_target": 0.1599,
                "total_shots": 0.4295,
                "rating": 6.6581,
                "minutes": 22.15,
                "total_pass": 5.7279,
                "accurate_pass": 5.0421,
                "duels_won": 1.4925,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 3.6708,
                "accurate_own_half_passes": 3.6708,
                "total_opp_half_passes": 2.0572,
                "accurate_opp_half_passes": 1.3715,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 9.6408,
                "possession_lost": 1.4925,
                "dispossessed": 0.0,
                "duels_lost": 0.8067,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.6858,
                "tackles": 0.6858,
                "clearances": 0.8067,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5378,
                "fouls": 0.0,
                "fouls_drawn": 0.8067,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.3715,
                "total_progression": 2.8883,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2696,
                "bench_appearance_probability": 0.507,
                "bench_expected_minutes": 22.15,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.444,
                "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.2481,
                "creation_factor": 1.25,
                "fifa_overall": 73.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": 3806,
                "fifa_rank": 3437.0,
                "fifa_source": "EA SPORTS FC official ratings",
                "ranking_match": "player_id",
                "fifa_overall": 73.0
              }
            },
            {
              "step": "integer_goal_projection",
              "description": "Team scoreline allocation skipped: 0 projected goals",
              "stats": {
                "key_pass": 0.3423,
                "expected_assists": 0.0099,
                "assist_rate": 0.0375,
                "assists": 0,
                "expected_goals": 0.0321,
                "goal_rate": 0.0828,
                "goals": 0,
                "shots_on_target": 0.1599,
                "total_shots": 0.4295,
                "rating": 6.6581,
                "minutes": 22.15,
                "total_pass": 5.7279,
                "accurate_pass": 5.0421,
                "duels_won": 1.4925,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 3.6708,
                "accurate_own_half_passes": 3.6708,
                "total_opp_half_passes": 2.0572,
                "accurate_opp_half_passes": 1.3715,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 9.6408,
                "possession_lost": 1.4925,
                "dispossessed": 0.0,
                "duels_lost": 0.8067,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.6858,
                "tackles": 0.6858,
                "clearances": 0.8067,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5378,
                "fouls": 0.0,
                "fouls_drawn": 0.8067,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.3715,
                "total_progression": 2.8883,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2696,
                "bench_appearance_probability": 0.507,
                "bench_expected_minutes": 22.15,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.444,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0311,
                "projected_assists": 0,
                "assist_probability": 0.0,
                "finishing_factor": 1.2481,
                "creation_factor": 1.25,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": false,
                "team_goals": 0,
                "goals_allocated": 0,
                "goal_probability": 0.0311,
                "goal_rate": 0.0828,
                "scorer_weight": 0.0401,
                "squad_weight_total": 0.8662,
                "weight_share": 0.0463,
                "finishing_factor": 1.2481,
                "appearance_weight": 0.507,
                "weight_rank": 8,
                "eligible_players": 13
              }
            },
            {
              "step": "integer_assist_projection",
              "description": "Team scoreline allocation skipped: 0 projected assists",
              "stats": {
                "key_pass": 0.3423,
                "expected_assists": 0.0099,
                "assist_rate": 0.0375,
                "assists": 0,
                "expected_goals": 0.0321,
                "goal_rate": 0.0828,
                "goals": 0,
                "shots_on_target": 0.1599,
                "total_shots": 0.4295,
                "rating": 6.6581,
                "minutes": 22.15,
                "total_pass": 5.7279,
                "accurate_pass": 5.0421,
                "duels_won": 1.4925,
                "total_long_balls": 0.0,
                "accurate_long_balls": 0.0,
                "total_own_half_passes": 3.6708,
                "accurate_own_half_passes": 3.6708,
                "total_opp_half_passes": 2.0572,
                "accurate_opp_half_passes": 1.3715,
                "crosses_total": 0.0,
                "crosses_accurate": 0.0,
                "touches": 9.6408,
                "possession_lost": 1.4925,
                "dispossessed": 0.0,
                "duels_lost": 0.8067,
                "aerial_won": 0.0,
                "aerial_lost": 0.0,
                "interceptions": 0.0,
                "tackles_won": 0.6858,
                "tackles": 0.6858,
                "clearances": 0.8067,
                "total_contest": 0.0,
                "won_contest": 0.0,
                "challenges_lost": 0.5378,
                "fouls": 0.0,
                "fouls_drawn": 0.8067,
                "blocks": 0.0,
                "big_chances_created": 0.0,
                "big_chances_missed": 0.0,
                "xgot": 0.0,
                "ball_carries": 1.3715,
                "total_progression": 2.8883,
                "progressive_carries": 0.0,
                "shots_off_target": 0.2696,
                "bench_appearance_probability": 0.507,
                "bench_expected_minutes": 22.15,
                "projected_substitution_order": 3,
                "substitution_rule_cap": 5,
                "projected_team_substitution_count": 3,
                "projected_substitution_expected_count": 2.444,
                "projected_substitution_game_state_adjustment": 1,
                "substitution_usage": "projected_used_substitute",
                "projected_goals": 0,
                "goal_probability": 0.0311,
                "projected_assists": 0,
                "assist_probability": 0.0098,
                "finishing_factor": 1.2481,
                "creation_factor": 1.25,
                "fifa_overall": 73.0
              },
              "params": {
                "allocation_applied": false,
                "team_assists": 0,
                "assists_allocated": 0,
                "assist_probability": 0.0098,
                "assist_rate": 0.0375,
                "provider_weight": 0.0124,
                "squad_weight_total": 0.5932,
                "weight_share": 0.0209,
                "creation_factor": 1.25,
                "appearance_weight": 0.507,
                "weight_rank": 11,
                "eligible_players": 13
              }
            }
          ]
        }
      },
      "team_totals": {
        "projected_goals": 0,
        "expected_goals": 0.83,
        "expected_assists": 0.66,
        "total_shots": 9,
        "shots_on_target": 2,
        "total_passes": 431,
        "interceptions": 8,
        "tackles": 17,
        "avg_rating": 6.87,
        "possession_estimated_pct": 49.6,
        "pressing_actions_per_90": 6.0
      }
    }
  },
  "antagonist_report": {
    "home_attacking_duels": [
      {
        "attacker": "Isco",
        "attacker_role": "LW",
        "attacker_market_value": 3600000,
        "attacker_height": 176,
        "attacker_skill_quality": 0.445,
        "defenders": [
          "Einar Galilea"
        ],
        "defender_roles": [
          "CB"
        ],
        "def_skill_quality_avg": 0.437,
        "duel_zone": "LW vs CB",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.399,
        "xg_contribution": 0.1619,
        "xg_multiplier": 0.9696,
        "shots_in_zone": 1.7,
        "dribbles_attempted": 3,
        "dribbles_successful": 1.1,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 1.9,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Einar Galilea",
            "role": "CB",
            "market_value": 365000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.6,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.601
          }
        ],
        "duel_analysis": "Isco (LW) is evenly matched against Einar Galilea in a direct 1v1 contest. Duel win probability: 40%.  Matchup xG multiplier ×0.97 (×1.00 = his usual level). Projected xG contribution: 0.162 — with neither side clearly dominant."
      },
      {
        "attacker": "Abdessamad Ezzalzouli",
        "attacker_role": "ST",
        "attacker_market_value": 43000000,
        "attacker_height": 177,
        "attacker_skill_quality": 0.796,
        "defenders": [
          "Einar Galilea",
          "Fernando Calero"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.437,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.339,
        "xg_contribution": 0.3778,
        "xg_multiplier": 1.2046,
        "shots_in_zone": 2.7,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.6,
        "aerial_duels": 3,
        "aerial_won": 1.5,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.6,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Einar Galilea",
            "role": "CB",
            "market_value": 365000,
            "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.661
          },
          {
            "player": "Fernando Calero",
            "role": "CB",
            "market_value": 2100000,
            "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.661
          }
        ],
        "duel_analysis": "Abdessamad Ezzalzouli (ST) has a clear attacking advantage against Einar Galilea and Fernando Calero in a 2-defender block. Duel win probability: 34%. The quality gap is significant (€43M vs €1M avg). Matchup xG multiplier ×1.20 (×1.00 = his usual level). Projected xG contribution: 0.378 — and projects to generate high-quality chances."
      },
      {
        "attacker": "Antony",
        "attacker_role": "ST",
        "attacker_market_value": 37000000,
        "attacker_height": 172,
        "attacker_skill_quality": 0.764,
        "defenders": [
          "Einar Galilea",
          "Fernando Calero"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.437,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.305,
        "xg_contribution": 0.1875,
        "xg_multiplier": 1.1544,
        "shots_in_zone": 2.5,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.5,
        "aerial_duels": 3,
        "aerial_won": 1.3,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.6,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Einar Galilea",
            "role": "CB",
            "market_value": 365000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.8,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.695
          },
          {
            "player": "Fernando Calero",
            "role": "CB",
            "market_value": 2100000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.8,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.6,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.695
          }
        ],
        "duel_analysis": "Antony (ST) is slightly favored against Einar Galilea and Fernando Calero in a 2-defender block. Duel win probability: 31%. The quality gap is significant (€37M vs €1M avg). Matchup xG multiplier ×1.15 (×1.00 = his usual level). Projected xG contribution: 0.187 — creating consistent moderate threat."
      },
      {
        "attacker": "Troy Parrott",
        "attacker_role": "ST",
        "attacker_market_value": 18400000,
        "attacker_height": 185,
        "attacker_skill_quality": 0.615,
        "defenders": [
          "Einar Galilea",
          "Fernando Calero"
        ],
        "defender_roles": [
          "CB",
          "CB"
        ],
        "def_skill_quality_avg": 0.437,
        "duel_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.29,
        "xg_contribution": 0.2727,
        "xg_multiplier": 1.1322,
        "shots_in_zone": 2.5,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.5,
        "aerial_duels": 3,
        "aerial_won": 1.8,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.5,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Einar Galilea",
            "role": "CB",
            "market_value": 365000,
            "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.6,
            "defensive_success_rate": 0.71
          },
          {
            "player": "Fernando Calero",
            "role": "CB",
            "market_value": 2100000,
            "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.6,
            "defensive_success_rate": 0.71
          }
        ],
        "duel_analysis": "Troy Parrott (ST) is slightly favored against Einar Galilea and Fernando Calero in a 2-defender block. Duel win probability: 29%. The quality gap is significant (€18M vs €1M avg). Matchup xG multiplier ×1.13 (×1.00 = his usual level). Projected xG contribution: 0.273 — creating consistent moderate threat."
      }
    ],
    "away_attacking_duels": [
      {
        "attacker": "David Larrubia",
        "attacker_role": "SS",
        "attacker_market_value": 6300000,
        "attacker_height": 172,
        "attacker_skill_quality": 0.478,
        "defenders": [
          "Marc Roca",
          "Natan"
        ],
        "defender_roles": [
          "CDM",
          "CB"
        ],
        "def_skill_quality_avg": 0.592,
        "duel_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.18,
        "xg_contribution": 0.0726,
        "xg_multiplier": 0.8187,
        "shots_in_zone": 1.6,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 2,
        "aerial_won": 0.8,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.5,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Marc Roca",
            "role": "CDM",
            "market_value": 4200000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.6,
            "defensive_success_rate": 0.82
          },
          {
            "player": "Natan",
            "role": "CB",
            "market_value": 32000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.0,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.2,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.6,
            "defensive_success_rate": 0.82
          }
        ],
        "duel_analysis": "David Larrubia (SS) faces tough defensive resistance against Marc Roca and Natan in a 2-defender block. Duel win probability: 18%.  Matchup xG multiplier ×0.82 (×1.00 = his usual level). Projected xG contribution: 0.073 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Adrián Niño",
        "attacker_role": "SS",
        "attacker_market_value": 1900000,
        "attacker_height": 186,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Marc Roca",
          "Natan"
        ],
        "defender_roles": [
          "CDM",
          "CB"
        ],
        "def_skill_quality_avg": 0.592,
        "duel_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
        "numerical_situation": "1v2",
        "duel_win_rate": 0.184,
        "xg_contribution": 0.2684,
        "xg_multiplier": 0.8741,
        "shots_in_zone": 1.6,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.3,
        "aerial_duels": 2,
        "aerial_won": 1.2,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.4,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Marc Roca",
            "role": "CDM",
            "market_value": 4200000,
            "tackles_attempted": 1.0,
            "tackles_won": 0.9,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.4,
            "defensive_success_rate": 0.816
          },
          {
            "player": "Natan",
            "role": "CB",
            "market_value": 32000000,
            "tackles_attempted": 1.1,
            "tackles_won": 1.0,
            "fouls_committed": 0.4,
            "interceptions_in_zone": 1.2,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.4,
            "defensive_success_rate": 0.816
          }
        ],
        "duel_analysis": "Adrián Niño (SS) faces tough defensive resistance against Marc Roca and Natan in a 2-defender block. Duel win probability: 18%. The quality gap is significant (€2M vs €18M avg). Matchup xG multiplier ×0.87 (×1.00 = his usual level). Projected xG contribution: 0.268 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Ramón Enríquez",
        "attacker_role": "LWB",
        "attacker_market_value": 380000,
        "attacker_height": 173,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Angel Ortiz"
        ],
        "defender_roles": [
          "RB"
        ],
        "def_skill_quality_avg": 0.482,
        "duel_zone": "Left Wingback vs Right Back — Overlapping Run",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.389,
        "xg_contribution": 0.0349,
        "xg_multiplier": 0.9835,
        "shots_in_zone": 1.0,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.7,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 2.2,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Angel Ortiz",
            "role": "RB",
            "market_value": 6600000,
            "tackles_attempted": 2.0,
            "tackles_won": 1.6,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.8,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.611
          }
        ],
        "duel_analysis": "Ramón Enríquez (LWB) is evenly matched against Angel Ortiz in a direct 1v1 contest. Duel win probability: 39%.  Matchup xG multiplier ×0.98 (×1.00 = his usual level). Projected xG contribution: 0.035 — with neither side clearly dominant."
      },
      {
        "attacker": "Dani Lorenzo",
        "attacker_role": "CM",
        "attacker_market_value": 2300000,
        "attacker_height": 176,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Marc Roca"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.452,
        "duel_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.407,
        "xg_contribution": 0.043,
        "xg_multiplier": 0.9371,
        "shots_in_zone": 1.6,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.7,
        "aerial_duels": 2,
        "aerial_won": 0.9,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.2,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Marc Roca",
            "role": "CDM",
            "market_value": 4200000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.6,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 1.1,
            "defensive_success_rate": 0.593
          }
        ],
        "duel_analysis": "Dani Lorenzo (CM) faces tough defensive resistance against Marc Roca in a direct 1v1 contest. Duel win probability: 41%.  Matchup xG multiplier ×0.94 (×1.00 = his usual level). Projected xG contribution: 0.043 — and is restricted in space and time on the ball."
      },
      {
        "attacker": "Carlos Dotor",
        "attacker_role": "CM",
        "attacker_market_value": 1200000,
        "attacker_height": 180,
        "attacker_skill_quality": 0.437,
        "defenders": [
          "Marc Roca"
        ],
        "defender_roles": [
          "CDM"
        ],
        "def_skill_quality_avg": 0.452,
        "duel_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "numerical_situation": "1v1",
        "duel_win_rate": 0.423,
        "xg_contribution": 0.0618,
        "xg_multiplier": 0.9606,
        "shots_in_zone": 1.6,
        "dribbles_attempted": 2,
        "dribbles_successful": 0.7,
        "aerial_duels": 2,
        "aerial_won": 1.1,
        "crosses_in_zone": 0.0,
        "fouls_drawn": 1.1,
        "pressing_intensity_on_attacker": "LOW",
        "defender_stats": [
          {
            "player": "Marc Roca",
            "role": "CDM",
            "market_value": 4200000,
            "tackles_attempted": 1.9,
            "tackles_won": 1.6,
            "fouls_committed": 0.6,
            "interceptions_in_zone": 0.7,
            "clearances_in_zone": 0.5,
            "aerial_duels_won": 0.9,
            "defensive_success_rate": 0.577
          }
        ],
        "duel_analysis": "Carlos Dotor (CM) is evenly matched against Marc Roca in a direct 1v1 contest. Duel win probability: 42%.  Matchup xG multiplier ×0.96 (×1.00 = his usual level). Projected xG contribution: 0.062 — with neither side clearly dominant."
      }
    ],
    "midfield_battle": {
      "home_midfield_power": 0.467,
      "away_midfield_power": 0.437,
      "home_creative_power": 0.492,
      "away_creative_power": 0.372,
      "home_defensive_power": 0.384,
      "away_defensive_power": 0.372,
      "home_dominance_ratio": 0.516,
      "home_midfield_count": 3,
      "away_midfield_count": 3,
      "home_midfield_players": [
        "Marc Roca",
        "Pablo Fornals",
        "Isco"
      ],
      "away_midfield_players": [
        "Carlos Dotor",
        "Ramón Enríquez",
        "Dani Lorenzo"
      ],
      "possession_advantage": "neutral",
      "estimated_possession_home_pct": 50.4,
      "estimated_possession_away_pct": 49.6,
      "home_pressing_actions_per_90": 6.1,
      "away_pressing_actions_per_90": 6.0,
      "home_key_passes_projected": 4.5,
      "away_key_passes_projected": 3.7,
      "home_throughball_threat": 2.1,
      "away_throughball_threat": 1.7,
      "key_personal_duel": "Pablo Fornals vs Dani Lorenzo",
      "midfield_lambda_factor_home": 1.013,
      "midfield_lambda_factor_away": 0.995
    },
    "formation_analysis": {
      "home_formation": "4-2-3-1",
      "away_formation": "3-4-2-1",
      "home_tactical_bonus": 0.05,
      "away_tactical_bonus": -0.05,
      "formation_verdict": "Tactical parity between 4-2-3-1 and 3-4-2-1. Match outcome driven primarily by individual player quality."
    },
    "home_lambda": 2.153,
    "away_lambda": 0.831,
    "home_top_threat_zones": [
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
      "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle"
    ],
    "away_top_threat_zones": [
      "Shadow Striker vs CDM + CB — Zone 14 Battle",
      "Shadow Striker vs CDM + CB — Zone 14 Battle"
    ],
    "home_player_antagonists": {
      "Isco": {
        "opponents": [
          "Einar Galilea",
          "Ramón Enríquez"
        ],
        "primary_zone": "LW vs CB",
        "source": "attacking_duel, midfield_pairing"
      },
      "Abdessamad Ezzalzouli": {
        "opponents": [
          "Einar Galilea",
          "Fernando Calero"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Antony": {
        "opponents": [
          "Einar Galilea",
          "Fernando Calero"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Troy Parrott": {
        "opponents": [
          "Einar Galilea",
          "Fernando Calero"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "attacking_duel"
      },
      "Marc Roca": {
        "opponents": [
          "David Larrubia",
          "Adrián Niño",
          "Dani Lorenzo",
          "Carlos Dotor"
        ],
        "primary_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
        "source": "defensive_duel, midfield_pairing"
      },
      "Natan": {
        "opponents": [
          "David Larrubia",
          "Adrián Niño"
        ],
        "primary_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
        "source": "defensive_duel"
      },
      "Angel Ortiz": {
        "opponents": [
          "Ramón Enríquez"
        ],
        "primary_zone": "Left Wingback vs Right Back — Overlapping Run",
        "source": "defensive_duel"
      },
      "Pablo Fornals": {
        "opponents": [
          "Carlos Dotor"
        ],
        "primary_zone": "Midfield lane",
        "source": "midfield_pairing"
      },
      "Álvaro Valles": {
        "opponents": [
          "David Larrubia",
          "Adrián Niño"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      },
      "Fran García": {
        "opponents": [
          "David Larrubia"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      },
      "Diego Llorente": {
        "opponents": [
          "Adrián Niño"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "away_player_antagonists": {
      "Einar Galilea": {
        "opponents": [
          "Isco",
          "Abdessamad Ezzalzouli",
          "Antony",
          "Troy Parrott"
        ],
        "primary_zone": "LW vs CB",
        "source": "defensive_duel"
      },
      "Fernando Calero": {
        "opponents": [
          "Abdessamad Ezzalzouli",
          "Antony",
          "Troy Parrott"
        ],
        "primary_zone": "Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle",
        "source": "defensive_duel"
      },
      "David Larrubia": {
        "opponents": [
          "Marc Roca",
          "Natan"
        ],
        "primary_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
        "source": "attacking_duel"
      },
      "Adrián Niño": {
        "opponents": [
          "Marc Roca",
          "Natan"
        ],
        "primary_zone": "Shadow Striker vs CDM + CB — Zone 14 Battle",
        "source": "attacking_duel"
      },
      "Ramón Enríquez": {
        "opponents": [
          "Angel Ortiz",
          "Isco"
        ],
        "primary_zone": "Left Wingback vs Right Back — Overlapping Run",
        "source": "attacking_duel, midfield_pairing"
      },
      "Dani Lorenzo": {
        "opponents": [
          "Marc Roca"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Carlos Dotor": {
        "opponents": [
          "Marc Roca",
          "Pablo Fornals"
        ],
        "primary_zone": "Central Mid vs Defensive Mid — Pressing/Creation Duel",
        "source": "attacking_duel, midfield_pairing"
      },
      "Alfonso Herrero": {
        "opponents": [
          "Abdessamad Ezzalzouli",
          "Antony"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      },
      "Adam Aznou": {
        "opponents": [
          "Troy Parrott"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      },
      "Carlos Puga": {
        "opponents": [
          "Abdessamad Ezzalzouli"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      },
      "Rafa Garrido": {
        "opponents": [
          "Antony"
        ],
        "primary_zone": "Shape fallback",
        "source": "formation_fallback"
      }
    },
    "key_tactical_insight": "Midfield is evenly contested — Pablo Fornals vs Dani Lorenzo will be the pivotal duel. Total antagonist xG — Home: 1.00, Away: 0.48. Home danger zone: Striker vs Two Centre Backs — 1v2 Aerial/Physical Battle. Away danger zone: Shadow Striker vs CDM + CB — Zone 14 Battle.",
    "lambda_factors": {
      "league_anchor": 1.35,
      "home_advantage_factor": 1.3418,
      "ha_source": "estimated:league",
      "home_gk_opposition_factor": 1.0107,
      "away_gk_opposition_factor": 0.9792,
      "home_set_piece_bonus": 0.0495,
      "away_set_piece_bonus": 0.021,
      "home_defensive_solidity_vs": 0.9936,
      "away_defensive_solidity_vs": 0.9734,
      "home_midfield_factor": 1.013,
      "away_midfield_factor": 0.995,
      "stage_discount": 1.0,
      "quality_gap_applied": true,
      "home_avg_quality": 0.5712,
      "away_avg_quality": 0.4454,
      "avg_quality_gap": 0.1258,
      "squad_value_gap_log": 1.6507,
      "top5_value_gap_log": 1.6422,
      "attack_value_gap_log": 1.7304,
      "elite_count_gap": 1,
      "combined_quality_gap": 0.3466,
      "stronger_lambda_boost": 0.1906,
      "weaker_lambda_suppression": 0.1109,
      "home_lambda_chain": [
        {
          "label": "league_anchor",
          "value": 1.35
        },
        {
          "label": "duel_blend",
          "raw_xg": 0.9999,
          "n_duels": 4,
          "duel_confidence": 0.67,
          "result": 1.1154
        },
        {
          "label": "midfield_factor",
          "factor": 1.013,
          "result": 1.1299
        },
        {
          "label": "formation_bonus",
          "factor": 1.05,
          "result": 1.1864
        },
        {
          "label": "home_advantage",
          "factor": 1.3418,
          "result": 1.5919
        },
        {
          "label": "standing_factor",
          "factor": 1.0701,
          "result": 1.7035
        },
        {
          "label": "gk_opposition",
          "factor": 1.0107,
          "result": 1.7217
        },
        {
          "label": "defensive_solidity",
          "factor": 0.9936,
          "result": 1.7106
        },
        {
          "label": "set_piece_bonus",
          "bonus": 0.0495,
          "result": 1.7601
        },
        {
          "label": "engine_clamp",
          "pre": 1.7601,
          "result": 1.7601,
          "band": [
            0.6,
            4.0
          ],
          "clamped": false
        },
        {
          "label": "quality_gap",
          "applied": true,
          "combined_quality_gap": 0.3466,
          "factor": 1.1906,
          "pre": 1.7601,
          "result": 2.0956
        },
        {
          "label": "stage_discount",
          "applied": false,
          "factor": 1.0,
          "result": 2.0956
        },
        {
          "label": "bench_bonus",
          "side": "home",
          "bonus": 0.1586,
          "result": 2.2546
        },
        {
          "label": "fbref_blend",
          "side": "home",
          "applied": true,
          "blending_weight": 0.228,
          "empirical_lambda": 0.3259,
          "result": 1.8149
        },
        {
          "label": "router_clamp",
          "pre": 1.8149,
          "result": 1.815,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "h2h_adjustment",
          "applied": true,
          "multiplier": 1.0143,
          "pre": 1.815,
          "result": 1.841,
          "available": true
        },
        {
          "label": "mismatch_pressure",
          "applied": true,
          "factor": 1.0917,
          "pre": 1.841,
          "result": 2.01
        },
        {
          "label": "underdog_floor",
          "applied": false,
          "reason": "lambda gap >= 1.25 (clear mismatch)",
          "result": 2.01
        },
        {
          "label": "redistribution",
          "applied": true,
          "factor": 0.9441,
          "input_total": 2.549,
          "result": 1.8976
        },
        {
          "label": "final_clamp",
          "applied": true,
          "pre": 1.8976,
          "result": 1.898,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "competition_calibration",
          "applied": true,
          "reason": "competition_intensity_calibration",
          "samples": 124,
          "scale": 1.171,
          "observed_total_goals": 2.984,
          "result": 2.153
        }
      ],
      "away_lambda_chain": [
        {
          "label": "league_anchor",
          "value": 1.35
        },
        {
          "label": "duel_blend",
          "raw_xg": 0.4807,
          "n_duels": 5,
          "duel_confidence": 0.75,
          "result": 0.698
        },
        {
          "label": "midfield_factor",
          "factor": 0.995,
          "result": 0.6945
        },
        {
          "label": "formation_bonus",
          "factor": 0.95,
          "result": 0.6598
        },
        {
          "label": "home_advantage",
          "factor": 1.0,
          "result": 0.6598
        },
        {
          "label": "standing_factor",
          "factor": 0.8777,
          "result": 0.5791
        },
        {
          "label": "gk_opposition",
          "factor": 0.9792,
          "result": 0.5671
        },
        {
          "label": "defensive_solidity",
          "factor": 0.9734,
          "result": 0.552
        },
        {
          "label": "set_piece_bonus",
          "bonus": 0.021,
          "result": 0.573
        },
        {
          "label": "engine_clamp",
          "pre": 0.573,
          "result": 0.6,
          "band": [
            0.6,
            4.0
          ],
          "clamped": true
        },
        {
          "label": "quality_gap",
          "applied": true,
          "combined_quality_gap": 0.3466,
          "factor": 0.8891,
          "pre": 0.6,
          "result": 0.65
        },
        {
          "label": "stage_discount",
          "applied": false,
          "factor": 1.0,
          "result": 0.65
        },
        {
          "label": "bench_bonus",
          "side": "away",
          "bonus": 0.1833,
          "result": 0.8333
        },
        {
          "label": "fbref_blend",
          "side": "away",
          "applied": true,
          "blending_weight": 0.228,
          "empirical_lambda": 0.3284,
          "result": 0.7182
        },
        {
          "label": "router_clamp",
          "pre": 0.7182,
          "result": 0.718,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "h2h_adjustment",
          "applied": true,
          "multiplier": 0.9857,
          "pre": 0.718,
          "result": 0.7077,
          "available": true
        },
        {
          "label": "mismatch_pressure",
          "applied": true,
          "factor": 0.9753,
          "pre": 0.7077,
          "result": 0.69
        },
        {
          "label": "underdog_floor",
          "applied": false,
          "reason": "lambda gap >= 1.25 (clear mismatch)",
          "result": 0.69
        },
        {
          "label": "redistribution",
          "applied": true,
          "factor": 0.9441,
          "input_total": 2.549,
          "result": 0.6514
        },
        {
          "label": "final_clamp",
          "applied": true,
          "pre": 0.6514,
          "result": 0.651,
          "band": [
            0.65,
            4.8
          ]
        },
        {
          "label": "competition_calibration",
          "applied": true,
          "reason": "competition_intensity_calibration",
          "samples": 124,
          "scale": 1.171,
          "observed_total_goals": 2.984,
          "result": 0.831
        }
      ],
      "home_bench_lambda_bonus": 0.1586,
      "away_bench_lambda_bonus": 0.1833,
      "home_bench_players_modelled": 7,
      "away_bench_players_modelled": 7,
      "fbref_team_priors": {
        "applied": true,
        "home_squad": "Real Betis",
        "away_squad": "Málaga CF",
        "home_goals_per90": 1.3333333333333333,
        "away_goals_against_per90": 0.33,
        "away_goals_per90": 0.3333333333333333,
        "home_goals_against_per90": 1.33,
        "home_empirical_lambda": 0.326,
        "away_empirical_lambda": 0.328,
        "blending_weight": 0.228
      },
      "mismatch_score_pressure_applied": true,
      "mismatch_score_pressure_gap": 0.3466,
      "mismatch_favorite_lambda_boost": 1.0917,
      "mismatch_underdog_lambda_factor": 0.9753,
      "pre_mismatch_home_lambda": 1.841,
      "pre_mismatch_away_lambda": 0.7077,
      "competitive_underdog_floor_applied": false,
      "pre_calibration_home_lambda": 1.8149,
      "pre_calibration_away_lambda": 0.7182,
      "competition_calibration_applied": true,
      "competition_calibration_reason": "competition_intensity_calibration",
      "competition_calibration_samples": 124,
      "competition_observed_total_goals": 2.984,
      "competition_calibration_scale": 1.171,
      "neutral_share_preserved": false,
      "final_home_lambda": 2.153,
      "final_away_lambda": 0.831
    }
  },
  "home_standing": {
    "available": true,
    "team_position": 4,
    "opponent_position": 20,
    "standing_lambda_multiplier": 1.0701,
    "attack_index": 1.032,
    "defense_concede_index": 1.123,
    "form_multiplier": 1.044,
    "team_attack_rate_contextual": 1.54,
    "opp_defense_rate_contextual": 1.68,
    "team_ppg": 1.76,
    "opponent_ppg": 0.82
  },
  "away_standing": {
    "available": true,
    "team_position": 20,
    "opponent_position": 4,
    "standing_lambda_multiplier": 0.8777,
    "attack_index": 0.758,
    "defense_concede_index": 0.971,
    "form_multiplier": 0.956,
    "team_attack_rate_contextual": 1.13,
    "opp_defense_rate_contextual": 1.45,
    "team_ppg": 0.82,
    "opponent_ppg": 1.76
  },
  "xgboost_reasoning": {
    "summary": "Antagonist + XGBoost match analysis for Real Betis vs Málaga. Player statistics regressed using position-specific XGBoost models (G, D, M, F) with 2026-2027 FBref priors. Micro-duels resolved across 4-2-3-1 vs 3-4-2-1 (duel lambdas: Home 1.815, Away 0.718). Final calibrated Poisson lambdas: Home 2.153, Away 0.831 (most likely score 2-0).",
    "competition": "LaLiga",
    "model_coverage": {
      "home_starters_count": 11,
      "home_xgboost_players": 11,
      "home_fbref_players": 10,
      "away_starters_count": 11,
      "away_xgboost_players": 11,
      "away_fbref_players": 5,
      "home_bench_modelled": 7,
      "away_bench_modelled": 7
    },
    "team_priors": {
      "applied": true,
      "home_squad": "Real Betis",
      "away_squad": "Málaga CF",
      "home_goals_per90": 1.3333333333333333,
      "away_goals_against_per90": 0.33,
      "away_goals_per90": 0.3333333333333333,
      "home_goals_against_per90": 1.33,
      "home_empirical_lambda": 0.326,
      "away_empirical_lambda": 0.328,
      "blending_weight": 0.228
    },
    "pipeline_stages": [
      "1. XGBoost player regressions for volume & event rates with market-value quality scaling",
      "2. Multi-source prior blending (FBref 2026-2027 tables + Sofascore season history)",
      "3. Antagonist formation duel matrix resolving 1v1 and zonal matchups",
      "4. Team-level prior calibration (FBref possession and attack/defense efficiencies)",
      "5. Bivariate Poisson matrix with Dixon-Coles low-score correction"
    ],
    "final_lambdas": {
      "home_lambda": 2.153,
      "away_lambda": 0.831,
      "micro_duel_home_lambda": 1.815,
      "micro_duel_away_lambda": 0.718
    },
    "calibration_and_pressure": {
      "competition_calibration_applied": true,
      "competition_calibration_scale": 1.171,
      "mismatch_pressure_applied": true,
      "underdog_floor_applied": false
    }
  },
  "timestamp": "2026-10-31T13:32:58Z",
  "outcome_baseline": null,
  "stat_limits": {
    "saves": 15.0,
    "goalsPrevented": 5.0,
    "keeperSaveValue": 3.0,
    "interceptionWon": 10.0,
    "totalTackle": 12.0,
    "wonTackle": 10.0,
    "totalClearance": 18.0,
    "aerialWon": 15.0,
    "aerialLost": 12.0,
    "totalPass": 150.0,
    "accuratePass": 145.0,
    "keyPass": 8.0,
    "expectedAssists": 1.5,
    "goalAssist": 4.0,
    "expectedGoals": 3.0,
    "expectedGoalsOnTarget": 6.0,
    "xgot": 6.0,
    "goals": 5.0,
    "totalShots": 12.0,
    "onTargetScoringAttempt": 8.0,
    "shotOffTarget": 8.0,
    "rating": 10.0,
    "minutesPlayed": 130.0,
    "duelWon": 20.0,
    "duelLost": 20.0,
    "ballRecovery": 18.0,
    "fouls": 12.0
  }
}